ChangeLog 1.6 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930
  1. Changes in version 0.3.5.18 - 2022-01-24
  2. This is the very last version of the 0.3.5.x series as it is end of
  3. life on February 1st, 2022. This version fixes some minor bugs
  4. including a build warning about LibreSSL incompatibility with
  5. OpenSSL TLSv1.3.
  6. Godspeed 0.3.5, we won't miss you.
  7. o Minor feature (reproducible build):
  8. - The repository can now build reproducible tarballs which adds the
  9. build command "make dist-reprod" for that purpose. Closes
  10. ticket 26299.
  11. o Minor features (compilation):
  12. - Give an error message if trying to build with a version of
  13. LibreSSL known not to work with Tor. (There's an incompatibility
  14. with LibreSSL versions 3.2.1 through 3.4.0 inclusive because of
  15. their incompatibility with OpenSSL 1.1.1's TLSv1.3 APIs.) Closes
  16. ticket 40511.
  17. o Minor bugfix (logging):
  18. - Update a log notice dead URL to a working one. Fixes bug 40544;
  19. bugfix on 0.3.5.1-alpha.
  20. o Minor bugfix (relay):
  21. - Remove the HSDir and HSIntro onion service v2 protocol versions so
  22. relay stop advertising that they support them. Fixes bug 40509;
  23. bugfix on 0.3.5.17.
  24. o Minor bugfixes (compilation):
  25. - Fix our configuration logic to detect whether we had OpenSSL 3:
  26. previously, our logic was reversed. This has no other effect than
  27. to change whether we suppress deprecated API warnings. Fixes bug
  28. 40429; bugfix on 0.3.5.13.
  29. Changes in version 0.3.5.17 - 2021-10-26
  30. The major change in this version is that v2 onion services are now
  31. disabled at the client, service, and relay: any Tor nodes running this
  32. version and onward will stop supporting v2 onion services. This is the
  33. last step in the long deprecation process of v2 onion services.
  34. Everyone running an earlier version, whether as a client, a relay, or
  35. an onion service, should upgrade to Tor 0.3.5.17, 0.4.5.11,
  36. or 0.4.6.8.
  37. o Major feature (onion service v2, backport from 0.4.5.11):
  38. - See https://blog.torproject.org/v2-deprecation-timeline for
  39. details on how to transition from v2 to v3.
  40. - The control port commands HSFETCH and HSPOST no longer allow
  41. version 2, and it is no longer possible to create a v2 service
  42. with ADD_ONION.
  43. - Tor no longer allows creating v2 services, or connecting as a
  44. client to a v2 service. Relays will decline to be a v2 HSDir or
  45. introduction point. This effectively disables onion service
  46. version 2 Tor-wide. Closes ticket 40476.
  47. o Minor features (bridge, backport from 0.4.6.8):
  48. - We now announce the URL to Tor's new bridge status at
  49. https://bridges.torproject.org/ when Tor is configured to run as a
  50. bridge relay. Closes ticket 30477.
  51. o Minor features (fallbackdir):
  52. - Regenerate fallback directories for October 2021. Closes
  53. ticket 40493.
  54. o Minor bugfixes (compatibility, backport from 0.4.6.8):
  55. - Fix compatibility with the most recent Libevent versions, which no
  56. longer have an evdns_set_random_bytes() function. Because this
  57. function has been a no-op since Libevent 2.0.4-alpha, it is safe
  58. for us to just stop calling it. Fixes bug 40371; bugfix
  59. on 0.2.1.7-alpha.
  60. Changes in version 0.3.5.16 - 2021-08-16
  61. This version fixes several bugs from earlier versions of Tor,
  62. including one that could lead to a denial-of-service attack. Everyone
  63. running an earlier version, whether as a client, a relay, or an onion
  64. service, should upgrade to Tor 0.3.5.16, 0.4.5.10, or 0.4.6.7.
  65. o Major bugfixes (cryptography, security):
  66. - Resolve an assertion failure caused by a behavior mismatch between
  67. our batch-signature verification code and our single-signature
  68. verification code. This assertion failure could be triggered
  69. remotely, leading to a denial of service attack. We fix this issue
  70. by disabling batch verification. Fixes bug 40078; bugfix on
  71. 0.2.6.1-alpha. This issue is also tracked as TROVE-2021-007 and
  72. CVE-2021-38385. Found by Henry de Valence.
  73. o Minor feature (fallbackdir):
  74. - Regenerate fallback directories list. Close ticket 40447.
  75. o Minor features (geoip data):
  76. - Update the geoip files to match the IPFire Location Database, as
  77. retrieved on 2021/08/12.
  78. o Minor bugfix (crypto, backport from 0.4.6.7):
  79. - Disable the unused batch verification feature of ed25519-donna.
  80. Fixes bug 40078; bugfix on 0.2.6.1-alpha. Found by Henry
  81. de Valence.
  82. o Minor bugfixes (relay, backport from 0.4.6.7):
  83. - Reduce the compression level for data streaming from HIGH to LOW.
  84. Fixes bug 40301; bugfix on 0.3.5.1-alpha.
  85. Changes in version 0.3.5.15 - 2021-06-14
  86. Tor 0.3.5.15 fixes several security issues, including a
  87. denial-of-service attack against onion service clients, and another
  88. denial-of-service attack against relays. Everybody should upgrade to
  89. one of 0.3.5.15, 0.4.4.9, 0.4.5.9, or 0.4.6.5.
  90. o Major bugfixes (security, backport from 0.4.6.5):
  91. - Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on
  92. half-closed streams. Previously, clients failed to validate which
  93. hop sent these cells: this would allow a relay on a circuit to end
  94. a stream that wasn't actually built with it. Fixes bug 40389;
  95. bugfix on 0.3.5.1-alpha. This issue is also tracked as TROVE-2021-
  96. 003 and CVE-2021-34548.
  97. o Major bugfixes (security, defense-in-depth, backport from 0.4.6.5):
  98. - Detect more failure conditions from the OpenSSL RNG code.
  99. Previously, we would detect errors from a missing RNG
  100. implementation, but not failures from the RNG code itself.
  101. Fortunately, it appears those failures do not happen in practice
  102. when Tor is using OpenSSL's default RNG implementation. Fixes bug
  103. 40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
  104. TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
  105. o Major bugfixes (security, denial of service, backport from 0.4.6.5):
  106. - Resist a hashtable-based CPU denial-of-service attack against
  107. relays. Previously we used a naive unkeyed hash function to look
  108. up circuits in a circuitmux object. An attacker could exploit this
  109. to construct circuits with chosen circuit IDs, to create
  110. collisions and make the hash table inefficient. Now we use a
  111. SipHash construction here instead. Fixes bug 40391; bugfix on
  112. 0.2.4.4-alpha. This issue is also tracked as TROVE-2021-005 and
  113. CVE-2021-34549. Reported by Jann Horn from Google's Project Zero.
  114. - Fix an out-of-bounds memory access in v3 onion service descriptor
  115. parsing. An attacker could exploit this bug by crafting an onion
  116. service descriptor that would crash any client that tried to visit
  117. it. Fixes bug 40392; bugfix on 0.3.0.1-alpha. This issue is also
  118. tracked as TROVE-2021-006 and CVE-2021-34550. Reported by Sergei
  119. Glazunov from Google's Project Zero.
  120. o Minor bugfixes (compiler warnings, backport from 0.4.6.3-rc):
  121. - Fix an indentation problem that led to a warning from GCC 11.1.1.
  122. Fixes bug 40380; bugfix on 0.3.0.1-alpha.
  123. o Minor features (compatibility, backport from 0.4.6.4-rc):
  124. - Remove an assertion function related to TLS renegotiation. It was
  125. used nowhere outside the unit tests, and it was breaking
  126. compilation with recent alpha releases of OpenSSL 3.0.0. Closes
  127. ticket 40399.
  128. o Minor features (fallback directory list, backport from 0.4.6.2-alpha):
  129. - Regenerate the list of fallback directories to contain a new set
  130. of 200 relays. Closes ticket 40265.
  131. o Minor features (geoip data):
  132. - Update the geoip files to match the IPFire Location Database, as
  133. retrieved on 2021/06/10.
  134. Changes in version 0.3.5.14 - 2021-03-16
  135. Tor 0.3.5.14 backports fixes for two important denial-of-service bugs
  136. in earlier versions of Tor.
  137. One of these vulnerabilities (TROVE-2021-001) would allow an attacker
  138. who can send directory data to a Tor instance to force that Tor
  139. instance to consume huge amounts of CPU. This is easiest to exploit
  140. against authorities, since anybody can upload to them, but directory
  141. caches could also exploit this vulnerability against relays or clients
  142. when they download. The other vulnerability (TROVE-2021-002) only
  143. affects directory authorities, and would allow an attacker to remotely
  144. crash the authority with an assertion failure. Patches have already
  145. been provided to the authority operators, to help ensure
  146. network stability.
  147. We recommend that everybody upgrade to one of the releases that fixes
  148. these issues (0.3.5.14, 0.4.4.8, or 0.4.5.7) as they become available
  149. to you.
  150. This release also updates our GeoIP data source, and fixes a
  151. compatibility issue.
  152. o Major bugfixes (security, denial of service, backport from 0.4.5.7):
  153. - Disable the dump_desc() function that we used to dump unparseable
  154. information to disk. It was called incorrectly in several places,
  155. in a way that could lead to excessive CPU usage. Fixes bug 40286;
  156. bugfix on 0.2.2.1-alpha. This bug is also tracked as TROVE-2021-
  157. 001 and CVE-2021-28089.
  158. - Fix a bug in appending detached signatures to a pending consensus
  159. document that could be used to crash a directory authority. Fixes
  160. bug 40316; bugfix on 0.2.2.6-alpha. Tracked as TROVE-2021-002
  161. and CVE-2021-28090.
  162. o Minor features (geoip data, backport from 0.4.5.7):
  163. - We have switched geoip data sources. Previously we shipped IP-to-
  164. country mappings from Maxmind's GeoLite2, but in 2019 they changed
  165. their licensing terms, so we were unable to update them after that
  166. point. We now ship geoip files based on the IPFire Location
  167. Database instead. (See https://location.ipfire.org/ for more
  168. information). This release updates our geoip files to match the
  169. IPFire Location Database as retrieved on 2021/03/12. Closes
  170. ticket 40224.
  171. o Removed features (mallinfo deprecated, backport from 0.4.5.7):
  172. - Remove mallinfo() usage entirely. Libc 2.33+ now deprecates it.
  173. Closes ticket 40309.
  174. Changes in version 0.3.5.13 - 2020-02-03
  175. Tor 0.3.5.13 backports numerous bugfixes from later releases,
  176. including one that made v3 onion services more susceptible to
  177. denial-of-service attacks, and a feature that makes some kinds of
  178. DoS attacks harder to perform.
  179. o Major bugfixes (onion service v3, backport from 0.4.5.3-rc):
  180. - Stop requiring a live consensus for v3 clients and services, and
  181. allow a "reasonably live" consensus instead. This allows v3 onion
  182. services to work even if the authorities fail to generate a
  183. consensus for more than 2 hours in a row. Fixes bug 40237; bugfix
  184. on 0.3.5.1-alpha.
  185. o Major bugfixes (stats, onion services, backport from 0.4.4.5):
  186. - Fix a bug where we were undercounting the Tor network's total
  187. onion service traffic, by ignoring any traffic originating from
  188. clients. Now we count traffic from both clients and services.
  189. Fixes bug 40117; bugfix on 0.2.6.2-alpha.
  190. o Major feature (exit, backport from 0.4.5.5-rc):
  191. - Re-entry into the network is now denied at the Exit level to all
  192. relays' ORPorts and authorities' ORPorts and DirPorts. This change
  193. should help mitgate a set of denial-of-service attacks. Closes
  194. ticket 2667.
  195. o Minor feature (build system, backport from 0.4.5.4-rc):
  196. - New "make lsp" command to generate the compile_commands.json file
  197. used by the ccls language server. The "bear" program is needed for
  198. this. Closes ticket 40227.
  199. o Minor features (compilation, backport from 0.4.5.2-rc):
  200. - Disable deprecation warnings when building with OpenSSL 3.0.0 or
  201. later. There are a number of APIs newly deprecated in OpenSSL
  202. 3.0.0 that Tor still requires. (A later version of Tor will try to
  203. stop depending on these APIs.) Closes ticket 40165.
  204. o Minor features (crypto, backport from 0.4.5.3-rc):
  205. - Fix undefined behavior on our Keccak library. The bug only
  206. appeared on platforms with 32-byte CPU cache lines (e.g. armv5tel)
  207. and would result in wrong digests. Fixes bug 40210; bugfix on
  208. 0.2.8.1-alpha. Thanks to Bernhard Übelacker, Arnd Bergmann and
  209. weasel for diagnosing this.
  210. o Minor bugfixes (compatibility, backport from 0.4.5.1-rc):
  211. - Strip '\r' characters when reading text files on Unix platforms.
  212. This should resolve an issue where a relay operator migrates a
  213. relay from Windows to Unix, but does not change the line ending of
  214. Tor's various state files to match the platform, and the CRLF line
  215. endings from Windows end up leaking into other files such as the
  216. extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
  217. o Minor bugfixes (compilation, backport from 0.4.5.1-rc):
  218. - Resolve a compilation warning that could occur in
  219. test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
  220. o Minor bugfixes (compilation, backport from 0.4.5.3-rc):
  221. - Fix a compilation warning about unreachable fallthrough
  222. annotations when building with "--enable-all-bugs-are-fatal" on
  223. some compilers. Fixes bug 40241; bugfix on 0.3.5.4-alpha.
  224. o Minor bugfixes (SOCKS5, backport from 0.4.5.3-rc):
  225. - Handle partial SOCKS5 messages correctly. Previously, our code
  226. would send an incorrect error message if it got a SOCKS5 request
  227. that wasn't complete. Fixes bug 40190; bugfix on 0.3.5.1-alpha.
  228. o Minor bugfixes (testing, backport from 0.4.5.2-alpha):
  229. - Fix our Python reference-implementation for the v3 onion service
  230. handshake so that it works correctly with the version of hashlib
  231. provided by Python 3.9. Fixes part of bug 40179; bugfix
  232. on 0.3.1.6-rc.
  233. - Fix the `tortls/openssl/log_one_error` test to work with OpenSSL
  234. 3.0.0. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
  235. Changes in version 0.3.5.12 - 2020-11-12
  236. Tor 0.4.3.7 backports several bugfixes from later releases. It
  237. includes a fix for TROVE-2020-005, a security issue that could be
  238. used, under certain cases, by an adversary to observe traffic patterns
  239. on a limited number of circuits intended for a different relay.
  240. o Major features (fallback directory list, backport form 0.4.4.3-alpha):
  241. - Replace the 148 fallback directories originally included in Tor
  242. 0.4.1.4-rc (of which around 105 are still functional) with a list
  243. of 144 fallbacks generated in July 2020. Closes ticket 40061.
  244. o Major bugfixes (security, backport from 0.4.5.1-alpha):
  245. - When completing a channel, relays now check more thoroughly to
  246. make sure that it matches any pending circuits before attaching
  247. those circuits. Previously, address correctness and Ed25519
  248. identities were not checked in this case, but only when extending
  249. circuits on an existing channel. Fixes bug 40080; bugfix on
  250. 0.2.7.2-alpha. Resolves TROVE-2020-005.
  251. o Major bugfixes (NSS, backport from 0.4.4.3-alpha):
  252. - When running with NSS enabled, make sure that NSS knows to expect
  253. nonblocking sockets. Previously, we set our TCP sockets as
  254. nonblocking, but did not tell NSS, which in turn could lead to
  255. unexpected blocking behavior. Fixes bug 40035; bugfix
  256. on 0.3.5.1-alpha.
  257. o Minor features (security, backport from 0.4.4.4-rc):
  258. - Channels using obsolete versions of the Tor link protocol are no
  259. longer allowed to circumvent address-canonicity checks. (This is
  260. only a minor issue, since such channels have no way to set ed25519
  261. keys, and therefore should always be rejected for circuits that
  262. specify ed25519 identities.) Closes ticket 40081.
  263. o Minor features (debugging, directory system):
  264. - Don't crash when we find a non-guard with a guard-fraction value
  265. set. Instead, log a bug warning, in an attempt to figure out how
  266. this happened. Diagnostic for ticket 32868.
  267. o Minor features (subprotocol versions, backport from 0.4.5.1-alpha):
  268. - Tor no longer allows subprotocol versions larger than 63.
  269. Previously version numbers up to UINT32_MAX were allowed, which
  270. significantly complicated our code. Implements proposal 318;
  271. closes ticket 40133.
  272. o Minor features (tests, backport from 0.4.4.5):
  273. - Our "make check" target now runs the unit tests in 8 parallel
  274. chunks. Doing this speeds up hardened CI builds by more than a
  275. factor of two. Closes ticket 40098.
  276. o Minor features (tests, v2 onion services, backport from 0.4.5.1-alpha):
  277. - Fix a rendezvous cache unit test that was triggering an underflow
  278. on the global rend cache allocation. Fixes bug 40125; bugfix
  279. on 0.2.8.1-alpha.
  280. - Fix another rendezvous cache unit test that was triggering an
  281. underflow on the global rend cache allocation. Fixes bug 40126;
  282. bugfix on 0.2.8.1-alpha.
  283. o Minor bugfixes (correctness, buffers, backport from 0.4.4.4-rc):
  284. - Fix a correctness bug that could cause an assertion failure if we
  285. ever tried using the buf_move_all() function with an empty input
  286. buffer. As far as we know, no released versions of Tor do this.
  287. Fixes bug 40076; bugfix on 0.3.3.1-alpha.
  288. o Minor bugfixes (logging, backport from 0.4.5.1-alpha):
  289. - Remove a debug logging statement that uselessly spammed the logs.
  290. Fixes bug 40135; bugfix on 0.3.5.0-alpha.
  291. o Minor bugfixes (rate limiting, bridges, pluggable transports, backport from 0.4.4.4-rc):
  292. - On a bridge, treat all connections from an ExtORPort as remote by
  293. default for the purposes of rate-limiting. Previously, bridges
  294. would treat the connection as local unless they explicitly
  295. received a "USERADDR" command. ExtORPort connections still count
  296. as local if there is a USERADDR command with an explicit local
  297. address. Fixes bug 33747; bugfix on 0.2.5.1-alpha.
  298. o Minor bugfixes (relay configuration, crash, backport from 0.4.5.1-alpha):
  299. - Avoid a fatal assert() when failing to create a listener
  300. connection for an address that was in use. Fixes bug 40073; bugfix
  301. on 0.3.5.1-alpha.
  302. o Minor bugfixes (relay, usability, backport from 0.4.4.3-alpha):
  303. - Adjust the rules for when to warn about having too many
  304. connections to other relays. Previously we'd tolerate up to 1.5
  305. connections per relay on average. Now we tolerate more connections
  306. for directory authorities, and raise the number of total
  307. connections we need to see before we warn. Fixes bug 33880; bugfix
  308. on 0.3.1.1-alpha.
  309. o Minor bugfixes (relays, backport from 0.4.4.1-alpha):
  310. - Stop advertising incorrect IPv6 ORPorts in relay and bridge
  311. descriptors, when the IPv6 port was configured as "auto". Fixes
  312. bug 32588; bugfix on 0.2.3.9-alpha.
  313. o Minor bugfixes (tests, 0.4.4.5):
  314. - Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run
  315. on its own. Previously, it would exit with an error. Fixes bug
  316. 40099; bugfix on 0.2.8.1-alpha.
  317. o Minor bugfixes (windows, backport from 0.4.4.4-rc):
  318. - Fix a bug that prevented Tor from starting if its log file grew
  319. above 2GB. Fixes bug 31036; bugfix on 0.2.1.8-alpha.
  320. o Deprecated features (onion service v2, backport form 0.4.4.2-alpha):
  321. - Add a deprecation warning for version 2 onion services. Closes
  322. ticket 40003.
  323. Changes in version 0.3.5.11 - 2020-07-09
  324. Tor 0.3.5.11 backports fixes from later tor releases, including several
  325. usability, portability, and reliability fixes.
  326. This release also fixes TROVE-2020-001, a medium-severity denial of
  327. service vulnerability affecting all versions of Tor when compiled with
  328. the NSS encryption library. (This is not the default configuration.)
  329. Using this vulnerability, an attacker could cause an affected Tor
  330. instance to crash remotely. This issue is also tracked as CVE-2020-
  331. 15572. Anybody running a version of Tor built with the NSS library
  332. should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
  333. or later.
  334. o Major bugfixes (NSS, security, backport from 0.4.4.2-alpha):
  335. - Fix a crash due to an out-of-bound memory access when Tor is
  336. compiled with NSS support. Fixes bug 33119; bugfix on
  337. 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
  338. and CVE-2020-15572.
  339. o Major bugfixes (DoS defenses, bridges, pluggable transport, backport from 0.4.3.4-rc):
  340. - Fix a bug that was preventing DoS defenses from running on bridges
  341. with a pluggable transport. Previously, the DoS subsystem was not
  342. given the transport name of the client connection, thus failed to
  343. find the GeoIP cache entry for that client address. Fixes bug
  344. 33491; bugfix on 0.3.3.2-alpha.
  345. o Minor features (testing, backport from 0.4.3.4-rc):
  346. - The unit tests now support a "TOR_SKIP_TESTCASES" environment
  347. variable to specify a list of space-separated test cases that
  348. should not be executed. We will use this to disable certain tests
  349. that are failing on Appveyor because of mismatched OpenSSL
  350. libraries. Part of ticket 33643.
  351. o Minor bugfix (CI, Windows, backport from 0.4.4.2-alpha):
  352. - Use the correct 64-bit printf format when compiling with MINGW on
  353. Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
  354. o Minor bugfix (relay, configuration, backport from 0.4.3.3-alpha):
  355. - Warn if the ContactInfo field is not set, and tell the relay
  356. operator that not having a ContactInfo field set might cause their
  357. relay to get rejected in the future. Fixes bug 33361; bugfix
  358. on 0.1.1.10-alpha.
  359. o Minor bugfixes (client performance, backport from 0.4.4.1-alpha):
  360. - Resume use of preemptively-built circuits when UseEntryGuards is set
  361. to 0. We accidentally disabled this feature with that config
  362. setting, leading to slower load times. Fixes bug 34303; bugfix
  363. on 0.3.3.2-alpha.
  364. o Minor bugfixes (compiler compatibility, backport from 0.4.3.5):
  365. - Avoid compiler warnings from Clang 10 related to the use of GCC-
  366. style "/* falls through */" comments. Both Clang and GCC allow
  367. __attribute__((fallthrough)) instead, so that's what we're using
  368. now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
  369. o Minor bugfixes (compiler warnings, backport from 0.4.4.2-alpha):
  370. - Fix a compiler warning on platforms with 32-bit time_t values.
  371. Fixes bug 40028; bugfix on 0.3.2.8-rc.
  372. o Minor bugfixes (embedded Tor, backport from 0.4.3.1-alpha):
  373. - When starting Tor any time after the first time in a process,
  374. register the thread in which it is running as the main thread.
  375. Previously, we only did this on Windows, which could lead to bugs
  376. like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
  377. on 0.3.3.1-alpha.
  378. o Minor bugfixes (key portability, backport from 0.4.3.4-rc):
  379. - When reading PEM-encoded key data, tolerate CRLF line-endings even
  380. if we are not running on Windows. Previously, non-Windows hosts
  381. would reject these line-endings in certain positions, making
  382. certain key files hard to move from one host to another. Fixes bug
  383. 33032; bugfix on 0.3.5.1-alpha.
  384. o Minor bugfixes (logging, backport from 0.4.4.2-alpha):
  385. - Downgrade a noisy log message that could occur naturally when
  386. receiving an extrainfo document that we no longer want. Fixes bug
  387. 16016; bugfix on 0.2.6.3-alpha.
  388. o Minor bugfixes (onion service v3, client, backport from 0.4.3.3-alpha):
  389. - Remove a BUG() warning that would cause a stack trace if an onion
  390. service descriptor was freed while we were waiting for a
  391. rendezvous circuit to complete. Fixes bug 28992; bugfix
  392. on 0.3.2.1-alpha.
  393. o Testing (CI, backport from 0.4.3.4-rc):
  394. - In our Appveyor Windows CI, copy required DLLs to test and app
  395. directories, before running tor's tests. This ensures that tor.exe
  396. and test*.exe use the correct version of each DLL. This fix is not
  397. required, but we hope it will avoid DLL search issues in future.
  398. Fixes bug 33673; bugfix on 0.3.4.2-alpha.
  399. - On Appveyor, skip the crypto/openssl_version test, which is
  400. failing because of a mismatched library installation. Fix
  401. for 33643.
  402. Changes in version 0.3.5.10 - 2020-03-18
  403. Tor 0.3.5.10 backports many fixes from later Tor releases, including a
  404. fix for TROVE-2020-002, a major denial-of-service vulnerability that
  405. affected all released Tor instances since 0.2.1.5-alpha. Using this
  406. vulnerability, an attacker could cause Tor instances to consume a huge
  407. amount of CPU, disrupting their operations for several seconds or
  408. minutes. This attack could be launched by anybody against a relay, or
  409. by a directory cache against any client that had connected to it. The
  410. attacker could launch this attack as much as they wanted, thereby
  411. disrupting service or creating patterns that could aid in traffic
  412. analysis. This issue was found by OSS-Fuzz, and is also tracked
  413. as CVE-2020-10592.
  414. We do not have reason to believe that this attack is currently being
  415. exploited in the wild, but nonetheless we advise everyone to upgrade
  416. as soon as packages are available.
  417. o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
  418. - Fix a denial-of-service bug that could be used by anyone to
  419. consume a bunch of CPU on any Tor relay or authority, or by
  420. directories to consume a bunch of CPU on clients or hidden
  421. services. Because of the potential for CPU consumption to
  422. introduce observable timing patterns, we are treating this as a
  423. high-severity security issue. Fixes bug 33119; bugfix on
  424. 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
  425. as TROVE-2020-002 and CVE-2020-10592.
  426. o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
  427. - Correct how we use libseccomp. Particularly, stop assuming that
  428. rules are applied in a particular order or that more rules are
  429. processed after the first match. Neither is the case! In
  430. libseccomp <2.4.0 this lead to some rules having no effect.
  431. libseccomp 2.4.0 changed how rules are generated, leading to a
  432. different ordering, which in turn led to a fatal crash during
  433. startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
  434. Peter Gerber.
  435. o Minor features (continuous integration, backport from 0.4.3.2-alpha):
  436. - Stop allowing failures on the Travis CI stem tests job. It looks
  437. like all the stem hangs we were seeing before are now fixed.
  438. Closes ticket 33075.
  439. o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
  440. - Lowercase the configured value of BridgeDistribution before adding
  441. it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
  442. o Minor bugfixes (crash, backport from 0.4.2.4-rc):
  443. - When running Tor with an option like --verify-config or
  444. --dump-config that does not start the event loop, avoid crashing
  445. if we try to exit early because of an error. Fixes bug 32407;
  446. bugfix on 0.3.3.1-alpha.
  447. o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
  448. - If we encounter a bug when flushing a buffer to a TLS connection,
  449. only log the bug once per invocation of the Tor process.
  450. Previously we would log with every occurrence, which could cause
  451. us to run out of disk space. Fixes bug 33093; bugfix
  452. on 0.3.2.2-alpha.
  453. o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
  454. - Fix an assertion failure that could result from a corrupted
  455. ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
  456. bugfix on 0.3.3.1-alpha. This issue is also tracked
  457. as TROVE-2020-003.
  458. o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
  459. - Fix a syntax warning given by newer versions of Rust that was
  460. creating problems for our continuous integration. Fixes bug 33212;
  461. bugfix on 0.3.5.1-alpha.
  462. o Testing (backport from 0.4.3.1-alpha):
  463. - Re-enable the Travis CI macOS Chutney build, but don't let it
  464. prevent the Travis job from finishing. (The Travis macOS jobs are
  465. slow, so we don't want to have it delay the whole CI process.)
  466. Closes ticket 32629.
  467. - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
  468. Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
  469. fix the sandbox errors in 32722. Closes ticket 32240.
  470. o Testing (continuous integration, backport from 0.4.3.1-alpha):
  471. - Use zstd in our Travis Linux builds. Closes ticket 32242.
  472. o Testing (Travis CI, backport from 0.4.3.3-alpha):
  473. - Remove a redundant distcheck job. Closes ticket 33194.
  474. - Sort the Travis jobs in order of speed: putting the slowest jobs
  475. first takes full advantage of Travis job concurrency. Closes
  476. ticket 33194.
  477. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  478. previously configured to fast_finish (which requires
  479. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  480. tool to produce detailed diagnostic output. Closes ticket 32792.
  481. Changes in version 0.3.5.9 - 2019-12-09
  482. Tor 0.3.5.9 backports serveral fixes from later releases, including
  483. several that affect bridge users, relay stability, onion services,
  484. and much more.
  485. o Directory authority changes (backport from 0.4.1.5):
  486. - The directory authority "dizum" has a new IP address. Closes
  487. ticket 31406.
  488. o Major bugfixes (bridges, backport from 0.4.1.2-alpha):
  489. - Consider our directory information to have changed when our list
  490. of bridges changes. Previously, Tor would not re-compute the
  491. status of its directory information when bridges changed, and
  492. therefore would not realize that it was no longer able to build
  493. circuits. Fixes part of bug 29875.
  494. - Do not count previously configured working bridges towards our
  495. total of working bridges. Previously, when Tor's list of bridges
  496. changed, it would think that the old bridges were still usable,
  497. and delay fetching router descriptors for the new ones. Fixes part
  498. of bug 29875; bugfix on 0.3.0.1-alpha.
  499. o Major bugfixes (circuit build, guard, backport from 0.4.1.4-rc):
  500. - When considering upgrading circuits from "waiting for guard" to
  501. "open", always ignore circuits that are marked for close. Otherwise,
  502. we can end up in the situation where a subsystem is notified that
  503. a closing circuit has just opened, leading to undesirable
  504. behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
  505. o Major bugfixes (NSS, relay, backport from 0.4.0.4-rc):
  506. - When running with NSS, disable TLS 1.2 ciphersuites that use
  507. SHA384 for their PRF. Due to an NSS bug, the TLS key exporters for
  508. these ciphersuites don't work -- which caused relays to fail to
  509. handshake with one another when these ciphersuites were enabled.
  510. Fixes bug 29241; bugfix on 0.3.5.1-alpha.
  511. o Major bugfixes (Onion service reachability, backport from 0.4.1.3-alpha):
  512. - Properly clean up the introduction point map when circuits change
  513. purpose from onion service circuits to pathbias, measurement, or
  514. other circuit types. This should fix some service-side instances
  515. of introduction point failure. Fixes bug 29034; bugfix
  516. on 0.3.2.1-alpha.
  517. o Major bugfixes (onion service v3, backport from 0.4.1.1-alpha):
  518. - Fix an unreachable bug in which an introduction point could try to
  519. send an INTRODUCE_ACK with a status code that Trunnel would refuse
  520. to encode, leading the relay to assert(). We've consolidated the
  521. ABI values into Trunnel now. Fixes bug 30454; bugfix
  522. on 0.3.0.1-alpha.
  523. - Clients can now handle unknown status codes from INTRODUCE_ACK
  524. cells. (The NACK behavior will stay the same.) This will allow us
  525. to extend status codes in the future without breaking the normal
  526. client behavior. Fixes another part of bug 30454; bugfix
  527. on 0.3.0.1-alpha.
  528. o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
  529. - Stop ignoring torrc options after an %include directive, when the
  530. included directory ends with a file that does not contain any
  531. config options (but does contain comments or whitespace). Fixes
  532. bug 31408; bugfix on 0.3.1.1-alpha.
  533. o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
  534. - Onion services now always use the exact number of intro points
  535. configured with the HiddenServiceNumIntroductionPoints option (or
  536. fewer if nodes are excluded). Before, a service could sometimes
  537. pick more intro points than configured. Fixes bug 31548; bugfix
  538. on 0.3.2.1-alpha.
  539. o Minor features (address selection, backport from 0.4.0.3-alpha):
  540. - Treat the subnet 100.64.0.0/10 as public for some purposes;
  541. private for others. This subnet is the RFC 6598 (Carrier Grade
  542. NAT) IP range, and is deployed by many ISPs as an alternative to
  543. RFC 1918 that does not break existing internal networks. Tor now
  544. blocks SOCKS and control ports on these addresses and warns users
  545. if client ports or ExtORPorts are listening on a RFC 6598 address.
  546. Closes ticket 28525. Patch by Neel Chauhan.
  547. o Minor features (bandwidth authority, backport from 0.4.0.4-rc):
  548. - Make bandwidth authorities ignore relays that are reported in the
  549. bandwidth file with the flag "vote=0". This change allows us to
  550. report unmeasured relays for diagnostic reasons without including
  551. their bandwidth in the bandwidth authorities' vote. Closes
  552. ticket 29806.
  553. o Minor features (compile-time modules, backport from version 0.4.1.1-alpha):
  554. - Add a "--list-modules" command to print a list of which compile-
  555. time modules are enabled. Closes ticket 30452.
  556. o Minor features (continuous integration, backport from 0.4.0.4-rc):
  557. - On Travis Rust builds, cleanup Rust registry and refrain from
  558. caching the "target/" directory to speed up builds. Resolves
  559. issue 29962.
  560. o Minor features (continuous integration, backport from 0.4.0.5):
  561. - In Travis, tell timelimit to use stem's backtrace signals, and
  562. launch python directly from timelimit, so python receives the
  563. signals from timelimit, rather than make. Closes ticket 30117.
  564. o Minor features (continuous integration, backport from 0.4.1.1-alpha):
  565. - Remove sudo configuration lines from .travis.yml as they are no
  566. longer needed with current Travis build environment. Resolves
  567. issue 30213.
  568. o Minor features (continuous integration, backport from 0.4.1.4-rc):
  569. - Our Travis configuration now uses Chutney to run some network
  570. integration tests automatically. Closes ticket 29280.
  571. o Minor features (continuous integration, backport from 0.4.2.2-alpha):
  572. - When building on Appveyor and Travis, pass the "-k" flag to make,
  573. so that we are informed of all compilation failures, not just the
  574. first one or two. Closes ticket 31372.
  575. o Minor features (fallback directory list, backport from 0.4.1.4-rc):
  576. - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
  577. in December 2018 (of which ~122 were still functional), with a
  578. list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
  579. in June 2019. Closes ticket 28795.
  580. o Minor features (geoip, backport from 0.4.2.5):
  581. - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
  582. Country database. Closes ticket 32685.
  583. o Minor features (NSS, diagnostic, backport from 0.4.0.4-rc):
  584. - Try to log an error from NSS (if there is any) and a more useful
  585. description of our situation if we are using NSS and a call to
  586. SSL_ExportKeyingMaterial() fails. Diagnostic for ticket 29241.
  587. o Minor features (stem tests, backport from 0.4.2.1-alpha):
  588. - Change "make test-stem" so it only runs the stem tests that use
  589. tor. This change makes test-stem faster and more reliable. Closes
  590. ticket 31554.
  591. o Minor bugfixes (security, backport from 0.4.0.4-rc):
  592. - Verify in more places that we are not about to create a buffer
  593. with more than INT_MAX bytes, to avoid possible OOB access in the
  594. event of bugs. Fixes bug 30041; bugfix on 0.2.0.16. Found and
  595. fixed by Tobias Stoeckmann.
  596. - Fix a potential double free bug when reading huge bandwidth files.
  597. The issue is not exploitable in the current Tor network because
  598. the vulnerable code is only reached when directory authorities
  599. read bandwidth files, but bandwidth files come from a trusted
  600. source (usually the authorities themselves). Furthermore, the
  601. issue is only exploitable in rare (non-POSIX) 32-bit architectures,
  602. which are not used by any of the current authorities. Fixes bug
  603. 30040; bugfix on 0.3.5.1-alpha. Bug found and fixed by
  604. Tobias Stoeckmann.
  605. o Minor bugfix (continuous integration, backport from 0.4.0.4-rc):
  606. - Reset coverage state on disk after Travis CI has finished. This
  607. should prevent future coverage merge errors from causing the test
  608. suite for the "process" subsystem to fail. The process subsystem
  609. was introduced in 0.4.0.1-alpha. Fixes bug 29036; bugfix
  610. on 0.2.9.15.
  611. - Terminate test-stem if it takes more than 9.5 minutes to run.
  612. (Travis terminates the job after 10 minutes of no output.)
  613. Diagnostic for 29437. Fixes bug 30011; bugfix on 0.3.5.4-alpha.
  614. o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
  615. - Avoid spurious errors when Appveyor CI fails before the install step.
  616. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
  617. o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
  618. - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
  619. systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
  620. o Minor bugfixes (C correctness, backport from 0.4.0.4-rc):
  621. - Fix an unlikely memory leak in consensus_diff_apply(). Fixes bug
  622. 29824; bugfix on 0.3.1.1-alpha. This is Coverity warning
  623. CID 1444119.
  624. o Minor bugfixes (circuit isolation, backport from 0.4.1.3-alpha):
  625. - Fix a logic error that prevented the SessionGroup sub-option from
  626. being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
  627. o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
  628. - Fix a BUG() assertion that occurs within a very small race window
  629. between when a client intro circuit opens and when its descriptor
  630. gets cleaned up from the cache. The circuit is now closed early,
  631. which will trigger a re-fetch of the descriptor and continue the
  632. connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
  633. o Minor bugfixes (clock skew detection, backport from 0.4.1.5):
  634. - Don't believe clock skew results from NETINFO cells that appear to
  635. arrive before we sent the VERSIONS cells they are responding to.
  636. Previously, we would accept them up to 3 minutes "in the past".
  637. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  638. o Minor bugfixes (compilation warning, backport from 0.4.1.5):
  639. - Fix a compilation warning on Windows about casting a function
  640. pointer for GetTickCount64(). Fixes bug 31374; bugfix
  641. on 0.2.9.1-alpha.
  642. o Minor bugfixes (compilation, backport from 0.4.0.2-alpha):
  643. - Silence a compiler warning in test-memwipe.c on OpenBSD. Fixes bug
  644. 29145; bugfix on 0.2.9.3-alpha. Patch from Kris Katterjohn.
  645. o Minor bugfixes (compilation, backport from 0.4.1.5):
  646. - Avoid using labs() on time_t, which can cause compilation warnings
  647. on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  648. o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
  649. - Suppress spurious float-conversion warnings from GCC when calling
  650. floating-point classifier functions on FreeBSD. Fixes part of bug
  651. 31687; bugfix on 0.3.1.5-alpha.
  652. o Minor bugfixes (compilation, unusual configurations, backport from 0.4.1.1-alpha):
  653. - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
  654. due to missing declarations of abort(), and prevent other such
  655. failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
  656. o Minor bugfixes (configuration, proxies, backport from 0.4.1.2-alpha):
  657. - Fix a bug that prevented us from supporting SOCKS5 proxies that
  658. want authentication along with configured (but unused!)
  659. ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
  660. o Minor bugfixes (connections, backport from 0.4.2.3-rc):
  661. - Avoid trying to read data from closed connections, which can cause
  662. needless loops in Libevent and infinite loops in Shadow. Fixes bug
  663. 30344; bugfix on 0.1.1.1-alpha.
  664. o Minor bugfixes (continuous integration, backport from 0.4.1.3-alpha):
  665. - Allow the test-stem job to fail in Travis, because it sometimes
  666. hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
  667. - Skip test_rebind on macOS in Travis, because it is unreliable on
  668. macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  669. - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
  670. variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  671. o Minor bugfixes (crash on exit, backport from 0.4.1.4-rc):
  672. - Avoid a set of possible code paths that could try to use freed
  673. memory in routerlist_free() while Tor was exiting. Fixes bug
  674. 31003; bugfix on 0.1.2.2-alpha.
  675. o Minor bugfixes (directory authorities, backport from 0.4.1.3-alpha):
  676. - Stop crashing after parsing an unknown descriptor purpose
  677. annotation. We think this bug can only be triggered by modifying a
  678. local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
  679. o Minor bugfixes (directory authority, backport from 0.4.1.2-alpha):
  680. - Move the "bandwidth-file-headers" line in directory authority
  681. votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
  682. on 0.3.5.1-alpha.
  683. o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
  684. - On abort, try harder to flush the output buffers of log messages.
  685. On some platforms (macOS), log messages could be discarded when
  686. the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  687. - Report the tor version whenever an assertion fails. Previously, we
  688. only reported the Tor version on some crashes, and some non-fatal
  689. assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  690. o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
  691. - When extracting an IPv6 address from a PF-based proxy, verify that
  692. we are actually configured to receive an IPv6 address, and log an
  693. internal error if not. Fixes part of bug 31687; bugfix
  694. on 0.2.3.4-alpha.
  695. o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
  696. - When tor is missing descriptors for some primary entry guards,
  697. make the log message less alarming. It's normal for descriptors to
  698. expire, as long as tor fetches new ones soon after. Fixes bug
  699. 31657; bugfix on 0.3.3.1-alpha.
  700. o Minor bugfixes (logging, backport from 0.4.0.2-alpha):
  701. - Avoid logging that we are relaxing a circuit timeout when that
  702. timeout is fixed. Fixes bug 28698; bugfix on 0.2.4.7-alpha.
  703. o Minor bugfixes (logging, backport from 0.4.0.3-alpha):
  704. - Correct a misleading error message when IPv4Only or IPv6Only is
  705. used but the resolved address can not be interpreted as an address
  706. of the specified IP version. Fixes bug 13221; bugfix on
  707. 0.2.3.9-alpha. Patch from Kris Katterjohn.
  708. - Log the correct port number for listening sockets when "auto" is
  709. used to let Tor pick the port number. Previously, port 0 was
  710. logged instead of the actual port number. Fixes bug 29144; bugfix
  711. on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  712. - Stop logging a BUG() warning when Tor is waiting for exit
  713. descriptors. Fixes bug 28656; bugfix on 0.3.5.1-alpha.
  714. o Minor bugfixes (logging, backport from 0.4.1.1-alpha):
  715. - Do not log a warning when running with an OpenSSL version other
  716. than the one Tor was compiled with, if the two versions should be
  717. compatible. Previously, we would warn whenever the version was
  718. different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
  719. o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
  720. - Change log level of message "Hash of session info was not as
  721. expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
  722. on 0.1.1.10-alpha.
  723. o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
  724. - Rate-limit our the logging message about the obsolete .exit
  725. notation. Previously, there was no limit on this warning, which
  726. could potentially be triggered many times by a hostile website.
  727. Fixes bug 31466; bugfix on 0.2.2.1-alpha.
  728. o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
  729. - Do not log a nonfatal assertion failure when receiving a VERSIONS
  730. cell on a connection using the obsolete v1 link protocol. Log a
  731. protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
  732. o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
  733. - Reset the periodic events' "enabled" flag when Tor is shut down
  734. cleanly. Previously, this flag was left on, which caused periodic
  735. events not to be re-enabled when Tor was relaunched in-process
  736. with tor_api.h after a shutdown. Fixes bug 32058; bugfix
  737. on 0.3.3.1-alpha.
  738. o Minor bugfixes (memory leak, backport from 0.4.1.1-alpha):
  739. - Avoid a minor memory leak that could occur on relays when failing
  740. to create a "keys" directory. Fixes bug 30148; bugfix
  741. on 0.3.3.1-alpha.
  742. o Minor bugfixes (memory leak, backport from 0.4.1.4-rc):
  743. - Fix a trivial memory leak when parsing an invalid value
  744. from a download schedule in the configuration. Fixes bug
  745. 30894; bugfix on 0.3.4.1-alpha.
  746. o Minor bugfixes (memory management, backport from 0.4.0.3-alpha):
  747. - Refactor the shared random state's memory management so that it
  748. actually takes ownership of the shared random value pointers.
  749. Fixes bug 29706; bugfix on 0.2.9.1-alpha.
  750. o Minor bugfixes (memory management, testing, backport from 0.4.0.3-alpha):
  751. - Stop leaking parts of the shared random state in the shared-random
  752. unit tests. Fixes bug 29599; bugfix on 0.2.9.1-alpha.
  753. o Minor bugfixes (onion services, backport from 0.4.1.1-alpha):
  754. - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
  755. implemenation) when failing to load an onion service client
  756. authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
  757. o Minor bugfixes (out-of-memory handler, backport from 0.4.1.2-alpha):
  758. - When purging the DNS cache because of an out-of-memory condition,
  759. try purging just the older entries at first. Previously, we would
  760. always purge the whole thing. Fixes bug 29617; bugfix
  761. on 0.3.5.1-alpha.
  762. o Minor bugfixes (portability, backport from 0.4.1.2-alpha):
  763. - Avoid crashing in our tor_vasprintf() implementation on systems
  764. that define neither vasprintf() nor _vscprintf(). (This bug has
  765. been here long enough that we question whether people are running
  766. Tor on such systems, but we're applying the fix out of caution.)
  767. Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
  768. Tobias Stoeckmann.
  769. o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
  770. - Avoid crashing when starting with a corrupt keys directory where
  771. the old ntor key and the new ntor key are identical. Fixes bug
  772. 30916; bugfix on 0.2.4.8-alpha.
  773. o Minor bugfixes (rust, backport from 0.4.0.5):
  774. - Abort on panic in all build profiles, instead of potentially
  775. unwinding into C code. Fixes bug 27199; bugfix on 0.3.3.1-alpha.
  776. o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
  777. - Correctly exclude a redundant rust build job in Travis. Fixes bug
  778. 31463; bugfix on 0.3.5.4-alpha.
  779. o Minor bugfixes (single onion services, backport from 0.4.0.3-alpha):
  780. - Allow connections to single onion services to remain idle without
  781. being disconnected. Previously, relays acting as rendezvous points
  782. for single onion services were mistakenly closing idle rendezvous
  783. circuits after 60 seconds, thinking that they were unused
  784. directory-fetching circuits that had served their purpose. Fixes
  785. bug 29665; bugfix on 0.2.1.26.
  786. o Minor bugfixes (stats, backport from 0.4.0.3-alpha):
  787. - When ExtraInfoStatistics is 0, stop including PaddingStatistics in
  788. relay and bridge extra-info documents. Fixes bug 29017; bugfix
  789. on 0.3.1.1-alpha.
  790. o Minor bugfixes (testing, backport from 0.4.0.3-alpha):
  791. - Downgrade some LOG_ERR messages in the address/* tests to
  792. warnings. The LOG_ERR messages were occurring when we had no
  793. configured network. We were failing the unit tests, because we
  794. backported 28668 to 0.3.5.8, but did not backport 29530. Fixes bug
  795. 29530; bugfix on 0.3.5.8.
  796. - Fix our gcov wrapper script to look for object files at the
  797. correct locations. Fixes bug 29435; bugfix on 0.3.5.1-alpha.
  798. o Minor bugfixes (testing, backport from 0.4.0.4-rc):
  799. - Backport the 0.3.4 src/test/test-network.sh to 0.2.9. We need a
  800. recent test-network.sh to use new chutney features in CI. Fixes
  801. bug 29703; bugfix on 0.2.9.1-alpha.
  802. - Fix a test failure on Windows caused by an unexpected "BUG"
  803. warning in our tests for tor_gmtime_r(-1). Fixes bug 29922; bugfix
  804. on 0.2.9.3-alpha.
  805. o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
  806. - When testing port rebinding, don't busy-wait for tor to log.
  807. Instead, actually sleep for a short time before polling again.
  808. Also improve the formatting of control commands and log messages.
  809. Fixes bug 31837; bugfix on 0.3.5.1-alpha.
  810. o Minor bugfixes (TLS protocol, backport form 0.4.0.4-rc):
  811. - When classifying a client's selection of TLS ciphers, if the
  812. client ciphers are not yet available, do not cache the result.
  813. Previously, we had cached the unavailability of the cipher list
  814. and never looked again, which in turn led us to assume that the
  815. client only supported the ancient V1 link protocol. This, in turn,
  816. was causing Stem integration tests to stall in some cases. Fixes
  817. bug 30021; bugfix on 0.2.4.8-alpha.
  818. o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
  819. - Log bugs about the TLS read buffer's length only once, rather than
  820. filling the logs with similar warnings. Fixes bug 31939; bugfix
  821. on 0.3.0.4-rc.
  822. o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
  823. - Always retry v2 single onion service intro and rend circuits with
  824. a 3-hop path. Previously, v2 single onion services used a 3-hop
  825. path when rendezvous circuits were retried after a remote or
  826. delayed failure, but a 1-hop path for immediate retries. Fixes bug
  827. 23818; bugfix on 0.2.9.3-alpha.
  828. - Make v3 single onion services fall back to a 3-hop intro, when all
  829. intro points are unreachable via a 1-hop path. Previously, v3
  830. single onion services failed when all intro nodes were unreachable
  831. via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
  832. o Minor bugfixes (Windows, CI, backport from 0.4.0.3-alpha):
  833. - Skip the Appveyor 32-bit Windows Server 2016 job, and 64-bit
  834. Windows Server 2012 R2 job. The remaining 2 jobs still provide
  835. coverage of 64/32-bit, and Windows Server 2016/2012 R2. Also set
  836. fast_finish, so failed jobs terminate the build immediately. Fixes
  837. bug 29601; bugfix on 0.3.5.4-alpha.
  838. o Documentation (backport from 0.4.2.1-alpha):
  839. - Use RFC 2397 data URL scheme to embed an image into tor-exit-
  840. notice.html so that operators no longer have to host it
  841. themselves. Closes ticket 31089.
  842. o Testing (backport from 0.4.1.2-alpha):
  843. - Specify torrc paths (with empty files) when launching tor in
  844. integration tests; refrain from reading user and system torrcs.
  845. Resolves issue 29702.
  846. o Testing (continuous integration, backport from 0.4.1.1-alpha):
  847. - In Travis, show stem's tor log after failure. Closes ticket 30234.
  848. o Testing (continuous integration, backport from 0.4.1.5):
  849. - In Travis, make stem log a controller trace to the console, and
  850. tail stem's tor log after failure. Closes ticket 30591.
  851. - In Travis, only run the stem tests that use a tor binary. Closes
  852. ticket 30694.
  853. o Testing (continuous integration, backport from 0.4.2.3-alpha):
  854. - Disable all but one Travis CI macOS build, to mitigate slow
  855. scheduling of Travis macOS jobs. Closes ticket 32177.
  856. - Run the chutney IPv6 networks as part of Travis CI. Closes
  857. ticket 30860.
  858. - Simplify the Travis CI build matrix, and optimise for build time.
  859. Closes ticket 31859.
  860. - Use Windows Server 2019 instead of Windows Server 2016 in our
  861. Appveyor builds. Closes ticket 32086.
  862. o Testing (continuous integration, backport from 0.4.2.4-rc):
  863. - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
  864. recent version of coccinelle. But leave chutney on Ubuntu Trusty,
  865. until we can fix some Bionic permissions issues (see ticket
  866. 32240). Related to ticket 31919.
  867. - Install the mingw OpenSSL package in Appveyor. This makes sure
  868. that the OpenSSL headers and libraries match in Tor's Appveyor
  869. builds. (This bug was triggered by an Appveyor image update.)
  870. Fixes bug 32449; bugfix on 0.3.5.6-rc.
  871. - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
  872. o Testing (continuous integration, backport from 0.4.2.5):
  873. - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
  874. extensions. Also activates clang's -Wtypedef-redefinition warnings.
  875. Build some jobs with -std=gnu99, and some jobs without.
  876. Closes ticket 32500.
  877. Changes in version 0.3.5.8 - 2019-02-21
  878. Tor 0.3.5.8 backports serveral fixes from later releases, including fixes
  879. for an annoying SOCKS-parsing bug that affected users in earlier 0.3.5.x
  880. releases.
  881. It also includes a fix for a medium-severity security bug affecting Tor
  882. 0.3.2.1-alpha and later. All Tor instances running an affected release
  883. should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
  884. o Major bugfixes (cell scheduler, KIST, security):
  885. - Make KIST consider the outbuf length when computing what it can
  886. put in the outbuf. Previously, KIST acted as though the outbuf
  887. were empty, which could lead to the outbuf becoming too full. It
  888. is possible that an attacker could exploit this bug to cause a Tor
  889. client or relay to run out of memory and crash. Fixes bug 29168;
  890. bugfix on 0.3.2.1-alpha. This issue is also being tracked as
  891. TROVE-2019-001 and CVE-2019-8955.
  892. o Major bugfixes (networking, backport from 0.4.0.2-alpha):
  893. - Gracefully handle empty username/password fields in SOCKS5
  894. username/password auth messsage and allow SOCKS5 handshake to
  895. continue. Previously, we had rejected these handshakes, breaking
  896. certain applications. Fixes bug 29175; bugfix on 0.3.5.1-alpha.
  897. o Minor features (compilation, backport from 0.4.0.2-alpha):
  898. - Compile correctly when OpenSSL is built with engine support
  899. disabled, or with deprecated APIs disabled. Closes ticket 29026.
  900. Patches from "Mangix".
  901. o Minor features (geoip):
  902. - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
  903. Country database. Closes ticket 29478.
  904. o Minor features (testing, backport from 0.4.0.2-alpha):
  905. - Treat all unexpected ERR and BUG messages as test failures. Closes
  906. ticket 28668.
  907. o Minor bugfixes (onion service v3, client, backport from 0.4.0.1-alpha):
  908. - Stop logging a "BUG()" warning and stacktrace when we find a SOCKS
  909. connection waiting for a descriptor that we actually have in the
  910. cache. It turns out that this can actually happen, though it is
  911. rare. Now, tor will recover and retry the descriptor. Fixes bug
  912. 28669; bugfix on 0.3.2.4-alpha.
  913. o Minor bugfixes (IPv6, backport from 0.4.0.1-alpha):
  914. - Fix tor_ersatz_socketpair on IPv6-only systems. Previously, the
  915. IPv6 socket was bound using an address family of AF_INET instead
  916. of AF_INET6. Fixes bug 28995; bugfix on 0.3.5.1-alpha. Patch from
  917. Kris Katterjohn.
  918. o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
  919. - Update Cargo.lock file to match the version made by the latest
  920. version of Rust, so that "make distcheck" will pass again. Fixes
  921. bug 29244; bugfix on 0.3.3.4-alpha.
  922. o Minor bugfixes (client, clock skew, backport from 0.4.0.1-alpha):
  923. - Select guards even if the consensus has expired, as long as the
  924. consensus is still reasonably live. Fixes bug 24661; bugfix
  925. on 0.3.0.1-alpha.
  926. o Minor bugfixes (compilation, backport from 0.4.0.1-alpha):
  927. - Compile correctly on OpenBSD; previously, we were missing some
  928. headers required in order to detect it properly. Fixes bug 28938;
  929. bugfix on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  930. o Minor bugfixes (documentation, backport from 0.4.0.2-alpha):
  931. - Describe the contents of the v3 onion service client authorization
  932. files correctly: They hold public keys, not private keys. Fixes
  933. bug 28979; bugfix on 0.3.5.1-alpha. Spotted by "Felixix".
  934. o Minor bugfixes (logging, backport from 0.4.0.1-alpha):
  935. - Rework rep_hist_log_link_protocol_counts() to iterate through all
  936. link protocol versions when logging incoming/outgoing connection
  937. counts. Tor no longer skips version 5, and we won't have to
  938. remember to update this function when new link protocol version is
  939. developed. Fixes bug 28920; bugfix on 0.2.6.10.
  940. o Minor bugfixes (logging, backport from 0.4.0.2-alpha):
  941. - Log more information at "warning" level when unable to read a
  942. private key; log more information at "info" level when unable to
  943. read a public key. We had warnings here before, but they were lost
  944. during our NSS work. Fixes bug 29042; bugfix on 0.3.5.1-alpha.
  945. o Minor bugfixes (misc, backport from 0.4.0.2-alpha):
  946. - The amount of total available physical memory is now determined
  947. using the sysctl identifier HW_PHYSMEM (rather than HW_USERMEM)
  948. when it is defined and a 64-bit variant is not available. Fixes
  949. bug 28981; bugfix on 0.2.5.4-alpha. Patch from Kris Katterjohn.
  950. o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
  951. - Avoid crashing if ClientOnionAuthDir (incorrectly) contains more
  952. than one private key for a hidden service. Fixes bug 29040; bugfix
  953. on 0.3.5.1-alpha.
  954. - In hs_cache_store_as_client() log an HSDesc we failed to parse at
  955. "debug" level. Tor used to log it as a warning, which caused very
  956. long log lines to appear for some users. Fixes bug 29135; bugfix
  957. on 0.3.2.1-alpha.
  958. - Stop logging "Tried to establish rendezvous on non-OR circuit..."
  959. as a warning. Instead, log it as a protocol warning, because there
  960. is nothing that relay operators can do to fix it. Fixes bug 29029;
  961. bugfix on 0.2.5.7-rc.
  962. o Minor bugfixes (tests, directory clients, backport from 0.4.0.1-alpha):
  963. - Mark outdated dirservers when Tor only has a reasonably live
  964. consensus. Fixes bug 28569; bugfix on 0.3.2.5-alpha.
  965. o Minor bugfixes (tests, backport from 0.4.0.2-alpha):
  966. - Detect and suppress "bug" warnings from the util/time test on
  967. Windows. Fixes bug 29161; bugfix on 0.2.9.3-alpha.
  968. - Do not log an error-level message if we fail to find an IPv6
  969. network interface from the unit tests. Fixes bug 29160; bugfix
  970. on 0.2.7.3-rc.
  971. o Minor bugfixes (usability, backport from 0.4.0.1-alpha):
  972. - Stop saying "Your Guard ..." in pathbias_measure_{use,close}_rate().
  973. Some users took this phrasing to mean that the mentioned guard was
  974. under their control or responsibility, which it is not. Fixes bug
  975. 28895; bugfix on Tor 0.3.0.1-alpha.
  976. Changes in version 0.3.5.7 - 2019-01-07
  977. Tor 0.3.5.7 is the first stable release in its series; it includes
  978. compilation and portability fixes, and a fix for a severe problem
  979. affecting directory caches.
  980. The Tor 0.3.5 series includes several new features and performance
  981. improvements, including client authorization for v3 onion services,
  982. cleanups to bootstrap reporting, support for improved bandwidth-
  983. measurement tools, experimental support for NSS in place of OpenSSL,
  984. and much more. It also begins a full reorganization of Tor's code
  985. layout, for improved modularity and maintainability in the future.
  986. Finally, there is the usual set of performance improvements and
  987. bugfixes that we try to do in every release series.
  988. There are a couple of changes in the 0.3.5 that may affect
  989. compatibility. First, the default version for newly created onion
  990. services is now v3. Use the HiddenServiceVersion option if you want to
  991. override this. Second, some log messages related to bootstrapping have
  992. changed; if you use stem, you may need to update to the latest version
  993. so it will recognize them.
  994. We have designated 0.3.5 as a "long-term support" (LTS) series: we
  995. will continue to patch major bugs in typical configurations of 0.3.5
  996. until at least 1 Feb 2022. (We do not plan to provide long-term
  997. support for embedding, Rust support, NSS support, running a directory
  998. authority, or unsupported platforms. For these, you will need to stick
  999. with the latest stable release.)
  1000. Below are the changes since 0.3.5.6-rc. For a complete list of changes
  1001. since 0.3.4.9, see the ReleaseNotes file.
  1002. o Major bugfixes (relay, directory):
  1003. - Always reactivate linked connections in the main loop so long as
  1004. any linked connection has been active. Previously, connections
  1005. serving directory information wouldn't get reactivated after the
  1006. first chunk of data was sent (usually 32KB), which would prevent
  1007. clients from bootstrapping. Fixes bug 28912; bugfix on
  1008. 0.3.4.1-alpha. Patch by "cypherpunks3".
  1009. o Minor features (compilation):
  1010. - When possible, place our warning flags in a separate file, to
  1011. avoid flooding verbose build logs. Closes ticket 28924.
  1012. o Minor features (geoip):
  1013. - Update geoip and geoip6 to the January 3 2019 Maxmind GeoLite2
  1014. Country database. Closes ticket 29012.
  1015. o Minor features (OpenSSL bug workaround):
  1016. - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
  1017. key export function from handling long labels. When this bug is
  1018. detected, Tor will disable TLS 1.3. We recommend upgrading to a
  1019. version of OpenSSL without this bug when it becomes available.
  1020. Closes ticket 28973.
  1021. o Minor features (performance):
  1022. - Remove about 96% of the work from the function that we run at
  1023. startup to test our curve25519_basepoint implementation. Since
  1024. this function has yet to find an actual failure, we now only run
  1025. it for 8 iterations instead of 200. Based on our profile
  1026. information, this change should save around 8% of our startup time
  1027. on typical desktops, and may have a similar effect on other
  1028. platforms. Closes ticket 28838.
  1029. - Stop re-validating our hardcoded Diffie-Hellman parameters on
  1030. every startup. Doing this wasted time and cycles, especially on
  1031. low-powered devices. Closes ticket 28851.
  1032. o Minor bugfixes (compilation):
  1033. - Fix compilation for Android by adding a missing header to
  1034. freespace.c. Fixes bug 28974; bugfix on 0.3.5.1-alpha.
  1035. o Minor bugfixes (correctness):
  1036. - Fix an unreached code path where we checked the value of
  1037. "hostname" inside send_resolved_hostname_cell(). Previously, we
  1038. used it before checking it; now we check it first. Fixes bug
  1039. 28879; bugfix on 0.1.2.7-alpha.
  1040. o Minor bugfixes (testing):
  1041. - Make sure that test_rebind.py actually obeys its timeout, even
  1042. when it receives a large number of log messages. Fixes bug 28883;
  1043. bugfix on 0.3.5.4-alpha.
  1044. - Stop running stem's unit tests as part of "make test-stem", but
  1045. continue to run stem's unit and online tests during "make test-
  1046. stem-full". Fixes bug 28568; bugfix on 0.2.6.3-alpha.
  1047. o Minor bugfixes (windows services):
  1048. - Make Tor start correctly as an NT service again: previously it was
  1049. broken by refactoring. Fixes bug 28612; bugfix on 0.3.5.3-alpha.
  1050. o Code simplification and refactoring:
  1051. - When parsing a port configuration, make it more obvious to static
  1052. analyzer tools that we always initialize the address. Closes
  1053. ticket 28881.
  1054. Changes in version 0.3.5.6-rc - 2018-12-18
  1055. Tor 0.3.5.6-rc fixes numerous small bugs in earlier versions of Tor.
  1056. It is the first release candidate in the 0.3.5.x series; if no further
  1057. huge bugs are found, our next release may be the stable 0.3.5.x.
  1058. o Minor features (continuous integration, Windows):
  1059. - Always show the configure and test logs, and upload them as build
  1060. artifacts, when building for Windows using Appveyor CI.
  1061. Implements 28459.
  1062. o Minor features (fallback directory list):
  1063. - Replace the 150 fallbacks originally introduced in Tor
  1064. 0.3.3.1-alpha in January 2018 (of which ~115 were still
  1065. functional), with a list of 157 fallbacks (92 new, 65 existing, 85
  1066. removed) generated in December 2018. Closes ticket 24803.
  1067. o Minor features (geoip):
  1068. - Update geoip and geoip6 to the December 5 2018 Maxmind GeoLite2
  1069. Country database. Closes ticket 28744.
  1070. o Minor bugfixes (compilation):
  1071. - Add missing dependency on libgdi32.dll for tor-print-ed-signing-
  1072. cert.exe on Windows. Fixes bug 28485; bugfix on 0.3.5.1-alpha.
  1073. o Minor bugfixes (continuous integration, Windows):
  1074. - Explicitly specify the path to the OpenSSL library and do not
  1075. download OpenSSL from Pacman, but instead use the library that is
  1076. already provided by AppVeyor. Fixes bug 28574; bugfix on master.
  1077. o Minor bugfixes (onion service v3):
  1078. - When deleting an ephemeral onion service (DEL_ONION), do not close
  1079. any rendezvous circuits in order to let the existing client
  1080. connections finish by themselves or closed by the application. The
  1081. HS v2 is doing that already so now we have the same behavior for
  1082. all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
  1083. o Minor bugfixes (restart-in-process, boostrap):
  1084. - Add missing resets of bootstrap tracking state when shutting down
  1085. (regression caused by ticket 27169). Fixes bug 28524; bugfix
  1086. on 0.3.5.1-alpha.
  1087. o Minor bugfixes (testing):
  1088. - Use a separate DataDirectory for the test_rebind script.
  1089. Previously, this script would run using the default DataDirectory,
  1090. and sometimes fail. Fixes bug 28562; bugfix on 0.3.5.1-alpha.
  1091. Patch from Taylor R Campbell.
  1092. - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
  1093. bugfix on 0.3.0.1-alpha.
  1094. o Minor bugfixes (Windows):
  1095. - Correctly identify Windows 8.1, Windows 10, and Windows Server
  1096. 2008 and later from their NT versions. Fixes bug 28096; bugfix on
  1097. 0.2.2.34; reported by Keifer Bly.
  1098. - On recent Windows versions, the GetVersionEx() function may report
  1099. an earlier Windows version than the running OS. To avoid user
  1100. confusion, add "[or later]" to Tor's version string on affected
  1101. versions of Windows. Fixes bug 28096; bugfix on 0.2.2.34; reported
  1102. by Keifer Bly.
  1103. - Remove Windows versions that were never supported by the
  1104. GetVersionEx() function. Stop duplicating the latest Windows
  1105. version in get_uname(). Fixes bug 28096; bugfix on 0.2.2.34;
  1106. reported by Keifer Bly.
  1107. o Testing:
  1108. - Increase logging and tag all log entries with timestamps in
  1109. test_rebind.py. Provides diagnostics for issue 28229.
  1110. o Code simplification and refactoring (shared random, dirauth):
  1111. - Change many tor_assert() to use BUG() instead. The idea is to not
  1112. crash a dirauth but rather scream loudly with a stacktrace and let
  1113. it continue run. The shared random subsystem is very resilient and
  1114. if anything wrong happens with it, at worst a non coherent value
  1115. will be put in the vote and discarded by the other authorities.
  1116. Closes ticket 19566.
  1117. o Documentation (onion services):
  1118. - Document in the man page that changing ClientOnionAuthDir value or
  1119. adding a new file in the directory will not work at runtime upon
  1120. sending a HUP if Sandbox 1. Closes ticket 28128.
  1121. - Note in the man page that the only real way to fully revoke an
  1122. onion service v3 client authorization is by restarting the tor
  1123. process. Closes ticket 28275.
  1124. Changes in version 0.3.5.5-alpha - 2018-11-16
  1125. Tor 0.3.5.5-alpha includes numerous bugfixes on earlier releases,
  1126. including several that we hope to backport to older release series in
  1127. the future.
  1128. o Major bugfixes (OpenSSL, portability):
  1129. - Fix our usage of named groups when running as a TLS 1.3 client in
  1130. OpenSSL 1.1.1. Previously, we only initialized EC groups when
  1131. running as a relay, which caused clients to fail to negotiate TLS
  1132. 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
  1133. support was added).
  1134. o Minor features (geoip):
  1135. - Update geoip and geoip6 to the November 6 2018 Maxmind GeoLite2
  1136. Country database. Closes ticket 28395.
  1137. o Minor bugfixes (compilation):
  1138. - Initialize a variable unconditionally in aes_new_cipher(), since
  1139. some compilers cannot tell that we always initialize it before
  1140. use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
  1141. o Minor bugfixes (connection, relay):
  1142. - Avoid a logging a BUG() stacktrace when closing connection held
  1143. open because the write side is rate limited but not the read side.
  1144. Now, the connection read side is simply shut down until Tor is
  1145. able to flush the connection and close it. Fixes bug 27750; bugfix
  1146. on 0.3.4.1-alpha.
  1147. o Minor bugfixes (continuous integration, Windows):
  1148. - Manually configure the zstd compiler options, when building using
  1149. mingw on Appveyor Windows CI. The MSYS2 mingw zstd package does
  1150. not come with a pkg-config file. Fixes bug 28454; bugfix
  1151. on 0.3.4.1-alpha.
  1152. - Stop using an external OpenSSL install, and stop installing MSYS2
  1153. packages, when building using mingw on Appveyor Windows CI. Fixes
  1154. bug 28399; bugfix on 0.3.4.1-alpha.
  1155. o Minor bugfixes (documentation):
  1156. - Make Doxygen work again after the code movement in the 0.3.5
  1157. source tree. Fixes bug 28435; bugfix on 0.3.5.1-alpha.
  1158. o Minor bugfixes (Linux seccomp2 sandbox):
  1159. - Permit the "shutdown()" system call, which is apparently used by
  1160. OpenSSL under some circumstances. Fixes bug 28183; bugfix
  1161. on 0.2.5.1-alpha.
  1162. o Minor bugfixes (logging):
  1163. - Stop talking about the Named flag in log messages. Clients have
  1164. ignored the Named flag since 0.3.2. Fixes bug 28441; bugfix
  1165. on 0.3.2.1-alpha.
  1166. o Minor bugfixes (memory leaks):
  1167. - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
  1168. bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
  1169. o Minor bugfixes (onion services):
  1170. - On an intro point for a version 3 onion service, stop closing
  1171. introduction circuits on an NACK. This lets the client decide
  1172. whether to reuse the circuit or discard it. Previously, we closed
  1173. intro circuits when sending NACKs. Fixes bug 27841; bugfix on
  1174. 0.3.2.1-alpha. Patch by Neel Chaunan.
  1175. - When replacing a descriptor in the client cache, make sure to
  1176. close all client introduction circuits for the old descriptor, so
  1177. we don't end up with unusable leftover circuits. Fixes bug 27471;
  1178. bugfix on 0.3.2.1-alpha.
  1179. Changes in version 0.3.5.4-alpha - 2018-11-08
  1180. Tor 0.3.5.4-alpha includes numerous bugfixes on earlier versions and
  1181. improves our continuous integration support. It continues our attempts
  1182. to stabilize this alpha branch and build it into a foundation for an
  1183. acceptable long-term-support release.
  1184. o Major bugfixes (compilation, rust):
  1185. - Rust tests can now build and run successfully with the
  1186. --enable-fragile-hardening option enabled. Doing this currently
  1187. requires the rust beta channel; it will be possible with stable
  1188. rust once Rust version 1.31 is released. Patch from Alex Crichton.
  1189. Fixes bugs 27272, 27273, and 27274. Bugfix on 0.3.1.1-alpha.
  1190. o Major bugfixes (embedding, main loop):
  1191. - When DisableNetwork becomes set, actually disable periodic events
  1192. that are already enabled. (Previously, we would refrain from
  1193. enabling new ones, but we would leave the old ones turned on.)
  1194. Fixes bug 28348; bugfix on 0.3.4.1-alpha.
  1195. o Minor features (continuous integration):
  1196. - Add a Travis CI build for --enable-nss on Linux gcc. Closes
  1197. ticket 27751.
  1198. - Add new CI job to Travis configuration to run stem-based
  1199. integration tests. Closes ticket 27913.
  1200. o Minor features (Windows, continuous integration):
  1201. - Build tor on Windows Server 2012 R2 and Windows Server 2016 using
  1202. Appveyor's CI. Closes ticket 28318.
  1203. o Minor bugfixes (C correctness, also in 0.3.4.9):
  1204. - Avoid undefined behavior in an end-of-string check when parsing
  1205. the BEGIN line in a directory object. Fixes bug 28202; bugfix
  1206. on 0.2.0.3-alpha.
  1207. o Minor bugfixes (compilation):
  1208. - Fix a pair of missing headers on OpenBSD. Fixes bug 28303; bugfix
  1209. on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  1210. o Minor bugfixes (compilation, OpenSolaris):
  1211. - Fix compilation on OpenSolaris and its descendants by adding a
  1212. missing include to compat_pthreads.c. Fixes bug 27963; bugfix
  1213. on 0.3.5.1-alpha.
  1214. o Minor bugfixes (configuration):
  1215. - Refuse to start with relative file paths and RunAsDaemon set
  1216. (regression from the fix for bug 22731). Fixes bug 28298; bugfix
  1217. on 0.3.3.1-alpha.
  1218. o Minor bugfixes (directory authority, also in 0.3.4.9):
  1219. - Log additional info when we get a relay that shares an ed25519 ID
  1220. with a different relay, instead of a BUG() warning with a
  1221. backtrace. Fixes bug 27800; bugfix on 0.3.2.1-alpha.
  1222. o Minor bugfixes (onion service v3):
  1223. - Build the service descriptor's signing key certificate before
  1224. uploading, so we always have a fresh one: leaving no chances for
  1225. it to expire service side. Fixes bug 27838; bugfix
  1226. on 0.3.2.1-alpha.
  1227. o Minor bugfixes (onion service v3, client authorization):
  1228. - Fix an assert() when adding a client authorization for the first
  1229. time and then sending a HUP signal to the service. Before that,
  1230. Tor would stop abruptly. Fixes bug 27995; bugfix on 0.3.5.1-alpha.
  1231. o Minor bugfixes (onion services):
  1232. - Unless we have explicitly set HiddenServiceVersion, detect the
  1233. onion service version and then look for invalid options.
  1234. Previously, we did the reverse, but that broke existing configs
  1235. which were pointed to a v2 service and had options like
  1236. HiddenServiceAuthorizeClient set. Fixes bug 28127; bugfix on
  1237. 0.3.5.1-alpha. Patch by Neel Chauhan.
  1238. o Minor bugfixes (portability):
  1239. - Make the OPE code (which is used for v3 onion services) run
  1240. correctly on big-endian platforms. Fixes bug 28115; bugfix
  1241. on 0.3.5.1-alpha.
  1242. o Minor bugfixes (protover, rust):
  1243. - Reject extra commas in version strings. Fixes bug 27197; bugfix
  1244. on 0.3.3.3-alpha.
  1245. o Minor bugfixes (relay shutdown, systemd):
  1246. - Notify systemd of ShutdownWaitLength so it can be set to longer
  1247. than systemd's TimeoutStopSec. In Tor's systemd service file, set
  1248. TimeoutSec to 60 seconds to allow Tor some time to shut down.
  1249. Fixes bug 28113; bugfix on 0.2.6.2-alpha.
  1250. o Minor bugfixes (rust, also in 0.3.4.9):
  1251. - Fix a potential null dereference in protover_all_supported(). Add
  1252. a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
  1253. - Return a string that can be safely freed by C code, not one
  1254. created by the rust allocator, in protover_all_supported(). Fixes
  1255. bug 27740; bugfix on 0.3.3.1-alpha.
  1256. o Minor bugfixes (rust, directory authority, also in 0.3.4.9):
  1257. - Fix an API mismatch in the rust implementation of
  1258. protover_compute_vote(). This bug could have caused crashes on any
  1259. directory authorities running Tor with Rust (which we do not yet
  1260. recommend). Fixes bug 27741; bugfix on 0.3.3.6.
  1261. o Minor bugfixes (testing):
  1262. - Avoid hangs and race conditions in test_rebind.py. Fixes bug
  1263. 27968; bugfix on 0.3.5.1-alpha.
  1264. o Minor bugfixes (testing, also in 0.3.4.9):
  1265. - Treat backtrace test failures as expected on BSD-derived systems
  1266. (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
  1267. (FreeBSD failures have been treated as expected since 18204 in
  1268. 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
  1269. o Documentation (onion service manpage):
  1270. - Improve HSv3 client authorization by making some options more
  1271. explicit and detailed. Closes ticket 28026. Patch by Mike Tigas.
  1272. Changes in version 0.3.4.9 - 2018-11-02
  1273. Tor 0.3.4.9 is the second stable release in its series; it backports
  1274. numerous fixes, including a fix for a bandwidth management bug that
  1275. was causing memory exhaustion on relays. Anyone running an earlier
  1276. version of Tor 0.3.4.9 should upgrade.
  1277. o Major bugfixes (compilation, backport from 0.3.5.3-alpha):
  1278. - Fix compilation on ARM (and other less-used CPUs) when compiling
  1279. with OpenSSL before 1.1. Fixes bug 27781; bugfix on 0.3.4.1-alpha.
  1280. o Major bugfixes (mainloop, bootstrap, backport from 0.3.5.3-alpha):
  1281. - Make sure Tor bootstraps and works properly if only the
  1282. ControlPort is set. Prior to this fix, Tor would only bootstrap
  1283. when a client port was set (Socks, Trans, NATD, DNS or HTTPTunnel
  1284. port). Fixes bug 27849; bugfix on 0.3.4.1-alpha.
  1285. o Major bugfixes (relay, backport from 0.3.5.3-alpha):
  1286. - When our write bandwidth limit is exhausted, stop writing on the
  1287. connection. Previously, we had a typo in the code that would make
  1288. us stop reading instead, leading to relay connections being stuck
  1289. indefinitely and consuming kernel RAM. Fixes bug 28089; bugfix
  1290. on 0.3.4.1-alpha.
  1291. o Major bugfixes (restart-in-process, backport from 0.3.5.1-alpha):
  1292. - Fix a use-after-free error that could be caused by passing Tor an
  1293. impossible set of options that would fail during options_act().
  1294. Fixes bug 27708; bugfix on 0.3.3.1-alpha.
  1295. o Minor features (continuous integration, backport from 0.3.5.1-alpha):
  1296. - Don't do a distcheck with --disable-module-dirauth in Travis.
  1297. Implements ticket 27252.
  1298. - Only run one online rust build in Travis, to reduce network
  1299. errors. Skip offline rust builds on Travis for Linux gcc, because
  1300. they're redundant. Implements ticket 27252.
  1301. - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
  1302. duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
  1303. Linux with default settings, because all the non-default builds
  1304. use gcc on Linux. Implements ticket 27252.
  1305. o Minor features (continuous integration, backport from 0.3.5.3-alpha):
  1306. - Use the Travis Homebrew addon to install packages on macOS during
  1307. Travis CI. The package list is the same, but the Homebrew addon
  1308. does not do a `brew update` by default. Implements ticket 27738.
  1309. o Minor features (geoip):
  1310. - Update geoip and geoip6 to the October 9 2018 Maxmind GeoLite2
  1311. Country database. Closes ticket 27991.
  1312. o Minor bugfixes (32-bit OSX and iOS, timing, backport from 0.3.5.2-alpha):
  1313. - Fix an integer overflow bug in our optimized 32-bit millisecond-
  1314. difference algorithm for 32-bit Apple platforms. Previously, it
  1315. would overflow when calculating the difference between two times
  1316. more than 47 days apart. Fixes part of bug 27139; bugfix
  1317. on 0.3.4.1-alpha.
  1318. - Improve the precision of our 32-bit millisecond difference
  1319. algorithm for 32-bit Apple platforms. Fixes part of bug 27139;
  1320. bugfix on 0.3.4.1-alpha.
  1321. - Relax the tolerance on the mainloop/update_time_jumps test when
  1322. running on 32-bit Apple platforms. Fixes part of bug 27139; bugfix
  1323. on 0.3.4.1-alpha.
  1324. o Minor bugfixes (C correctness, to appear in 0.3.5.4-alpha):
  1325. - Avoid undefined behavior in an end-of-string check when parsing
  1326. the BEGIN line in a directory object. Fixes bug 28202; bugfix
  1327. on 0.2.0.3-alpha.
  1328. o Minor bugfixes (CI, appveyor, to appear in 0.3.5.4-alpha):
  1329. - Only install the necessary mingw packages during our appveyor
  1330. builds. This change makes the build a little faster, and prevents
  1331. a conflict with a preinstalled mingw openssl that appveyor now
  1332. ships. Fixes bugs 27943 and 27765; bugfix on 0.3.4.2-alpha.
  1333. o Minor bugfixes (code safety, backport from 0.3.5.3-alpha):
  1334. - Rewrite our assertion macros so that they no longer suppress the
  1335. compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
  1336. o Minor bugfixes (continuous integration, backport from 0.3.5.1-alpha):
  1337. - Stop reinstalling identical packages in our Windows CI. Fixes bug
  1338. 27464; bugfix on 0.3.4.1-alpha.
  1339. o Minor bugfixes (directory authority, to appear in 0.3.5.4-alpha):
  1340. - Log additional info when we get a relay that shares an ed25519 ID
  1341. with a different relay, instead making a BUG() warning. Fixes bug
  1342. 27800; bugfix on 0.3.2.1-alpha.
  1343. o Minor bugfixes (directory connection shutdown, backport from 0.3.5.1-alpha):
  1344. - Avoid a double-close when shutting down a stalled directory
  1345. connection. Fixes bug 26896; bugfix on 0.3.4.1-alpha.
  1346. o Minor bugfixes (HTTP tunnel, backport from 0.3.5.1-alpha):
  1347. - Fix a bug warning when closing an HTTP tunnel connection due to an
  1348. HTTP request we couldn't handle. Fixes bug 26470; bugfix
  1349. on 0.3.2.1-alpha.
  1350. o Minor bugfixes (netflow padding, backport from 0.3.5.1-alpha):
  1351. - Ensure circuitmux queues are empty before scheduling or sending
  1352. padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
  1353. o Minor bugfixes (onion service v3, backport from 0.3.5.1-alpha):
  1354. - When the onion service directory can't be created or has the wrong
  1355. permissions, do not log a stack trace. Fixes bug 27335; bugfix
  1356. on 0.3.2.1-alpha.
  1357. o Minor bugfixes (onion service v3, backport from 0.3.5.2-alpha):
  1358. - Close all SOCKS request (for the same .onion) if the newly fetched
  1359. descriptor is unusable. Before that, we would close only the first
  1360. one leaving the other hanging and let to time out by themselves.
  1361. Fixes bug 27410; bugfix on 0.3.2.1-alpha.
  1362. o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
  1363. - When selecting a v3 rendezvous point, don't only look at the
  1364. protover, but also check whether the curve25519 onion key is
  1365. present. This way we avoid picking a relay that supports the v3
  1366. rendezvous but for which we don't have the microdescriptor. Fixes
  1367. bug 27797; bugfix on 0.3.2.1-alpha.
  1368. o Minor bugfixes (protover, backport from 0.3.5.3-alpha):
  1369. - Reject protocol names containing bytes other than alphanumeric
  1370. characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
  1371. on 0.2.9.4-alpha.
  1372. o Minor bugfixes (rust, backport from 0.3.5.1-alpha):
  1373. - Compute protover votes correctly in the rust version of the
  1374. protover code. Previously, the protover rewrite in 24031 allowed
  1375. repeated votes from the same voter for the same protocol version
  1376. to be counted multiple times in protover_compute_vote(). Fixes bug
  1377. 27649; bugfix on 0.3.3.5-rc.
  1378. - Reject protover names that contain invalid characters. Fixes bug
  1379. 27687; bugfix on 0.3.3.1-alpha.
  1380. o Minor bugfixes (rust, backport from 0.3.5.2-alpha):
  1381. - protover_all_supported() would attempt to allocate up to 16GB on
  1382. some inputs, leading to a potential memory DoS. Fixes bug 27206;
  1383. bugfix on 0.3.3.5-rc.
  1384. o Minor bugfixes (rust, directory authority, to appear in 0.3.5.4-alpha):
  1385. - Fix an API mismatch in the rust implementation of
  1386. protover_compute_vote(). This bug could have caused crashes on any
  1387. directory authorities running Tor with Rust (which we do not yet
  1388. recommend). Fixes bug 27741; bugfix on 0.3.3.6.
  1389. o Minor bugfixes (rust, to appear in 0.3.5.4-alpha):
  1390. - Fix a potential null dereference in protover_all_supported(). Add
  1391. a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
  1392. - Return a string that can be safely freed by C code, not one
  1393. created by the rust allocator, in protover_all_supported(). Fixes
  1394. bug 27740; bugfix on 0.3.3.1-alpha.
  1395. o Minor bugfixes (testing, backport from 0.3.5.1-alpha):
  1396. - If a unit test running in a subprocess exits abnormally or with a
  1397. nonzero status code, treat the test as having failed, even if the
  1398. test reported success. Without this fix, memory leaks don't cause
  1399. the tests to fail, even with LeakSanitizer. Fixes bug 27658;
  1400. bugfix on 0.2.2.4-alpha.
  1401. o Minor bugfixes (testing, backport from 0.3.5.3-alpha):
  1402. - Make the hs_service tests use the same time source when creating
  1403. the introduction point and when testing it. Now tests work better
  1404. on very slow systems like ARM or Travis. Fixes bug 27810; bugfix
  1405. on 0.3.2.1-alpha.
  1406. o Minor bugfixes (testing, to appear in 0.3.5.4-alpha):
  1407. - Treat backtrace test failures as expected on BSD-derived systems
  1408. (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
  1409. (FreeBSD failures have been treated as expected since 18204 in
  1410. 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
  1411. Changes in version 0.3.5.3-alpha - 2018-10-17
  1412. Tor 0.3.5.3-alpha fixes several bugs, mostly from previous 0.3.5.x
  1413. versions. One important fix for relays addresses a problem with rate-
  1414. limiting code from back in 0.3.4.x: If the fix works out, we'll be
  1415. backporting it soon. This release is still an alpha, but we hope it's
  1416. getting closer and closer to stability.
  1417. o Major features (onion services):
  1418. - Version 3 onion services can now use the per-service
  1419. HiddenServiceExportCircuitID option to differentiate client
  1420. circuits. It communicates with the service by using the HAProxy
  1421. protocol to assign virtual IP addresses to inbound client
  1422. circuits. Closes ticket 4700. Patch by Mahrud Sayrafi.
  1423. o Major bugfixes (compilation):
  1424. - Fix compilation on ARM (and other less-used CPUs) when compiling
  1425. with OpenSSL before 1.1. Fixes bug 27781; bugfix on 0.3.4.1-alpha.
  1426. o Major bugfixes (initialization, crash):
  1427. - Fix an assertion crash that would stop Tor from starting up if it
  1428. tried to activate a periodic event too early. Fixes bug 27861;
  1429. bugfix on 0.3.5.1-alpha.
  1430. o Major bugfixes (mainloop, bootstrap):
  1431. - Make sure Tor bootstraps and works properly if only the
  1432. ControlPort is set. Prior to this fix, Tor would only bootstrap
  1433. when a client port was set (Socks, Trans, NATD, DNS or HTTPTunnel
  1434. port). Fixes bug 27849; bugfix on 0.3.4.1-alpha.
  1435. o Major bugfixes (relay):
  1436. - When our write bandwidth limit is exhausted, stop writing on the
  1437. connection. Previously, we had a typo in the code that would make
  1438. us stop reading instead, leading to relay connections being stuck
  1439. indefinitely and consuming kernel RAM. Fixes bug 28089; bugfix
  1440. on 0.3.4.1-alpha.
  1441. o Minor features (continuous integration):
  1442. - Use the Travis Homebrew addon to install packages on macOS during
  1443. Travis CI. The package list is the same, but the Homebrew addon
  1444. does not do a `brew update` by default. Implements ticket 27738.
  1445. - Report what program produced the mysterious core file that we
  1446. occasionally see on Travis CI during make distcheck. Closes
  1447. ticket 28024.
  1448. o Minor features (geoip):
  1449. - Update geoip and geoip6 to the October 9 2018 Maxmind GeoLite2
  1450. Country database. Closes ticket 27991.
  1451. o Minor bugfixes (code safety):
  1452. - Rewrite our assertion macros so that they no longer suppress the
  1453. compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
  1454. on 0.0.6.
  1455. o Minor bugfixes (compilation):
  1456. - Compile the ed25519-donna code with a correct declaration of
  1457. crypto_strongest_rand(). Previously, we built it with one type,
  1458. but linked it against another in the unit tests, which caused
  1459. compilation failures with LTO enabled. This could have caused
  1460. other undefined behavior in the tests. Fixes bug 27728; bugfix
  1461. on 0.3.5.1-alpha.
  1462. o Minor bugfixes (compilation, netbsd):
  1463. - Add a missing include back into procmon.c. Fixes bug 27990; bugfix
  1464. on 0.3.5.1-alpha.
  1465. o Minor bugfixes (continuous integration, appveyor):
  1466. - Install only the necessary mingw packages during our appveyor
  1467. builds. This change makes the build a little faster, and prevents
  1468. a conflict with a preinstalled mingw openssl that appveyor now
  1469. ships. Fixes bugs 27765 and 27943; bugfix on 0.3.4.2-alpha.
  1470. o Minor bugfixes (directory permissions):
  1471. - When a user requests a group-readable DataDirectory, give it to
  1472. them. Previously, when the DataDirectory and the CacheDirectory
  1473. were the same, the default setting (0) for
  1474. CacheDirectoryGroupReadable would override the setting for
  1475. DataDirectoryGroupReadable. Fixes bug 26913; bugfix
  1476. on 0.3.3.1-alpha.
  1477. o Minor bugfixes (memory leaks):
  1478. - Fix a small memory leak when calling Tor with --dump-config. Fixes
  1479. bug 27893; bugfix on 0.3.2.1-alpha.
  1480. o Minor bugfixes (networking):
  1481. - In retry_listeners_ports(), make sure that we're removing a member
  1482. of old_conns smartlist at most once. Fixes bug 27808; bugfix
  1483. on 0.3.5.1-alpha.
  1484. - Refrain from attempting socket rebinding when old and new
  1485. listeners are in different address families. Fixes bug 27928;
  1486. bugfix on 0.3.5.1-alpha.
  1487. o Minor bugfixes (onion service v3):
  1488. - Stop dumping a stack trace when trying to connect to an intro
  1489. point without having a descriptor for it. Fixes bug 27774; bugfix
  1490. on 0.3.2.1-alpha.
  1491. - Don't warn so loudly when Tor is unable to decode an onion
  1492. descriptor. This can now happen as a normal use case if a client
  1493. gets a descriptor with client authorization but the client is not
  1494. authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
  1495. - When selecting a v3 rendezvous point, don't only look at the
  1496. protover, but also check whether the curve25519 onion key is
  1497. present. This way we avoid picking a relay that supports the v3
  1498. rendezvous but for which we don't have the microdescriptor. Fixes
  1499. bug 27797; bugfix on 0.3.2.1-alpha.
  1500. o Minor bugfixes (protover):
  1501. - Reject protocol names containing bytes other than alphanumeric
  1502. characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
  1503. on 0.2.9.4-alpha.
  1504. o Minor bugfixes (testing):
  1505. - Make the hs_service tests use the same time source when creating
  1506. the introduction point and when testing it. Now tests work better
  1507. on very slow systems like ARM or Travis. Fixes bug 27810; bugfix
  1508. on 0.3.2.1-alpha.
  1509. - In test_rebind.py, check if the Python version is in the supported
  1510. range. Fixes bug 27675; bugfix on 0.3.5.1-alpha.
  1511. o Code simplification and refactoring:
  1512. - Divide more large Tor source files -- especially ones that span
  1513. multiple areas of functionality -- into smaller parts, including
  1514. onion.c and main.c. Closes ticket 26747.
  1515. - Divide the "routerparse.c" module into separate modules for each
  1516. group of parsed objects. Closes ticket 27924.
  1517. - Move protover_rust.c to the same place protover.c was moved to.
  1518. Closes ticket 27814.
  1519. - Split directory.c into separate pieces for client, server, and
  1520. common functionality. Closes ticket 26744.
  1521. - Split the non-statistics-related parts from the rephist.c and
  1522. geoip.c modules. Closes ticket 27892.
  1523. - Split the router.c file into relay-only and shared components, to
  1524. help with future modularization. Closes ticket 27864.
  1525. o Documentation:
  1526. - In the tor-resolve(1) manpage, fix the reference to socks-
  1527. extensions.txt by adding a web URL. Resolves ticket 27853.
  1528. - Mention that we require Python to be 2.7 or newer for some
  1529. integration tests that we ship with Tor. Resolves ticket 27677.
  1530. Changes in version 0.3.5.2-alpha - 2018-09-21
  1531. Tor 0.3.5.2-alpha fixes several bugs in 0.3.5.1-alpha, including one
  1532. that made Tor think it had run out of sockets. Anybody running a relay
  1533. or an onion service on 0.3.5.1-alpha should upgrade.
  1534. o Major bugfixes (relay bandwidth statistics):
  1535. - When we close relayed circuits, report the data in the circuit
  1536. queues as being written in our relay bandwidth stats. This
  1537. mitigates guard discovery and other attacks that close circuits
  1538. for the explicit purpose of noticing this discrepancy in
  1539. statistics. Fixes bug 23512; bugfix on 0.0.8pre3.
  1540. o Major bugfixes (socket accounting):
  1541. - In our socket accounting code, count a socket as closed even when
  1542. it is closed indirectly by the TLS layer. Previously, we would
  1543. count these sockets as still in use, and incorrectly believe that
  1544. we had run out of sockets. Fixes bug 27795; bugfix
  1545. on 0.3.5.1-alpha.
  1546. o Minor bugfixes (32-bit OSX and iOS, timing):
  1547. - Fix an integer overflow bug in our optimized 32-bit millisecond-
  1548. difference algorithm for 32-bit Apple platforms. Previously, it
  1549. would overflow when calculating the difference between two times
  1550. more than 47 days apart. Fixes part of bug 27139; bugfix
  1551. on 0.3.4.1-alpha.
  1552. - Improve the precision of our 32-bit millisecond difference
  1553. algorithm for 32-bit Apple platforms. Fixes part of bug 27139;
  1554. bugfix on 0.3.4.1-alpha.
  1555. - Relax the tolerance on the mainloop/update_time_jumps test when
  1556. running on 32-bit Apple platforms. Fixes part of bug 27139; bugfix
  1557. on 0.3.4.1-alpha.
  1558. o Minor bugfixes (onion service v3):
  1559. - Close all SOCKS request (for the same .onion) if the newly fetched
  1560. descriptor is unusable. Before that, we would close only the first
  1561. one leaving the other hanging and let to time out by themselves.
  1562. Fixes bug 27410; bugfix on 0.3.2.1-alpha.
  1563. o Minor bugfixes (memory leak):
  1564. - Fix an unlikely memory leak when trying to read a private key from
  1565. a ridiculously large file. Fixes bug 27764; bugfix on
  1566. 0.3.5.1-alpha. This is CID 1439488.
  1567. o Minor bugfixes (NSS):
  1568. - Correctly detect failure to open a dummy TCP socket when stealing
  1569. ownership of an fd from the NSS layer. Fixes bug 27782; bugfix
  1570. on 0.3.5.1-alpha.
  1571. o Minor bugfixes (rust):
  1572. - protover_all_supported() would attempt to allocate up to 16GB on
  1573. some inputs, leading to a potential memory DoS. Fixes bug 27206;
  1574. bugfix on 0.3.3.5-rc.
  1575. o Minor bugfixes (testing):
  1576. - Revise the "conditionvar_timeout" test so that it succeeds even on
  1577. heavily loaded systems where the test threads are not scheduled
  1578. within 200 msec. Fixes bug 27073; bugfix on 0.2.6.3-alpha.
  1579. o Code simplification and refactoring:
  1580. - Divide the routerlist.c and dirserv.c modules into smaller parts.
  1581. Closes ticket 27799.
  1582. Changes in version 0.3.5.1-alpha - 2018-09-18
  1583. Tor 0.3.5.1-alpha is the first release of the 0.3.5.x series. It adds
  1584. client authorization for modern (v3) onion services, improves
  1585. bootstrap reporting, begins reorganizing Tor's codebase, adds optional
  1586. support for NSS in place of OpenSSL, and much more.
  1587. o Major features (onion services, UI change):
  1588. - For a newly created onion service, the default version is now 3.
  1589. Tor still supports existing version 2 services, but the operator
  1590. now needs to set "HiddenServiceVersion 2" in order to create a new
  1591. version 2 service. For existing services, Tor now learns the
  1592. version by reading the key file. Closes ticket 27215.
  1593. o Major features (relay, UI change):
  1594. - Relays no longer run as exits by default. If the "ExitRelay"
  1595. option is auto (or unset), and no exit policy is specified with
  1596. ExitPolicy or ReducedExitPolicy, we now treat ExitRelay as 0.
  1597. Previously in this case, we allowed exit traffic and logged a
  1598. warning message. Closes ticket 21530. Patch by Neel Chauhan.
  1599. - Tor now validates that the ContactInfo config option is valid UTF-
  1600. 8 when parsing torrc. Closes ticket 27428.
  1601. o Major features (bootstrap):
  1602. - Don't report directory progress until after a connection to a
  1603. relay or bridge has succeeded. Previously, we'd report 80%
  1604. progress based on cached directory information when we couldn't
  1605. even connect to the network. Closes ticket 27169.
  1606. o Major features (new code layout):
  1607. - Nearly all of Tor's source code has been moved around into more
  1608. logical places. The "common" directory is now divided into a set
  1609. of libraries in "lib", and files in the "or" directory have been
  1610. split into "core" (logic absolutely needed for onion routing),
  1611. "feature" (independent modules in Tor), and "app" (to configure
  1612. and invoke the rest of Tor). See doc/HACKING/CodeStructure.md for
  1613. more information. Closes ticket 26481.
  1614. This refactoring is not complete: although the libraries have been
  1615. refactored to be acyclic, the main body of Tor is still too
  1616. interconnected. We will attempt to improve this in the future.
  1617. o Major features (onion services v3):
  1618. - Implement onion service client authorization at the descriptor
  1619. level: only authorized clients can decrypt a service's descriptor
  1620. to find out how to contact it. A new torrc option was added to
  1621. control this client side: ClientOnionAuthDir <path>. On the
  1622. service side, if the "authorized_clients/" directory exists in the
  1623. onion service directory path, client configurations are read from
  1624. the files within. See the manpage for more details. Closes ticket
  1625. 27547. Patch done by Suphanat Chunhapanya (haxxpop).
  1626. - Improve revision counter generation in next-gen onion services.
  1627. Onion services can now scale by hosting multiple instances on
  1628. different hosts without synchronization between them, which was
  1629. previously impossible because descriptors would get rejected by
  1630. HSDirs. Addresses ticket 25552.
  1631. o Major features (portability, cryptography, experimental, TLS):
  1632. - Tor now has the option to compile with the NSS library instead of
  1633. OpenSSL. This feature is experimental, and we expect that bugs may
  1634. remain. It is mainly intended for environments where Tor's
  1635. performance is not CPU-bound, and where NSS is already known to be
  1636. installed. To try it out, configure Tor with the --enable-nss
  1637. flag. Closes tickets 26631, 26815, and 26816.
  1638. If you are experimenting with this option and using an old cached
  1639. consensus, Tor may fail to start. To solve this, delete your
  1640. "cached-consensus" and "cached-microdesc-consensus" files,
  1641. (if present), and restart Tor.
  1642. o Major bugfixes (directory authority):
  1643. - Actually check that the address we get from DirAuthority
  1644. configuration line is valid IPv4. Explicitly disallow DirAuthority
  1645. address to be a DNS hostname. Fixes bug 26488; bugfix
  1646. on 0.1.2.10-rc.
  1647. o Major bugfixes (restart-in-process):
  1648. - Fix a use-after-free error that could be caused by passing Tor an
  1649. impossible set of options that would fail during options_act().
  1650. Fixes bug 27708; bugfix on 0.3.3.1-alpha.
  1651. o Minor features (admin tools):
  1652. - Add a new --key-expiration option to print the expiration date of
  1653. the signing cert in an ed25519_signing_cert file. Resolves
  1654. issue 19506.
  1655. o Minor features (build):
  1656. - If you pass the "--enable-pic" option to configure, Tor will try
  1657. to tell the compiler to build position-independent code suitable
  1658. to link into a dynamic library. (The default remains -fPIE, for
  1659. code suitable for a relocatable executable.) Closes ticket 23846.
  1660. o Minor features (code correctness, testing):
  1661. - Tor's build process now includes a "check-includes" make target to
  1662. verify that no module of Tor relies on any headers from a higher-
  1663. level module. We hope to use this feature over time to help
  1664. refactor our codebase. Closes ticket 26447.
  1665. o Minor features (code layout):
  1666. - We have a new "lowest-level" error-handling API for use by code
  1667. invoked from within the logging module. With this interface, the
  1668. logging code is no longer at risk of calling into itself if a
  1669. failure occurs while it is trying to log something. Closes
  1670. ticket 26427.
  1671. o Minor features (compilation):
  1672. - Tor's configure script now supports a --with-malloc= option to
  1673. select your malloc implementation. Supported options are
  1674. "tcmalloc", "jemalloc", "openbsd" (deprecated), and "system" (the
  1675. default). Addresses part of ticket 20424. Based on a patch from
  1676. Alex Xu.
  1677. o Minor features (config):
  1678. - The "auto" keyword in torrc is now case-insensitive. Closes
  1679. ticket 26663.
  1680. o Minor features (continuous integration):
  1681. - Don't do a distcheck with --disable-module-dirauth in Travis.
  1682. Implements ticket 27252.
  1683. - Install libcap-dev and libseccomp2-dev so these optional
  1684. dependencies get tested on Travis CI. Closes ticket 26560.
  1685. - Only run one online rust build in Travis, to reduce network
  1686. errors. Skip offline rust builds on Travis for Linux gcc, because
  1687. they're redundant. Implements ticket 27252.
  1688. - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
  1689. duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
  1690. Linux with default settings, because all the non-default builds
  1691. use gcc on Linux. Implements ticket 27252.
  1692. o Minor features (controller):
  1693. - Emit CIRC_BW events as soon as we detect that we processed an
  1694. invalid or otherwise dropped cell on a circuit. This allows
  1695. vanguards and other controllers to react more quickly to dropped
  1696. cells. Closes ticket 27678.
  1697. - For purposes of CIRC_BW-based dropped cell detection, track half-
  1698. closed stream ids, and allow their ENDs, SENDMEs, DATA and path
  1699. bias check cells to arrive without counting it as dropped until
  1700. either the END arrives, or the windows are empty. Closes
  1701. ticket 25573.
  1702. - Implement a 'GETINFO md/all' controller command to enable getting
  1703. all known microdescriptors. Closes ticket 8323.
  1704. - The GETINFO command now support an "uptime" argument, to return
  1705. Tor's uptime in seconds. Closes ticket 25132.
  1706. o Minor features (denial-of-service avoidance):
  1707. - Make our OOM handler aware of the DNS cache so that it doesn't
  1708. fill up the memory. This check is important for our DoS mitigation
  1709. subsystem. Closes ticket 18642. Patch by Neel Chauhan.
  1710. o Minor features (development):
  1711. - Tor's makefile now supports running the "clippy" Rust style tool
  1712. on our Rust code. Closes ticket 22156.
  1713. o Minor features (directory authority):
  1714. - There is no longer an artificial upper limit on the length of
  1715. bandwidth lines. Closes ticket 26223.
  1716. - When a bandwidth file is used to obtain the bandwidth measurements,
  1717. include this bandwidth file headers in the votes. Closes
  1718. ticket 3723.
  1719. - Improved support for networks with only a single authority or a
  1720. single fallback directory. Patch from Gabriel Somlo. Closes
  1721. ticket 25928.
  1722. o Minor features (embedding API):
  1723. - The Tor controller API now supports a function to launch Tor with
  1724. a preconstructed owning controller FD, so that embedding
  1725. applications don't need to manage controller ports and
  1726. authentication. Closes ticket 24204.
  1727. - The Tor controller API now has a function that returns the name
  1728. and version of the backend implementing the API. Closes
  1729. ticket 26947.
  1730. o Minor features (geoip):
  1731. - Update geoip and geoip6 to the September 6 2018 Maxmind GeoLite2
  1732. Country database. Closes ticket 27631.
  1733. o Minor features (memory management):
  1734. - Get Libevent to use the same memory allocator as Tor, by calling
  1735. event_set_mem_functions() during initialization. Resolves
  1736. ticket 8415.
  1737. o Minor features (memory usage):
  1738. - When not using them, store legacy TAP public onion keys in DER-
  1739. encoded format, rather than as expanded public keys. This should
  1740. save several megabytes on typical clients. Closes ticket 27246.
  1741. o Minor features (OpenSSL):
  1742. - When possible, use RFC5869 HKDF implementation from OpenSSL rather
  1743. than our own. Resolves ticket 19979.
  1744. o Minor features (Rust, code quality):
  1745. - Improve rust code quality in the rust protover implementation by
  1746. making it more idiomatic. Includes changing an internal API to
  1747. take &str instead of &String. Closes ticket 26492.
  1748. o Minor features (testing):
  1749. - Add scripts/test/chutney-git-bisect.sh, for bisecting using
  1750. chutney. Implements ticket 27211.
  1751. o Minor features (tor-resolve):
  1752. - The tor-resolve utility can now be used with IPv6 SOCKS proxies.
  1753. Side-effect of the refactoring for ticket 26526.
  1754. o Minor features (UI):
  1755. - Log each included configuration file or directory as we read it,
  1756. to provide more visibility about where Tor is reading from. Patch
  1757. from Unto Sten; closes ticket 27186.
  1758. - Lower log level of "Scheduler type KIST has been enabled" to INFO.
  1759. Closes ticket 26703.
  1760. o Minor bugfixes (bootstrap):
  1761. - Try harder to get descriptors in non-exit test networks, by using
  1762. the mid weight for the third hop when there are no exits. Fixes
  1763. bug 27237; bugfix on 0.2.6.2-alpha.
  1764. o Minor bugfixes (C correctness):
  1765. - Avoid casting smartlist index to int implicitly, as it may trigger
  1766. a warning (-Wshorten-64-to-32). Fixes bug 26282; bugfix on
  1767. 0.2.3.13-alpha, 0.2.7.1-alpha and 0.2.1.1-alpha.
  1768. - Use time_t for all values in
  1769. predicted_ports_prediction_time_remaining(). Rework the code that
  1770. computes difference between durations/timestamps. Fixes bug 27165;
  1771. bugfix on 0.3.1.1-alpha.
  1772. o Minor bugfixes (client, memory usage):
  1773. - When not running as a directory cache, there is no need to store
  1774. the text of the current consensus networkstatus in RAM.
  1775. Previously, however, clients would store it anyway, at a cost of
  1776. over 5 MB. Now, they do not. Fixes bug 27247; bugfix
  1777. on 0.3.0.1-alpha.
  1778. o Minor bugfixes (client, reachableaddresses):
  1779. - Instead of adding a "reject *:*" line to ReachableAddresses when
  1780. loading the configuration, add one to the policy after parsing it
  1781. in parse_reachable_addresses(). This prevents extra "reject *.*"
  1782. lines from accumulating on reloads. Fixes bug 20874; bugfix on
  1783. 0.1.1.5-alpha. Patch by Neel Chauhan.
  1784. o Minor bugfixes (code quality):
  1785. - Rename sandbox_getaddrinfo() and other functions to no longer
  1786. misleadingly suggest that they are sandbox-only. Fixes bug 26525;
  1787. bugfix on 0.2.7.1-alpha.
  1788. o Minor bugfixes (configuration, Onion Services):
  1789. - In rend_service_parse_port_config(), disallow any input to remain
  1790. after address-port pair was parsed. This will catch address and
  1791. port being whitespace-separated by mistake of the user. Fixes bug
  1792. 27044; bugfix on 0.2.9.10.
  1793. o Minor bugfixes (continuous integration):
  1794. - Stop reinstalling identical packages in our Windows CI. Fixes bug
  1795. 27464; bugfix on 0.3.4.1-alpha.
  1796. o Minor bugfixes (controller):
  1797. - Consider all routerinfo errors other than "not a server" to be
  1798. transient for the purpose of "GETINFO exit-policy/*" controller
  1799. request. Print stacktrace in the unlikely case of failing to
  1800. recompute routerinfo digest. Fixes bug 27034; bugfix
  1801. on 0.3.4.1-alpha.
  1802. o Minor bugfixes (directory connection shutdown):
  1803. - Avoid a double-close when shutting down a stalled directory
  1804. connection. Fixes bug 26896; bugfix on 0.3.4.1-alpha.
  1805. o Minor bugfixes (HTTP tunnel):
  1806. - Fix a bug warning when closing an HTTP tunnel connection due to an
  1807. HTTP request we couldn't handle. Fixes bug 26470; bugfix
  1808. on 0.3.2.1-alpha.
  1809. o Minor bugfixes (ipv6):
  1810. - In addrs_in_same_network_family(), we choose the subnet size based
  1811. on the IP version (IPv4 or IPv6). Previously, we chose a fixed
  1812. subnet size of /16 for both IPv4 and IPv6 addresses. Fixes bug
  1813. 15518; bugfix on 0.2.3.1-alpha. Patch by Neel Chauhan.
  1814. o Minor bugfixes (logging):
  1815. - As a precaution, do an early return from log_addr_has_changed() if
  1816. Tor is running as client. Also, log a stack trace for debugging as
  1817. this function should only be called when Tor runs as server. Fixes
  1818. bug 26892; bugfix on 0.1.1.9-alpha.
  1819. - Refrain from mentioning bug 21018 in the logs, as it is already
  1820. fixed. Fixes bug 25477; bugfix on 0.2.9.8.
  1821. o Minor bugfixes (logging, documentation):
  1822. - When SafeLogging is enabled, scrub IP address in
  1823. channel_tls_process_netinfo_cell(). Also, add a note to manpage
  1824. that scrubbing is not guaranteed on loglevels below Notice. Fixes
  1825. bug 26882; bugfix on 0.2.4.10-alpha.
  1826. o Minor bugfixes (netflow padding):
  1827. - Ensure circuitmux queues are empty before scheduling or sending
  1828. padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
  1829. o Minor bugfixes (onion service v2):
  1830. - Log at level "info", not "warning", in the case that we do not
  1831. have a consensus when a .onion request comes in. This can happen
  1832. normally while bootstrapping. Fixes bug 27040; bugfix
  1833. on 0.2.8.2-alpha.
  1834. o Minor bugfixes (onion service v3):
  1835. - When the onion service directory can't be created or has the wrong
  1836. permissions, do not log a stack trace. Fixes bug 27335; bugfix
  1837. on 0.3.2.1-alpha.
  1838. o Minor bugfixes (OS compatibility):
  1839. - Properly handle configuration changes that move a listener to/from
  1840. wildcard IP address. If the first attempt to bind a socket fails,
  1841. close the old listener and try binding the socket again. Fixes bug
  1842. 17873; bugfix on 0.0.8pre-1.
  1843. o Minor bugfixes (performance)::
  1844. - Rework node_is_a_configured_bridge() to no longer call
  1845. node_get_all_orports(), which was performing too many memory
  1846. allocations. Fixes bug 27224; bugfix on 0.2.3.9.
  1847. o Minor bugfixes (relay statistics):
  1848. - Update relay descriptor on bandwidth changes only when the uptime
  1849. is smaller than 24h, in order to reduce the efficiency of guard
  1850. discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
  1851. o Minor bugfixes (relays):
  1852. - Consider the fact that we'll be making direct connections to our
  1853. entry and guard nodes when computing the fraction of nodes that
  1854. have their descriptors. Also, if we are using bridges and there is
  1855. at least one bridge with a full descriptor, treat the fraction of
  1856. guards available as 100%. Fixes bug 25886; bugfix on 0.2.4.10-alpha.
  1857. Patch by Neel Chauhan.
  1858. - Update the message logged on relays when DirCache is disabled.
  1859. Since 0.3.3.5-rc, authorities require DirCache (V2Dir) for the
  1860. Guard flag. Fixes bug 24312; bugfix on 0.3.3.5-rc.
  1861. o Minor bugfixes (rust, protover):
  1862. - Compute protover votes correctly in the rust version of the
  1863. protover code. Previously, the protover rewrite in 24031 allowed
  1864. repeated votes from the same voter for the same protocol version
  1865. to be counted multiple times in protover_compute_vote(). Fixes bug
  1866. 27649; bugfix on 0.3.3.5-rc.
  1867. - Reject protover names that contain invalid characters. Fixes bug
  1868. 27687; bugfix on 0.3.3.1-alpha.
  1869. o Minor bugfixes (testing):
  1870. - Fix two unit tests to work when HOME environment variable is not
  1871. set. Fixes bug 27096; bugfix on 0.2.8.1-alpha.
  1872. - If a unit test running in a subprocess exits abnormally or with a
  1873. nonzero status code, treat the test as having failed, even if the
  1874. test reported success. Without this fix, memory leaks don't cause
  1875. the tests to fail, even with LeakSanitizer. Fixes bug 27658;
  1876. bugfix on 0.2.2.4-alpha.
  1877. - When logging a version mismatch in our openssl_version tests,
  1878. report the actual offending version strings. Fixes bug 26152;
  1879. bugfix on 0.2.9.1-alpha.
  1880. - Fix forking tests on Windows when there is a space somewhere in
  1881. the path. Fixes bug 26437; bugfix on 0.2.2.4-alpha.
  1882. o Code simplification and refactoring:
  1883. - 'updateFallbackDirs.py' now ignores the blacklist file, as it's not
  1884. longer needed. Closes ticket 26502.
  1885. - Include paths to header files within Tor are now qualified by
  1886. directory within the top-level src directory.
  1887. - Many structures have been removed from the centralized "or.h"
  1888. header, and moved into their own headers. This will allow us to
  1889. reduce the number of places in the code that rely on each
  1890. structure's contents and layout. Closes ticket 26383.
  1891. - Remove ATTR_NONNULL macro from codebase. Resolves ticket 26527.
  1892. - Remove GetAdaptersAddresses_fn_t. The code that used it was
  1893. removed as part of the 26481 refactor. Closes ticket 27467.
  1894. - Rework Tor SOCKS server code to use Trunnel and benefit from
  1895. autogenerated functions for parsing and generating SOCKS wire
  1896. format. New implementation is cleaner, more maintainable and
  1897. should be less prone to heartbleed-style vulnerabilities.
  1898. Implements a significant fraction of ticket 3569.
  1899. - Split sampled_guards_update_from_consensus() and
  1900. select_entry_guard_for_circuit() into subfunctions. In
  1901. entry_guards_update_primary() unite three smartlist enumerations
  1902. into one and move smartlist comparison code out of the function.
  1903. Closes ticket 21349.
  1904. - Tor now assumes that you have standards-conformant stdint.h and
  1905. inttypes.h headers when compiling. Closes ticket 26626.
  1906. - Unify our bloom filter logic. Previously we had two copies of this
  1907. code: one for routerlist filtering, and one for address set
  1908. calculations. Closes ticket 26510.
  1909. - Use the simpler strcmpstart() helper in
  1910. rend_parse_v2_service_descriptor instead of strncmp(). Closes
  1911. ticket 27630.
  1912. - Utility functions that can perform a DNS lookup are now wholly
  1913. separated from those that can't, in separate headers and C
  1914. modules. Closes ticket 26526.
  1915. o Documentation:
  1916. - Copy paragraph and URL to Tor's code of conduct document from
  1917. CONTRIBUTING to new CODE_OF_CONDUCT file. Resolves ticket 26638.
  1918. - Remove old instructions from INSTALL document. Closes ticket 26588.
  1919. - Warn users that they should not include MyFamily line(s) in their
  1920. torrc when running Tor bridge. Closes ticket 26908.
  1921. o Removed features:
  1922. - Tor no longer supports building with the dmalloc library. For
  1923. debugging memory issues, we suggest using gperftools or msan
  1924. instead. Closes ticket 26426.
  1925. - Tor no longer attempts to run on Windows environments without the
  1926. GetAdaptersAddresses() function. This function has existed since
  1927. Windows XP, which is itself already older than we support.
  1928. - Remove Tor2web functionality for version 2 onion services. The
  1929. Tor2webMode and Tor2webRendezvousPoints options are now obsolete.
  1930. (This feature was never shipped in vanilla Tor and it was only
  1931. possible to use this feature by building the support at compile
  1932. time. Tor2webMode is not implemented for version 3 onion services.)
  1933. Closes ticket 26367.
  1934. Changes in version 0.2.9.17 - 2018-09-10
  1935. Tor 0.2.9.17 backports numerous bugfixes from later versions of Tor.
  1936. o Minor features (compatibility, backport from 0.3.4.8):
  1937. - Tell OpenSSL to maintain backward compatibility with previous
  1938. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  1939. ciphers are disabled by default. Closes ticket 27344.
  1940. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  1941. - Enable macOS builds in our Travis CI configuration. Closes
  1942. ticket 24629.
  1943. - Install libcap-dev and libseccomp2-dev so these optional
  1944. dependencies get tested on Travis CI. Closes ticket 26560.
  1945. - Run asciidoc during Travis CI. Implements ticket 27087.
  1946. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  1947. o Minor features (geoip):
  1948. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  1949. Country database. Closes ticket 27089.
  1950. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  1951. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  1952. tell the compiler not to include the system malloc implementation.
  1953. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  1954. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  1955. - Silence a spurious compiler warning on the GetAdaptersAddresses
  1956. function pointer cast. This issue is already fixed by 26481 in
  1957. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  1958. bugfix on 0.2.3.11-alpha.
  1959. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  1960. supported, and always fails. Some compilers warn about the
  1961. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  1962. on 0.2.2.23-alpha.
  1963. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  1964. - Don't link or search for pthreads when building for Windows, even
  1965. if we are using build environment (like mingw) that provides a
  1966. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  1967. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  1968. - Skip a pair of unreliable key generation tests on Windows, until
  1969. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  1970. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  1971. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  1972. - Pass the module flags to distcheck configure, and log the flags
  1973. before running configure. (Backported to 0.2.9 and later as a
  1974. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  1975. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  1976. - When a Travis build fails, and showing a log fails, keep trying to
  1977. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  1978. - When we use echo in Travis, don't pass a --flag as the first
  1979. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  1980. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  1981. - When voting for recommended versions, make sure that all of the
  1982. versions are well-formed and parsable. Fixes bug 26485; bugfix
  1983. on 0.1.1.6-alpha.
  1984. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  1985. - Fix a bug in out sandboxing rules for the openat() syscall.
  1986. Previously, no openat() call would be permitted, which would break
  1987. filesystem operations on recent glibc versions. Fixes bug 25440;
  1988. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  1989. o Minor bugfixes (onion services, backport from 0.3.4.8):
  1990. - Silence a spurious compiler warning in
  1991. rend_client_send_introduction(). Fixes bug 27463; bugfix
  1992. on 0.1.1.2-alpha.
  1993. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  1994. - Log a protocol warning when single onion services or Tor2web clients
  1995. fail to authenticate direct connections to relays.
  1996. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  1997. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  1998. - Disable core dumps in test_bt.sh, to avoid failures in "make
  1999. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  2000. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  2001. - Before running make test-network-all, delete old logs and test
  2002. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  2003. on 0.2.7.3-rc.
  2004. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  2005. - Our "tortls/cert_matches_key" unit test no longer relies on
  2006. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  2007. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  2008. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  2009. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  2010. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  2011. 27185; bugfix on 0.2.2.2-alpha.
  2012. Changes in version 0.3.2.12 - 2018-09-10
  2013. Tor 0.3.2.12 backport numerous fixes from later versions of Tor.
  2014. o Minor features (compatibility, backport from 0.3.4.8):
  2015. - Tell OpenSSL to maintain backward compatibility with previous
  2016. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  2017. ciphers are disabled by default. Closes ticket 27344.
  2018. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  2019. - Enable macOS builds in our Travis CI configuration. Closes
  2020. ticket 24629.
  2021. - Install libcap-dev and libseccomp2-dev so these optional
  2022. dependencies get tested on Travis CI. Closes ticket 26560.
  2023. - Run asciidoc during Travis CI. Implements ticket 27087.
  2024. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  2025. o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
  2026. - Use cargo cache in our Travis CI configuration. Closes
  2027. ticket 26952.
  2028. o Minor features (controller, backport from 0.3.4.6-rc):
  2029. - The control port now exposes the list of HTTPTunnelPorts and
  2030. ExtOrPorts via GETINFO net/listeners/httptunnel and
  2031. net/listeners/extor respectively. Closes ticket 26647.
  2032. o Minor features (directory authorities, backport from 0.3.4.7-rc):
  2033. - Authorities no longer vote to make the subprotocol version
  2034. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  2035. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  2036. o Minor features (geoip):
  2037. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  2038. Country database. Closes ticket 27089.
  2039. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  2040. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  2041. tell the compiler not to include the system malloc implementation.
  2042. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  2043. - Don't try to use a pragma to temporarily disable the
  2044. -Wunused-const-variable warning if the compiler doesn't support
  2045. it. Fixes bug 26785; bugfix on 0.3.2.11.
  2046. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  2047. - Silence a spurious compiler warning on the GetAdaptersAddresses
  2048. function pointer cast. This issue is already fixed by 26481 in
  2049. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  2050. bugfix on 0.2.3.11-alpha.
  2051. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  2052. supported, and always fails. Some compilers warn about the
  2053. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  2054. on 0.2.2.23-alpha.
  2055. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  2056. - Don't link or search for pthreads when building for Windows, even
  2057. if we are using build environment (like mingw) that provides a
  2058. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  2059. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  2060. - Skip a pair of unreliable key generation tests on Windows, until
  2061. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  2062. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  2063. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  2064. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  2065. - Pass the module flags to distcheck configure, and log the flags
  2066. before running configure. (Backported to 0.2.9 and later as a
  2067. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  2068. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  2069. - When a Travis build fails, and showing a log fails, keep trying to
  2070. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  2071. - When we use echo in Travis, don't pass a --flag as the first
  2072. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  2073. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  2074. - When voting for recommended versions, make sure that all of the
  2075. versions are well-formed and parsable. Fixes bug 26485; bugfix
  2076. on 0.1.1.6-alpha.
  2077. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  2078. - Fix a bug in out sandboxing rules for the openat() syscall.
  2079. Previously, no openat() call would be permitted, which would break
  2080. filesystem operations on recent glibc versions. Fixes bug 25440;
  2081. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  2082. o Minor bugfixes (logging, backport from 0.3.4.6-rc):
  2083. - Improve the log message when connection initiators fail to
  2084. authenticate direct connections to relays. Fixes bug 26927; bugfix
  2085. on 0.3.0.1-alpha.
  2086. o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
  2087. - Fix bug that causes services to not ever rotate their descriptors
  2088. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  2089. on 0.3.2.1-alpha.
  2090. o Minor bugfixes (onion services, backport from 0.3.4.8):
  2091. - Silence a spurious compiler warning in
  2092. rend_client_send_introduction(). Fixes bug 27463; bugfix
  2093. on 0.1.1.2-alpha.
  2094. o Minor bugfixes (rust, backport from 0.3.4.7-rc):
  2095. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  2096. on 0.3.1.5-alpha.
  2097. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  2098. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  2099. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  2100. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  2101. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  2102. - Log a protocol warning when single onion services or Tor2web clients
  2103. fail to authenticate direct connections to relays.
  2104. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  2105. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  2106. - Disable core dumps in test_bt.sh, to avoid failures in "make
  2107. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  2108. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  2109. - When running make test-network-all, use the mixed+hs-v2 network.
  2110. (A previous fix to chutney removed v3 onion services from the
  2111. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  2112. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  2113. - Before running make test-network-all, delete old logs and test
  2114. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  2115. on 0.2.7.3-rc.
  2116. o Minor bugfixes (testing, openssl compatibility):
  2117. - Our "tortls/cert_matches_key" unit test no longer relies on OpenSSL
  2118. internals. Previously, it relied on unsupported OpenSSL behavior in
  2119. a way that caused it to crash with OpenSSL 1.0.2p. Fixes bug 27226;
  2120. bugfix on 0.2.5.1-alpha.
  2121. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  2122. - Our "tortls/cert_matches_key" unit test no longer relies on
  2123. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  2124. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  2125. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  2126. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  2127. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  2128. 27185; bugfix on 0.2.2.2-alpha.
  2129. Changes in version 0.3.3.10 - 2018-09-10
  2130. Tor 0.3.3.10 backports numerous fixes from later versions of Tor.
  2131. o Minor features (bug workaround, backport from 0.3.4.7-rc):
  2132. - Compile correctly on systems that provide the C11 stdatomic.h
  2133. header, but where C11 atomic functions don't actually compile.
  2134. Closes ticket 26779; workaround for Debian issue 903709.
  2135. o Minor features (compatibility, backport from 0.3.4.8):
  2136. - Tell OpenSSL to maintain backward compatibility with previous
  2137. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  2138. ciphers are disabled by default. Closes ticket 27344.
  2139. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  2140. - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
  2141. - Enable macOS builds in our Travis CI configuration. Closes
  2142. ticket 24629.
  2143. - Install libcap-dev and libseccomp2-dev so these optional
  2144. dependencies get tested on Travis CI. Closes ticket 26560.
  2145. - Run asciidoc during Travis CI. Implements ticket 27087.
  2146. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  2147. o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
  2148. - Use cargo cache in our Travis CI configuration. Closes
  2149. ticket 26952.
  2150. o Minor features (controller, backport from 0.3.4.6-rc):
  2151. - The control port now exposes the list of HTTPTunnelPorts and
  2152. ExtOrPorts via GETINFO net/listeners/httptunnel and
  2153. net/listeners/extor respectively. Closes ticket 26647.
  2154. o Minor features (directory authorities, backport from 0.3.4.7-rc):
  2155. - Authorities no longer vote to make the subprotocol version
  2156. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  2157. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  2158. o Minor features (geoip):
  2159. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  2160. Country database. Closes ticket 27089.
  2161. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  2162. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  2163. tell the compiler not to include the system malloc implementation.
  2164. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  2165. - Don't try to use a pragma to temporarily disable the
  2166. -Wunused-const-variable warning if the compiler doesn't support
  2167. it. Fixes bug 26785; bugfix on 0.3.2.11.
  2168. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  2169. - Silence a spurious compiler warning on the GetAdaptersAddresses
  2170. function pointer cast. This issue is already fixed by 26481 in
  2171. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  2172. bugfix on 0.2.3.11-alpha.
  2173. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  2174. supported, and always fails. Some compilers warn about the
  2175. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  2176. on 0.2.2.23-alpha.
  2177. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  2178. - Don't link or search for pthreads when building for Windows, even
  2179. if we are using build environment (like mingw) that provides a
  2180. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  2181. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  2182. - Skip a pair of unreliable key generation tests on Windows, until
  2183. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  2184. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  2185. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  2186. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  2187. - Pass the module flags to distcheck configure, and log the flags
  2188. before running configure. (Backported to 0.2.9 and later as a
  2189. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  2190. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  2191. - When a Travis build fails, and showing a log fails, keep trying to
  2192. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  2193. - When we use echo in Travis, don't pass a --flag as the first
  2194. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  2195. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  2196. - When voting for recommended versions, make sure that all of the
  2197. versions are well-formed and parsable. Fixes bug 26485; bugfix
  2198. on 0.1.1.6-alpha.
  2199. o Minor bugfixes (in-process restart, backport from 0.3.4.7-rc):
  2200. - Always call tor_free_all() when leaving tor_run_main(). When we
  2201. did not, restarting tor in-process would cause an assertion
  2202. failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
  2203. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  2204. - Fix a bug in our sandboxing rules for the openat() syscall.
  2205. Previously, no openat() call would be permitted, which would break
  2206. filesystem operations on recent glibc versions. Fixes bug 25440;
  2207. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  2208. o Minor bugfixes (logging, backport from 0.3.4.6-rc):
  2209. - Improve the log message when connection initiators fail to
  2210. authenticate direct connections to relays. Fixes bug 26927; bugfix
  2211. on 0.3.0.1-alpha.
  2212. o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
  2213. - Fix bug that causes services to not ever rotate their descriptors
  2214. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  2215. on 0.3.2.1-alpha.
  2216. o Minor bugfixes (onion services, backport from 0.3.4.8):
  2217. - Silence a spurious compiler warning in
  2218. rend_client_send_introduction(). Fixes bug 27463; bugfix
  2219. on 0.1.1.2-alpha.
  2220. o Minor bugfixes (portability, backport from 0.3.4.6-rc):
  2221. - Work around two different bugs in the OS X 10.10 and later SDKs
  2222. that would prevent us from successfully targeting earlier versions
  2223. of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
  2224. o Minor bugfixes (portability, backport from 0.3.4.7-rc):
  2225. - Fix compilation of the unit tests on GNU/Hurd, which does not
  2226. define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
  2227. from "paulusASol".
  2228. o Minor bugfixes (rust, backport from 0.3.4.7-rc):
  2229. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  2230. on 0.3.1.5-alpha.
  2231. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  2232. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  2233. - Protover parsing was accepting the presence of whitespace in
  2234. version strings, which the C implementation would choke on, e.g.
  2235. "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
  2236. - Protover parsing was ignoring a 2nd hyphen and everything after
  2237. it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
  2238. on 0.3.3.1-alpha.
  2239. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  2240. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  2241. - cd to ${abs_top_builddir}/src/rust before running cargo in
  2242. src/test/test_rust.sh. This makes the working directory consistent
  2243. between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
  2244. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  2245. - Log a protocol warning when single onion services or Tor2web clients
  2246. fail to authenticate direct connections to relays.
  2247. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  2248. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  2249. - Disable core dumps in test_bt.sh, to avoid failures in "make
  2250. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  2251. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  2252. - When running make test-network-all, use the mixed+hs-v2 network.
  2253. (A previous fix to chutney removed v3 onion services from the
  2254. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  2255. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  2256. - Before running make test-network-all, delete old logs and test
  2257. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  2258. on 0.2.7.3-rc.
  2259. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  2260. - Our "tortls/cert_matches_key" unit test no longer relies on
  2261. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  2262. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  2263. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  2264. o Minor bugfixes (v3 onion services, backport from 0.3.4.6-rc):
  2265. - Stop sending ed25519 link specifiers in v3 onion service introduce
  2266. cells and descriptors, when the rendezvous or introduction point
  2267. doesn't support ed25519 link authentication. Fixes bug 26627;
  2268. bugfix on 0.3.2.4-alpha.
  2269. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  2270. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  2271. 27185; bugfix on 0.2.2.2-alpha.
  2272. Changes in version 0.3.4.8 - 2018-09-10
  2273. Tor 0.3.4.8 is the first stable release in its series; it includes
  2274. compilation and portability fixes.
  2275. The Tor 0.3.4 series includes improvements for running Tor in
  2276. low-power and embedded environments, which should help performance in
  2277. general. We've begun work on better modularity, and included preliminary
  2278. changes on the directory authority side to accommodate a new bandwidth
  2279. measurement system. We've also integrated more continuous-integration
  2280. systems into our development process, and made corresponding changes to
  2281. Tor's testing infrastructure. Finally, we've continued to refine
  2282. our anti-denial-of-service code.
  2283. Below are the changes since 0.3.4.7-rc. For a complete list of changes
  2284. since 0.3.3.9, see the ReleaseNotes file.
  2285. o Minor features (compatibility):
  2286. - Tell OpenSSL to maintain backward compatibility with previous
  2287. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  2288. ciphers are disabled by default. Closes ticket 27344.
  2289. o Minor features (continuous integration):
  2290. - Log the compiler path and version during Appveyor builds.
  2291. Implements ticket 27449.
  2292. - Show config.log and test-suite.log after failed Appveyor builds.
  2293. Also upload the zipped full logs as a build artifact. Implements
  2294. ticket 27430.
  2295. o Minor bugfixes (compilation):
  2296. - Silence a spurious compiler warning on the GetAdaptersAddresses
  2297. function pointer cast. This issue is already fixed by 26481 in
  2298. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  2299. bugfix on 0.2.3.11-alpha.
  2300. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  2301. supported, and always fails. Some compilers warn about the
  2302. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  2303. on 0.2.2.23-alpha.
  2304. o Minor bugfixes (continuous integration):
  2305. - Disable gcc hardening in Appveyor Windows 64-bit builds. As of
  2306. August 29 2018, Appveyor images come with gcc 8.2.0 by default.
  2307. Executables compiled for 64-bit Windows with this version of gcc
  2308. crash when Tor's --enable-gcc-hardening flag is set. Fixes bug
  2309. 27460; bugfix on 0.3.4.1-alpha.
  2310. - When a Travis build fails, and showing a log fails, keep trying to
  2311. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  2312. - When we use echo in Travis, don't pass a --flag as the first
  2313. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  2314. o Minor bugfixes (onion services):
  2315. - Silence a spurious compiler warning in
  2316. rend_client_send_introduction(). Fixes bug 27463; bugfix
  2317. on 0.1.1.2-alpha.
  2318. o Minor bugfixes (testing, chutney):
  2319. - When running make test-network-all, use the mixed+hs-v2 network.
  2320. (A previous fix to chutney removed v3 onion services from the
  2321. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  2322. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  2323. - Before running make test-network-all, delete old logs and test
  2324. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  2325. on 0.2.7.3-rc.
  2326. Changes in version 0.3.4.7-rc - 2018-08-24
  2327. Tor 0.3.4.7-rc fixes several small compilation, portability, and
  2328. correctness issues in previous versions of Tor. This version is a
  2329. release candidate: if no serious bugs are found, we expect that the
  2330. stable 0.3.4 release will be (almost) the same as this release.
  2331. o Minor features (bug workaround):
  2332. - Compile correctly on systems that provide the C11 stdatomic.h
  2333. header, but where C11 atomic functions don't actually compile.
  2334. Closes ticket 26779; workaround for Debian issue 903709.
  2335. o Minor features (continuous integration):
  2336. - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
  2337. - Enable macOS builds in our Travis CI configuration. Closes
  2338. ticket 24629.
  2339. - Install libcap-dev and libseccomp2-dev so these optional
  2340. dependencies get tested on Travis CI. Closes ticket 26560.
  2341. - Only post Appveyor IRC notifications when the build fails.
  2342. Implements ticket 27275.
  2343. - Run asciidoc during Travis CI. Implements ticket 27087.
  2344. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  2345. o Minor features (continuous integration, rust):
  2346. - Use cargo cache in our Travis CI configuration. Closes
  2347. ticket 26952.
  2348. o Minor features (directory authorities):
  2349. - Authorities no longer vote to make the subprotocol version
  2350. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  2351. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  2352. o Minor features (geoip):
  2353. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  2354. Country database. Closes ticket 27089.
  2355. o Minor bugfixes (compilation, windows):
  2356. - Don't link or search for pthreads when building for Windows, even
  2357. if we are using build environment (like mingw) that provides a
  2358. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  2359. o Minor bugfixes (continuous integration):
  2360. - Improve Appveyor CI IRC logging. Generate correct branches and
  2361. URLs for pull requests and tags. Use unambiguous short commits.
  2362. Fixes bug 26979; bugfix on master.
  2363. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  2364. - Pass the module flags to distcheck configure, and log the flags
  2365. before running configure. (Backported to 0.2.9 and later as a
  2366. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  2367. o Minor bugfixes (in-process restart):
  2368. - Always call tor_free_all() when leaving tor_run_main(). When we
  2369. did not, restarting tor in-process would cause an assertion
  2370. failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
  2371. o Minor bugfixes (linux seccomp2 sandbox):
  2372. - Fix a bug in out sandboxing rules for the openat() syscall.
  2373. Previously, no openat() call would be permitted, which would break
  2374. filesystem operations on recent glibc versions. Fixes bug 25440;
  2375. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  2376. o Minor bugfixes (onion services):
  2377. - Fix bug that causes services to not ever rotate their descriptors
  2378. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  2379. on 0.3.2.1-alpha.
  2380. o Minor bugfixes (portability):
  2381. - Fix compilation of the unit tests on GNU/Hurd, which does not
  2382. define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
  2383. from "paulusASol".
  2384. o Minor bugfixes (rust):
  2385. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  2386. on 0.3.1.5-alpha.
  2387. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  2388. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  2389. - Protover parsing was accepting the presence of whitespace in
  2390. version strings, which the C implementation would choke on, e.g.
  2391. "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
  2392. - Protover parsing was ignoring a 2nd hyphen and everything after
  2393. it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
  2394. on 0.3.3.1-alpha.
  2395. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  2396. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  2397. - cd to ${abs_top_builddir}/src/rust before running cargo in
  2398. src/test/test_rust.sh. This makes the working directory consistent
  2399. between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
  2400. o Minor bugfixes (testing, bootstrap):
  2401. - When calculating bootstrap progress, check exit policies and the
  2402. exit flag. Previously, Tor would only check the exit flag, which
  2403. caused race conditions in small and fast networks like chutney.
  2404. Fixes bug 27236; bugfix on 0.2.6.3-alpha.
  2405. o Minor bugfixes (testing, openssl compatibility):
  2406. - Our "tortls/cert_matches_key" unit test no longer relies on
  2407. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  2408. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  2409. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  2410. o Minor bugfixes (Windows, compilation):
  2411. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  2412. 27185; bugfix on 0.2.2.2-alpha.
  2413. Changes in version 0.3.4.6-rc - 2018-08-06
  2414. Tor 0.3.4.6-rc fixes several small compilation, portability, and
  2415. correctness issues in previous versions of Tor. This version is a
  2416. release candidate: if no serious bugs are found, we expect that the
  2417. stable 0.3.4 release will be (almost) the same as this release.
  2418. o Major bugfixes (event scheduler):
  2419. - When we enable a periodic event, schedule it in the event loop
  2420. rather than running it immediately. Previously, we would re-run
  2421. periodic events immediately in the middle of (for example)
  2422. changing our options, with unpredictable effects. Fixes bug 27003;
  2423. bugfix on 0.3.4.1-alpha.
  2424. o Minor features (compilation):
  2425. - When building Tor, prefer to use Python 3 over Python 2, and more
  2426. recent (contemplated) versions over older ones. Closes
  2427. ticket 26372.
  2428. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  2429. tell the compiler not to include the system malloc implementation.
  2430. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  2431. - Don't try to use a pragma to temporarily disable the
  2432. -Wunused-const-variable warning if the compiler doesn't support
  2433. it. Fixes bug 26785; bugfix on 0.3.2.11.
  2434. o Minor bugfixes (continuous integration):
  2435. - Skip a pair of unreliable key generation tests on Windows, until
  2436. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  2437. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  2438. o Minor features (controller):
  2439. - The control port now exposes the list of HTTPTunnelPorts and
  2440. ExtOrPorts via GETINFO net/listeners/httptunnel and
  2441. net/listeners/extor respectively. Closes ticket 26647.
  2442. o Minor bugfixes (directory authority):
  2443. - When voting for recommended versions, make sure that all of the
  2444. versions are well-formed and parsable. Fixes bug 26485; bugfix
  2445. on 0.1.1.6-alpha.
  2446. o Minor features (geoip):
  2447. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  2448. Country database. Closes ticket 26674.
  2449. o Minor features (Rust, portability):
  2450. - Rust cross-compilation is now supported. Closes ticket 25895.
  2451. o Minor bugfixes (compilation):
  2452. - Update build system so that tor builds again with --disable-unittests
  2453. after recent refactoring. Fixes bug 26789; bugfix on 0.3.4.3-alpha.
  2454. - Fix a compilation warning on some versions of GCC when building
  2455. code that calls routerinfo_get_my_routerinfo() twice, assuming
  2456. that the second call will succeed if the first one did. Fixes bug
  2457. 26269; bugfix on 0.2.8.2-alpha.
  2458. o Minor bugfixes (controller):
  2459. - Report the port correctly when a port is configured to bind to
  2460. "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
  2461. - Parse the "HSADDRESS=" parameter in HSPOST commands properly.
  2462. Previously, it was misparsed and ignored. Fixes bug 26523; bugfix
  2463. on 0.3.3.1-alpha. Patch by "akwizgran".
  2464. o Minor bugfixes (correctness, flow control):
  2465. - Upon receiving a stream-level SENDME cell, verify that our window
  2466. has not grown too large. Fixes bug 26214; bugfix on svn
  2467. r54 (pre-0.0.1).
  2468. o Minor bugfixes (memory, correctness):
  2469. - Fix a number of small memory leaks identified by coverity. Fixes
  2470. bug 26467; bugfix on numerous Tor versions.
  2471. o Minor bugfixes (logging):
  2472. - Improve the log message when connection initiators fail to
  2473. authenticate direct connections to relays. Fixes bug 26927; bugfix
  2474. on 0.3.0.1-alpha.
  2475. o Minor bugfixes (portability):
  2476. - Avoid a compilation error in test_bwmgt.c on Solaris 10. Fixes bug
  2477. 26994; bugfix on 0.3.4.1-alpha.
  2478. - Work around two different bugs in the OS X 10.10 and later SDKs
  2479. that would prevent us from successfully targeting earlier versions
  2480. of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
  2481. o Minor bugfixes (single onion services, Tor2web):
  2482. - Log a protocol warning when single onion services or Tor2web
  2483. clients fail to authenticate direct connections to relays. Fixes
  2484. bug 26924; bugfix on 0.2.9.1-alpha.
  2485. o Minor bugfixes (testing):
  2486. - Disable core dumps in test_bt.sh, to avoid failures in "make
  2487. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  2488. o Minor bugfixes (testing, compatibility):
  2489. - When running the ntor_ref.py and hs_ntor_ref.py tests, make sure
  2490. only to pass strings (rather than "bytes" objects) to the Python
  2491. subprocess module. Python 3 on Windows seems to require this.
  2492. Fixes bug 26535; bugfix on 0.2.5.5-alpha (for ntor_ref.py) and
  2493. 0.3.1.1-alpha (for hs_ntor_ref.py).
  2494. o Minor bugfixes (v3 onion services):
  2495. - Stop sending ed25519 link specifiers in v3 onion service introduce
  2496. cells and descriptors, when the rendezvous or introduction point
  2497. doesn't support ed25519 link authentication. Fixes bug 26627;
  2498. bugfix on 0.3.2.4-alpha.
  2499. Changes in version 0.3.4.5-rc - 2018-07-13
  2500. Tor 0.3.4.5-rc moves to a new bridge authority, meaning people running
  2501. bridge relays should upgrade.
  2502. o Directory authority changes:
  2503. - The "Bifroest" bridge authority has been retired; the new bridge
  2504. authority is "Serge", and it is operated by George from the
  2505. TorBSD project. Closes ticket 26771.
  2506. Changes in version 0.3.3.9 - 2018-07-13
  2507. Tor 0.3.3.9 moves to a new bridge authority, meaning people running
  2508. bridge relays should upgrade.
  2509. o Directory authority changes:
  2510. - The "Bifroest" bridge authority has been retired; the new bridge
  2511. authority is "Serge", and it is operated by George from the
  2512. TorBSD project. Closes ticket 26771.
  2513. Changes in version 0.3.2.11 - 2018-07-13
  2514. Tor 0.3.2.11 moves to a new bridge authority, meaning people running
  2515. bridge relays should upgrade. We also take this opportunity to backport
  2516. other minor fixes.
  2517. o Directory authority changes:
  2518. - The "Bifroest" bridge authority has been retired; the new bridge
  2519. authority is "Serge", and it is operated by George from the
  2520. TorBSD project. Closes ticket 26771.
  2521. o Directory authority changes (backport from 0.3.3.7):
  2522. - Add an IPv6 address for the "dannenberg" directory authority.
  2523. Closes ticket 26343.
  2524. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  2525. - When directory authorities read a zero-byte bandwidth file, they
  2526. would previously log a warning with the contents of an
  2527. uninitialised buffer. They now log a warning about the empty file
  2528. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  2529. o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
  2530. - Correctly detect when onion services get disabled after HUP. Fixes
  2531. bug 25761; bugfix on 0.3.2.1.
  2532. o Minor features (sandbox, backport from 0.3.3.4-alpha):
  2533. - Explicitly permit the poll() system call when the Linux
  2534. seccomp2-based sandbox is enabled: apparently, some versions of
  2535. libc use poll() when calling getpwnam(). Closes ticket 25313.
  2536. o Minor feature (continuous integration, backport from 0.3.3.5-rc):
  2537. - Update the Travis CI configuration to use the stable Rust channel,
  2538. now that we have decided to require that. Closes ticket 25714.
  2539. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  2540. - Our .travis.yml configuration now includes support for testing the
  2541. results of "make distcheck". (It's not uncommon for "make check"
  2542. to pass but "make distcheck" to fail.) Closes ticket 25814.
  2543. - Our Travis CI configuration now integrates with the Coveralls
  2544. coverage analysis tool. Closes ticket 25818.
  2545. o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
  2546. - Add several checks to detect whether Tor relays are uploading
  2547. their descriptors without specifying why they regenerated them.
  2548. Diagnostic for ticket 25686.
  2549. o Minor features (compilation, backport from 0.3.4.4-rc):
  2550. - When building Tor, prefer to use Python 3 over Python 2, and more
  2551. recent (contemplated) versions over older ones. Closes
  2552. ticket 26372.
  2553. o Minor features (geoip):
  2554. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  2555. Country database. Closes ticket 26674.
  2556. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  2557. - Upon receiving a malformed connected cell, stop processing the
  2558. cell immediately. Previously we would mark the connection for
  2559. close, but continue processing the cell as if the connection were
  2560. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  2561. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  2562. - Allow the nanosleep() system call, which glibc uses to implement
  2563. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  2564. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  2565. - When running the hs_ntor_ref.py test, make sure only to pass
  2566. strings (rather than "bytes" objects) to the Python subprocess
  2567. module. Python 3 on Windows seems to require this. Fixes bug
  2568. 26535; bugfix on 0.3.1.1-alpha.
  2569. - When running the ntor_ref.py test, make sure only to pass strings
  2570. (rather than "bytes" objects) to the Python subprocess module.
  2571. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  2572. on 0.2.5.5-alpha.
  2573. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  2574. - Work around a change in OpenSSL 1.1.1 where return values that
  2575. would previously indicate "no password" now indicate an empty
  2576. password. Without this workaround, Tor instances running with
  2577. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  2578. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  2579. o Minor bugfixes (documentation, backport from 0.3.3.5-rc):
  2580. - Document that the PerConnBW{Rate,Burst} options will fall back to
  2581. their corresponding consensus parameters only if those parameters
  2582. are set. Previously we had claimed that these values would always
  2583. be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
  2584. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  2585. - Fix a compilation warning on some versions of GCC when building
  2586. code that calls routerinfo_get_my_routerinfo() twice, assuming
  2587. that the second call will succeed if the first one did. Fixes bug
  2588. 26269; bugfix on 0.2.8.2-alpha.
  2589. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  2590. - Don't consider Tor running as a client if the ControlPort is open,
  2591. but no actual client ports are open. Fixes bug 26062; bugfix
  2592. on 0.2.9.4-alpha.
  2593. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  2594. - Prevent a possible out-of-bounds smartlist read in
  2595. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  2596. o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
  2597. - Fix a very unlikely (impossible, we believe) null pointer
  2598. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  2599. Coverity; this is CID 1430932.
  2600. o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
  2601. - Fix a memory leak when a v3 onion service is configured and gets a
  2602. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  2603. - When parsing the descriptor signature, look for the token plus an
  2604. extra white-space at the end. This is more correct but also will
  2605. allow us to support new fields that might start with "signature".
  2606. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  2607. o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
  2608. - Relays now correctly block attempts to re-extend to the previous
  2609. relay by Ed25519 identity. Previously they would warn in this
  2610. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  2611. on 0.3.0.1-alpha.
  2612. o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
  2613. - Avoid a crash when running with DirPort set but ORPort turned off.
  2614. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  2615. o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
  2616. - Silence unused-const-variable warnings in zstd.h with some GCC
  2617. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  2618. o Minor bugfixes (testing, backport from 0.3.3.4-alpha):
  2619. - Avoid intermittent test failures due to a test that had relied on
  2620. onion service introduction point creation finishing within 5
  2621. seconds of real clock time. Fixes bug 25450; bugfix
  2622. on 0.3.1.3-alpha.
  2623. o Minor bugfixes (compilation, backport from 0.3.3.4-alpha):
  2624. - Fix a C99 compliance issue in our configuration script that caused
  2625. compilation issues when compiling Tor with certain versions of
  2626. xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
  2627. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  2628. - Fix a number of small memory leaks identified by coverity. Fixes
  2629. bug 26467; bugfix on numerous Tor versions.
  2630. o Code simplification and refactoring (backport from 0.3.3.5-rc):
  2631. - Move the list of default directory authorities to its own file.
  2632. Closes ticket 24854. Patch by "beastr0".
  2633. Changes in version 0.2.9.16 - 2018-07-13
  2634. Tor 0.2.9.16 moves to a new bridge authority, meaning people running
  2635. bridge relays should upgrade. We also take this opportunity to backport
  2636. other minor fixes.
  2637. o Directory authority changes:
  2638. - The "Bifroest" bridge authority has been retired; the new bridge
  2639. authority is "Serge", and it is operated by George from the
  2640. TorBSD project. Closes ticket 26771.
  2641. o Directory authority changes (backport from 0.3.3.7):
  2642. - Add an IPv6 address for the "dannenberg" directory authority.
  2643. Closes ticket 26343.
  2644. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  2645. - When directory authorities read a zero-byte bandwidth file, they
  2646. would previously log a warning with the contents of an
  2647. uninitialised buffer. They now log a warning about the empty file
  2648. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  2649. o Minor features (sandbox, backport from 0.3.3.4-alpha):
  2650. - Explicitly permit the poll() system call when the Linux
  2651. seccomp2-based sandbox is enabled: apparently, some versions of
  2652. libc use poll() when calling getpwnam(). Closes ticket 25313.
  2653. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  2654. - Our .travis.yml configuration now includes support for testing the
  2655. results of "make distcheck". (It's not uncommon for "make check"
  2656. to pass but "make distcheck" to fail.) Closes ticket 25814.
  2657. - Our Travis CI configuration now integrates with the Coveralls
  2658. coverage analysis tool. Closes ticket 25818.
  2659. o Minor features (compilation, backport from 0.3.4.4-rc):
  2660. - When building Tor, prefer to use Python 3 over Python 2, and more
  2661. recent (contemplated) versions over older ones. Closes
  2662. ticket 26372.
  2663. o Minor features (geoip):
  2664. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  2665. Country database. Closes ticket 26674.
  2666. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  2667. - Upon receiving a malformed connected cell, stop processing the
  2668. cell immediately. Previously we would mark the connection for
  2669. close, but continue processing the cell as if the connection were
  2670. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  2671. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  2672. - Allow the nanosleep() system call, which glibc uses to implement
  2673. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  2674. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  2675. - When running the ntor_ref.py test, make sure only to pass strings
  2676. (rather than "bytes" objects) to the Python subprocess module.
  2677. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  2678. on 0.2.5.5-alpha.
  2679. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  2680. - Work around a change in OpenSSL 1.1.1 where return values that
  2681. would previously indicate "no password" now indicate an empty
  2682. password. Without this workaround, Tor instances running with
  2683. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  2684. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  2685. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  2686. - Fix a compilation warning on some versions of GCC when building
  2687. code that calls routerinfo_get_my_routerinfo() twice, assuming
  2688. that the second call will succeed if the first one did. Fixes bug
  2689. 26269; bugfix on 0.2.8.2-alpha.
  2690. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  2691. - Don't consider Tor running as a client if the ControlPort is open,
  2692. but no actual client ports are open. Fixes bug 26062; bugfix
  2693. on 0.2.9.4-alpha.
  2694. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  2695. - Prevent a possible out-of-bounds smartlist read in
  2696. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  2697. o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
  2698. - Fix a very unlikely (impossible, we believe) null pointer
  2699. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  2700. Coverity; this is CID 1430932.
  2701. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  2702. - Fix a number of small memory leaks identified by coverity. Fixes
  2703. bug 26467; bugfix on numerous Tor versions.
  2704. o Code simplification and refactoring (backport from 0.3.3.5-rc):
  2705. - Move the list of default directory authorities to its own file.
  2706. Closes ticket 24854. Patch by "beastr0".
  2707. Changes in version 0.3.4.4-rc - 2018-07-09
  2708. Tor 0.3.4.4-rc fixes several small compilation, portability, and
  2709. correctness issues in previous versions of Tor. This version is a
  2710. release candidate: if no serious bugs are found, we expect that the
  2711. stable 0.3.4 release will be (almost) the same as this release.
  2712. o Minor features (compilation):
  2713. - When building Tor, prefer to use Python 3 over Python 2, and more
  2714. recent (contemplated) versions over older ones. Closes
  2715. ticket 26372.
  2716. o Minor features (geoip):
  2717. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  2718. Country database. Closes ticket 26674.
  2719. o Minor features (Rust, portability):
  2720. - Rust cross-compilation is now supported. Closes ticket 25895.
  2721. o Minor bugfixes (compilation):
  2722. - Fix a compilation warning on some versions of GCC when building
  2723. code that calls routerinfo_get_my_routerinfo() twice, assuming
  2724. that the second call will succeed if the first one did. Fixes bug
  2725. 26269; bugfix on 0.2.8.2-alpha.
  2726. o Minor bugfixes (control port):
  2727. - Report the port correctly when a port is configured to bind to
  2728. "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
  2729. - Handle the HSADDRESS= argument to the HSPOST command properly.
  2730. (Previously, this argument was misparsed and thus ignored.) Fixes
  2731. bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
  2732. o Minor bugfixes (correctness, flow control):
  2733. - Upon receiving a stream-level SENDME cell, verify that our window
  2734. has not grown too large. Fixes bug 26214; bugfix on svn
  2735. r54 (pre-0.0.1).
  2736. o Minor bugfixes (memory, correctness):
  2737. - Fix a number of small memory leaks identified by coverity. Fixes
  2738. bug 26467; bugfix on numerous Tor versions.
  2739. o Minor bugfixes (testing, compatibility):
  2740. - When running the hs_ntor_ref.py test, make sure only to pass
  2741. strings (rather than "bytes" objects) to the Python subprocess
  2742. module. Python 3 on Windows seems to require this. Fixes bug
  2743. 26535; bugfix on 0.3.1.1-alpha.
  2744. - When running the ntor_ref.py test, make sure only to pass strings
  2745. (rather than "bytes" objects) to the Python subprocess module.
  2746. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  2747. on 0.2.5.5-alpha.
  2748. Changes in version 0.3.3.8 - 2018-07-09
  2749. Tor 0.3.3.8 backports several changes from the 0.3.4.x series, including
  2750. fixes for a memory leak affecting directory authorities.
  2751. o Major bugfixes (directory authority, backport from 0.3.4.3-alpha):
  2752. - Stop leaking memory on directory authorities when planning to
  2753. vote. This bug was crashing authorities by exhausting their
  2754. memory. Fixes bug 26435; bugfix on 0.3.3.6.
  2755. o Major bugfixes (rust, testing, backport from 0.3.4.3-alpha):
  2756. - Make sure that failing tests in Rust will actually cause the build
  2757. to fail: previously, they were ignored. Fixes bug 26258; bugfix
  2758. on 0.3.3.4-alpha.
  2759. o Minor features (compilation, backport from 0.3.4.4-rc):
  2760. - When building Tor, prefer to use Python 3 over Python 2, and more
  2761. recent (contemplated) versions over older ones. Closes
  2762. ticket 26372.
  2763. o Minor features (geoip):
  2764. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  2765. Country database. Closes ticket 26674.
  2766. o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
  2767. - Add several checks to detect whether Tor relays are uploading
  2768. their descriptors without specifying why they regenerated them.
  2769. Diagnostic for ticket 25686.
  2770. o Minor bugfixes (circuit path selection, backport from 0.3.4.1-alpha):
  2771. - Don't count path selection failures as circuit build failures.
  2772. This change should eliminate cases where Tor blames its guard or
  2773. the network for situations like insufficient microdescriptors
  2774. and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
  2775. on 0.3.3.1-alpha.
  2776. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  2777. - Fix a compilation warning on some versions of GCC when building
  2778. code that calls routerinfo_get_my_routerinfo() twice, assuming
  2779. that the second call will succeed if the first one did. Fixes bug
  2780. 26269; bugfix on 0.2.8.2-alpha.
  2781. o Minor bugfixes (control port, backport from 0.3.4.4-rc):
  2782. - Handle the HSADDRESS= argument to the HSPOST command properly.
  2783. (Previously, this argument was misparsed and thus ignored.) Fixes
  2784. bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
  2785. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  2786. - Fix a number of small memory leaks identified by coverity. Fixes
  2787. bug 26467; bugfix on numerous Tor versions.
  2788. o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
  2789. - Relays now correctly block attempts to re-extend to the previous
  2790. relay by Ed25519 identity. Previously they would warn in this
  2791. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  2792. on 0.3.0.1-alpha.
  2793. o Minor bugfixes (restart-in-process, backport from 0.3.4.1-alpha):
  2794. - When shutting down, Tor now clears all the flags in the control.c
  2795. module. This should prevent a bug where authentication cookies are
  2796. not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
  2797. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  2798. - When running the hs_ntor_ref.py test, make sure only to pass
  2799. strings (rather than "bytes" objects) to the Python subprocess
  2800. module. Python 3 on Windows seems to require this. Fixes bug
  2801. 26535; bugfix on 0.3.1.1-alpha.
  2802. - When running the ntor_ref.py test, make sure only to pass strings
  2803. (rather than "bytes" objects) to the Python subprocess module.
  2804. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  2805. on 0.2.5.5-alpha.
  2806. Changes in version 0.3.4.3-alpha - 2018-06-26
  2807. Tor 0.3.4.3-alpha fixes several bugs in earlier versions, including
  2808. one that was causing stability issues on directory authorities.
  2809. o Major bugfixes (directory authority):
  2810. - Stop leaking memory on directory authorities when planning to
  2811. vote. This bug was crashing authorities by exhausting their
  2812. memory. Fixes bug 26435; bugfix on 0.3.3.6.
  2813. o Major bugfixes (rust, testing):
  2814. - Make sure that failing tests in Rust will actually cause the build
  2815. to fail: previously, they were ignored. Fixes bug 26258; bugfix
  2816. on 0.3.3.4-alpha.
  2817. o Minor feature (directory authorities):
  2818. - Stop warning about incomplete bw lines before the first complete
  2819. bw line has been found, so that additional header lines can be
  2820. ignored. Fixes bug 25960; bugfix on 0.2.2.1-alpha
  2821. o Minor features (relay, diagnostic):
  2822. - Add several checks to detect whether Tor relays are uploading
  2823. their descriptors without specifying why they regenerated them.
  2824. Diagnostic for ticket 25686.
  2825. o Minor features (unit tests):
  2826. - Test complete bandwidth measurements files, and test that
  2827. incomplete bandwidth lines only give warnings when the end of the
  2828. header has not been detected. Fixes bug 25947; bugfix
  2829. on 0.2.2.1-alpha
  2830. o Minor bugfixes (compilation):
  2831. - Refrain from compiling unit testing related object files when
  2832. --disable-unittests is set to configure script. Fixes bug 24891;
  2833. bugfix on 0.2.5.1-alpha.
  2834. - When linking the libtor_testing.a library, only include the
  2835. dirauth object files once. Previously, they were getting added
  2836. twice. Fixes bug 26402; bugfix on 0.3.4.1-alpha.
  2837. - The --enable-fatal-warnings flag now affects Rust code as well.
  2838. Closes ticket 26245.
  2839. o Minor bugfixes (onion services):
  2840. - Recompute some consensus information after detecting a clock jump,
  2841. or after transitioning from a non-live consensus to a live
  2842. consensus. We do this to avoid having an outdated state, and
  2843. miscalculating the index for next-generation onion services. Fixes
  2844. bug 24977; bugfix on 0.3.2.1-alpha.
  2845. o Minor bugfixes (relay):
  2846. - Relays now correctly block attempts to re-extend to the previous
  2847. relay by Ed25519 identity. Previously they would warn in this
  2848. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  2849. on 0.3.0.1-alpha.
  2850. o Minor bugfixes (testing):
  2851. - Fix compilation of the doctests in the Rust crypto crate. Fixes
  2852. bug 26415; bugfix on 0.3.4.1-alpha.
  2853. - Instead of trying to read the geoip configuration files from
  2854. within the unit tests, instead create our own ersatz files with
  2855. just enough geoip data in the format we expect. Trying to read
  2856. from the source directory created problems on Windows with mingw,
  2857. where the build system's paths are not the same as the platform's
  2858. paths. Fixes bug 25787; bugfix on 0.3.4.1-alpha.
  2859. - Refrain from trying to get an item from an empty smartlist in
  2860. test_bridges_clear_bridge_list. Set DEBUG_SMARTLIST in unit tests
  2861. to catch improper smartlist usage. Furthermore, enable
  2862. DEBUG_SMARTLIST globally when build is configured with fragile
  2863. hardening. Fixes bug 26196; bugfix on 0.3.4.1-alpha.
  2864. Changes in version 0.3.3.7 - 2018-06-12
  2865. Tor 0.3.3.7 backports several changes from the 0.3.4.x series, including
  2866. fixes for bugs affecting compatibility and stability.
  2867. o Directory authority changes:
  2868. - Add an IPv6 address for the "dannenberg" directory authority.
  2869. Closes ticket 26343.
  2870. o Minor features (geoip):
  2871. - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
  2872. Country database. Closes ticket 26351.
  2873. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  2874. - Work around a change in OpenSSL 1.1.1 where return values that
  2875. would previously indicate "no password" now indicate an empty
  2876. password. Without this workaround, Tor instances running with
  2877. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  2878. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  2879. o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
  2880. - Silence unused-const-variable warnings in zstd.h with some GCC
  2881. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  2882. o Minor bugfixes (controller, backport from 0.3.4.2-alpha):
  2883. - Improve accuracy of the BUILDTIMEOUT_SET control port event's
  2884. TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
  2885. miscounting the total number of circuits for these field values.)
  2886. Fixes bug 26121; bugfix on 0.3.3.1-alpha.
  2887. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  2888. - Prevent a possible out-of-bounds smartlist read in
  2889. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  2890. o Minor bugfixes (path selection, backport from 0.3.4.1-alpha):
  2891. - Only select relays when they have the descriptors we prefer to use
  2892. for them. This change fixes a bug where we could select a relay
  2893. because it had _some_ descriptor, but reject it later with a
  2894. nonfatal assertion error because it didn't have the exact one we
  2895. wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
  2896. Changes in version 0.3.4.2-alpha - 2018-06-12
  2897. Tor 0.3.4.2-alpha fixes several minor bugs in the previous alpha
  2898. release, and forward-ports an authority-only security fix from 0.3.3.6.
  2899. o Directory authority changes:
  2900. - Add an IPv6 address for the "dannenberg" directory authority.
  2901. Closes ticket 26343.
  2902. o Major bugfixes (security, directory authority, denial-of-service, also in 0.3.3.6):
  2903. - Fix a bug that could have allowed an attacker to force a directory
  2904. authority to use up all its RAM by passing it a maliciously
  2905. crafted protocol versions string. Fixes bug 25517; bugfix on
  2906. 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
  2907. o Minor features (continuous integration):
  2908. - Add the necessary configuration files for continuous integration
  2909. testing on Windows, via the Appveyor platform. Closes ticket
  2910. 25549. Patches from Marcin Cieślak and Isis Lovecruft.
  2911. o Minor features (geoip):
  2912. - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
  2913. Country database. Closes ticket 26351.
  2914. o Minor bugfixes (compatibility, openssl):
  2915. - Work around a change in OpenSSL 1.1.1 where return values that
  2916. would previously indicate "no password" now indicate an empty
  2917. password. Without this workaround, Tor instances running with
  2918. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  2919. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  2920. o Minor bugfixes (compilation):
  2921. - Silence unused-const-variable warnings in zstd.h with some GCC
  2922. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  2923. - Fix compilation when using OpenSSL 1.1.0 with the "no-deprecated"
  2924. flag enabled. Fixes bug 26156; bugfix on 0.3.4.1-alpha.
  2925. - Avoid a compiler warning when casting the return value of
  2926. smartlist_len() to double with DEBUG_SMARTLIST enabled. Fixes bug
  2927. 26283; bugfix on 0.2.4.10-alpha.
  2928. o Minor bugfixes (control port):
  2929. - Do not count 0-length RELAY_COMMAND_DATA cells as valid data in
  2930. CIRC_BW events. Previously, such cells were counted entirely in
  2931. the OVERHEAD field. Now they are not. Fixes bug 26259; bugfix
  2932. on 0.3.4.1-alpha.
  2933. o Minor bugfixes (controller):
  2934. - Improve accuracy of the BUILDTIMEOUT_SET control port event's
  2935. TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
  2936. miscounting the total number of circuits for these field values.)
  2937. Fixes bug 26121; bugfix on 0.3.3.1-alpha.
  2938. o Minor bugfixes (hardening):
  2939. - Prevent a possible out-of-bounds smartlist read in
  2940. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  2941. o Minor bugfixes (onion services):
  2942. - Fix a bug that blocked the creation of ephemeral v3 onion
  2943. services. Fixes bug 25939; bugfix on 0.3.4.1-alpha.
  2944. o Minor bugfixes (test coverage tools):
  2945. - Update our "cov-diff" script to handle output from the latest
  2946. version of gcov, and to remove extraneous timestamp information
  2947. from its output. Fixes bugs 26101 and 26102; bugfix
  2948. on 0.2.5.1-alpha.
  2949. Changes in version 0.3.3.6 - 2018-05-22
  2950. Tor 0.3.3.6 is the first stable release in the 0.3.3 series. It
  2951. backports several important fixes from the 0.3.4.1-alpha.
  2952. The Tor 0.3.3 series includes controller support and other
  2953. improvements for v3 onion services, official support for embedding Tor
  2954. within other applications, and our first non-trivial module written in
  2955. the Rust programming language. (Rust is still not enabled by default
  2956. when building Tor.) And as usual, there are numerous other smaller
  2957. bugfixes, features, and improvements.
  2958. Below are the changes since 0.3.3.5-rc. For a list of all changes
  2959. since 0.3.2.10, see the ReleaseNotes file.
  2960. o Major bugfixes (directory authorities, security, backport from 0.3.4.1-alpha):
  2961. - When directory authorities read a zero-byte bandwidth file, they
  2962. would previously log a warning with the contents of an
  2963. uninitialised buffer. They now log a warning about the empty file
  2964. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  2965. o Major bugfixes (security, directory authority, denial-of-service):
  2966. - Fix a bug that could have allowed an attacker to force a directory
  2967. authority to use up all its RAM by passing it a maliciously
  2968. crafted protocol versions string. Fixes bug 25517; bugfix on
  2969. 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
  2970. o Major bugfixes (crash, backport from 0.3.4.1-alpha):
  2971. - Avoid a rare assertion failure in the circuit build timeout code
  2972. if we fail to allow any circuits to actually complete. Fixes bug
  2973. 25733; bugfix on 0.2.2.2-alpha.
  2974. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  2975. - Avoid a crash when testing router reachability on a router that
  2976. could have an ed25519 ID, but which does not. Fixes bug 25415;
  2977. bugfix on 0.3.3.2-alpha.
  2978. o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
  2979. - Correctly detect when onion services get disabled after HUP. Fixes
  2980. bug 25761; bugfix on 0.3.2.1.
  2981. o Major bugfixes (relay, denial of service, backport from 0.3.4.1-alpha):
  2982. - Impose a limit on circuit cell queue size. The limit can be
  2983. controlled by a consensus parameter. Fixes bug 25226; bugfix
  2984. on 0.2.4.14-alpha.
  2985. o Minor features (compatibility, backport from 0.3.4.1-alpha):
  2986. - Avoid some compilation warnings with recent versions of LibreSSL.
  2987. Closes ticket 26006.
  2988. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  2989. - Our .travis.yml configuration now includes support for testing the
  2990. results of "make distcheck". (It's not uncommon for "make check"
  2991. to pass but "make distcheck" to fail.) Closes ticket 25814.
  2992. - Our Travis CI configuration now integrates with the Coveralls
  2993. coverage analysis tool. Closes ticket 25818.
  2994. o Minor features (geoip):
  2995. - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
  2996. database. Closes ticket 26104.
  2997. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  2998. - Don't consider Tor running as a client if the ControlPort is open,
  2999. but no actual client ports are open. Fixes bug 26062; bugfix
  3000. on 0.2.9.4-alpha.
  3001. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  3002. - Upon receiving a malformed connected cell, stop processing the
  3003. cell immediately. Previously we would mark the connection for
  3004. close, but continue processing the cell as if the connection were
  3005. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  3006. o Minor bugfixes (documentation, backport from 0.3.4.1-alpha):
  3007. - Stop saying in the manual that clients cache ipv4 dns answers from
  3008. exit relays. We haven't used them since 0.2.6.3-alpha, and in
  3009. ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
  3010. we forgot to say so in the man page. Fixes bug 26052; bugfix
  3011. on 0.3.2.6-alpha.
  3012. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  3013. - Allow the nanosleep() system call, which glibc uses to implement
  3014. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  3015. o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
  3016. - Fix a memory leak when a v3 onion service is configured and gets a
  3017. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  3018. - When parsing the descriptor signature, look for the token plus an
  3019. extra white-space at the end. This is more correct but also will
  3020. allow us to support new fields that might start with "signature".
  3021. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  3022. o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
  3023. - Avoid a crash when running with DirPort set but ORPort turned off.
  3024. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  3025. o Documentation (backport from 0.3.4.1-alpha):
  3026. - Correct an IPv6 error in the documentation for ExitPolicy. Closes
  3027. ticket 25857. Patch from "CTassisF".
  3028. Changes in version 0.3.4.1-alpha - 2018-05-17
  3029. Tor 0.3.4.1-alpha is the first release in the 0.3.4.x series. It
  3030. includes refactoring to begin reducing Tor's binary size and idle CPU
  3031. usage on mobile, along with prep work for new bandwidth scanners,
  3032. improvements to the experimental "vanguards" feature, and numerous
  3033. other small features and bugfixes.
  3034. o New system requirements:
  3035. - Tor no longer tries to support old operating systems without
  3036. mmap() or some local equivalent. Apparently, compilation on such
  3037. systems has been broken for some time, without anybody noticing or
  3038. complaining. Closes ticket 25398.
  3039. o Major feature (directory authority, modularization):
  3040. - The directory authority subsystem has been modularized. The code
  3041. is now located in src/or/dirauth/, and is compiled in by default.
  3042. To disable the module, the configure option
  3043. --disable-module-dirauth has been added. This module may be
  3044. disabled by default in some future release. Closes ticket 25610.
  3045. o Major features (main loop, CPU usage):
  3046. - When Tor is disabled (via DisableNetwork or via hibernation), it
  3047. no longer needs to run any per-second events. This change should
  3048. make it easier for mobile applications to disable Tor while the
  3049. device is sleeping, or Tor is not running. Closes ticket 26063.
  3050. - Tor no longer enables all of its periodic events by default.
  3051. Previously, Tor would enable all possible main loop events,
  3052. regardless of whether it needed them. Furthermore, many of these
  3053. events are now disabled with Tor is hibernating or DisableNetwork
  3054. is set. This is a big step towards reducing client CPU usage by
  3055. reducing the amount of wake-ups the daemon does. Closes ticket
  3056. 25376 and 25762.
  3057. - The bandwidth-limitation logic has been refactored so that
  3058. bandwidth calculations are performed on-demand, rather than every
  3059. TokenBucketRefillInterval milliseconds. This change should improve
  3060. the granularity of our bandwidth calculations, and limit the
  3061. number of times that the Tor process needs to wake up when it is
  3062. idle. Closes ticket 25373.
  3063. - Move responsibility for many operations from a once-per-second
  3064. callback to a callback that is only scheduled as needed. Moving
  3065. this functionality has allowed us to disable the callback when
  3066. Tor's network is disabled. Once enough items are removed from our
  3067. once-per-second callback, we can eliminate it entirely to conserve
  3068. CPU when idle. The functionality removed includes: closing
  3069. connections, circuits, and channels (ticket 25932); consensus
  3070. voting (25937); flushing log callbacks (25951); honoring delayed
  3071. SIGNEWNYM requests (25949); rescanning the consensus cache
  3072. (25931); saving the state file to disk (25948); warning relay
  3073. operators about unreachable ports (25952); and keeping track of
  3074. Tor's uptime (26009).
  3075. o Major bugfixes (directory authorities, security):
  3076. - When directory authorities read a zero-byte bandwidth file, they
  3077. would previously log a warning with the contents of an
  3078. uninitialised buffer. They now log a warning about the empty file
  3079. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  3080. o Major bugfixes (crash):
  3081. - Avoid a rare assertion failure in the circuit build timeout code
  3082. if we fail to allow any circuits to actually complete. Fixes bug
  3083. 25733; bugfix on 0.2.2.2-alpha.
  3084. o Major bugfixes (directory authority):
  3085. - Avoid a crash when testing router reachability on a router that
  3086. could have an ed25519 ID, but which does not. Fixes bug 25415;
  3087. bugfix on 0.3.3.2-alpha.
  3088. o Major bugfixes (onion service):
  3089. - Correctly detect when onion services get disabled after HUP. Fixes
  3090. bug 25761; bugfix on 0.3.2.1.
  3091. o Major bugfixes (protover, voting):
  3092. - Revise Rust implementation of protover to use a more memory-
  3093. efficient voting algorithm and corresponding data structures, thus
  3094. avoiding a potential (but small impact) DoS attack where specially
  3095. crafted protocol strings would expand to several potential
  3096. megabytes in memory. In the process, several portions of code were
  3097. revised to be methods on new, custom types, rather than functions
  3098. taking interchangeable types, thus increasing type safety of the
  3099. module. Custom error types and handling were added as well, in
  3100. order to facilitate better error dismissal/handling in outside
  3101. crates and avoid mistakenly passing an internal error string to C
  3102. over the FFI boundary. Many tests were added, and some previous
  3103. differences between the C and Rust implementations have been
  3104. remedied. Fixes bug 24031; bugfix on 0.3.3.1-alpha.
  3105. o Major bugfixes (relay, denial of service):
  3106. - Impose a limit on circuit cell queue size. The limit can be
  3107. controlled by a consensus parameter. Fixes bug 25226; bugfix
  3108. on 0.2.4.14-alpha.
  3109. o Minor features (accounting):
  3110. - When Tor becomes dormant, it now uses a scheduled event to wake up
  3111. at the right time. Previously, we would use the per-second timer
  3112. to check whether to wake up, but we no longer have any per-second
  3113. timers enabled when the network is disabled. Closes ticket 26064.
  3114. o Minor features (code quality):
  3115. - Add optional spell-checking for the Tor codebase, using the
  3116. "misspell" program. To use this feature, run "make check-typos".
  3117. Closes ticket 25024.
  3118. o Minor features (compatibility):
  3119. - Tor now detects versions of OpenSSL 1.1.0 and later compiled with
  3120. the no-deprecated option, and builds correctly with them. Closes
  3121. tickets 19429, 19981, and 25353.
  3122. - Avoid some compilation warnings with recent versions of LibreSSL.
  3123. Closes ticket 26006.
  3124. o Minor features (compression, zstd):
  3125. - When running with zstd, Tor now considers using advanced functions
  3126. that the zstd maintainers have labeled as potentially unstable. To
  3127. prevent breakage, Tor will only use this functionality when the
  3128. runtime version of the zstd library matches the version with which
  3129. Tor was compiled. Closes ticket 25162.
  3130. o Minor features (configuration):
  3131. - The "DownloadSchedule" options have been renamed to end with
  3132. "DownloadInitialDelay". The old names are still allowed, but will
  3133. produce a warning. Comma-separated lists are still permitted for
  3134. these options, but all values after the first are ignored (as they
  3135. have been since 0.2.9). Closes ticket 23354.
  3136. o Minor features (continuous integration):
  3137. - Our .travis.yml configuration now includes support for testing the
  3138. results of "make distcheck". (It's not uncommon for "make check"
  3139. to pass but "make distcheck" to fail.) Closes ticket 25814.
  3140. - Our Travis CI configuration now integrates with the Coveralls
  3141. coverage analysis tool. Closes ticket 25818.
  3142. o Minor features (control port):
  3143. - Introduce GETINFO "current-time/{local,utc}" to return the local
  3144. and UTC times respectively in ISO format. This helps a controller
  3145. like Tor Browser detect a time-related error. Closes ticket 25511.
  3146. Patch by Neel Chauhan.
  3147. - Introduce new fields to the CIRC_BW event. There are two new
  3148. fields in each of the read and written directions. The DELIVERED
  3149. fields report the total valid data on the circuit, as measured by
  3150. the payload sizes of verified and error-checked relay command
  3151. cells. The OVERHEAD fields report the total unused bytes in each
  3152. of these cells. Closes ticket 25903.
  3153. o Minor features (directory authority):
  3154. - Directory authorities now open their key-pinning files as O_SYNC,
  3155. to limit their chances of accidentally writing partial lines.
  3156. Closes ticket 23909.
  3157. o Minor features (directory authority, forward compatibility):
  3158. - Make the lines of the measured bandwidth file able to contain
  3159. their entries in any order. Previously, the node_id entry needed
  3160. to come first. Closes ticket 26004.
  3161. o Minor features (entry guards):
  3162. - Introduce a new torrc option NumPrimaryGuards for controlling the
  3163. number of primary guards. Closes ticket 25843.
  3164. o Minor features (geoip):
  3165. - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
  3166. database. Closes ticket 26104.
  3167. o Minor features (performance):
  3168. - Avoid a needless call to malloc() when processing an incoming
  3169. relay cell. Closes ticket 24914.
  3170. - Make our timing-wheel code run a tiny bit faster on 32-bit
  3171. platforms, by preferring 32-bit math to 64-bit. Closes
  3172. ticket 24688.
  3173. - Avoid a needless malloc()/free() pair every time we handle an ntor
  3174. handshake. Closes ticket 25150.
  3175. o Minor features (testing):
  3176. - Add a unit test for voting_schedule_get_start_of_next_interval().
  3177. Closes ticket 26014, and helps make unit test coverage
  3178. more deterministic.
  3179. - A new unittests module specifically for testing the functions in
  3180. the (new-ish) bridges.c module has been created with new
  3181. unittests, raising the code coverage percentages. Closes 25425.
  3182. - We now have improved testing for addressmap_get_virtual_address()
  3183. function. This should improve our test coverage, and make our test
  3184. coverage more deterministic. Closes ticket 25993.
  3185. o Minor features (timekeeping, circuit scheduling):
  3186. - When keeping track of how busy each circuit have been recently on
  3187. a given connection, use coarse-grained monotonic timers rather
  3188. than gettimeofday(). This change should marginally increase
  3189. accuracy and performance. Implements part of ticket 25927.
  3190. o Minor bugfixes (bandwidth management):
  3191. - Consider ourselves "low on write bandwidth" if we have exhausted
  3192. our write bandwidth some time in the last second. This was the
  3193. documented behavior before, but the actual behavior was to change
  3194. this value every TokenBucketRefillInterval. Fixes bug 25828;
  3195. bugfix on 0.2.3.5-alpha.
  3196. o Minor bugfixes (C correctness):
  3197. - Add a missing lock acquisition in the shutdown code of the control
  3198. subsystem. Fixes bug 25675; bugfix on 0.2.7.3-rc. Found by
  3199. Coverity; this is CID 1433643.
  3200. o Minor bugfixes (circuit path selection):
  3201. - Don't count path selection failures as circuit build failures.
  3202. This change should eliminate cases where Tor blames its guard or
  3203. the network for situations like insufficient microdescriptors
  3204. and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
  3205. on 0.3.3.1-alpha.
  3206. o Minor bugfixes (client):
  3207. - Don't consider Tor running as a client if the ControlPort is open,
  3208. but no actual client ports are open. Fixes bug 26062; bugfix
  3209. on 0.2.9.4-alpha.
  3210. o Minor bugfixes (code style):
  3211. - Fixed multiple includes of transports.h in src/or/connection.c
  3212. Fixes bug 25261; bugfix on 0.2.5.1-alpha.
  3213. - Remove the unused variable n_possible from the function
  3214. channel_get_for_extend(). Fixes bug 25645; bugfix on 0.2.4.4-alpha
  3215. o Minor bugfixes (control interface):
  3216. - Respond with more human-readable error messages to GETINFO exit-
  3217. policy/* requests. Also, let controller know if an error is
  3218. transient (response code 551) or not (response code 552). Fixes
  3219. bug 25852; bugfix on 0.2.8.1-alpha.
  3220. o Minor bugfixes (controller):
  3221. - Make CIRC_BW event reflect the total of all data sent on a
  3222. circuit, including padding and dropped cells. Also fix a mis-
  3223. counting bug when STREAM_BW events were enabled. Fixes bug 25400;
  3224. bugfix on 0.2.5.2-alpha.
  3225. o Minor bugfixes (correctness, client):
  3226. - Upon receiving a malformed connected cell, stop processing the cell
  3227. immediately. Previously we would mark the connection for close, but
  3228. continue processing the cell as if the connection were open. Fixes bug
  3229. 26072; bugfix on 0.2.4.7-alpha.
  3230. o Minor bugfixes (directory client):
  3231. - When unverified-consensus is verified, rename it to cached-
  3232. consenus. Fixes bug 4187; bugfix on 0.2.0.3-alpha.
  3233. - Fixed launching a certificate fetch always during the scheduled
  3234. periodic consensus fetch by fetching only in those cases when
  3235. consensus are waiting for certs. Fixes bug 24740; bugfix
  3236. on 0.2.9.1-alpha.
  3237. o Minor bugfixes (documentation):
  3238. - Stop saying in the manual that clients cache ipv4 dns answers from
  3239. exit relays. We haven't used them since 0.2.6.3-alpha, and in
  3240. ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
  3241. we forgot to say so in the man page. Fixes bug 26052; bugfix
  3242. on 0.3.2.6-alpha.
  3243. o Minor bugfixes (error reporting):
  3244. - Improve tolerance for directory authorities with skewed clocks.
  3245. Previously, an authority with a clock more than 60 seconds ahead
  3246. could cause a client with a correct clock to warn that the
  3247. client's clock was behind. Now the clocks of a majority of
  3248. directory authorities have to be ahead of the client before this
  3249. warning will occur. Fixes bug 25756; bugfix on 0.2.2.25-alpha.
  3250. o Minor bugfixes (Linux seccomp2 sandbox):
  3251. - Allow the nanosleep() system call, which glibc uses to implement
  3252. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  3253. o Minor bugfixes (onion service):
  3254. - Fix a memory leak when a v3 onion service is configured and gets a
  3255. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  3256. - When parsing the descriptor signature, look for the token plus an
  3257. extra white-space at the end. This is more correct but also will
  3258. allow us to support new fields that might start with "signature".
  3259. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  3260. o Minor bugfixes (path selection):
  3261. - Only select relays when they have the descriptors we prefer to use
  3262. for them. This change fixes a bug where we could select a relay
  3263. because it had _some_ descriptor, but reject it later with a
  3264. nonfatal assertion error because it didn't have the exact one we
  3265. wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
  3266. o Minor bugfixes (portability):
  3267. - Do not align mmap length, as it is not required by POSIX, and the
  3268. getpagesize function is deprecated. Fixes bug 25399; bugfix
  3269. on 0.1.1.23.
  3270. o Minor bugfixes (portability, FreeBSD):
  3271. - In have_enough_mem_for_dircache(), the variable DIRCACHE_MIN_MEM_MB
  3272. does not stringify on FreeBSD, so we switch to tor_asprintf().
  3273. Fixes bug 20887; bugfix on 0.2.8.1-alpha. Patch by Neel Chauhan.
  3274. o Minor bugfixes (relay statistics):
  3275. - When a relay is collecting internal statistics about how many
  3276. create cell requests it has seen of each type, accurately count
  3277. the requests from relays that temporarily fall out of the
  3278. consensus. (To be extra conservative, we were already ignoring
  3279. requests from clients in our counts, and we continue ignoring them
  3280. here.) Fixes bug 24910; bugfix on 0.2.4.17-rc.
  3281. o Minor bugfixes (relay, crash):
  3282. - Avoid a crash when running with DirPort set but ORPort turned off.
  3283. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  3284. o Minor bugfixes (restart-in-process):
  3285. - When shutting down, Tor now clears all the flags in the control.c
  3286. module. This should prevent a bug where authentication cookies are
  3287. not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
  3288. o Minor bugfixes (testing):
  3289. - When testing workqueue event-cancellation, make sure that we
  3290. actually cancel an event, and that cancel each event with equal
  3291. probability. (It was previously possible, though extremely
  3292. unlikely, for our event-canceling test not to cancel any events.)
  3293. Fixes bug 26008; bugfix on 0.2.6.3-alpha.
  3294. - Repeat part of the test in test_client_pick_intro() a number of
  3295. times, to give it consistent coverage. Fixes bug 25996; bugfix
  3296. on 0.3.2.1-alpha.
  3297. - Remove randomness from the hs_common/responsible_hsdirs test, so
  3298. that it always takes the same path through the function it tests.
  3299. Fixes bug 25997; bugfix on 0.3.2.1-alpha.
  3300. - Change the behavior of the "channel/outbound" test so that it
  3301. never causes a 10-second rollover for the EWMA circuitmux code.
  3302. Previously, this behavior would happen randomly, and result in
  3303. fluctuating test coverage. Fixes bug 25994; bugfix
  3304. on 0.3.3.1-alpha.
  3305. - Use X509_new() to allocate certificates that will be freed later
  3306. with X509_free(). Previously, some parts of the unit tests had
  3307. used tor_malloc_zero(), which is incorrect, and which caused test
  3308. failures on Windows when they were built with extra hardening.
  3309. Fixes bugs 25943 and 25944; bugfix on 0.2.8.1-alpha. Patch by
  3310. Marcin Cieślak.
  3311. - While running the circuit_timeout test, fix the PRNG to a
  3312. deterministic AES stream, so that the test coverage from this test
  3313. will itself be deterministic. Fixes bug 25995; bugfix
  3314. on 0.2.2.2-alpha.
  3315. o Minor bugfixes (vanguards):
  3316. - Allow the last hop in a vanguard circuit to be the same as our
  3317. first, to prevent the adversary from influencing guard node choice
  3318. by choice of last hop. Also prevent the creation of A - B - A
  3319. paths, or A - A paths, which are forbidden by relays. Fixes bug
  3320. 25870; bugfix on 0.3.3.1-alpha.
  3321. o Code simplification and refactoring:
  3322. - Remove duplicate code in parse_{c,s}method_line and bootstrap
  3323. their functionalities into a single function. Fixes bug 6236;
  3324. bugfix on 0.2.3.6-alpha.
  3325. - We remove the PortForwsrding and PortForwardingHelper options,
  3326. related functions, and the port_forwarding tests. These options
  3327. were used by the now-deprecated Vidalia to help ordinary users
  3328. become Tor relays or bridges. Closes ticket 25409. Patch by
  3329. Neel Chauhan.
  3330. - In order to make the OR and dir checking function in router.c less
  3331. confusing we renamed some functions and
  3332. consider_testing_reachability() has been split into
  3333. router_should_check_reachability() and
  3334. router_do_reachability_checks(). Also we improved the documentation
  3335. in some functions. Closes ticket 18918.
  3336. - Initial work to isolate Libevent usage to a handful of modules in
  3337. our codebase, to simplify our call structure, and so that we can
  3338. more easily change event loops in the future if needed. Closes
  3339. ticket 23750.
  3340. - Introduce a function to call getsockname() and return tor_addr_t,
  3341. to save a little complexity throughout the codebase. Closes
  3342. ticket 18105.
  3343. - Make hsdir_index in node_t a hsdir_index_t rather than a pointer
  3344. as hsdir_index is always present. Also, we move hsdir_index_t into
  3345. or.h. Closes ticket 23094. Patch by Neel Chauhan.
  3346. - Merge functions used for describing nodes and suppress the
  3347. functions that do not allocate memory for the output buffer
  3348. string. NODE_DESC_BUF_LEN constant and format_node_description()
  3349. function cannot be used externally from router.c module anymore.
  3350. Closes ticket 25432. Patch by valentecaio.
  3351. - Our main loop has been simplified so that all important operations
  3352. happen inside events. Previously, some operations had to happen
  3353. outside the event loop, to prevent infinite sequences of event
  3354. activations. Closes ticket 25374.
  3355. - Put a SHA1 public key digest in hs_service_intro_point_t, and use
  3356. it in register_intro_circ() and service_intro_point_new(). This
  3357. prevents the digest from being re-calculated each time. Closes
  3358. ticket 23107. Patch by Neel Chauhan.
  3359. - Refactor token-bucket implementations to use a common backend.
  3360. Closes ticket 25766.
  3361. - Remove extern declaration of stats_n_seconds_working variable from
  3362. main, protecting its accesses with get_uptime() and reset_uptime()
  3363. functions. Closes ticket 25081, patch by “valentecaio”.
  3364. - Remove our previous logic for "cached gettimeofday()" -- our
  3365. coarse monotonic timers are fast enough for this purpose, and far
  3366. less error-prone. Implements part of ticket 25927.
  3367. - Remove the return value for fascist_firewall_choose_address_base(),
  3368. and sister functions such as fascist_firewall_choose_address_node()
  3369. and fascist_firewall_choose_address_rs(). Also, while we're here,
  3370. initialize the ap argument as leaving it uninitialized can pose a
  3371. security hazard. Closes ticket 24734. Patch by Neel Chauhan.
  3372. - Rename two fields of connection_t struct. timestamp_lastwritten is
  3373. renamed to timestamp_last_write_allowed and timestamp_lastread is
  3374. renamed to timestamp_last_read_allowed. Closes ticket 24714, patch
  3375. by "valentecaio".
  3376. - Since Tor requires C99, remove our old workaround code for libc
  3377. implementations where free(NULL) doesn't work. Closes ticket 24484.
  3378. - Use our standard rate-limiting code to deal with excessive
  3379. libevent failures, rather than the hand-rolled logic we had
  3380. before. Closes ticket 26016.
  3381. - We remove the return value of node_get_prim_orport() and
  3382. node_get_prim_dirport(), and introduce node_get_prim_orport() in
  3383. node_ipv6_or_preferred() and node_ipv6_dir_preferred() in order to
  3384. check for a null address. Closes ticket 23873. Patch by
  3385. Neel Chauhan.
  3386. - We switch to should_record_bridge_info() in
  3387. geoip_note_client_seen() and options_need_geoip_info() instead of
  3388. accessing the configuration values directly. Fixes bug 25290;
  3389. bugfix on 0.2.1.6-alpha. Patch by Neel Chauhan.
  3390. o Deprecated features:
  3391. - As we are not recommending 0.2.5 anymore, we require relays that
  3392. once had an ed25519 key associated with their RSA key to always
  3393. have that key, instead of allowing them to drop back to a version
  3394. that didn't support ed25519. This means they need to use a new RSA
  3395. key if they want to downgrade to an older version of tor without
  3396. ed25519. Closes ticket 20522.
  3397. o Documentation:
  3398. - Correct an IPv6 error in the documentation for ExitPolicy. Closes
  3399. ticket 25857. Patch from "CTassisF".
  3400. o Removed features:
  3401. - Directory authorities will no longer support voting according to
  3402. any consensus method before consensus method 25. This keeps
  3403. authorities compatible with all authorities running 0.2.9.8 and
  3404. later, and does not break any clients or relays. Implements ticket
  3405. 24378 and proposal 290.
  3406. - The PortForwarding and PortForwardingHelper features have been
  3407. removed. The reasoning is, given that implementations of NAT
  3408. traversal protocols within common consumer grade routers are
  3409. frequently buggy, and that the target audience for a NAT punching
  3410. feature is a perhaps less-technically-inclined relay operator,
  3411. when the helper fails to setup traversal the problems are usually
  3412. deep, ugly, and very router specific, making them horrendously
  3413. impossible for technical support to reliable assist with, and thus
  3414. resulting in frustration all around. Unfortunately, relay
  3415. operators who would like to run relays behind NATs will need to
  3416. become more familiar with the port forwarding configurations on
  3417. their local router. Closes 25409.
  3418. - The TestingEnableTbEmptyEvent option has been removed. It was used
  3419. in testing simulations to measure how often connection buckets
  3420. were emptied, in order to improve our scheduling, but it has not
  3421. been actively used in years. Closes ticket 25760.
  3422. - The old "round-robin" circuit multiplexer (circuitmux)
  3423. implementation has been removed, along with a fairly large set of
  3424. code that existed to support it. It has not been the default
  3425. circuitmux since we introduced the "EWMA" circuitmux in 0.2.4.x,
  3426. but it still required an unreasonable amount of memory and CPU.
  3427. Closes ticket 25268.
  3428. Changes in version 0.3.3.5-rc - 2018-04-15
  3429. Tor 0.3.3.5-rc fixes various bugs in earlier versions of Tor,
  3430. including some that could affect reliability or correctness.
  3431. This is the first release candidate in the 0.3.3 series. If we find no
  3432. new bugs or regression here, then the first stable 0.3.3 release will
  3433. be nearly identical to this one.
  3434. o Major bugfixes (security, protover, voting):
  3435. - Revise Rust implementation of protover to use a more memory-
  3436. efficient voting algorithm and corresponding data structures, thus
  3437. avoiding a potential memory-based DoS attack where specially
  3438. crafted protocol strings would expand to fill available memory.
  3439. Fixes bug 24031; bugfix on 0.3.3.1-alpha.
  3440. o Major bugfixes (performance, load balancing):
  3441. - Directory authorities no longer vote in favor of the Guard flag
  3442. for relays without directory support. Starting in Tor
  3443. 0.3.0.1-alpha, clients have been avoiding using such relays in the
  3444. Guard position, leading to increasingly broken load balancing for
  3445. the 5%-or-so of Guards that don't advertise directory support.
  3446. Fixes bug 22310; bugfix on 0.3.0.6.
  3447. o Minor feature (continuous integration):
  3448. - Update the Travis CI configuration to use the stable Rust channel,
  3449. now that we have decided to require that. Closes ticket 25714.
  3450. o Minor features (config options):
  3451. - Change the way the default value for MaxMemInQueues is calculated.
  3452. We now use 40% of the hardware RAM if the system has 8 GB RAM or
  3453. more. Otherwise we use the former value of 75%. Closes
  3454. ticket 24782.
  3455. o Minor features (geoip):
  3456. - Update geoip and geoip6 to the April 3 2018 Maxmind GeoLite2
  3457. Country database. Closes ticket 25718.
  3458. o Minor bugfixes (client):
  3459. - When using a listed relay as a bridge, and also using
  3460. microdescriptors, and considering that relay as a non-bridge in a
  3461. circuit, treat its microdescriptor as a valid source of
  3462. information about that relay. This change should prevent a non-
  3463. fatal assertion error. Fixes bug 25691; bugfix on 0.3.3.4-alpha.
  3464. o Minor bugfixes (controller):
  3465. - Restore the correct operation of the RESOLVE command, which had
  3466. been broken since we added the ability to enable/disable DNS on
  3467. specific listener ports. Fixes bug 25617; bugfix on 0.2.9.3-alpha.
  3468. o Minor bugfixes (distribution, compilation, rust):
  3469. - Build correctly when the rust dependencies submodule is loaded,
  3470. but the TOR_RUST_DEPENDENCIES environment variable is not set.
  3471. Fixes bug 25679; bugfix on 0.3.3.1-alpha.
  3472. - Actually include all of our Rust source in our source
  3473. distributions. (Previously, a few of the files were accidentally
  3474. omitted.) Fixes bug 25732; bugfix on 0.3.3.2-alpha.
  3475. o Minor bugfixes (documentation):
  3476. - Document that the PerConnBW{Rate,Burst} options will fall back to
  3477. their corresponding consensus parameters only if those parameters
  3478. are set. Previously we had claimed that these values would always
  3479. be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
  3480. - Revert a misformatting issue in the ExitPolicy documentation.
  3481. Fixes bug 25582; bugfix on 0.3.3.1-alpha.
  3482. o Minor bugfixes (exit relay DNS retries):
  3483. - Re-attempt timed-out DNS queries 3 times before failure, since our
  3484. timeout is 5 seconds for them, but clients wait 10-15. Also allow
  3485. slightly more timeouts per resolver when an exit has multiple
  3486. resolvers configured. Fixes bug 21394; bugfix on 0.3.1.9.
  3487. o Minor bugfixes (onion services):
  3488. - Re-instate counting the client HSDir fetch circuits against the
  3489. MaxClientCircuitsPending rate limit. Fixes bug 24989; bugfix
  3490. on 0.3.3.1-alpha.
  3491. - Remove underscores from the _HSLayer{2,3}Nodes options. This
  3492. expert-user configuration can now be enabled as HSLayer{2,3}Nodes.
  3493. Fixes bug 25581; bugfix on 0.3.3.1-alpha
  3494. o Code simplification and refactoring:
  3495. - Move the list of default directory authorities to its own file.
  3496. Closes ticket 24854. Patch by "beastr0".
  3497. o Documentation (manpage, denial of service):
  3498. - Provide more detail about the denial-of-service options, by
  3499. listing each mitigation and explaining how they relate. Closes
  3500. ticket 25248.
  3501. Changes in version 0.3.3.4-alpha - 2018-03-29
  3502. Tor 0.3.3.4-alpha includes various bugfixes for issues found during
  3503. the alpha testing of earlier releases in its series. We are
  3504. approaching a stable 0.3.3.4-alpha release: more testing is welcome!
  3505. o New system requirements:
  3506. - When built with Rust, Tor now depends on version 0.2.39 of the
  3507. libc crate. Closes tickets 25310 and 25664.
  3508. o Major bugfixes (relay, connection):
  3509. - If we have failed to connect to a relay and received a connection
  3510. refused, timeout, or similar error (at the TCP level), do not try
  3511. that same address/port again for 60 seconds after the failure has
  3512. occurred. Fixes bug 24767; bugfix on 0.0.6.
  3513. o Minor features (geoip):
  3514. - Update geoip and geoip6 to the March 8 2018 Maxmind GeoLite2
  3515. Country database. Closes ticket 25469.
  3516. o Minor features (log messages):
  3517. - Improve log message in the out-of-memory handler to include
  3518. information about memory usage from the different compression
  3519. backends. Closes ticket 25372.
  3520. o Minor features (sandbox):
  3521. - Explicitly permit the poll() system call when the Linux
  3522. seccomp2-based sandbox is enabled: apparently, some versions of
  3523. libc use poll() when calling getpwnam(). Closes ticket 25313.
  3524. o Minor bugfixes (C correctness):
  3525. - Fix a very unlikely (impossible, we believe) null pointer
  3526. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  3527. Coverity; this is CID 1430932.
  3528. o Minor bugfixes (channel, client):
  3529. - Better identify client connection when reporting to the geoip
  3530. client cache. Fixes bug 24904; bugfix on 0.3.1.7.
  3531. o Minor bugfixes (compilation):
  3532. - Fix a C99 compliance issue in our configuration script that caused
  3533. compilation issues when compiling Tor with certain versions of
  3534. xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
  3535. o Minor bugfixes (controller, reliability):
  3536. - Avoid a (nonfatal) assertion failure when extending a one-hop
  3537. circuit from the controller to become a multihop circuit. Fixes
  3538. bug 24903; bugfix on 0.2.5.2-alpha.
  3539. o Major bugfixes (networking):
  3540. - Tor will no longer reject IPv6 address strings from Tor Browser
  3541. when they are passed as hostnames in SOCKS5 requests. Fixes bug
  3542. 25036, bugfix on Tor 0.3.1.2.
  3543. o Minor bugfixes (networking):
  3544. - string_is_valid_hostname() will not consider IP strings to be
  3545. valid hostnames. Fixes bug 25055; bugfix on Tor 0.2.5.5.
  3546. o Minor bugfixes (onion service v3):
  3547. - Avoid an assertion failure when the next onion service
  3548. descriptor rotation type is out of sync with the consensus's
  3549. valid-after time. Instead, log a warning message with extra
  3550. information, so we can better hunt down the cause of this
  3551. assertion. Fixes bug 25306; bugfix on 0.3.2.1-alpha.
  3552. o Minor bugfixes (testing):
  3553. - Avoid intermittent test failures due to a test that had relied on
  3554. onion service introduction point creation finishing within 5
  3555. seconds of real clock time. Fixes bug 25450; bugfix
  3556. on 0.3.1.3-alpha.
  3557. - Rust crates are now automatically detected and tested. Previously,
  3558. some crates were not tested by `make test-rust` due to a static
  3559. string in the `src/test/test_rust.sh` script specifying which
  3560. crates to test. Fixes bug 25560; bugfix on 0.3.3.3-alpha.
  3561. o Minor bugfixes (testing, benchmarks):
  3562. - Fix a crash when running benchmark tests on win32 systems. The
  3563. crash was due to a mutex that wasn't initialized before logging
  3564. and options were initialized. Fixes bug 25479; bugfix
  3565. on 0.3.3.3-alpha.
  3566. o Minor bugfixes (warnings, ipv6):
  3567. - Avoid a bug warning that could occur when trying to connect to a
  3568. relay over IPv6. This warning would occur on a Tor instance that
  3569. downloads router descriptors, but prefers to use microdescriptors.
  3570. Fixes bug 25213; bugfix on 0.3.3.1-alpha.
  3571. o Code simplification and refactoring:
  3572. - Remove the old (deterministic) directory retry logic entirely:
  3573. We've used exponential backoff exclusively for some time. Closes
  3574. ticket 23814.
  3575. o Documentation:
  3576. - Improved the documentation of AccountingStart parameter. Closes
  3577. ticket 23635.
  3578. - Update the documentation for "Log" to include the current list of
  3579. logging domains. Closes ticket 25378.
  3580. Changes in version 0.3.1.10 - 2018-03-03
  3581. Tor 0.3.1.10 backports a number of bugfixes, including important fixes for
  3582. security issues.
  3583. It includes an important security fix for a remote crash attack
  3584. against directory authorities, tracked as TROVE-2018-001.
  3585. This release also backports our new system for improved resistance to
  3586. denial-of-service attacks against relays.
  3587. This release also fixes several minor bugs and annoyances from
  3588. earlier releases.
  3589. All directory authorities should upgrade to one of the versions
  3590. released today. Relays running 0.3.1.x may wish to update to one of
  3591. the versions released today, for the DoS mitigations.
  3592. Please note: according to our release calendar, Tor 0.3.1 will no
  3593. longer be supported after 1 July 2018. If you will be running Tor
  3594. after that date, you should make sure to plan to upgrade to the latest
  3595. stable version, or downgrade to 0.2.9 (which will receive long-term
  3596. support).
  3597. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  3598. - Fix a protocol-list handling bug that could be used to remotely crash
  3599. directory authorities with a null-pointer exception. Fixes bug 25074;
  3600. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  3601. CVE-2018-0490.
  3602. o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
  3603. - Give relays some defenses against the recent network overload. We
  3604. start with three defenses (default parameters in parentheses).
  3605. First: if a single client address makes too many concurrent
  3606. connections (>100), hang up on further connections. Second: if a
  3607. single client address makes circuits too quickly (more than 3 per
  3608. second, with an allowed burst of 90) while also having too many
  3609. connections open (3), refuse new create cells for the next while
  3610. (1-2 hours). Third: if a client asks to establish a rendezvous
  3611. point to you directly, ignore the request. These defenses can be
  3612. manually controlled by new torrc options, but relays will also
  3613. take guidance from consensus parameters, so there's no need to
  3614. configure anything manually. Implements ticket 24902.
  3615. o Minor features (linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
  3616. - Update the sandbox rules so that they should now work correctly
  3617. with Glibc 2.26. Closes ticket 24315.
  3618. o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
  3619. - Fix an "off by 2" error in counting rendezvous failures on the
  3620. onion service side. While we thought we would stop the rendezvous
  3621. attempt after one failed circuit, we were actually making three
  3622. circuit attempts before giving up. Now switch to a default of 2,
  3623. and allow the consensus parameter "hs_service_max_rdv_failures" to
  3624. override. Fixes bug 24895; bugfix on 0.0.6.
  3625. o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
  3626. - Add Link protocol version 5 to the supported protocols list. Fixes
  3627. bug 25070; bugfix on 0.3.1.1-alpha.
  3628. o Major bugfixes (relay, backport from 0.3.3.1-alpha):
  3629. - Fix a set of false positives where relays would consider
  3630. connections to other relays as being client-only connections (and
  3631. thus e.g. deserving different link padding schemes) if those
  3632. relays fell out of the consensus briefly. Now we look only at the
  3633. initial handshake and whether the connection authenticated as a
  3634. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  3635. o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
  3636. - Make our OOM handler aware of the geoip client history cache so it
  3637. doesn't fill up the memory. This check is important for IPv6 and
  3638. our DoS mitigation subsystem. Closes ticket 25122.
  3639. o Minor feature (relay statistics, backport from 0.3.2.6-alpha):
  3640. - Change relay bandwidth reporting stats interval from 4 hours to 24
  3641. hours in order to reduce the efficiency of guard discovery
  3642. attacks. Fixes ticket 23856.
  3643. o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
  3644. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  3645. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  3646. since they neither disabled TLS 1.3 nor enabled any of the
  3647. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  3648. Closes ticket 24978.
  3649. o Minor features (fallback directory mirrors, backport from 0.3.2.9):
  3650. - The fallback directory list has been re-generated based on the
  3651. current status of the network. Tor uses fallback directories to
  3652. bootstrap when it doesn't yet have up-to-date directory
  3653. information. Closes ticket 24801.
  3654. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  3655. prefer to bootstrap from fallback directory mirrors. This is a
  3656. follow-up to 24679, which removed weights from the default
  3657. fallbacks. Implements ticket 24681.
  3658. o Minor features (geoip):
  3659. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  3660. Country database.
  3661. o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
  3662. - Use the actual observed address of an incoming relay connection,
  3663. not the canonical address of the relay from its descriptor, when
  3664. making decisions about how to handle the incoming connection.
  3665. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  3666. o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
  3667. - Directory authorities, when refusing a descriptor from a rejected
  3668. relay, now explicitly tell the relay (in its logs) to set a valid
  3669. ContactInfo address and contact the bad-relays@ mailing list.
  3670. Fixes bug 25170; bugfix on 0.2.9.1.
  3671. o Minor bugfixes (address selection, backport from 0.3.2.9):
  3672. - When the fascist_firewall_choose_address_ functions don't find a
  3673. reachable address, set the returned address to the null address
  3674. and port. This is a precautionary measure, because some callers do
  3675. not check the return value. Fixes bug 24736; bugfix
  3676. on 0.2.8.2-alpha.
  3677. o Major bugfixes (bootstrapping, backport from 0.3.2.5-alpha):
  3678. - Fetch descriptors aggressively whenever we lack enough to build
  3679. circuits, regardless of how many descriptors we are missing.
  3680. Previously, we would delay launching the fetch when we had fewer
  3681. than 15 missing descriptors, even if some of those descriptors
  3682. were blocking circuits from building. Fixes bug 23985; bugfix on
  3683. 0.1.1.11-alpha. The effects of this bug became worse in
  3684. 0.3.0.3-alpha, when we began treating missing descriptors from our
  3685. primary guards as a reason to delay circuits.
  3686. - Don't try fetching microdescriptors from relays that have failed
  3687. to deliver them in the past. Fixes bug 23817; bugfix
  3688. on 0.3.0.1-alpha.
  3689. o Minor bugfixes (compilation, backport from 0.3.2.7-rc):
  3690. - Fix a signed/unsigned comparison warning introduced by our fix to
  3691. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  3692. o Minor bugfixes (control port, linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
  3693. - Avoid a crash when attempting to use the seccomp2 sandbox together
  3694. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  3695. on 0.2.5.1-alpha.
  3696. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  3697. - Fix a possible crash on malformed consensus. If a consensus had
  3698. contained an unparseable protocol line, it could have made clients
  3699. and relays crash with a null-pointer exception. To exploit this
  3700. issue, however, an attacker would need to be able to subvert the
  3701. directory authority system. Fixes bug 25251; bugfix on
  3702. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  3703. o Minor bugfixes (directory cache, backport from 0.3.2.5-alpha):
  3704. - Recover better from empty or corrupt files in the consensus cache
  3705. directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
  3706. - When a consensus diff calculation is only partially successful,
  3707. only record the successful parts as having succeeded. Partial
  3708. success can happen if (for example) one compression method fails
  3709. but the others succeed. Previously we misrecorded all the
  3710. calculations as having succeeded, which would later cause a
  3711. nonfatal assertion failure. Fixes bug 24086; bugfix
  3712. on 0.3.1.1-alpha.
  3713. o Minor bugfixes (entry guards, backport from 0.3.2.3-alpha):
  3714. - Tor now updates its guard state when it reads a consensus
  3715. regardless of whether it's missing descriptors. That makes tor use
  3716. its primary guards to fetch descriptors in some edge cases where
  3717. it would previously have used fallback directories. Fixes bug
  3718. 23862; bugfix on 0.3.0.1-alpha.
  3719. o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
  3720. - Don't treat inability to store a cached consensus object as a bug:
  3721. it can happen normally when we are out of disk space. Fixes bug
  3722. 24859; bugfix on 0.3.1.1-alpha.
  3723. o Minor bugfixes (memory usage, backport from 0.3.2.8-rc):
  3724. - When queuing DESTROY cells on a channel, only queue the circuit-id
  3725. and reason fields: not the entire 514-byte cell. This fix should
  3726. help mitigate any bugs or attacks that fill up these queues, and
  3727. free more RAM for other uses. Fixes bug 24666; bugfix
  3728. on 0.2.5.1-alpha.
  3729. o Minor bugfixes (network layer, backport from 0.3.2.5-alpha):
  3730. - When closing a connection via close_connection_immediately(), we
  3731. mark it as "not blocked on bandwidth", to prevent later calls from
  3732. trying to unblock it, and give it permission to read. This fixes a
  3733. backtrace warning that can happen on relays under various
  3734. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  3735. o Minor bugfixes (path selection, backport from 0.3.2.4-alpha):
  3736. - When selecting relays by bandwidth, avoid a rounding error that
  3737. could sometimes cause load to be imbalanced incorrectly.
  3738. Previously, we would always round upwards; now, we round towards
  3739. the nearest integer. This had the biggest effect when a relay's
  3740. weight adjustments should have given it weight 0, but it got
  3741. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  3742. - When calculating the fraction of nodes that have descriptors, and
  3743. all nodes in the network have zero bandwidths, count the number of
  3744. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  3745. - Actually log the total bandwidth in compute_weighted_bandwidths().
  3746. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  3747. o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
  3748. - Improve the performance of our consensus-diff application code
  3749. when Tor is built with the --enable-fragile-hardening option set.
  3750. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  3751. o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
  3752. - Don't exit the Tor process if setrlimit() fails to change the file
  3753. limit (which can happen sometimes on some versions of OSX). Fixes
  3754. bug 21074; bugfix on 0.0.9pre5.
  3755. o Minor bugfixes (portability, msvc, backport from 0.3.2.9):
  3756. - Fix a bug in the bit-counting parts of our timing-wheel code on
  3757. MSVC. (Note that MSVC is still not a supported build platform, due
  3758. to cyptographic timing channel risks.) Fixes bug 24633; bugfix
  3759. on 0.2.9.1-alpha.
  3760. o Minor bugfixes (relay, partial backport):
  3761. - Make the internal channel_is_client() function look at what sort
  3762. of connection handshake the other side used, rather than whether
  3763. the other side ever sent a create_fast cell to us. Backports part
  3764. of the fixes from bugs 22805 and 24898.
  3765. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  3766. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  3767. 0.2.9.4-alpha.
  3768. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  3769. bugfix on 0.2.9.4-alpha.
  3770. o Code simplification and refactoring (backport from 0.3.3.3-alpha):
  3771. - Update the "rust dependencies" submodule to be a project-level
  3772. repository, rather than a user repository. Closes ticket 25323.
  3773. Changes in version 0.2.9.15 - 2018-03-03
  3774. Tor 0.2.9.15 backports important security and stability bugfixes from
  3775. later Tor releases.
  3776. It includes an important security fix for a remote crash attack
  3777. against directory authorities, tracked as TROVE-2018-001.
  3778. This release also backports our new system for improved resistance to
  3779. denial-of-service attacks against relays.
  3780. This release also fixes several minor bugs and annoyances from
  3781. earlier releases.
  3782. All directory authorities should upgrade to one of the versions
  3783. released today. Relays running 0.2.9.x may wish to update to one of
  3784. the versions released today, for the DoS mitigations.
  3785. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  3786. - Fix a protocol-list handling bug that could be used to remotely crash
  3787. directory authorities with a null-pointer exception. Fixes bug 25074;
  3788. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  3789. CVE-2018-0490.
  3790. o Major features (denial-of-service mitigation):
  3791. - Give relays some defenses against the recent network overload. We
  3792. start with three defenses (default parameters in parentheses).
  3793. First: if a single client address makes too many concurrent
  3794. connections (>100), hang up on further connections. Second: if a
  3795. single client address makes circuits too quickly (more than 3 per
  3796. second, with an allowed burst of 90) while also having too many
  3797. connections open (3), refuse new create cells for the next while
  3798. (1-2 hours). Third: if a client asks to establish a rendezvous
  3799. point to you directly, ignore the request. These defenses can be
  3800. manually controlled by new torrc options, but relays will also
  3801. take guidance from consensus parameters, so there's no need to
  3802. configure anything manually. Implements ticket 24902.
  3803. o Major bugfixes (bootstrapping):
  3804. - Fetch descriptors aggressively whenever we lack enough to build
  3805. circuits, regardless of how many descriptors we are missing.
  3806. Previously, we would delay launching the fetch when we had fewer
  3807. than 15 missing descriptors, even if some of those descriptors
  3808. were blocking circuits from building. Fixes bug 23985; bugfix on
  3809. 0.1.1.11-alpha. The effects of this bug became worse in
  3810. 0.3.0.3-alpha, when we began treating missing descriptors from our
  3811. primary guards as a reason to delay circuits.
  3812. o Major bugfixes (onion services, retry behavior):
  3813. - Fix an "off by 2" error in counting rendezvous failures on the
  3814. onion service side. While we thought we would stop the rendezvous
  3815. attempt after one failed circuit, we were actually making three
  3816. circuit attempts before giving up. Now switch to a default of 2,
  3817. and allow the consensus parameter "hs_service_max_rdv_failures" to
  3818. override. Fixes bug 24895; bugfix on 0.0.6.
  3819. o Minor feature (relay statistics):
  3820. - Change relay bandwidth reporting stats interval from 4 hours to 24
  3821. hours in order to reduce the efficiency of guard discovery
  3822. attacks. Fixes ticket 23856.
  3823. o Minor features (compatibility, OpenSSL):
  3824. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  3825. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  3826. since they neither disabled TLS 1.3 nor enabled any of the
  3827. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  3828. Closes ticket 24978.
  3829. o Minor features (denial-of-service avoidance):
  3830. - Make our OOM handler aware of the geoip client history cache so it
  3831. doesn't fill up the memory. This check is important for IPv6 and
  3832. our DoS mitigation subsystem. Closes ticket 25122.
  3833. o Minor features (fallback directory mirrors):
  3834. - The fallback directory list has been re-generated based on the
  3835. current status of the network. Tor uses fallback directories to
  3836. bootstrap when it doesn't yet have up-to-date directory
  3837. information. Closes ticket 24801.
  3838. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  3839. prefer to bootstrap from fallback directory mirrors. This is a
  3840. follow-up to 24679, which removed weights from the default
  3841. fallbacks. Implements ticket 24681.
  3842. o Minor features (geoip):
  3843. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  3844. Country database.
  3845. o Minor features (linux seccomp2 sandbox):
  3846. - Update the sandbox rules so that they should now work correctly
  3847. with Glibc 2.26. Closes ticket 24315.
  3848. o Minor bugfix (channel connection):
  3849. - Use the actual observed address of an incoming relay connection,
  3850. not the canonical address of the relay from its descriptor, when
  3851. making decisions about how to handle the incoming connection.
  3852. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  3853. o Minor bugfix (directory authority):
  3854. - Directory authorities, when refusing a descriptor from a rejected
  3855. relay, now explicitly tell the relay (in its logs) to set a valid
  3856. ContactInfo address and contact the bad-relays@ mailing list.
  3857. Fixes bug 25170; bugfix on 0.2.9.1.
  3858. o Minor bugfixes (address selection):
  3859. - When the fascist_firewall_choose_address_ functions don't find a
  3860. reachable address, set the returned address to the null address
  3861. and port. This is a precautionary measure, because some callers do
  3862. not check the return value. Fixes bug 24736; bugfix
  3863. on 0.2.8.2-alpha.
  3864. o Minor bugfixes (compilation):
  3865. - Fix a signed/unsigned comparison warning introduced by our fix to
  3866. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  3867. o Minor bugfixes (control port, linux seccomp2 sandbox):
  3868. - Avoid a crash when attempting to use the seccomp2 sandbox together
  3869. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  3870. on 0.2.5.1-alpha.
  3871. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  3872. - Fix a possible crash on malformed consensus. If a consensus had
  3873. contained an unparseable protocol line, it could have made clients
  3874. and relays crash with a null-pointer exception. To exploit this
  3875. issue, however, an attacker would need to be able to subvert the
  3876. directory authority system. Fixes bug 25251; bugfix on
  3877. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  3878. o Minor bugfixes (memory usage):
  3879. - When queuing DESTROY cells on a channel, only queue the circuit-id
  3880. and reason fields: not the entire 514-byte cell. This fix should
  3881. help mitigate any bugs or attacks that fill up these queues, and
  3882. free more RAM for other uses. Fixes bug 24666; bugfix
  3883. on 0.2.5.1-alpha.
  3884. o Minor bugfixes (network layer):
  3885. - When closing a connection via close_connection_immediately(), we
  3886. mark it as "not blocked on bandwidth", to prevent later calls from
  3887. trying to unblock it, and give it permission to read. This fixes a
  3888. backtrace warning that can happen on relays under various
  3889. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  3890. o Minor bugfixes (OSX):
  3891. - Don't exit the Tor process if setrlimit() fails to change the file
  3892. limit (which can happen sometimes on some versions of OSX). Fixes
  3893. bug 21074; bugfix on 0.0.9pre5.
  3894. o Minor bugfixes (path selection):
  3895. - When selecting relays by bandwidth, avoid a rounding error that
  3896. could sometimes cause load to be imbalanced incorrectly.
  3897. Previously, we would always round upwards; now, we round towards
  3898. the nearest integer. This had the biggest effect when a relay's
  3899. weight adjustments should have given it weight 0, but it got
  3900. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  3901. - When calculating the fraction of nodes that have descriptors, and
  3902. all nodes in the network have zero bandwidths, count the number of
  3903. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  3904. - Actually log the total bandwidth in compute_weighted_bandwidths().
  3905. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  3906. o Minor bugfixes (portability, msvc):
  3907. - Fix a bug in the bit-counting parts of our timing-wheel code on
  3908. MSVC. (Note that MSVC is still not a supported build platform, due
  3909. to cryptographic timing channel risks.) Fixes bug 24633; bugfix
  3910. on 0.2.9.1-alpha.
  3911. o Minor bugfixes (relay):
  3912. - Make the internal channel_is_client() function look at what sort
  3913. of connection handshake the other side used, rather than whether
  3914. the other side ever sent a create_fast cell to us. Backports part
  3915. of the fixes from bugs 22805 and 24898.
  3916. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  3917. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  3918. 0.2.9.4-alpha.
  3919. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  3920. bugfix on 0.2.9.4-alpha.
  3921. Changes in version 0.3.2.10 - 2018-03-03
  3922. Tor 0.3.2.10 is the second stable release in the 0.3.2 series. It
  3923. backports a number of bugfixes, including important fixes for security
  3924. issues.
  3925. It includes an important security fix for a remote crash attack
  3926. against directory authorities, tracked as TROVE-2018-001.
  3927. Additionally, it backports a fix for a bug whose severity we have
  3928. upgraded: Bug 24700, which was fixed in 0.3.3.2-alpha, can be remotely
  3929. triggered in order to crash relays with a use-after-free pattern. As
  3930. such, we are now tracking that bug as TROVE-2018-002 and
  3931. CVE-2018-0491, and backporting it to earlier releases. This bug
  3932. affected versions 0.3.2.1-alpha through 0.3.2.9, as well as version
  3933. 0.3.3.1-alpha.
  3934. This release also backports our new system for improved resistance to
  3935. denial-of-service attacks against relays.
  3936. This release also fixes several minor bugs and annoyances from
  3937. earlier releases.
  3938. Relays running 0.3.2.x SHOULD upgrade to one of the versions released
  3939. today, for the fix to TROVE-2018-002. Directory authorities should
  3940. also upgrade. (Relays on earlier versions might want to update too for
  3941. the DoS mitigations.)
  3942. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  3943. - Fix a protocol-list handling bug that could be used to remotely crash
  3944. directory authorities with a null-pointer exception. Fixes bug 25074;
  3945. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  3946. CVE-2018-0490.
  3947. o Major bugfixes (scheduler, KIST, denial-of-service, backport from 0.3.3.2-alpha):
  3948. - Avoid adding the same channel twice in the KIST scheduler pending
  3949. list, which could lead to remote denial-of-service use-after-free
  3950. attacks against relays. Fixes bug 24700; bugfix on 0.3.2.1-alpha.
  3951. o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
  3952. - Give relays some defenses against the recent network overload. We
  3953. start with three defenses (default parameters in parentheses).
  3954. First: if a single client address makes too many concurrent
  3955. connections (>100), hang up on further connections. Second: if a
  3956. single client address makes circuits too quickly (more than 3 per
  3957. second, with an allowed burst of 90) while also having too many
  3958. connections open (3), refuse new create cells for the next while
  3959. (1-2 hours). Third: if a client asks to establish a rendezvous
  3960. point to you directly, ignore the request. These defenses can be
  3961. manually controlled by new torrc options, but relays will also
  3962. take guidance from consensus parameters, so there's no need to
  3963. configure anything manually. Implements ticket 24902.
  3964. o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
  3965. - Fix an "off by 2" error in counting rendezvous failures on the
  3966. onion service side. While we thought we would stop the rendezvous
  3967. attempt after one failed circuit, we were actually making three
  3968. circuit attempts before giving up. Now switch to a default of 2,
  3969. and allow the consensus parameter "hs_service_max_rdv_failures" to
  3970. override. Fixes bug 24895; bugfix on 0.0.6.
  3971. - New-style (v3) onion services now obey the "max rendezvous circuit
  3972. attempts" logic. Previously they would make as many rendezvous
  3973. circuit attempts as they could fit in the MAX_REND_TIMEOUT second
  3974. window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
  3975. o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
  3976. - Add Link protocol version 5 to the supported protocols list. Fixes
  3977. bug 25070; bugfix on 0.3.1.1-alpha.
  3978. o Major bugfixes (relay, backport from 0.3.3.1-alpha):
  3979. - Fix a set of false positives where relays would consider
  3980. connections to other relays as being client-only connections (and
  3981. thus e.g. deserving different link padding schemes) if those
  3982. relays fell out of the consensus briefly. Now we look only at the
  3983. initial handshake and whether the connection authenticated as a
  3984. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  3985. o Major bugfixes (scheduler, consensus, backport from 0.3.3.2-alpha):
  3986. - The scheduler subsystem was failing to promptly notice changes in
  3987. consensus parameters, making it harder to switch schedulers
  3988. network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
  3989. o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
  3990. - Make our OOM handler aware of the geoip client history cache so it
  3991. doesn't fill up the memory. This check is important for IPv6 and
  3992. our DoS mitigation subsystem. Closes ticket 25122.
  3993. o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
  3994. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  3995. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  3996. since they neither disabled TLS 1.3 nor enabled any of the
  3997. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  3998. Closes ticket 24978.
  3999. o Minor features (geoip):
  4000. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  4001. Country database.
  4002. o Minor features (logging, diagnostic, backport from 0.3.3.2-alpha):
  4003. - When logging a failure to create an onion service's descriptor,
  4004. also log what the problem with the descriptor was. Diagnostic
  4005. for ticket 24972.
  4006. o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
  4007. - Use the actual observed address of an incoming relay connection,
  4008. not the canonical address of the relay from its descriptor, when
  4009. making decisions about how to handle the incoming connection.
  4010. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  4011. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  4012. - Fix a possible crash on malformed consensus. If a consensus had
  4013. contained an unparseable protocol line, it could have made clients
  4014. and relays crash with a null-pointer exception. To exploit this
  4015. issue, however, an attacker would need to be able to subvert the
  4016. directory authority system. Fixes bug 25251; bugfix on
  4017. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  4018. o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
  4019. - Directory authorities, when refusing a descriptor from a rejected
  4020. relay, now explicitly tell the relay (in its logs) to set a valid
  4021. ContactInfo address and contact the bad-relays@ mailing list.
  4022. Fixes bug 25170; bugfix on 0.2.9.1.
  4023. o Minor bugfixes (build, rust, backport from 0.3.3.1-alpha):
  4024. - When building with Rust on OSX, link against libresolv, to work
  4025. around the issue at https://github.com/rust-lang/rust/issues/46797.
  4026. Fixes bug 24652; bugfix on 0.3.1.1-alpha.
  4027. o Minor bugfixes (onion services, backport from 0.3.3.2-alpha):
  4028. - Remove a BUG() statement when a client fetches an onion descriptor
  4029. that has a lower revision counter than the one in its cache. This
  4030. can happen in normal circumstances due to HSDir desync. Fixes bug
  4031. 24976; bugfix on 0.3.2.1-alpha.
  4032. o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
  4033. - Don't treat inability to store a cached consensus object as a bug:
  4034. it can happen normally when we are out of disk space. Fixes bug
  4035. 24859; bugfix on 0.3.1.1-alpha.
  4036. o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
  4037. - Improve the performance of our consensus-diff application code
  4038. when Tor is built with the --enable-fragile-hardening option set.
  4039. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  4040. o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
  4041. - Don't exit the Tor process if setrlimit() fails to change the file
  4042. limit (which can happen sometimes on some versions of OSX). Fixes
  4043. bug 21074; bugfix on 0.0.9pre5.
  4044. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  4045. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  4046. 0.2.9.4-alpha.
  4047. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  4048. bugfix on 0.2.9.4-alpha.
  4049. o Minor bugfixes (testing, backport from 0.3.3.1-alpha):
  4050. - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
  4051. 25005; bugfix on 0.3.2.7-rc.
  4052. o Minor bugfixes (v3 onion services, backport from 0.3.3.2-alpha):
  4053. - Look at the "HSRend" protocol version, not the "HSDir" protocol
  4054. version, when deciding whether a consensus entry can support the
  4055. v3 onion service protocol as a rendezvous point. Fixes bug 25105;
  4056. bugfix on 0.3.2.1-alpha.
  4057. o Code simplification and refactoring (backport from 0.3.3.3-alpha):
  4058. - Update the "rust dependencies" submodule to be a project-level
  4059. repository, rather than a user repository. Closes ticket 25323.
  4060. o Documentation (backport from 0.3.3.1-alpha)
  4061. - Document that operators who run more than one relay or bridge are
  4062. expected to set MyFamily and ContactInfo correctly. Closes
  4063. ticket 24526.
  4064. Changes in version 0.3.3.3-alpha - 2018-03-03
  4065. Tor 0.3.3.3-alpha is the third alpha release for the 0.3.3.x series.
  4066. It includes an important security fix for a remote crash attack
  4067. against directory authorities tracked as TROVE-2018-001.
  4068. Additionally, with this release, we are upgrading the severity of a
  4069. bug fixed in 0.3.3.2-alpha. Bug 24700, which was fixed in
  4070. 0.3.3.2-alpha, can be remotely triggered in order to crash relays with
  4071. a use-after-free pattern. As such, we are now tracking that bug as
  4072. TROVE-2018-002 and CVE-2018-0491. This bug affected versions
  4073. 0.3.2.1-alpha through 0.3.2.9, as well as 0.3.3.1-alpha.
  4074. This release also fixes several minor bugs and annoyances from
  4075. earlier releases.
  4076. Relays running 0.3.2.x should upgrade to one of the versions released
  4077. today, for the fix to TROVE-2018-002. Directory authorities should
  4078. also upgrade. (Relays on earlier versions might want to update too for
  4079. the DoS mitigations.)
  4080. o Major bugfixes (denial-of-service, directory authority):
  4081. - Fix a protocol-list handling bug that could be used to remotely crash
  4082. directory authorities with a null-pointer exception. Fixes bug 25074;
  4083. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  4084. CVE-2018-0490.
  4085. o Minor features (compatibility, OpenSSL):
  4086. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  4087. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  4088. since they neither disabled TLS 1.3 nor enabled any of the
  4089. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  4090. Closes ticket 24978.
  4091. o Minor features (logging):
  4092. - Clarify the log messages produced when getrandom() or a related
  4093. entropy-generation mechanism gives an error. Closes ticket 25120.
  4094. o Minor features (testing):
  4095. - Add a "make test-rust" target to run the rust tests only. Closes
  4096. ticket 25071.
  4097. o Minor bugfixes (denial-of-service):
  4098. - Fix a possible crash on malformed consensus. If a consensus had
  4099. contained an unparseable protocol line, it could have made clients
  4100. and relays crash with a null-pointer exception. To exploit this
  4101. issue, however, an attacker would need to be able to subvert the
  4102. directory authority system. Fixes bug 25251; bugfix on
  4103. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  4104. o Minor bugfixes (DoS mitigation):
  4105. - Add extra safety checks when refilling the circuit creation bucket
  4106. to ensure we never set a value above the allowed maximum burst.
  4107. Fixes bug 25202; bugfix on 0.3.3.2-alpha.
  4108. - When a new consensus arrives, don't update our DoS-mitigation
  4109. parameters if we aren't a public relay. Fixes bug 25223; bugfix
  4110. on 0.3.3.2-alpha.
  4111. o Minor bugfixes (man page, SocksPort):
  4112. - Remove dead code from the old "SocksSocket" option, and rename
  4113. SocksSocketsGroupWritable to UnixSocksGroupWritable. The old option
  4114. still works, but is deprecated. Fixes bug 24343; bugfix on 0.2.6.3.
  4115. o Minor bugfixes (performance):
  4116. - Reduce the number of circuits that will be opened at once during
  4117. the circuit build timeout phase. This is done by increasing the
  4118. idle timeout to 3 minutes, and lowering the maximum number of
  4119. concurrent learning circuits to 10. Fixes bug 24769; bugfix
  4120. on 0.3.1.1-alpha.
  4121. o Minor bugfixes (spec conformance):
  4122. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  4123. 0.2.9.4-alpha.
  4124. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  4125. bugfix on 0.2.9.4-alpha.
  4126. o Minor bugfixes (spec conformance, rust):
  4127. - Resolve a denial-of-service issue caused by an infinite loop in
  4128. the rust protover code. Fixes bug 25250, bugfix on 0.3.3.1-alpha.
  4129. Also tracked as TROVE-2018-003.
  4130. o Code simplification and refactoring:
  4131. - Update the "rust dependencies" submodule to be a project-level
  4132. repository, rather than a user repository. Closes ticket 25323.
  4133. Changes in version 0.3.3.2-alpha - 2018-02-10
  4134. Tor 0.3.3.2-alpha is the second alpha in the 0.3.3.x series. It
  4135. introduces a mechanism to handle the high loads that many relay
  4136. operators have been reporting recently. It also fixes several bugs in
  4137. older releases. If this new code proves reliable, we plan to backport
  4138. it to older supported release series.
  4139. o Major features (denial-of-service mitigation):
  4140. - Give relays some defenses against the recent network overload. We
  4141. start with three defenses (default parameters in parentheses).
  4142. First: if a single client address makes too many concurrent
  4143. connections (>100), hang up on further connections. Second: if a
  4144. single client address makes circuits too quickly (more than 3 per
  4145. second, with an allowed burst of 90) while also having too many
  4146. connections open (3), refuse new create cells for the next while
  4147. (1-2 hours). Third: if a client asks to establish a rendezvous
  4148. point to you directly, ignore the request. These defenses can be
  4149. manually controlled by new torrc options, but relays will also
  4150. take guidance from consensus parameters, so there's no need to
  4151. configure anything manually. Implements ticket 24902.
  4152. o Major bugfixes (netflow padding):
  4153. - Stop adding unneeded channel padding right after we finish
  4154. flushing to a connection that has been trying to flush for many
  4155. seconds. Instead, treat all partial or complete flushes as
  4156. activity on the channel, which will defer the time until we need
  4157. to add padding. This fix should resolve confusing and scary log
  4158. messages like "Channel padding timeout scheduled 221453ms in the
  4159. past." Fixes bug 22212; bugfix on 0.3.1.1-alpha.
  4160. o Major bugfixes (protocol versions):
  4161. - Add Link protocol version 5 to the supported protocols list. Fixes
  4162. bug 25070; bugfix on 0.3.1.1-alpha.
  4163. o Major bugfixes (scheduler, consensus):
  4164. - The scheduler subsystem was failing to promptly notice changes in
  4165. consensus parameters, making it harder to switch schedulers
  4166. network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
  4167. o Minor features (denial-of-service avoidance):
  4168. - Make our OOM handler aware of the geoip client history cache so it
  4169. doesn't fill up the memory. This check is important for IPv6 and
  4170. our DoS mitigation subsystem. Closes ticket 25122.
  4171. o Minor features (directory authority):
  4172. - When directory authorities are unable to add signatures to a
  4173. pending consensus, log the reason why. Closes ticket 24849.
  4174. o Minor features (geoip):
  4175. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  4176. Country database.
  4177. o Minor features (logging, diagnostic):
  4178. - When logging a failure to create an onion service's descriptor,
  4179. also log what the problem with the descriptor was. Diagnostic for
  4180. ticket 24972.
  4181. o Minor bugfix (channel connection):
  4182. - Use the actual observed address of an incoming relay connection,
  4183. not the canonical address of the relay from its descriptor, when
  4184. making decisions about how to handle the incoming connection.
  4185. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  4186. o Minor bugfix (directory authority):
  4187. - Directory authorities, when refusing a descriptor from a rejected
  4188. relay, now explicitly tell the relay (in its logs) to set a valid
  4189. ContactInfo address and contact the bad-relays@ mailing list.
  4190. Fixes bug 25170; bugfix on 0.2.9.1.
  4191. o Minor bugfixes (all versions of Tor):
  4192. - Use the "misspell" tool to detect and fix typos throughout the
  4193. source code. Fixes bug 23650; bugfix on various versions of Tor.
  4194. Patch from Deepesh Pathak.
  4195. o Minor bugfixes (circuit, cannibalization):
  4196. - Don't cannibalize preemptively-built circuits if we no longer
  4197. recognize their first hop. This situation can happen if our Guard
  4198. relay went off the consensus after the circuit was created. Fixes
  4199. bug 24469; bugfix on 0.0.6.
  4200. o Minor bugfixes (correctness):
  4201. - Remove a nonworking, unnecessary check to see whether a circuit
  4202. hop's identity digest was set when the circuit failed. Fixes bug
  4203. 24927; bugfix on 0.2.4.4-alpha.
  4204. o Minor bugfixes (logging):
  4205. - Don't treat inability to store a cached consensus object as a bug:
  4206. it can happen normally when we are out of disk space. Fixes bug
  4207. 24859; bugfix on 0.3.1.1-alpha.
  4208. - Fix a (mostly harmless) race condition when invoking
  4209. LOG_PROTOCOL_WARN message from a subthread while the torrc options
  4210. are changing. Fixes bug 23954; bugfix on 0.1.1.9-alpha.
  4211. o Minor bugfixes (onion services):
  4212. - Remove a BUG() statement when a client fetches an onion descriptor
  4213. that has a lower revision counter than the one in its cache. This
  4214. can happen in normal circumstances due to HSDir desync. Fixes bug
  4215. 24976; bugfix on 0.3.2.1-alpha.
  4216. - If we are configured to offer a single onion service, don't log
  4217. long-term established one hop rendezvous points in the heartbeat.
  4218. Fixes bug 25116; bugfix on 0.2.9.6-rc.
  4219. o Minor bugfixes (performance):
  4220. - Avoid calling protocol_list_supports_protocol() from inside tight
  4221. loops when running with cached routerinfo_t objects. Instead,
  4222. summarize the relevant protocols as flags in the routerinfo_t, as
  4223. we do for routerstatus_t objects. This change simplifies our code
  4224. a little, and saves a large amount of short-term memory allocation
  4225. operations. Fixes bug 25008; bugfix on 0.2.9.4-alpha.
  4226. o Minor bugfixes (Rust FFI):
  4227. - Fix a minor memory leak which would happen whenever the C code
  4228. would call the Rust implementation of
  4229. protover_get_supported_protocols(). This was due to the C version
  4230. returning a static string, whereas the Rust version newly allocated
  4231. a CString to pass across the FFI boundary. Consequently, the C
  4232. code was not expecting to need to free() what it was given. Fixes
  4233. bug 25127; bugfix on 0.3.2.1-alpha.
  4234. o Minor bugfixes (scheduler, KIST):
  4235. - Avoid adding the same channel twice in the KIST scheduler pending
  4236. list, which would waste CPU cycles. Fixes bug 24700; bugfix
  4237. on 0.3.2.1-alpha.
  4238. o Minor bugfixes (unit test, monotonic time):
  4239. - Increase a constant (1msec to 10msec) in the monotonic time test
  4240. that makes sure the nsec/usec/msec times read are synchronized.
  4241. This change was needed to accommodate slow systems like armel or
  4242. when the clock_gettime() is not a VDSO on the running kernel.
  4243. Fixes bug 25113; bugfix on 0.2.9.1.
  4244. o Minor bugfixes (v3 onion services):
  4245. - Look at the "HSRend" protocol version, not the "HSDir" protocol
  4246. version, when deciding whether a consensus entry can support the
  4247. v3 onion service protocol as a rendezvous point. Fixes bug 25105;
  4248. bugfix on 0.3.2.1-alpha.
  4249. o Code simplification and refactoring:
  4250. - Remove the unused nodelist_recompute_all_hsdir_indices(). Closes
  4251. ticket 25108.
  4252. - Remove a series of counters used to track circuit extend attempts
  4253. and connection status but that in reality we aren't using for
  4254. anything other than stats logged by a SIGUSR1 signal. Closes
  4255. ticket 25163.
  4256. o Documentation (man page):
  4257. - The HiddenServiceVersion torrc option accepts only one number:
  4258. either version 2 or 3. Closes ticket 25026; bugfix
  4259. on 0.3.2.2-alpha.
  4260. Changes in version 0.3.3.1-alpha - 2018-01-25
  4261. Tor 0.3.3.1-alpha is the first release in the 0.3.3.x series. It adds
  4262. several new features to Tor, including several improvements to
  4263. bootstrapping, and support for an experimental "vanguards" feature to
  4264. resist guard discovery attacks. This series also includes better
  4265. support for applications that need to embed Tor or manage v3
  4266. onion services.
  4267. o Major features (embedding):
  4268. - There is now a documented stable API for programs that need to
  4269. embed Tor. See tor_api.h for full documentation and known bugs.
  4270. Closes ticket 23684.
  4271. - Tor now has support for restarting in the same process.
  4272. Controllers that run Tor using the "tor_api.h" interface can now
  4273. restart Tor after Tor has exited. This support is incomplete,
  4274. however: we fixed crash bugs that prevented it from working at
  4275. all, but many bugs probably remain, including a possibility of
  4276. security issues. Implements ticket 24581.
  4277. o Major features (IPv6, directory documents):
  4278. - Add consensus method 27, which adds IPv6 ORPorts to the microdesc
  4279. consensus. This information makes it easier for IPv6 clients to
  4280. bootstrap and choose reachable entry guards. Implements ticket 23826.
  4281. - Add consensus method 28, which removes IPv6 ORPorts from
  4282. microdescriptors. Now that the consensus contains IPv6 ORPorts, they
  4283. are redundant in microdescs. This change will be used by Tor clients
  4284. on 0.2.8.x and later. (That is to say, with all Tor clients that
  4285. have IPv6 bootstrap and guard support.) Implements ticket 23828.
  4286. - Expand the documentation for AuthDirHasIPv6Connectivity when it is
  4287. set by different numbers of authorities. Fixes 23870
  4288. on 0.2.4.1-alpha.
  4289. o Major features (onion service v3, control port):
  4290. - The control port now supports commands and events for v3 onion
  4291. services. It is now possible to create ephemeral v3 services using
  4292. ADD_ONION. Additionally, several events (HS_DESC, HS_DESC_CONTENT,
  4293. CIRC and CIRC_MINOR) and commands (GETINFO, HSPOST, ADD_ONION and
  4294. DEL_ONION) have been extended to support v3 onion services. Closes
  4295. ticket 20699; implements proposal 284.
  4296. o Major features (onion services):
  4297. - Provide torrc options to pin the second and third hops of onion
  4298. service circuits to a list of nodes. The option HSLayer2Guards
  4299. pins the second hop, and the option HSLayer3Guards pins the third
  4300. hop. These options are for use in conjunction with experiments
  4301. with "vanguards" for preventing guard enumeration attacks. Closes
  4302. ticket 13837.
  4303. o Major features (rust, portability, experimental):
  4304. - Tor now ships with an optional implementation of one of its
  4305. smaller modules (protover.c) in the Rust programming language. To
  4306. try it out, install a Rust build environment, and configure Tor
  4307. with "--enable-rust --enable-cargo-online-mode". This should not
  4308. cause any user-visible changes, but should help us gain more
  4309. experience with Rust, and plan future Rust integration work.
  4310. Implementation by Chelsea Komlo. Closes ticket 22840.
  4311. o Minor features (storage, configuration):
  4312. - Users can store cached directory documents somewhere other than
  4313. the DataDirectory by using the CacheDirectory option. Similarly,
  4314. the storage location for relay's keys can be overridden with the
  4315. KeyDirectory option. Closes ticket 22703.
  4316. o Major features (v3 onion services, ipv6):
  4317. - When v3 onion service clients send introduce cells, they now
  4318. include the IPv6 address of the rendezvous point, if it has one.
  4319. Current v3 onion services running 0.3.2 ignore IPv6 addresses, but
  4320. in future Tor versions, IPv6-only v3 single onion services will be
  4321. able to use IPv6 addresses to connect directly to the rendezvous
  4322. point. Closes ticket 23577. Patch by Neel Chauhan.
  4323. o Major bugfixes (onion services, retry behavior):
  4324. - Fix an "off by 2" error in counting rendezvous failures on the
  4325. onion service side. While we thought we would stop the rendezvous
  4326. attempt after one failed circuit, we were actually making three
  4327. circuit attempts before giving up. Now switch to a default of 2,
  4328. and allow the consensus parameter "hs_service_max_rdv_failures" to
  4329. override. Fixes bug 24895; bugfix on 0.0.6.
  4330. - New-style (v3) onion services now obey the "max rendezvous circuit
  4331. attempts" logic. Previously they would make as many rendezvous
  4332. circuit attempts as they could fit in the MAX_REND_TIMEOUT second
  4333. window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
  4334. o Major bugfixes (relays):
  4335. - Fix a set of false positives where relays would consider
  4336. connections to other relays as being client-only connections (and
  4337. thus e.g. deserving different link padding schemes) if those
  4338. relays fell out of the consensus briefly. Now we look only at the
  4339. initial handshake and whether the connection authenticated as a
  4340. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  4341. o Minor feature (IPv6):
  4342. - Make IPv6-only clients wait for microdescs for relays, even if we
  4343. were previously using descriptors (or were using them as a bridge)
  4344. and have a cached descriptor for them. Implements ticket 23827.
  4345. - When a consensus has IPv6 ORPorts, make IPv6-only clients use
  4346. them, rather than waiting to download microdescriptors.
  4347. Implements ticket 23827.
  4348. o Minor features (cleanup):
  4349. - Tor now deletes the CookieAuthFile and ExtORPortCookieAuthFile
  4350. when it stops. Closes ticket 23271.
  4351. o Minor features (defensive programming):
  4352. - Most of the functions in Tor that free objects have been replaced
  4353. with macros that free the objects and set the corresponding
  4354. pointers to NULL. This change should help prevent a large class of
  4355. dangling pointer bugs. Closes ticket 24337.
  4356. - Where possible, the tor_free() macro now only evaluates its input
  4357. once. Part of ticket 24337.
  4358. - Check that microdesc ed25519 ids are non-zero in
  4359. node_get_ed25519_id() before returning them. Implements ticket
  4360. 24001, patch by "aruna1234".
  4361. o Minor features (embedding):
  4362. - Tor can now start with a preauthenticated control connection
  4363. created by the process that launched it. This feature is meant for
  4364. use by programs that want to launch and manage a Tor process
  4365. without allowing other programs to manage it as well. For more
  4366. information, see the __OwningControllerFD option documented in
  4367. control-spec.txt. Closes ticket 23900.
  4368. - On most errors that would cause Tor to exit, it now tries to
  4369. return from the tor_main() function, rather than calling the
  4370. system exit() function. Most users won't notice a difference here,
  4371. but it should be significant for programs that run Tor inside
  4372. a separate thread: they should now be able to survive Tor's exit
  4373. conditions rather than having Tor shut down the entire process.
  4374. Closes ticket 23848.
  4375. - Applications that want to embed Tor can now tell Tor not to
  4376. register any of its own POSIX signal handlers, using the
  4377. __DisableSignalHandlers option. Closes ticket 24588.
  4378. o Minor features (fallback directory list):
  4379. - Avoid selecting fallbacks that change their IP addresses too
  4380. often. Select more fallbacks by ignoring the Guard flag, and
  4381. allowing lower cutoffs for the Running and V2Dir flags. Also allow
  4382. a lower bandwidth, and a higher number of fallbacks per operator
  4383. (5% of the list). Implements ticket 24785.
  4384. - Update the fallback whitelist and blacklist based on opt-ins and
  4385. relay changes. Closes tickets 22321, 24678, 22527, 24135,
  4386. and 24695.
  4387. o Minor features (fallback directory mirror configuration):
  4388. - Add a nickname to each fallback in a C comment. This makes it
  4389. easier for operators to find their relays, and allows stem to use
  4390. nicknames to identify fallbacks. Implements ticket 24600.
  4391. - Add a type and version header to the fallback directory mirror
  4392. file. Also add a delimiter to the end of each fallback entry. This
  4393. helps external parsers like stem and Relay Search. Implements
  4394. ticket 24725.
  4395. - Add an extrainfo cache flag for each fallback in a C comment. This
  4396. allows stem to use fallbacks to fetch extra-info documents, rather
  4397. than using authorities. Implements ticket 22759.
  4398. - Add the generateFallbackDirLine.py script for automatically
  4399. generating fallback directory mirror lines from relay fingerprints.
  4400. No more typos! Add the lookupFallbackDirContact.py script for
  4401. automatically looking up operator contact info from relay
  4402. fingerprints. Implements ticket 24706, patch by teor and atagar.
  4403. - Reject any fallback directory mirror that serves an expired
  4404. consensus. Implements ticket 20942, patch by "minik".
  4405. - Remove commas and equals signs from external string inputs to the
  4406. fallback list. This avoids format confusion attacks. Implements
  4407. ticket 24726.
  4408. - Remove the "weight=10" line from fallback directory mirror
  4409. entries. Ticket 24681 will maintain the current fallback weights
  4410. by changing Tor's default fallback weight to 10. Implements
  4411. ticket 24679.
  4412. - Stop logging excessive information about fallback netblocks.
  4413. Implements ticket 24791.
  4414. o Minor features (forward-compatibility):
  4415. - If a relay supports some link authentication protocol that we do
  4416. not recognize, then include that relay's ed25519 key when telling
  4417. other relays to extend to it. Previously, we treated future
  4418. versions as if they were too old to support ed25519 link
  4419. authentication. Closes ticket 20895.
  4420. o Minor features (heartbeat):
  4421. - Add onion service information to our heartbeat logs, displaying
  4422. stats about the activity of configured onion services. Closes
  4423. ticket 24896.
  4424. o Minor features (instrumentation, development):
  4425. - Add the MainloopStats option to allow developers to get
  4426. instrumentation information from the main event loop via the
  4427. heartbeat messages. We hope to use this to improve Tor's behavior
  4428. when it's trying to sleep. Closes ticket 24605.
  4429. o Minor features (log messages):
  4430. - Improve a warning message that happens when we fail to re-parse an
  4431. old router because of an expired certificate. Closes ticket 20020.
  4432. - Make the log more quantitative when we hit MaxMemInQueues
  4433. threshold exposing some values. Closes ticket 24501.
  4434. o Minor features (logging, android):
  4435. - Added support for the Android logging subsystem. Closes
  4436. ticket 24362.
  4437. o Minor features (performance):
  4438. - Support predictive circuit building for onion service circuits
  4439. with multiple layers of guards. Closes ticket 23101.
  4440. - Use stdatomic.h where available, rather than mutexes, to implement
  4441. atomic_counter_t. Closes ticket 23953.
  4442. o Minor features (performance, 32-bit):
  4443. - Improve performance on 32-bit systems by avoiding 64-bit division
  4444. when calculating the timestamp in milliseconds for channel padding
  4445. computations. Implements ticket 24613.
  4446. - Improve performance on 32-bit systems by avoiding 64-bit division
  4447. when timestamping cells and buffer chunks for OOM calculations.
  4448. Implements ticket 24374.
  4449. o Minor features (performance, OSX, iOS):
  4450. - Use the mach_approximate_time() function (when available) to
  4451. implement coarse monotonic time. Having a coarse time function
  4452. should avoid a large number of system calls, and improve
  4453. performance slightly, especially under load. Closes ticket 24427.
  4454. o Minor features (performance, windows):
  4455. - Improve performance on Windows Vista and Windows 7 by adjusting
  4456. TCP send window size according to the recommendation from
  4457. SIO_IDEAL_SEND_BACKLOG_QUERY. Closes ticket 22798. Patch
  4458. from Vort.
  4459. o Major features (relay):
  4460. - Implement an option, ReducedExitPolicy, to allow an Tor exit relay
  4461. operator to use a more reasonable ("reduced") exit policy, rather
  4462. than the default one. If you want to run an exit node without
  4463. thinking too hard about which ports to allow, this one is for you.
  4464. Closes ticket 13605. Patch from Neel Chauhan.
  4465. o Minor features (testing, debugging, embedding):
  4466. - For development purposes, Tor now has a mode in which it runs for
  4467. a few seconds, then stops, and starts again without exiting the
  4468. process. This mode is meant to help us debug various issues with
  4469. ticket 23847. To use this feature, compile with
  4470. --enable-restart-debugging, and set the TOR_DEBUG_RESTART
  4471. environment variable. This is expected to crash a lot, and is
  4472. really meant for developers only. It will likely be removed in a
  4473. future release. Implements ticket 24583.
  4474. o Minor bugfix (network IPv6 test):
  4475. - Tor's test scripts now check if "ping -6 ::1" works when the user
  4476. runs "make test-network-all". Fixes bug 24677; bugfix on
  4477. 0.2.9.3-alpha. Patch by "ffmancera".
  4478. o Minor bugfixes (build, rust):
  4479. - Fix output of autoconf checks to display success messages for Rust
  4480. dependencies and a suitable rustc compiler version. Fixes bug
  4481. 24612; bugfix on 0.3.1.3-alpha.
  4482. - When building with Rust on OSX, link against libresolv, to work
  4483. around the issue at https://github.com/rust-lang/rust/issues/46797.
  4484. Fixes bug 24652; bugfix on 0.3.1.1-alpha.
  4485. - Don't pass the --quiet option to cargo: it seems to suppress some
  4486. errors, which is not what we want to do when building. Fixes bug
  4487. 24518; bugfix on 0.3.1.7.
  4488. - Build correctly when building from outside Tor's source tree with
  4489. the TOR_RUST_DEPENDENCIES option set. Fixes bug 22768; bugfix
  4490. on 0.3.1.7.
  4491. o Minor bugfixes (directory authorities, IPv6):
  4492. - When creating a routerstatus (vote) from a routerinfo (descriptor),
  4493. set the IPv6 address to the unspecified IPv6 address, and
  4494. explicitly initialize the port to zero. Fixes bug 24488; bugfix
  4495. on 0.2.4.1-alpha.
  4496. o Minor bugfixes (fallback directory mirrors):
  4497. - Make updateFallbackDirs.py search harder for python. (Some OSs
  4498. don't put it in /usr/bin.) Fixes bug 24708; bugfix
  4499. on 0.2.8.1-alpha.
  4500. o Minor bugfixes (hibernation, bandwidth accounting, shutdown):
  4501. - When hibernating, close connections normally and allow them to
  4502. flush. Fixes bug 23571; bugfix on 0.2.4.7-alpha. Also fixes
  4503. bug 7267.
  4504. - Do not attempt to launch self-reachability tests when entering
  4505. hibernation. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
  4506. - Resolve several bugs related to descriptor fetching on bridge
  4507. clients with bandwidth accounting enabled. (This combination is
  4508. not recommended!) Fixes a case of bug 12062; bugfix
  4509. on 0.2.0.3-alpha.
  4510. - When hibernating, do not attempt to launch DNS checks. Fixes a
  4511. case of bug 12062; bugfix on 0.1.2.2-alpha.
  4512. - When hibernating, do not try to upload or download descriptors.
  4513. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
  4514. o Minor bugfixes (IPv6, bridges):
  4515. - Tor now always sets IPv6 preferences for bridges. Fixes bug 24573;
  4516. bugfix on 0.2.8.2-alpha.
  4517. - Tor now sets IPv6 address in the routerstatus as well as in the
  4518. router descriptors when updating addresses for a bridge. Closes
  4519. ticket 24572; bugfix on 0.2.4.5-alpha. Patch by "ffmancera".
  4520. o Minor bugfixes (linux seccomp2 sandbox):
  4521. - When running with the sandbox enabled, reload configuration files
  4522. correctly even when %include was used. Previously we would crash.
  4523. Fixes bug 22605; bugfix on 0.3.1. Patch from Daniel Pinto.
  4524. o Minor bugfixes (memory leaks):
  4525. - Avoid possible at-exit memory leaks related to use of Libevent's
  4526. event_base_once() function. (This function tends to leak memory if
  4527. the event_base is closed before the event fires.) Fixes bug 24584;
  4528. bugfix on 0.2.8.1-alpha.
  4529. - Fix a harmless memory leak in tor-resolve. Fixes bug 24582; bugfix
  4530. on 0.2.1.1-alpha.
  4531. o Minor bugfixes (OSX):
  4532. - Don't exit the Tor process if setrlimit() fails to change the file
  4533. limit (which can happen sometimes on some versions of OSX). Fixes
  4534. bug 21074; bugfix on 0.0.9pre5.
  4535. o Minor bugfixes (performance, fragile-hardening):
  4536. - Improve the performance of our consensus-diff application code
  4537. when Tor is built with the --enable-fragile-hardening option set.
  4538. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  4539. o Minor bugfixes (performance, timeouts):
  4540. - Consider circuits for timeout as soon as they complete a hop. This
  4541. is more accurate than applying the timeout in
  4542. circuit_expire_building() because that function is only called
  4543. once per second, which is now too slow for typical timeouts on the
  4544. current network. Fixes bug 23114; bugfix on 0.2.2.2-alpha.
  4545. - Use onion service circuits (and other circuits longer than 3 hops)
  4546. to calculate a circuit build timeout. Previously, Tor only
  4547. calculated its build timeout based on circuits that planned to be
  4548. exactly 3 hops long. With this change, we include measurements
  4549. from all circuits at the point where they complete their third
  4550. hop. Fixes bug 23100; bugfix on 0.2.2.2-alpha.
  4551. o Minor bugfixes (testing):
  4552. - Give out Exit flags in bootstrapping networks. Fixes bug 24137;
  4553. bugfix on 0.2.3.1-alpha.
  4554. - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
  4555. 25005; bugfix on 0.3.2.7-rc.
  4556. o Code simplification and refactoring:
  4557. - Remove /usr/athena from search path in configure.ac. Closes
  4558. ticket 24363.
  4559. - Remove duplicate code in node_has_curve25519_onion_key() and
  4560. node_get_curve25519_onion_key(), and add a check for a zero
  4561. microdesc curve25519 onion key. Closes ticket 23966, patch by
  4562. "aruna1234" and teor.
  4563. - Rewrite channel_rsa_id_group_set_badness to reduce temporary
  4564. memory allocations with large numbers of OR connections (e.g.
  4565. relays). Closes ticket 24119.
  4566. - Separate the function that deletes ephemeral files when Tor
  4567. stops gracefully.
  4568. - Small changes to Tor's buf_t API to make it suitable for use as a
  4569. general-purpose safe string constructor. Closes ticket 22342.
  4570. - Switch -Wnormalized=id to -Wnormalized=nfkc in configure.ac to
  4571. avoid source code identifier confusion. Closes ticket 24467.
  4572. - The tor_git_revision[] constant no longer needs to be redeclared
  4573. by everything that links against the rest of Tor. Done as part of
  4574. ticket 23845, to simplify our external API.
  4575. - We make extend_info_from_node() use node_get_curve25519_onion_key()
  4576. introduced in ticket 23577 to access the curve25519 public keys
  4577. rather than accessing it directly. Closes ticket 23760. Patch by
  4578. Neel Chauhan.
  4579. - Add a function to log channels' scheduler state changes to aid
  4580. debugging efforts. Closes ticket 24531.
  4581. o Documentation:
  4582. - Add documentation on how to build tor with Rust dependencies
  4583. without having to be online. Closes ticket 22907; bugfix
  4584. on 0.3.0.3-alpha.
  4585. - Clarify the behavior of RelayBandwidth{Rate,Burst} with client
  4586. traffic. Closes ticket 24318.
  4587. - Document that OutboundBindAddress doesn't apply to DNS requests.
  4588. Closes ticket 22145. Patch from Aruna Maurya.
  4589. - Document that operators who run more than one relay or bridge are
  4590. expected to set MyFamily and ContactInfo correctly. Closes
  4591. ticket 24526.
  4592. o Code simplification and refactoring (channels):
  4593. - Remove the incoming and outgoing channel queues. These were never
  4594. used, but still took up a step in our fast path.
  4595. - The majority of the channel unit tests have been rewritten and the
  4596. code coverage has now been raised to 83.6% for channel.c. Closes
  4597. ticket 23709.
  4598. - Remove other dead code from the channel subsystem: All together,
  4599. this cleanup has removed more than 1500 lines of code overall and
  4600. adding very little except for unit test.
  4601. o Code simplification and refactoring (circuit rendezvous):
  4602. - Split the client-side rendezvous circuit lookup into two
  4603. functions: one that returns only established circuits and another
  4604. that returns all kinds of circuits. Closes ticket 23459.
  4605. o Code simplification and refactoring (controller):
  4606. - Make most of the variables in networkstatus_getinfo_by_purpose()
  4607. const. Implements ticket 24489.
  4608. Changes in version 0.3.2.9 - 2018-01-09
  4609. Tor 0.3.2.9 is the first stable release in the 0.3.2 series.
  4610. The 0.3.2 series includes our long-anticipated new onion service
  4611. design, with numerous security features. (For more information, see
  4612. our blog post at https://blog.torproject.org/fall-harvest.) We also
  4613. have a new circuit scheduler algorithm for improved performance on
  4614. relays everywhere (see https://blog.torproject.org/kist-and-tell),
  4615. along with many smaller features and bugfixes.
  4616. Per our stable release policy, we plan to support each stable release
  4617. series for at least the next nine months, or for three months after
  4618. the first stable release of the next series: whichever is longer. If
  4619. you need a release with long-term support, we recommend that you stay
  4620. with the 0.2.9 series.
  4621. Below is a list of the changes since 0.3.2.8-rc. For a list of all
  4622. changes since 0.3.1, see the ReleaseNotes file.
  4623. o Minor features (fallback directory mirrors):
  4624. - The fallback directory list has been re-generated based on the
  4625. current status of the network. Tor uses fallback directories to
  4626. bootstrap when it doesn't yet have up-to-date directory
  4627. information. Closes ticket 24801.
  4628. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  4629. prefer to bootstrap from fallback directory mirrors. This is a
  4630. follow-up to 24679, which removed weights from the default
  4631. fallbacks. Implements ticket 24681.
  4632. o Minor features (geoip):
  4633. - Update geoip and geoip6 to the January 5 2018 Maxmind GeoLite2
  4634. Country database.
  4635. o Minor bugfixes (address selection):
  4636. - When the fascist_firewall_choose_address_ functions don't find a
  4637. reachable address, set the returned address to the null address
  4638. and port. This is a precautionary measure, because some callers do
  4639. not check the return value. Fixes bug 24736; bugfix
  4640. on 0.2.8.2-alpha.
  4641. o Minor bugfixes (compilation):
  4642. - Resolve a few shadowed-variable warnings in the onion service
  4643. code. Fixes bug 24634; bugfix on 0.3.2.1-alpha.
  4644. o Minor bugfixes (portability, msvc):
  4645. - Fix a bug in the bit-counting parts of our timing-wheel code on
  4646. MSVC. (Note that MSVC is still not a supported build platform, due
  4647. to cryptographic timing channel risks.) Fixes bug 24633; bugfix
  4648. on 0.2.9.1-alpha.
  4649. Changes in version 0.3.2.8-rc - 2017-12-21
  4650. Tor 0.3.2.8-rc fixes a pair of bugs in the KIST and KISTLite
  4651. schedulers that had led servers under heavy load to overload their
  4652. outgoing connections. All relay operators running earlier 0.3.2.x
  4653. versions should upgrade. This version also includes a mitigation for
  4654. over-full DESTROY queues leading to out-of-memory conditions: if it
  4655. works, we will soon backport it to earlier release series.
  4656. This is the second release candidate in the 0.3.2 series. If we find
  4657. no new bugs or regression here, then the first stable 0.3.2 release
  4658. will be nearly identical to this.
  4659. o Major bugfixes (KIST, scheduler):
  4660. - The KIST scheduler did not correctly account for data already
  4661. enqueued in each connection's send socket buffer, particularly in
  4662. cases when the TCP/IP congestion window was reduced between
  4663. scheduler calls. This situation lead to excessive per-connection
  4664. buffering in the kernel, and a potential memory DoS. Fixes bug
  4665. 24665; bugfix on 0.3.2.1-alpha.
  4666. o Minor features (geoip):
  4667. - Update geoip and geoip6 to the December 6 2017 Maxmind GeoLite2
  4668. Country database.
  4669. o Minor bugfixes (hidden service v3):
  4670. - Bump hsdir_spread_store parameter from 3 to 4 in order to increase
  4671. the probability of reaching a service for a client missing
  4672. microdescriptors. Fixes bug 24425; bugfix on 0.3.2.1-alpha.
  4673. o Minor bugfixes (memory usage):
  4674. - When queuing DESTROY cells on a channel, only queue the circuit-id
  4675. and reason fields: not the entire 514-byte cell. This fix should
  4676. help mitigate any bugs or attacks that fill up these queues, and
  4677. free more RAM for other uses. Fixes bug 24666; bugfix
  4678. on 0.2.5.1-alpha.
  4679. o Minor bugfixes (scheduler, KIST):
  4680. - Use a sane write limit for KISTLite when writing onto a connection
  4681. buffer instead of using INT_MAX and shoving as much as it can.
  4682. Because the OOM handler cleans up circuit queues, we are better
  4683. off at keeping them in that queue instead of the connection's
  4684. buffer. Fixes bug 24671; bugfix on 0.3.2.1-alpha.
  4685. Changes in version 0.3.2.7-rc - 2017-12-14
  4686. Tor 0.3.2.7-rc fixes various bugs in earlier versions of Tor,
  4687. including some that could affect reliability or correctness.
  4688. This is the first release candidate in the 0.3.2 series. If we find no
  4689. new bugs or regression here, then the first stable 0.3.2. release will
  4690. be nearly identical to this.
  4691. o Major bugfixes (circuit prediction):
  4692. - Fix circuit prediction logic so that a client doesn't treat a port
  4693. as being "handled" by a circuit if that circuit already has
  4694. isolation settings on it. This change should make Tor clients more
  4695. responsive by improving their chances of having a pre-created
  4696. circuit ready for use when a request arrives. Fixes bug 18859;
  4697. bugfix on 0.2.3.3-alpha.
  4698. o Minor features (logging):
  4699. - Provide better warnings when the getrandom() syscall fails. Closes
  4700. ticket 24500.
  4701. o Minor features (portability):
  4702. - Tor now compiles correctly on arm64 with libseccomp-dev installed.
  4703. (It doesn't yet work with the sandbox enabled.) Closes
  4704. ticket 24424.
  4705. o Minor bugfixes (bridge clients, bootstrap):
  4706. - Retry directory downloads when we get our first bridge descriptor
  4707. during bootstrap or while reconnecting to the network. Keep
  4708. retrying every time we get a bridge descriptor, until we have a
  4709. reachable bridge. Fixes part of bug 24367; bugfix on 0.2.0.3-alpha.
  4710. - Stop delaying bridge descriptor fetches when we have cached bridge
  4711. descriptors. Instead, only delay bridge descriptor fetches when we
  4712. have at least one reachable bridge. Fixes part of bug 24367;
  4713. bugfix on 0.2.0.3-alpha.
  4714. - Stop delaying directory fetches when we have cached bridge
  4715. descriptors. Instead, only delay bridge descriptor fetches when
  4716. all our bridges are definitely unreachable. Fixes part of bug
  4717. 24367; bugfix on 0.2.0.3-alpha.
  4718. o Minor bugfixes (compilation):
  4719. - Fix a signed/unsigned comparison warning introduced by our fix to
  4720. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  4721. o Minor bugfixes (correctness):
  4722. - Fix several places in our codebase where a C compiler would be
  4723. likely to eliminate a check, based on assuming that undefined
  4724. behavior had not happened elsewhere in the code. These cases are
  4725. usually a sign of redundant checking or dubious arithmetic. Found
  4726. by Georg Koppen using the "STACK" tool from Wang, Zeldovich,
  4727. Kaashoek, and Solar-Lezama. Fixes bug 24423; bugfix on various
  4728. Tor versions.
  4729. o Minor bugfixes (onion service v3):
  4730. - Fix a race where an onion service would launch a new intro circuit
  4731. after closing an old one, but fail to register it before freeing
  4732. the previously closed circuit. This bug was making the service
  4733. unable to find the established intro circuit and thus not upload
  4734. its descriptor, thus making a service unavailable for up to 24
  4735. hours. Fixes bug 23603; bugfix on 0.3.2.1-alpha.
  4736. o Minor bugfixes (scheduler, KIST):
  4737. - Properly set the scheduler state of an unopened channel in the
  4738. KIST scheduler main loop. This prevents a harmless but annoying
  4739. log warning. Fixes bug 24502; bugfix on 0.3.2.4-alpha.
  4740. - Avoid a possible integer overflow when computing the available
  4741. space on the TCP buffer of a channel. This had no security
  4742. implications; but could make KIST allow too many cells on a
  4743. saturated connection. Fixes bug 24590; bugfix on 0.3.2.1-alpha.
  4744. - Downgrade to "info" a harmless warning about the monotonic time
  4745. moving backwards: This can happen on platform not supporting
  4746. monotonic time. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
  4747. Changes in version 0.3.2.6-alpha - 2017-12-01
  4748. This version of Tor is the latest in the 0.3.2 alpha series. It
  4749. includes fixes for several important security issues. All Tor users
  4750. should upgrade to this release, or to one of the other releases coming
  4751. out today.
  4752. o Major bugfixes (security):
  4753. - Fix a denial of service bug where an attacker could use a
  4754. malformed directory object to cause a Tor instance to pause while
  4755. OpenSSL would try to read a passphrase from the terminal. (Tor
  4756. instances run without a terminal, which is the case for most Tor
  4757. packages, are not impacted.) Fixes bug 24246; bugfix on every
  4758. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  4759. Found by OSS-Fuzz as testcase 6360145429790720.
  4760. - Fix a denial of service issue where an attacker could crash a
  4761. directory authority using a malformed router descriptor. Fixes bug
  4762. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  4763. and CVE-2017-8820.
  4764. - When checking for replays in the INTRODUCE1 cell data for a
  4765. (legacy) onion service, correctly detect replays in the RSA-
  4766. encrypted part of the cell. We were previously checking for
  4767. replays on the entire cell, but those can be circumvented due to
  4768. the malleability of Tor's legacy hybrid encryption. This fix helps
  4769. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  4770. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  4771. and CVE-2017-8819.
  4772. o Major bugfixes (security, onion service v2):
  4773. - Fix a use-after-free error that could crash v2 Tor onion services
  4774. when they failed to open circuits while expiring introduction
  4775. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  4776. also tracked as TROVE-2017-013 and CVE-2017-8823.
  4777. o Major bugfixes (security, relay):
  4778. - When running as a relay, make sure that we never build a path
  4779. through ourselves, even in the case where we have somehow lost the
  4780. version of our descriptor appearing in the consensus. Fixes part
  4781. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  4782. as TROVE-2017-012 and CVE-2017-8822.
  4783. - When running as a relay, make sure that we never choose ourselves
  4784. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  4785. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  4786. o Minor feature (relay statistics):
  4787. - Change relay bandwidth reporting stats interval from 4 hours to 24
  4788. hours in order to reduce the efficiency of guard discovery
  4789. attacks. Fixes ticket 23856.
  4790. o Minor features (directory authority):
  4791. - Add an IPv6 address for the "bastet" directory authority. Closes
  4792. ticket 24394.
  4793. o Minor bugfixes (client):
  4794. - By default, do not enable storage of client-side DNS values. These
  4795. values were unused by default previously, but they should not have
  4796. been cached at all. Fixes bug 24050; bugfix on 0.2.6.3-alpha.
  4797. Changes in version 0.3.1.9 - 2017-12-01:
  4798. Tor 0.3.1.9 backports important security and stability fixes from the
  4799. 0.3.2 development series. All Tor users should upgrade to this
  4800. release, or to another of the releases coming out today.
  4801. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  4802. - Fix a denial of service bug where an attacker could use a
  4803. malformed directory object to cause a Tor instance to pause while
  4804. OpenSSL would try to read a passphrase from the terminal. (Tor
  4805. instances run without a terminal, which is the case for most Tor
  4806. packages, are not impacted.) Fixes bug 24246; bugfix on every
  4807. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  4808. Found by OSS-Fuzz as testcase 6360145429790720.
  4809. - Fix a denial of service issue where an attacker could crash a
  4810. directory authority using a malformed router descriptor. Fixes bug
  4811. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  4812. and CVE-2017-8820.
  4813. - When checking for replays in the INTRODUCE1 cell data for a
  4814. (legacy) onion service, correctly detect replays in the RSA-
  4815. encrypted part of the cell. We were previously checking for
  4816. replays on the entire cell, but those can be circumvented due to
  4817. the malleability of Tor's legacy hybrid encryption. This fix helps
  4818. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  4819. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  4820. and CVE-2017-8819.
  4821. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  4822. - Fix a use-after-free error that could crash v2 Tor onion services
  4823. when they failed to open circuits while expiring introduction
  4824. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  4825. also tracked as TROVE-2017-013 and CVE-2017-8823.
  4826. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  4827. - When running as a relay, make sure that we never build a path
  4828. through ourselves, even in the case where we have somehow lost the
  4829. version of our descriptor appearing in the consensus. Fixes part
  4830. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  4831. as TROVE-2017-012 and CVE-2017-8822.
  4832. - When running as a relay, make sure that we never choose ourselves
  4833. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  4834. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  4835. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  4836. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  4837. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  4838. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  4839. identifying and finding a workaround to this bug and to Moritz,
  4840. Arthur Edelstein, and Roger for helping to track it down and
  4841. analyze it.
  4842. o Minor features (bridge):
  4843. - Bridges now include notice in their descriptors that they are
  4844. bridges, and notice of their distribution status, based on their
  4845. publication settings. Implements ticket 18329. For more fine-
  4846. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  4847. or later.
  4848. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  4849. - Add an IPv6 address for the "bastet" directory authority. Closes
  4850. ticket 24394.
  4851. o Minor features (geoip):
  4852. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  4853. Country database.
  4854. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  4855. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  4856. relays, to prevent spurious address resolutions and descriptor
  4857. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  4858. bugfix on in 0.2.8.1-alpha.
  4859. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  4860. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  4861. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  4862. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  4863. - When a circuit is marked for close, do not attempt to package any
  4864. cells for channels on that circuit. Previously, we would detect
  4865. this condition lower in the call stack, when we noticed that the
  4866. circuit had no attached channel, and log an annoying message.
  4867. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  4868. o Minor bugfixes (onion service, backport from 0.3.2.5-alpha):
  4869. - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
  4870. so it matches dir-spec.txt. Fixes bug 24262; bugfix
  4871. on 0.3.1.1-alpha.
  4872. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  4873. - Avoid a crash when transitioning from client mode to bridge mode.
  4874. Previously, we would launch the worker threads whenever our
  4875. "public server" mode changed, but not when our "server" mode
  4876. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  4877. Changes in version 0.3.0.13 - 2017-12-01
  4878. Tor 0.3.0.13 backports important security and stability bugfixes from
  4879. later Tor releases. All Tor users should upgrade to this release, or
  4880. to another of the releases coming out today.
  4881. Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
  4882. 2018. If you need a release with long-term support, please stick with
  4883. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  4884. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  4885. - Fix a denial of service bug where an attacker could use a
  4886. malformed directory object to cause a Tor instance to pause while
  4887. OpenSSL would try to read a passphrase from the terminal. (Tor
  4888. instances run without a terminal, which is the case for most Tor
  4889. packages, are not impacted.) Fixes bug 24246; bugfix on every
  4890. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  4891. Found by OSS-Fuzz as testcase 6360145429790720.
  4892. - Fix a denial of service issue where an attacker could crash a
  4893. directory authority using a malformed router descriptor. Fixes bug
  4894. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  4895. and CVE-2017-8820.
  4896. - When checking for replays in the INTRODUCE1 cell data for a
  4897. (legacy) onion service, correctly detect replays in the RSA-
  4898. encrypted part of the cell. We were previously checking for
  4899. replays on the entire cell, but those can be circumvented due to
  4900. the malleability of Tor's legacy hybrid encryption. This fix helps
  4901. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  4902. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  4903. and CVE-2017-8819.
  4904. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  4905. - Fix a use-after-free error that could crash v2 Tor onion services
  4906. when they failed to open circuits while expiring introduction
  4907. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  4908. also tracked as TROVE-2017-013 and CVE-2017-8823.
  4909. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  4910. - When running as a relay, make sure that we never build a path
  4911. through ourselves, even in the case where we have somehow lost the
  4912. version of our descriptor appearing in the consensus. Fixes part
  4913. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  4914. as TROVE-2017-012 and CVE-2017-8822.
  4915. - When running as a relay, make sure that we never choose ourselves
  4916. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  4917. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  4918. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  4919. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  4920. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  4921. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  4922. identifying and finding a workaround to this bug and to Moritz,
  4923. Arthur Edelstein, and Roger for helping to track it down and
  4924. analyze it.
  4925. o Minor features (security, windows, backport from 0.3.1.1-alpha):
  4926. - Enable a couple of pieces of Windows hardening: one
  4927. (HeapEnableTerminationOnCorruption) that has been on-by-default
  4928. since Windows 8, and unavailable before Windows 7; and one
  4929. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  4930. affect us, but shouldn't do any harm. Closes ticket 21953.
  4931. o Minor features (bridge, backport from 0.3.1.9):
  4932. - Bridges now include notice in their descriptors that they are
  4933. bridges, and notice of their distribution status, based on their
  4934. publication settings. Implements ticket 18329. For more fine-
  4935. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  4936. or later.
  4937. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  4938. - Add an IPv6 address for the "bastet" directory authority. Closes
  4939. ticket 24394.
  4940. o Minor features (geoip):
  4941. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  4942. Country database.
  4943. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  4944. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  4945. relays, to prevent spurious address resolutions and descriptor
  4946. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  4947. bugfix on in 0.2.8.1-alpha.
  4948. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  4949. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  4950. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  4951. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  4952. - When a circuit is marked for close, do not attempt to package any
  4953. cells for channels on that circuit. Previously, we would detect
  4954. this condition lower in the call stack, when we noticed that the
  4955. circuit had no attached channel, and log an annoying message.
  4956. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  4957. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  4958. - Avoid a crash when transitioning from client mode to bridge mode.
  4959. Previously, we would launch the worker threads whenever our
  4960. "public server" mode changed, but not when our "server" mode
  4961. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  4962. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  4963. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  4964. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  4965. Changes in version 0.2.9.14 - 2017-12-01
  4966. Tor 0.3.0.13 backports important security and stability bugfixes from
  4967. later Tor releases. All Tor users should upgrade to this release, or
  4968. to another of the releases coming out today.
  4969. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  4970. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  4971. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  4972. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  4973. identifying and finding a workaround to this bug and to Moritz,
  4974. Arthur Edelstein, and Roger for helping to track it down and
  4975. analyze it.
  4976. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  4977. - Fix a denial of service bug where an attacker could use a
  4978. malformed directory object to cause a Tor instance to pause while
  4979. OpenSSL would try to read a passphrase from the terminal. (Tor
  4980. instances run without a terminal, which is the case for most Tor
  4981. packages, are not impacted.) Fixes bug 24246; bugfix on every
  4982. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  4983. Found by OSS-Fuzz as testcase 6360145429790720.
  4984. - Fix a denial of service issue where an attacker could crash a
  4985. directory authority using a malformed router descriptor. Fixes bug
  4986. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  4987. and CVE-2017-8820.
  4988. - When checking for replays in the INTRODUCE1 cell data for a
  4989. (legacy) onion service, correctly detect replays in the RSA-
  4990. encrypted part of the cell. We were previously checking for
  4991. replays on the entire cell, but those can be circumvented due to
  4992. the malleability of Tor's legacy hybrid encryption. This fix helps
  4993. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  4994. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  4995. and CVE-2017-8819.
  4996. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  4997. - Fix a use-after-free error that could crash v2 Tor onion services
  4998. when they failed to open circuits while expiring introduction
  4999. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  5000. also tracked as TROVE-2017-013 and CVE-2017-8823.
  5001. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  5002. - When running as a relay, make sure that we never build a path
  5003. through ourselves, even in the case where we have somehow lost the
  5004. version of our descriptor appearing in the consensus. Fixes part
  5005. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  5006. as TROVE-2017-012 and CVE-2017-8822.
  5007. o Minor features (bridge, backport from 0.3.1.9):
  5008. - Bridges now include notice in their descriptors that they are
  5009. bridges, and notice of their distribution status, based on their
  5010. publication settings. Implements ticket 18329. For more fine-
  5011. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  5012. or later.
  5013. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  5014. - Add an IPv6 address for the "bastet" directory authority. Closes
  5015. ticket 24394.
  5016. o Minor features (geoip):
  5017. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  5018. Country database.
  5019. o Minor features (security, windows, backport from 0.3.1.1-alpha):
  5020. - Enable a couple of pieces of Windows hardening: one
  5021. (HeapEnableTerminationOnCorruption) that has been on-by-default
  5022. since Windows 8, and unavailable before Windows 7; and one
  5023. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  5024. affect us, but shouldn't do any harm. Closes ticket 21953.
  5025. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  5026. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  5027. relays, to prevent spurious address resolutions and descriptor
  5028. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  5029. bugfix on in 0.2.8.1-alpha.
  5030. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  5031. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  5032. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  5033. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  5034. - When a circuit is marked for close, do not attempt to package any
  5035. cells for channels on that circuit. Previously, we would detect
  5036. this condition lower in the call stack, when we noticed that the
  5037. circuit had no attached channel, and log an annoying message.
  5038. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  5039. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  5040. - Avoid a crash when transitioning from client mode to bridge mode.
  5041. Previously, we would launch the worker threads whenever our
  5042. "public server" mode changed, but not when our "server" mode
  5043. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  5044. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  5045. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  5046. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  5047. Changes in version 0.2.8.17 - 2017-12-01
  5048. Tor 0.2.8.17 backports important security and stability bugfixes from
  5049. later Tor releases. All Tor users should upgrade to this release, or
  5050. to another of the releases coming out today.
  5051. Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
  5052. 2018. If you need a release with long-term support, please upgrade with
  5053. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  5054. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  5055. - Fix a denial of service bug where an attacker could use a
  5056. malformed directory object to cause a Tor instance to pause while
  5057. OpenSSL would try to read a passphrase from the terminal. (Tor
  5058. instances run without a terminal, which is the case for most Tor
  5059. packages, are not impacted.) Fixes bug 24246; bugfix on every
  5060. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  5061. Found by OSS-Fuzz as testcase 6360145429790720.
  5062. - When checking for replays in the INTRODUCE1 cell data for a
  5063. (legacy) onion service, correctly detect replays in the RSA-
  5064. encrypted part of the cell. We were previously checking for
  5065. replays on the entire cell, but those can be circumvented due to
  5066. the malleability of Tor's legacy hybrid encryption. This fix helps
  5067. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  5068. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  5069. and CVE-2017-8819.
  5070. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  5071. - Fix a use-after-free error that could crash v2 Tor onion services
  5072. when they failed to open circuits while expiring introduction
  5073. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  5074. also tracked as TROVE-2017-013 and CVE-2017-8823.
  5075. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  5076. - When running as a relay, make sure that we never build a path through
  5077. ourselves, even in the case where we have somehow lost the version of
  5078. our descriptor appearing in the consensus. Fixes part of bug 21534;
  5079. bugfix on 0.2.0.1-alpha. This issue is also tracked as TROVE-2017-012
  5080. and CVE-2017-8822.
  5081. o Minor features (bridge, backport from 0.3.1.9):
  5082. - Bridges now include notice in their descriptors that they are
  5083. bridges, and notice of their distribution status, based on their
  5084. publication settings. Implements ticket 18329. For more fine-
  5085. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  5086. or later.
  5087. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  5088. - Add an IPv6 address for the "bastet" directory authority. Closes
  5089. ticket 24394.
  5090. o Minor features (geoip):
  5091. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  5092. Country database.
  5093. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  5094. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  5095. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  5096. Changes in version 0.2.5.16 - 2017-12-01
  5097. Tor 0.2.5.13 backports important security and stability bugfixes from
  5098. later Tor releases. All Tor users should upgrade to this release, or
  5099. to another of the releases coming out today.
  5100. Note: the Tor 0.2.5 series will no longer be supported after 1 May
  5101. 2018. If you need a release with long-term support, please upgrade to
  5102. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  5103. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  5104. - Fix a denial of service bug where an attacker could use a
  5105. malformed directory object to cause a Tor instance to pause while
  5106. OpenSSL would try to read a passphrase from the terminal. (Tor
  5107. instances run without a terminal, which is the case for most Tor
  5108. packages, are not impacted.) Fixes bug 24246; bugfix on every
  5109. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  5110. Found by OSS-Fuzz as testcase 6360145429790720.
  5111. - When checking for replays in the INTRODUCE1 cell data for a
  5112. (legacy) onion service, correctly detect replays in the RSA-
  5113. encrypted part of the cell. We were previously checking for
  5114. replays on the entire cell, but those can be circumvented due to
  5115. the malleability of Tor's legacy hybrid encryption. This fix helps
  5116. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  5117. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  5118. and CVE-2017-8819.
  5119. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  5120. - When running as a relay, make sure that we never build a path
  5121. through ourselves, even in the case where we have somehow lost the
  5122. version of our descriptor appearing in the consensus. Fixes part
  5123. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  5124. as TROVE-2017-012 and CVE-2017-8822.
  5125. o Minor features (bridge, backport from 0.3.1.9):
  5126. - Bridges now include notice in their descriptors that they are
  5127. bridges, and notice of their distribution status, based on their
  5128. publication settings. Implements ticket 18329. For more fine-
  5129. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  5130. or later.
  5131. o Minor features (geoip):
  5132. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  5133. Country database.
  5134. Changes in version 0.3.2.5-alpha - 2017-11-22
  5135. Tor 0.3.2.5-alpha is the fifth alpha release in the 0.3.2.x series. It
  5136. fixes several stability and reliability bugs, including a fix for
  5137. intermittent bootstrapping failures that some people have been seeing
  5138. since the 0.3.0.x series.
  5139. Please test this alpha out -- many of these fixes will soon be
  5140. backported to stable Tor versions if no additional bugs are found
  5141. in them.
  5142. o Major bugfixes (bootstrapping):
  5143. - Fetch descriptors aggressively whenever we lack enough to build
  5144. circuits, regardless of how many descriptors we are missing.
  5145. Previously, we would delay launching the fetch when we had fewer
  5146. than 15 missing descriptors, even if some of those descriptors
  5147. were blocking circuits from building. Fixes bug 23985; bugfix on
  5148. 0.1.1.11-alpha. The effects of this bug became worse in
  5149. 0.3.0.3-alpha, when we began treating missing descriptors from our
  5150. primary guards as a reason to delay circuits.
  5151. - Don't try fetching microdescriptors from relays that have failed
  5152. to deliver them in the past. Fixes bug 23817; bugfix
  5153. on 0.3.0.1-alpha.
  5154. o Minor features (directory authority):
  5155. - Make the "Exit" flag assignment only depend on whether the exit
  5156. policy allows connections to ports 80 and 443. Previously relays
  5157. would get the Exit flag if they allowed connections to one of
  5158. these ports and also port 6667. Resolves ticket 23637.
  5159. o Minor features (geoip):
  5160. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  5161. Country database.
  5162. o Minor features (linux seccomp2 sandbox):
  5163. - Update the sandbox rules so that they should now work correctly
  5164. with Glibc 2.26. Closes ticket 24315.
  5165. o Minor features (logging):
  5166. - Downgrade a pair of log messages that could occur when an exit's
  5167. resolver gave us an unusual (but not forbidden) response. Closes
  5168. ticket 24097.
  5169. - Improve the message we log when re-enabling circuit build timeouts
  5170. after having received a consensus. Closes ticket 20963.
  5171. o Minor bugfixes (compilation):
  5172. - Fix a memory leak warning in one of the libevent-related
  5173. configuration tests that could occur when manually specifying
  5174. -fsanitize=address. Fixes bug 24279; bugfix on 0.3.0.2-alpha.
  5175. Found and patched by Alex Xu.
  5176. - When detecting OpenSSL on Windows from our configure script, make
  5177. sure to try linking with the ws2_32 library. Fixes bug 23783;
  5178. bugfix on 0.3.2.2-alpha.
  5179. o Minor bugfixes (control port, linux seccomp2 sandbox):
  5180. - Avoid a crash when attempting to use the seccomp2 sandbox together
  5181. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  5182. on 0.2.5.1-alpha.
  5183. o Minor bugfixes (control port, onion services):
  5184. - Report "FAILED" instead of "UPLOAD_FAILED" "FAILED" for the
  5185. HS_DESC event when a service is not able to upload a descriptor.
  5186. Fixes bug 24230; bugfix on 0.2.7.1-alpha.
  5187. o Minor bugfixes (directory cache):
  5188. - Recover better from empty or corrupt files in the consensus cache
  5189. directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
  5190. - When a consensus diff calculation is only partially successful,
  5191. only record the successful parts as having succeeded. Partial
  5192. success can happen if (for example) one compression method fails
  5193. but the others succeed. Previously we misrecorded all the
  5194. calculations as having succeeded, which would later cause a
  5195. nonfatal assertion failure. Fixes bug 24086; bugfix
  5196. on 0.3.1.1-alpha.
  5197. o Minor bugfixes (logging):
  5198. - Only log once if we notice that KIST support is gone. Fixes bug
  5199. 24158; bugfix on 0.3.2.1-alpha.
  5200. - Suppress a log notice when relay descriptors arrive. We already
  5201. have a bootstrap progress for this so no need to log notice
  5202. everytime tor receives relay descriptors. Microdescriptors behave
  5203. the same. Fixes bug 23861; bugfix on 0.2.8.2-alpha.
  5204. o Minor bugfixes (network layer):
  5205. - When closing a connection via close_connection_immediately(), we
  5206. mark it as "not blocked on bandwidth", to prevent later calls from
  5207. trying to unblock it, and give it permission to read. This fixes a
  5208. backtrace warning that can happen on relays under various
  5209. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  5210. o Minor bugfixes (onion services):
  5211. - The introduction circuit was being timed out too quickly while
  5212. waiting for the rendezvous circuit to complete. Keep the intro
  5213. circuit around longer instead of timing out and reopening new ones
  5214. constantly. Fixes bug 23681; bugfix on 0.2.4.8-alpha.
  5215. - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
  5216. so it matches dir-spec.txt. Fixes bug 24262; bugfix
  5217. on 0.3.1.1-alpha.
  5218. - Silence a warning about failed v3 onion descriptor uploads that
  5219. can happen naturally under certain edge cases. Fixes part of bug
  5220. 23662; bugfix on 0.3.2.1-alpha.
  5221. o Minor bugfixes (tests):
  5222. - Fix a memory leak in one of the bridge-distribution test cases.
  5223. Fixes bug 24345; bugfix on 0.3.2.3-alpha.
  5224. - Fix a bug in our fuzzing mock replacement for crypto_pk_checksig(),
  5225. to correctly handle cases where a caller gives it an RSA key of
  5226. under 160 bits. (This is not actually a bug in Tor itself, but
  5227. rather in our fuzzing code.) Fixes bug 24247; bugfix on
  5228. 0.3.0.3-alpha. Found by OSS-Fuzz as issue 4177.
  5229. o Documentation:
  5230. - Add notes in man page regarding OS support for the various
  5231. scheduler types. Attempt to use less jargon in the scheduler
  5232. section. Closes ticket 24254.
  5233. Changes in version 0.3.2.4-alpha - 2017-11-08
  5234. Tor 0.3.2.4-alpha is the fourth alpha release in the 0.3.2.x series.
  5235. It fixes several stability and reliability bugs, especially including
  5236. a major reliability issue that has been plaguing fast exit relays in
  5237. recent months.
  5238. o Major bugfixes (exit relays, DNS):
  5239. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  5240. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  5241. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  5242. identifying and finding a workaround to this bug and to Moritz,
  5243. Arthur Edelstein, and Roger for helping to track it down and
  5244. analyze it.
  5245. o Major bugfixes (scheduler, channel):
  5246. - Stop processing scheduled channels if they closed while flushing
  5247. cells. This can happen if the write on the connection fails
  5248. leading to the channel being closed while in the scheduler loop.
  5249. Fixes bug 23751; bugfix on 0.3.2.1-alpha.
  5250. o Minor features (logging, scheduler):
  5251. - Introduce a SCHED_BUG() function to log extra information about
  5252. the scheduler state if we ever catch a bug in the scheduler.
  5253. Closes ticket 23753.
  5254. o Minor features (removed deprecations):
  5255. - The ClientDNSRejectInternalAddresses flag can once again be set in
  5256. non-testing Tor networks, so long as they do not use the default
  5257. directory authorities. This change also removes the deprecation of
  5258. this flag from 0.2.9.2-alpha. Closes ticket 21031.
  5259. o Minor features (testing):
  5260. - Our fuzzing tests now test the encrypted portions of v3 onion
  5261. service descriptors. Implements more of 21509.
  5262. o Minor bugfixes (directory client):
  5263. - On failure to download directory information, delay retry attempts
  5264. by a random amount based on the "decorrelated jitter" algorithm.
  5265. Our previous delay algorithm tended to produce extra-long delays
  5266. too easily. Fixes bug 23816; bugfix on 0.2.9.1-alpha.
  5267. o Minor bugfixes (IPv6, v3 single onion services):
  5268. - Remove buggy code for IPv6-only v3 single onion services, and
  5269. reject attempts to configure them. This release supports IPv4,
  5270. dual-stack, and IPv6-only v3 onion services; and IPv4 and dual-
  5271. stack v3 single onion services. Fixes bug 23820; bugfix
  5272. on 0.3.2.1-alpha.
  5273. o Minor bugfixes (logging, relay):
  5274. - Give only a protocol warning when the ed25519 key is not
  5275. consistent between the descriptor and microdescriptor of a relay.
  5276. This can happen, for instance, if the relay has been flagged
  5277. NoEdConsensus. Fixes bug 24025; bugfix on 0.3.2.1-alpha.
  5278. o Minor bugfixes (manpage, onion service):
  5279. - Document that the HiddenServiceNumIntroductionPoints option is
  5280. 0-10 for v2 services and 0-20 for v3 services. Fixes bug 24115;
  5281. bugfix on 0.3.2.1-alpha.
  5282. o Minor bugfixes (memory leaks):
  5283. - Fix a minor memory leak at exit in the KIST scheduler. This bug
  5284. should have no user-visible impact. Fixes bug 23774; bugfix
  5285. on 0.3.2.1-alpha.
  5286. - Fix a memory leak when decrypting a badly formatted v3 onion
  5287. service descriptor. Fixes bug 24150; bugfix on 0.3.2.1-alpha.
  5288. Found by OSS-Fuzz; this is OSS-Fuzz issue 3994.
  5289. o Minor bugfixes (onion services):
  5290. - Cache some needed onion service client information instead of
  5291. constantly computing it over and over again. Fixes bug 23623;
  5292. bugfix on 0.3.2.1-alpha.
  5293. - Properly retry HSv3 descriptor fetches when missing required
  5294. directory information. Fixes bug 23762; bugfix on 0.3.2.1-alpha.
  5295. o Minor bugfixes (path selection):
  5296. - When selecting relays by bandwidth, avoid a rounding error that
  5297. could sometimes cause load to be imbalanced incorrectly.
  5298. Previously, we would always round upwards; now, we round towards
  5299. the nearest integer. This had the biggest effect when a relay's
  5300. weight adjustments should have given it weight 0, but it got
  5301. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  5302. - When calculating the fraction of nodes that have descriptors, and
  5303. all nodes in the network have zero bandwidths, count the number of
  5304. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  5305. - Actually log the total bandwidth in compute_weighted_bandwidths().
  5306. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  5307. o Minor bugfixes (relay, crash):
  5308. - Avoid a crash when transitioning from client mode to bridge mode.
  5309. Previously, we would launch the worker threads whenever our
  5310. "public server" mode changed, but not when our "server" mode
  5311. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  5312. o Minor bugfixes (testing):
  5313. - Fix a spurious fuzzing-only use of an uninitialized value. Found
  5314. by Brian Carpenter. Fixes bug 24082; bugfix on 0.3.0.3-alpha.
  5315. - Test that IPv6-only clients can use microdescriptors when running
  5316. "make test-network-all". Requires chutney master 61c28b9 or later.
  5317. Closes ticket 24109.
  5318. Changes in version 0.3.2.3-alpha - 2017-10-27
  5319. Tor 0.3.2.3-alpha is the third release in the 0.3.2 series. It fixes
  5320. numerous small bugs in earlier versions of 0.3.2.x, and adds a new
  5321. directory authority, Bastet.
  5322. o Directory authority changes:
  5323. - Add "Bastet" as a ninth directory authority to the default list.
  5324. Closes ticket 23910.
  5325. - The directory authority "Longclaw" has changed its IP address.
  5326. Closes ticket 23592.
  5327. o Minor features (bridge):
  5328. - Bridge relays can now set the BridgeDistribution config option to
  5329. add a "bridge-distribution-request" line to their bridge
  5330. descriptor, which tells BridgeDB how they'd like their bridge
  5331. address to be given out. (Note that as of Oct 2017, BridgeDB does
  5332. not yet implement this feature.) As a side benefit, this feature
  5333. provides a way to distinguish bridge descriptors from non-bridge
  5334. descriptors. Implements tickets 18329.
  5335. o Minor features (client, entry guards):
  5336. - Improve log messages when missing descriptors for primary guards.
  5337. Resolves ticket 23670.
  5338. o Minor features (geoip):
  5339. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  5340. Country database.
  5341. o Minor bugfixes (bridge):
  5342. - Overwrite the bridge address earlier in the process of retrieving
  5343. its descriptor, to make sure we reach it on the configured
  5344. address. Fixes bug 20532; bugfix on 0.2.0.10-alpha.
  5345. o Minor bugfixes (documentation):
  5346. - Document better how to read gcov, and what our gcov postprocessing
  5347. scripts do. Fixes bug 23739; bugfix on 0.2.9.1-alpha.
  5348. o Minor bugfixes (entry guards):
  5349. - Tor now updates its guard state when it reads a consensus
  5350. regardless of whether it's missing descriptors. That makes tor use
  5351. its primary guards to fetch descriptors in some edge cases where
  5352. it would previously have used fallback directories. Fixes bug
  5353. 23862; bugfix on 0.3.0.1-alpha.
  5354. o Minor bugfixes (hidden service client):
  5355. - When handling multiple SOCKS request for the same .onion address,
  5356. only fetch the service descriptor once.
  5357. - When a descriptor fetch fails with a non-recoverable error, close
  5358. all pending SOCKS requests for that .onion. Fixes bug 23653;
  5359. bugfix on 0.3.2.1-alpha.
  5360. o Minor bugfixes (hidden service):
  5361. - Always regenerate missing hidden service public key files. Prior
  5362. to this, if the public key was deleted from disk, it wouldn't get
  5363. recreated. Fixes bug 23748; bugfix on 0.3.2.2-alpha. Patch
  5364. from "cathugger".
  5365. - Make sure that we have a usable ed25519 key when the intro point
  5366. relay supports ed25519 link authentication. Fixes bug 24002;
  5367. bugfix on 0.3.2.1-alpha.
  5368. o Minor bugfixes (hidden service, v2):
  5369. - When reloading configured hidden services, copy all information
  5370. from the old service object. Previously, some data was omitted,
  5371. causing delays in descriptor upload, and other bugs. Fixes bug
  5372. 23790; bugfix on 0.2.1.9-alpha.
  5373. o Minor bugfixes (memory safety, defensive programming):
  5374. - Clear the target address when node_get_prim_orport() returns
  5375. early. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  5376. o Minor bugfixes (relay):
  5377. - Avoid a BUG warning when receiving a dubious CREATE cell while an
  5378. option transition is in progress. Fixes bug 23952; bugfix
  5379. on 0.3.2.1-alpha.
  5380. o Minor bugfixes (testing):
  5381. - Adjust the GitLab CI configuration to more closely match that of
  5382. Travis CI. Fixes bug 23757; bugfix on 0.3.2.2-alpha.
  5383. - Prevent scripts/test/coverage from attempting to move gcov output
  5384. to the root directory. Fixes bug 23741; bugfix on 0.2.5.1-alpha.
  5385. - When running unit tests as root, skip a test that would fail
  5386. because it expects a permissions error. This affects some
  5387. continuous integration setups. Fixes bug 23758; bugfix
  5388. on 0.3.2.2-alpha.
  5389. - Stop unconditionally mirroring the tor repository in GitLab CI.
  5390. This prevented developers from enabling GitLab CI on master. Fixes
  5391. bug 23755; bugfix on 0.3.2.2-alpha.
  5392. - Fix the hidden service v3 descriptor decoding fuzzing to use the
  5393. latest decoding API correctly. Fixes bug 21509; bugfix
  5394. on 0.3.2.1-alpha.
  5395. o Minor bugfixes (warnings):
  5396. - When we get an HTTP request on a SOCKS port, tell the user about
  5397. the new HTTPTunnelPort option. Previously, we would give a "Tor is
  5398. not an HTTP Proxy" message, which stopped being true when
  5399. HTTPTunnelPort was introduced. Fixes bug 23678; bugfix
  5400. on 0.3.2.1-alpha.
  5401. Changes in version 0.2.5.15 - 2017-10-25
  5402. Tor 0.2.5.15 backports a collection of bugfixes from later Tor release
  5403. series. It also adds a new directory authority, Bastet.
  5404. Note: the Tor 0.2.5 series will no longer be supported after 1 May
  5405. 2018. If you need a release with long-term support, please upgrade to
  5406. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  5407. o Directory authority changes:
  5408. - Add "Bastet" as a ninth directory authority to the default list.
  5409. Closes ticket 23910.
  5410. - The directory authority "Longclaw" has changed its IP address.
  5411. Closes ticket 23592.
  5412. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  5413. - Avoid an assertion failure bug affecting our implementation of
  5414. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  5415. handling of "0xx" differs from what we had expected. Fixes bug
  5416. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  5417. o Minor features (geoip):
  5418. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  5419. Country database.
  5420. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  5421. - Fix a memset() off the end of an array when packing cells. This
  5422. bug should be harmless in practice, since the corrupted bytes are
  5423. still in the same structure, and are always padding bytes,
  5424. ignored, or immediately overwritten, depending on compiler
  5425. behavior. Nevertheless, because the memset()'s purpose is to make
  5426. sure that any other cell-handling bugs can't expose bytes to the
  5427. network, we need to fix it. Fixes bug 22737; bugfix on
  5428. 0.2.4.11-alpha. Fixes CID 1401591.
  5429. o Build features (backport from 0.3.1.5-alpha):
  5430. - Tor's repository now includes a Travis Continuous Integration (CI)
  5431. configuration file (.travis.yml). This is meant to help new
  5432. developers and contributors who fork Tor to a Github repository be
  5433. better able to test their changes, and understand what we expect
  5434. to pass. To use this new build feature, you must fork Tor to your
  5435. Github account, then go into the "Integrations" menu in the
  5436. repository settings for your fork and enable Travis, then push
  5437. your changes. Closes ticket 22636.
  5438. Changes in version 0.2.8.16 - 2017-10-25
  5439. Tor 0.2.8.16 backports a collection of bugfixes from later Tor release
  5440. series, including a bugfix for a crash issue that had affected relays
  5441. under memory pressure. It also adds a new directory authority, Bastet.
  5442. Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
  5443. 2018. If you need a release with long-term support, please stick with
  5444. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  5445. o Directory authority changes:
  5446. - Add "Bastet" as a ninth directory authority to the default list.
  5447. Closes ticket 23910.
  5448. - The directory authority "Longclaw" has changed its IP address.
  5449. Closes ticket 23592.
  5450. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  5451. - Fix a timing-based assertion failure that could occur when the
  5452. circuit out-of-memory handler freed a connection's output buffer.
  5453. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  5454. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  5455. - Remove longclaw's IPv6 address, as it will soon change. Authority
  5456. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  5457. 3/8 directory authorities with IPv6 addresses, but there are also
  5458. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  5459. o Minor features (geoip):
  5460. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  5461. Country database.
  5462. Changes in version 0.2.9.13 - 2017-10-25
  5463. Tor 0.2.9.13 backports a collection of bugfixes from later Tor release
  5464. series, including a bugfix for a crash issue that had affected relays
  5465. under memory pressure. It also adds a new directory authority, Bastet.
  5466. o Directory authority changes:
  5467. - Add "Bastet" as a ninth directory authority to the default list.
  5468. Closes ticket 23910.
  5469. - The directory authority "Longclaw" has changed its IP address.
  5470. Closes ticket 23592.
  5471. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  5472. - Fix a timing-based assertion failure that could occur when the
  5473. circuit out-of-memory handler freed a connection's output buffer.
  5474. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  5475. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  5476. - Remove longclaw's IPv6 address, as it will soon change. Authority
  5477. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  5478. 3/8 directory authorities with IPv6 addresses, but there are also
  5479. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  5480. o Minor features (geoip):
  5481. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  5482. Country database.
  5483. o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
  5484. - When a directory authority rejects a descriptor or extrainfo with
  5485. a given digest, mark that digest as undownloadable, so that we do
  5486. not attempt to download it again over and over. We previously
  5487. tried to avoid downloading such descriptors by other means, but we
  5488. didn't notice if we accidentally downloaded one anyway. This
  5489. behavior became problematic in 0.2.7.2-alpha, when authorities
  5490. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  5491. on 0.2.1.19-alpha.
  5492. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  5493. - Clear the address when node_get_prim_orport() returns early.
  5494. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  5495. o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
  5496. - When running as a Windows service, set the ID of the main thread
  5497. correctly. Failure to do so made us fail to send log messages to
  5498. the controller in 0.2.1.16-rc, slowed down controller event
  5499. delivery in 0.2.7.3-rc and later, and crash with an assertion
  5500. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  5501. Patch and diagnosis from "Vort".
  5502. Changes in version 0.3.0.12 - 2017-10-25
  5503. Tor 0.3.0.12 backports a collection of bugfixes from later Tor release
  5504. series, including a bugfix for a crash issue that had affected relays
  5505. under memory pressure. It also adds a new directory authority, Bastet.
  5506. Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
  5507. 2018. If you need a release with long-term support, please stick with
  5508. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  5509. o Directory authority changes:
  5510. - Add "Bastet" as a ninth directory authority to the default list.
  5511. Closes ticket 23910.
  5512. - The directory authority "Longclaw" has changed its IP address.
  5513. Closes ticket 23592.
  5514. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  5515. - Fix a timing-based assertion failure that could occur when the
  5516. circuit out-of-memory handler freed a connection's output buffer.
  5517. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  5518. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  5519. - Remove longclaw's IPv6 address, as it will soon change. Authority
  5520. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  5521. 3/8 directory authorities with IPv6 addresses, but there are also
  5522. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  5523. o Minor features (geoip):
  5524. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  5525. Country database.
  5526. o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
  5527. - When a directory authority rejects a descriptor or extrainfo with
  5528. a given digest, mark that digest as undownloadable, so that we do
  5529. not attempt to download it again over and over. We previously
  5530. tried to avoid downloading such descriptors by other means, but we
  5531. didn't notice if we accidentally downloaded one anyway. This
  5532. behavior became problematic in 0.2.7.2-alpha, when authorities
  5533. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  5534. on 0.2.1.19-alpha.
  5535. o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
  5536. - Avoid a possible double close of a circuit by the intro point on
  5537. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  5538. bugfix on 0.3.0.1-alpha.
  5539. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  5540. - Clear the address when node_get_prim_orport() returns early.
  5541. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  5542. o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
  5543. - When running as a Windows service, set the ID of the main thread
  5544. correctly. Failure to do so made us fail to send log messages to
  5545. the controller in 0.2.1.16-rc, slowed down controller event
  5546. delivery in 0.2.7.3-rc and later, and crash with an assertion
  5547. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  5548. Patch and diagnosis from "Vort".
  5549. Changes in version 0.3.1.8 - 2017-10-25
  5550. Tor 0.3.1.8 is the second stable release in the 0.3.1 series.
  5551. It includes several bugfixes, including a bugfix for a crash issue
  5552. that had affected relays under memory pressure. It also adds
  5553. a new directory authority, Bastet.
  5554. o Directory authority changes:
  5555. - Add "Bastet" as a ninth directory authority to the default list.
  5556. Closes ticket 23910.
  5557. - The directory authority "Longclaw" has changed its IP address.
  5558. Closes ticket 23592.
  5559. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  5560. - Fix a timing-based assertion failure that could occur when the
  5561. circuit out-of-memory handler freed a connection's output buffer.
  5562. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  5563. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  5564. - Remove longclaw's IPv6 address, as it will soon change. Authority
  5565. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  5566. 3/8 directory authorities with IPv6 addresses, but there are also
  5567. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  5568. o Minor features (geoip):
  5569. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  5570. Country database.
  5571. o Minor bugfixes (compilation, backport from 0.3.2.2-alpha):
  5572. - Fix a compilation warning when building with zstd support on
  5573. 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
  5574. and fixed by Andreas Stieger.
  5575. o Minor bugfixes (compression, backport from 0.3.2.2-alpha):
  5576. - Handle a pathological case when decompressing Zstandard data when
  5577. the output buffer size is zero. Fixes bug 23551; bugfix
  5578. on 0.3.1.1-alpha.
  5579. o Minor bugfixes (directory authority, backport from 0.3.2.1-alpha):
  5580. - Remove the length limit on HTTP status lines that authorities can
  5581. send in their replies. Fixes bug 23499; bugfix on 0.3.1.6-rc.
  5582. o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
  5583. - Avoid a possible double close of a circuit by the intro point on
  5584. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  5585. bugfix on 0.3.0.1-alpha.
  5586. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  5587. - Clear the address when node_get_prim_orport() returns early.
  5588. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  5589. o Minor bugfixes (unit tests, backport from 0.3.2.2-alpha):
  5590. - Fix additional channelpadding unit test failures by using mocked
  5591. time instead of actual time for all tests. Fixes bug 23608; bugfix
  5592. on 0.3.1.1-alpha.
  5593. Changes in version 0.3.2.2-alpha - 2017-09-29
  5594. Tor 0.3.2.2-alpha is the second release in the 0.3.2 series. This
  5595. release fixes several minor bugs in the new scheduler and next-
  5596. generation onion services; both features were newly added in the 0.3.2
  5597. series. Other fixes in this alpha include several fixes for non-fatal
  5598. tracebacks which would appear in logs.
  5599. With the aim to stabilise the 0.3.2 series by 15 December 2017, this
  5600. alpha does not contain any substantial new features. Minor features
  5601. include better testing and logging.
  5602. The following comprises the complete list of changes included
  5603. in 0.3.2.2-alpha:
  5604. o Major bugfixes (relay, crash, assertion failure):
  5605. - Fix a timing-based assertion failure that could occur when the
  5606. circuit out-of-memory handler freed a connection's output buffer.
  5607. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  5608. o Major bugfixes (scheduler):
  5609. - If a channel is put into the scheduler's pending list, then it
  5610. starts closing, and then if the scheduler runs before it finishes
  5611. closing, the scheduler will get stuck trying to flush its cells
  5612. while the lower layers refuse to cooperate. Fix that race
  5613. condition by giving the scheduler an escape method. Fixes bug
  5614. 23676; bugfix on 0.3.2.1-alpha.
  5615. o Minor features (build, compilation):
  5616. - The "check-changes" feature is now part of the "make check" tests;
  5617. we'll use it to try to prevent misformed changes files from
  5618. accumulating. Closes ticket 23564.
  5619. - Tor builds should now fail if there are any mismatches between the
  5620. C type representing a configuration variable and the C type the
  5621. data-driven parser uses to store a value there. Previously, we
  5622. needed to check these by hand, which sometimes led to mistakes.
  5623. Closes ticket 23643.
  5624. o Minor features (directory authorities):
  5625. - Remove longclaw's IPv6 address, as it will soon change. Authority
  5626. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  5627. 3/8 directory authorities with IPv6 addresses, but there are also
  5628. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  5629. o Minor features (hidden service, circuit, logging):
  5630. - Improve logging of many callsite in the circuit subsystem to print
  5631. the circuit identifier(s).
  5632. - Log when we cleanup an intro point from a service so we know when
  5633. and for what reason it happened. Closes ticket 23604.
  5634. o Minor features (logging):
  5635. - Log more circuit information whenever we are about to try to
  5636. package a relay cell on a circuit with a nonexistent n_chan.
  5637. Attempt to diagnose ticket 8185.
  5638. - Improve info-level log identification of particular circuits, to
  5639. help with debugging. Closes ticket 23645.
  5640. o Minor features (relay):
  5641. - When choosing which circuits can be expired as unused, consider
  5642. circuits from clients even if those clients used regular CREATE
  5643. cells to make them; and do not consider circuits from relays even
  5644. if they were made with CREATE_FAST. Part of ticket 22805.
  5645. o Minor features (robustness):
  5646. - Change several fatal assertions when flushing buffers into non-
  5647. fatal assertions, to prevent any recurrence of 23690.
  5648. o Minor features (spec conformance, bridge, diagnostic):
  5649. - When handling the USERADDR command on an ExtOrPort, warn when the
  5650. transports provides a USERADDR with no port. In a future version,
  5651. USERADDR commands of this format may be rejected. Detects problems
  5652. related to ticket 23080.
  5653. o Minor features (testing):
  5654. - Add a unit test to make sure that our own generated platform
  5655. string will be accepted by directory authorities. Closes
  5656. ticket 22109.
  5657. o Minor bugfixes (bootstrapping):
  5658. - When warning about state file clock skew, report the correct
  5659. direction for the detected skew. Fixes bug 23606; bugfix
  5660. on 0.2.8.1-alpha.
  5661. - Avoid an assertion failure when logging a state file clock skew
  5662. very early in bootstrapping. Fixes bug 23607; bugfix
  5663. on 0.3.2.1-alpha.
  5664. o Minor bugfixes (build, compilation):
  5665. - Fix a compilation warning when building with zstd support on
  5666. 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
  5667. and fixed by Andreas Stieger.
  5668. - When searching for OpenSSL, don't accept any OpenSSL library that
  5669. lacks TLSv1_1_method(): Tor doesn't build with those versions.
  5670. Additionally, look in /usr/local/opt/openssl, if it's present.
  5671. These changes together repair the default build on OSX systems
  5672. with Homebrew installed. Fixes bug 23602; bugfix on 0.2.7.2-alpha.
  5673. o Minor bugfixes (compression):
  5674. - Handle a pathological case when decompressing Zstandard data when
  5675. the output buffer size is zero. Fixes bug 23551; bugfix
  5676. on 0.3.1.1-alpha.
  5677. o Minor bugfixes (documentation):
  5678. - Fix manpage to not refer to the obsolete (and misspelled)
  5679. UseEntryGuardsAsDirectoryGuards parameter in the description of
  5680. NumDirectoryGuards. Fixes bug 23611; bugfix on 0.2.4.8-alpha.
  5681. o Minor bugfixes (hidden service v3):
  5682. - Don't log an assertion failure when we can't find the right
  5683. information to extend to an introduction point. In rare cases,
  5684. this could happen, causing a warning, even though tor would
  5685. recover gracefully. Fixes bug 23159; bugfix on 0.3.2.1-alpha.
  5686. - Pad RENDEZVOUS cell up to the size of the legacy cell which is
  5687. much bigger so the rendezvous point can't distinguish which hidden
  5688. service protocol is being used. Fixes bug 23420; bugfix
  5689. on 0.3.2.1-alpha.
  5690. o Minor bugfixes (hidden service, relay):
  5691. - Avoid a possible double close of a circuit by the intro point on
  5692. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  5693. bugfix on 0.3.0.1-alpha.
  5694. o Minor bugfixes (logging, relay shutdown, annoyance):
  5695. - When a circuit is marked for close, do not attempt to package any
  5696. cells for channels on that circuit. Previously, we would detect
  5697. this condition lower in the call stack, when we noticed that the
  5698. circuit had no attached channel, and log an annoying message.
  5699. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  5700. o Minor bugfixes (scheduler):
  5701. - When switching schedulers due to a consensus change, we didn't
  5702. give the new scheduler a chance to react to the consensus. Fix
  5703. that. Fixes bug 23537; bugfix on 0.3.2.1-alpha.
  5704. - Make the KISTSchedRunInterval option a non negative value. With
  5705. this, the way to disable KIST through the consensus is to set it
  5706. to 0. Fixes bug 23539; bugfix on 0.3.2.1-alpha.
  5707. - Only notice log the selected scheduler when we switch scheduler
  5708. types. Fixes bug 23552; bugfix on 0.3.2.1-alpha.
  5709. - Avoid a compilation warning on macOS in scheduler_ev_add() caused
  5710. by a different tv_usec data type. Fixes bug 23575; bugfix
  5711. on 0.3.2.1-alpha.
  5712. - Make a hard exit if tor is unable to pick a scheduler which can
  5713. happen if the user specifies a scheduler type that is not
  5714. supported and not other types in Schedulers. Fixes bug 23581;
  5715. bugfix on 0.3.2.1-alpha.
  5716. - Properly initialize the scheduler last run time counter so it is
  5717. not 0 at the first tick. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
  5718. o Minor bugfixes (testing):
  5719. - Capture and detect several "Result does not fit" warnings in unit
  5720. tests on platforms with 32-bit time_t. Fixes bug 21800; bugfix
  5721. on 0.2.9.3-alpha.
  5722. - Fix additional channelpadding unit test failures by using mocked
  5723. time instead of actual time for all tests. Fixes bug 23608; bugfix
  5724. on 0.3.1.1-alpha.
  5725. - The removal of some old scheduler options caused some tests to
  5726. fail on BSD systems. Assume current behavior is correct and make
  5727. the tests pass again. Fixes bug 23566; bugfix on 0.3.2.1-alpha.
  5728. o Code simplification and refactoring:
  5729. - Remove various ways of testing circuits and connections for
  5730. "clientness"; instead, favor channel_is_client(). Part of
  5731. ticket 22805.
  5732. o Deprecated features:
  5733. - The ReachableDirAddresses and ClientPreferIPv6DirPort options are
  5734. now deprecated; they do not apply to relays, and they have had no
  5735. effect on clients since 0.2.8.x. Closes ticket 19704.
  5736. o Documentation:
  5737. - HiddenServiceVersion man page entry wasn't mentioning the now
  5738. supported version 3. Fixes ticket 23580; bugfix on 0.3.2.1-alpha.
  5739. - Clarify that the Address option is entirely about setting an
  5740. advertised IPv4 address. Closes ticket 18891.
  5741. - Clarify the manpage's use of the term "address" to clarify what
  5742. kind of address is intended. Closes ticket 21405.
  5743. - Document that onion service subdomains are allowed, and ignored.
  5744. Closes ticket 18736.
  5745. Changes in version 0.3.2.1-alpha - 2017-09-18
  5746. Tor 0.3.2.1-alpha is the first release in the 0.3.2.x series. It
  5747. includes support for our next-generation ("v3") onion service
  5748. protocol, and adds a new circuit scheduler for more responsive
  5749. forwarding decisions from relays. There are also numerous other small
  5750. features and bugfixes here.
  5751. Below are the changes since Tor 0.3.1.7.
  5752. o Major feature (scheduler, channel):
  5753. - Tor now uses new schedulers to decide which circuits should
  5754. deliver cells first, in order to improve congestion at relays. The
  5755. first type is called "KIST" ("Kernel Informed Socket Transport"),
  5756. and is only available on Linux-like systems: it uses feedback from
  5757. the kernel to prevent the kernel's TCP buffers from growing too
  5758. full. The second new scheduler type is called "KISTLite": it
  5759. behaves the same as KIST, but runs on systems without kernel
  5760. support for inspecting TCP implementation details. The old
  5761. scheduler is still available, under the name "Vanilla". To change
  5762. the default scheduler preference order, use the new "Schedulers"
  5763. option. (The default preference order is "KIST,KISTLite,Vanilla".)
  5764. Matt Traudt implemented KIST, based on research by Rob Jansen,
  5765. John Geddes, Christ Wacek, Micah Sherr, and Paul Syverson. For
  5766. more information, see the design paper at
  5767. http://www.robgjansen.com/publications/kist-sec2014.pdf and the
  5768. followup implementation paper at https://arxiv.org/abs/1709.01044.
  5769. Closes ticket 12541.
  5770. o Major features (next-generation onion services):
  5771. - Tor now supports the next-generation onion services protocol for
  5772. clients and services! As part of this release, the core of
  5773. proposal 224 has been implemented and is available for
  5774. experimentation and testing by our users. This newer version of
  5775. onion services ("v3") features many improvements over the legacy
  5776. system, including:
  5777. a) Better crypto (replaced SHA1/DH/RSA1024
  5778. with SHA3/ed25519/curve25519)
  5779. b) Improved directory protocol, leaking much less information to
  5780. directory servers.
  5781. c) Improved directory protocol, with smaller surface for
  5782. targeted attacks.
  5783. d) Better onion address security against impersonation.
  5784. e) More extensible introduction/rendezvous protocol.
  5785. f) A cleaner and more modular codebase.
  5786. You can identify a next-generation onion address by its length:
  5787. they are 56 characters long, as in
  5788. "4acth47i6kxnvkewtm6q7ib2s3ufpo5sqbsnzjpbi7utijcltosqemad.onion".
  5789. In the future, we will release more options and features for v3
  5790. onion services, but we first need a testing period, so that the
  5791. current codebase matures and becomes more robust. Planned features
  5792. include: offline keys, advanced client authorization, improved
  5793. guard algorithms, and statistics. For full details, see
  5794. proposal 224.
  5795. Legacy ("v2") onion services will still work for the foreseeable
  5796. future, and will remain the default until this new codebase gets
  5797. tested and hardened. Service operators who want to experiment with
  5798. the new system can use the 'HiddenServiceVersion 3' torrc
  5799. directive along with the regular onion service configuration
  5800. options. We will publish a blog post about this new feature
  5801. soon! Enjoy!
  5802. o Major bugfixes (usability, control port):
  5803. - Report trusted clock skew indications as bootstrap errors, so
  5804. controllers can more easily alert users when their clocks are
  5805. wrong. Fixes bug 23506; bugfix on 0.1.2.6-alpha.
  5806. o Minor features (bug detection):
  5807. - Log a warning message with a stack trace for any attempt to call
  5808. get_options() during option validation. This pattern has caused
  5809. subtle bugs in the past. Closes ticket 22281.
  5810. o Minor features (client):
  5811. - You can now use Tor as a tunneled HTTP proxy: use the new
  5812. HTTPTunnelPort option to open a port that accepts HTTP CONNECT
  5813. requests. Closes ticket 22407.
  5814. - Add an extra check to make sure that we always use the newer guard
  5815. selection code for picking our guards. Closes ticket 22779.
  5816. - When downloading (micro)descriptors, don't split the list into
  5817. multiple requests unless we want at least 32 descriptors.
  5818. Previously, we split at 4, not 32, which led to significant
  5819. overhead in HTTP request size and degradation in compression
  5820. performance. Closes ticket 23220.
  5821. o Minor features (command line):
  5822. - Add a new commandline option, --key-expiration, which prints when
  5823. the current signing key is going to expire. Implements ticket
  5824. 17639; patch by Isis Lovecruft.
  5825. o Minor features (control port):
  5826. - If an application tries to use the control port as an HTTP proxy,
  5827. respond with a meaningful "This is the Tor control port" message,
  5828. and log the event. Closes ticket 1667. Patch from Ravi
  5829. Chandra Padmala.
  5830. - Provide better error message for GETINFO desc/(id|name) when not
  5831. fetching router descriptors. Closes ticket 5847. Patch by
  5832. Kevin Butler.
  5833. - Add GETINFO "{desc,md}/download-enabled", to inform the controller
  5834. whether Tor will try to download router descriptors and
  5835. microdescriptors respectively. Closes ticket 22684.
  5836. - Added new GETINFO targets "ip-to-country/{ipv4,ipv6}-available",
  5837. so controllers can tell whether the geoip databases are loaded.
  5838. Closes ticket 23237.
  5839. - Adds a timestamp field to the CIRC_BW and STREAM_BW bandwidth
  5840. events. Closes ticket 19254. Patch by "DonnchaC".
  5841. o Minor features (development support):
  5842. - Developers can now generate a call-graph for Tor using the
  5843. "calltool" python program, which post-processes object dumps. It
  5844. should work okay on many Linux and OSX platforms, and might work
  5845. elsewhere too. To run it, install calltool from
  5846. https://gitweb.torproject.org/user/nickm/calltool.git and run
  5847. "make callgraph". Closes ticket 19307.
  5848. o Minor features (ed25519):
  5849. - Add validation function to checks for torsion components in
  5850. ed25519 public keys, used by prop224 client-side code. Closes
  5851. ticket 22006. Math help by Ian Goldberg.
  5852. o Minor features (exit relay, DNS):
  5853. - Improve the clarity and safety of the log message from evdns when
  5854. receiving an apparently spoofed DNS reply. Closes ticket 3056.
  5855. o Minor features (integration, hardening):
  5856. - Add a new NoExec option to prevent Tor from running other
  5857. programs. When this option is set to 1, Tor will never try to run
  5858. another program, regardless of the settings of
  5859. PortForwardingHelper, ClientTransportPlugin, or
  5860. ServerTransportPlugin. Once NoExec is set, it cannot be disabled
  5861. without restarting Tor. Closes ticket 22976.
  5862. o Minor features (logging):
  5863. - Improve the warning message for specifying a relay by nickname.
  5864. The previous message implied that nickname registration was still
  5865. part of the Tor network design, which it isn't. Closes
  5866. ticket 20488.
  5867. - If the sandbox filter fails to load, suggest to the user that
  5868. their kernel might not support seccomp2. Closes ticket 23090.
  5869. o Minor features (portability):
  5870. - Check at configure time whether uint8_t is the same type as
  5871. unsigned char. Lots of existing code already makes this
  5872. assumption, and there could be strict aliasing issues if the
  5873. assumption is violated. Closes ticket 22410.
  5874. o Minor features (relay, configuration):
  5875. - Reject attempts to use relative file paths when RunAsDaemon is
  5876. set. Previously, Tor would accept these, but the directory-
  5877. changing step of RunAsDaemon would give strange and/or confusing
  5878. results. Closes ticket 22731.
  5879. o Minor features (startup, safety):
  5880. - When configured to write a PID file, Tor now exits if it is unable
  5881. to do so. Previously, it would warn and continue. Closes
  5882. ticket 20119.
  5883. o Minor features (static analysis):
  5884. - The BUG() macro has been changed slightly so that Coverity no
  5885. longer complains about dead code if the bug is impossible. Closes
  5886. ticket 23054.
  5887. o Minor features (testing):
  5888. - The default chutney network tests now include tests for the v3
  5889. hidden service design. Make sure you have the latest version of
  5890. chutney if you want to run these. Closes ticket 22437.
  5891. - Add a unit test to verify that we can parse a hardcoded v2 hidden
  5892. service descriptor. Closes ticket 15554.
  5893. o Minor bugfixes (certificate handling):
  5894. - Fix a time handling bug in Tor certificates set to expire after
  5895. the year 2106. Fixes bug 23055; bugfix on 0.3.0.1-alpha. Found by
  5896. Coverity as CID 1415728.
  5897. o Minor bugfixes (client, usability):
  5898. - Refrain from needlessly rejecting SOCKS5-with-hostnames and
  5899. SOCKS4a requests that contain IP address strings, even when
  5900. SafeSocks in enabled, as this prevents user from connecting to
  5901. known IP addresses without relying on DNS for resolving. SafeSocks
  5902. still rejects SOCKS connections that connect to IP addresses when
  5903. those addresses are _not_ encoded as hostnames. Fixes bug 22461;
  5904. bugfix on Tor 0.2.6.2-alpha.
  5905. o Minor bugfixes (code correctness):
  5906. - Call htons() in extend_cell_format() for encoding a 16-bit value.
  5907. Previously we used ntohs(), which happens to behave the same on
  5908. all the platforms we support, but which isn't really correct.
  5909. Fixes bug 23106; bugfix on 0.2.4.8-alpha.
  5910. - For defense-in-depth, make the controller's write_escaped_data()
  5911. function robust to extremely long inputs. Fixes bug 19281; bugfix
  5912. on 0.1.1.1-alpha. Reported by Guido Vranken.
  5913. o Minor bugfixes (compilation):
  5914. - Fix unused-variable warnings in donna's Curve25519 SSE2 code.
  5915. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  5916. o Minor bugfixes (consensus expiry):
  5917. - Check for adequate directory information correctly. Previously, Tor
  5918. would reconsider whether it had sufficient directory information
  5919. every 2 minutes. Fixes bug 23091; bugfix on 0.2.0.19-alpha.
  5920. o Minor bugfixes (directory protocol):
  5921. - Directory servers now include a "Date:" http header for response
  5922. codes other than 200. Clients starting with a skewed clock and a
  5923. recent consensus were getting "304 Not modified" responses from
  5924. directory authorities, so without the Date header, the client
  5925. would never hear about a wrong clock. Fixes bug 23499; bugfix
  5926. on 0.0.8rc1.
  5927. - Make clients wait for 6 seconds before trying to download a
  5928. consensus from an authority. Fixes bug 17750; bugfix
  5929. on 0.2.8.1-alpha.
  5930. o Minor bugfixes (DoS-resistance):
  5931. - If future code asks if there are any running bridges, without
  5932. checking if bridges are enabled, log a BUG warning rather than
  5933. crashing. Fixes bug 23524; bugfix on 0.3.0.1-alpha.
  5934. o Minor bugfixes (format strictness):
  5935. - Restrict several data formats to decimal. Previously, the
  5936. BuildTimeHistogram entries in the state file, the "bw=" entries in
  5937. the bandwidth authority file, and the process IDs passed to the
  5938. __OwningControllerProcess option could all be specified in hex or
  5939. octal as well as in decimal. This was not an intentional feature.
  5940. Fixes bug 22802; bugfixes on 0.2.2.1-alpha, 0.2.2.2-alpha,
  5941. and 0.2.2.28-beta.
  5942. o Minor bugfixes (heartbeat):
  5943. - If we fail to write a heartbeat message, schedule a retry for the
  5944. minimum heartbeat interval number of seconds in the future. Fixes
  5945. bug 19476; bugfix on 0.2.3.1-alpha.
  5946. o Minor bugfixes (linux seccomp2 sandbox, logging):
  5947. - Fix some messages on unexpected errors from the seccomp2 library.
  5948. Fixes bug 22750; bugfix on 0.2.5.1-alpha. Patch from "cypherpunks".
  5949. o Minor bugfixes (logging):
  5950. - Remove duplicate log messages regarding opening non-local
  5951. SocksPorts upon parsing config and opening listeners at startup.
  5952. Fixes bug 4019; bugfix on 0.2.3.3-alpha.
  5953. - Use a more comprehensible log message when telling the user
  5954. they've excluded every running exit node. Fixes bug 7890; bugfix
  5955. on 0.2.2.25-alpha.
  5956. - When logging the number of descriptors we intend to download per
  5957. directory request, do not log a number higher than then the number
  5958. of descriptors we're fetching in total. Fixes bug 19648; bugfix
  5959. on 0.1.1.8-alpha.
  5960. - When warning about a directory owned by the wrong user, log the
  5961. actual name of the user owning the directory. Previously, we'd log
  5962. the name of the process owner twice. Fixes bug 23487; bugfix
  5963. on 0.2.9.1-alpha.
  5964. - The tor specification says hop counts are 1-based, so fix two log
  5965. messages that mistakenly logged 0-based hop counts. Fixes bug
  5966. 18982; bugfix on 0.2.6.2-alpha and 0.2.4.5-alpha. Patch by teor.
  5967. Credit to Xiaofan Li for reporting this issue.
  5968. o Minor bugfixes (portability):
  5969. - Stop using the PATH_MAX variable, which is not defined on GNU
  5970. Hurd. Fixes bug 23098; bugfix on 0.3.1.1-alpha.
  5971. o Minor bugfixes (relay):
  5972. - When uploading our descriptor for the first time after startup,
  5973. report the reason for uploading as "Tor just started" rather than
  5974. leaving it blank. Fixes bug 22885; bugfix on 0.2.3.4-alpha.
  5975. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  5976. relays, to prevent spurious address resolutions and descriptor
  5977. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  5978. bugfix on in 0.2.8.1-alpha.
  5979. o Minor bugfixes (tests):
  5980. - Fix a broken unit test for the OutboundAddress option: the parsing
  5981. function was never returning an error on failure. Fixes bug 23366;
  5982. bugfix on 0.3.0.3-alpha.
  5983. - Fix a signed-integer overflow in the unit tests for
  5984. dir/download_status_random_backoff, which was untriggered until we
  5985. fixed bug 17750. Fixes bug 22924; bugfix on 0.2.9.1-alpha.
  5986. o Minor bugfixes (usability, control port):
  5987. - Stop making an unnecessary routerlist check in NETINFO clock skew
  5988. detection; this was preventing clients from reporting NETINFO clock
  5989. skew to controllers. Fixes bug 23532; bugfix on 0.2.4.4-alpha.
  5990. o Code simplification and refactoring:
  5991. - Extract the code for handling newly-open channels into a separate
  5992. function from the general code to handle channel state
  5993. transitions. This change simplifies our callgraph, reducing the
  5994. size of the largest strongly connected component by roughly a
  5995. factor of two. Closes ticket 22608.
  5996. - Remove dead code for largely unused statistics on the number of
  5997. times we've attempted various public key operations. Fixes bug
  5998. 19871; bugfix on 0.1.2.4-alpha. Fix by Isis Lovecruft.
  5999. - Remove several now-obsolete functions for asking about old
  6000. variants directory authority status. Closes ticket 22311; patch
  6001. from "huyvq".
  6002. - Remove some of the code that once supported "Named" and "Unnamed"
  6003. routers. Authorities no longer vote for these flags. Closes
  6004. ticket 22215.
  6005. - Rename the obsolete malleable hybrid_encrypt functions used in TAP
  6006. and old hidden services, to indicate that they aren't suitable for
  6007. new protocols or formats. Closes ticket 23026.
  6008. - Replace our STRUCT_OFFSET() macro with offsetof(). Closes ticket
  6009. 22521. Patch from Neel Chauhan.
  6010. - Split the enormous circuit_send_next_onion_skin() function into
  6011. multiple subfunctions. Closes ticket 22804.
  6012. - Split the portions of the buffer.c module that handle particular
  6013. protocols into separate modules. Part of ticket 23149.
  6014. - Use our test macros more consistently, to produce more useful
  6015. error messages when our unit tests fail. Add coccinelle patches to
  6016. allow us to re-check for test macro uses. Closes ticket 22497.
  6017. o Deprecated features:
  6018. - Deprecate HTTPProxy/HTTPProxyAuthenticator config options. They
  6019. only applies to direct unencrypted HTTP connections to your
  6020. directory server, which your Tor probably isn't using. Closes
  6021. ticket 20575.
  6022. o Documentation:
  6023. - Clarify in the manual that "Sandbox 1" is only supported on Linux
  6024. kernels. Closes ticket 22677.
  6025. - Document all values of PublishServerDescriptor in the manpage.
  6026. Closes ticket 15645.
  6027. - Improve the documentation for the directory port part of the
  6028. DirAuthority line. Closes ticket 20152.
  6029. - Restore documentation for the authorities' "approved-routers"
  6030. file. Closes ticket 21148.
  6031. o Removed features:
  6032. - The AllowDotExit option has been removed as unsafe. It has been
  6033. deprecated since 0.2.9.2-alpha. Closes ticket 23426.
  6034. - The ClientDNSRejectInternalAddresses flag can no longer be set on
  6035. non-testing networks. It has been deprecated since 0.2.9.2-alpha.
  6036. Closes ticket 21031.
  6037. - The controller API no longer includes an AUTHDIR_NEWDESCS event:
  6038. nobody was using it any longer. Closes ticket 22377.
  6039. Changes in version 0.2.8.15 - 2017-09-18
  6040. Tor 0.2.8.15 backports a collection of bugfixes from later
  6041. Tor series.
  6042. Most significantly, it includes a fix for TROVE-2017-008, a
  6043. security bug that affects hidden services running with the
  6044. SafeLogging option disabled. For more information, see
  6045. https://trac.torproject.org/projects/tor/ticket/23490
  6046. Note that Tor 0.2.8.x will no longer be supported after 1 Jan
  6047. 2018. We suggest that you upgrade to the latest stable release if
  6048. possible. If you can't, we recommend that you upgrade at least to
  6049. 0.2.9, which will be supported until 2020.
  6050. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  6051. - Avoid an assertion failure bug affecting our implementation of
  6052. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  6053. handling of "0xx" differs from what we had expected. Fixes bug
  6054. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  6055. o Minor features:
  6056. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  6057. Country database.
  6058. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  6059. - Backport a fix for an "unused variable" warning that appeared
  6060. in some versions of mingw. Fixes bug 22838; bugfix on
  6061. 0.2.8.1-alpha.
  6062. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  6063. - Fix a memset() off the end of an array when packing cells. This
  6064. bug should be harmless in practice, since the corrupted bytes are
  6065. still in the same structure, and are always padding bytes,
  6066. ignored, or immediately overwritten, depending on compiler
  6067. behavior. Nevertheless, because the memset()'s purpose is to make
  6068. sure that any other cell-handling bugs can't expose bytes to the
  6069. network, we need to fix it. Fixes bug 22737; bugfix on
  6070. 0.2.4.11-alpha. Fixes CID 1401591.
  6071. o Build features (backport from 0.3.1.5-alpha):
  6072. - Tor's repository now includes a Travis Continuous Integration (CI)
  6073. configuration file (.travis.yml). This is meant to help new
  6074. developers and contributors who fork Tor to a Github repository be
  6075. better able to test their changes, and understand what we expect
  6076. to pass. To use this new build feature, you must fork Tor to your
  6077. Github account, then go into the "Integrations" menu in the
  6078. repository settings for your fork and enable Travis, then push
  6079. your changes. Closes ticket 22636.
  6080. Changes in version 0.2.9.12 - 2017-09-18
  6081. Tor 0.2.9.12 backports a collection of bugfixes from later
  6082. Tor series.
  6083. Most significantly, it includes a fix for TROVE-2017-008, a
  6084. security bug that affects hidden services running with the
  6085. SafeLogging option disabled. For more information, see
  6086. https://trac.torproject.org/projects/tor/ticket/23490
  6087. o Major features (security, backport from 0.3.0.2-alpha):
  6088. - Change the algorithm used to decide DNS TTLs on client and server
  6089. side, to better resist DNS-based correlation attacks like the
  6090. DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
  6091. Feamster. Now relays only return one of two possible DNS TTL
  6092. values, and clients are willing to believe DNS TTL values up to 3
  6093. hours long. Closes ticket 19769.
  6094. o Major bugfixes (crash, directory connections, backport from 0.3.0.5-rc):
  6095. - Fix a rare crash when sending a begin cell on a circuit whose
  6096. linked directory connection had already been closed. Fixes bug
  6097. 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
  6098. o Major bugfixes (DNS, backport from 0.3.0.2-alpha):
  6099. - Fix a bug that prevented exit nodes from caching DNS records for
  6100. more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
  6101. o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
  6102. - Fix a typo that had prevented TPROXY-based transparent proxying
  6103. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  6104. Patch from "d4fq0fQAgoJ".
  6105. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  6106. - Avoid an assertion failure bug affecting our implementation of
  6107. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  6108. handling of "0xx" differs from what we had expected. Fixes bug
  6109. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  6110. o Minor features (code style, backport from 0.3.1.3-alpha):
  6111. - Add "Falls through" comments to our codebase, in order to silence
  6112. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  6113. Stieger. Closes ticket 22446.
  6114. o Minor features (geoip):
  6115. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  6116. Country database.
  6117. o Minor bugfixes (bandwidth accounting, backport from 0.3.1.1-alpha):
  6118. - Roll over monthly accounting at the configured hour and minute,
  6119. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  6120. Found by Andrey Karpov with PVS-Studio.
  6121. o Minor bugfixes (compilation, backport from 0.3.1.5-alpha):
  6122. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
  6123. bugfix on 0.2.8.1-alpha.
  6124. - Fix warnings when building with libscrypt and openssl scrypt support
  6125. on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  6126. - When building with certain versions the mingw C header files, avoid
  6127. float-conversion warnings when calling the C functions isfinite(),
  6128. isnan(), and signbit(). Fixes bug 22801; bugfix on 0.2.8.1-alpha.
  6129. o Minor bugfixes (compilation, backport from 0.3.1.7):
  6130. - Avoid compiler warnings in the unit tests for running tor_sscanf()
  6131. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  6132. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  6133. - Backport a fix for an "unused variable" warning that appeared
  6134. in some versions of mingw. Fixes bug 22838; bugfix on
  6135. 0.2.8.1-alpha.
  6136. o Minor bugfixes (controller, backport from 0.3.1.7):
  6137. - Do not crash when receiving a HSPOST command with an empty body.
  6138. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  6139. - Do not crash when receiving a POSTDESCRIPTOR command with an
  6140. empty body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  6141. o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
  6142. - Avoid Coverity build warnings related to our BUG() macro. By
  6143. default, Coverity treats BUG() as the Linux kernel does: an
  6144. instant abort(). We need to override that so our BUG() macro
  6145. doesn't prevent Coverity from analyzing functions that use it.
  6146. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  6147. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  6148. - Fix a memset() off the end of an array when packing cells. This
  6149. bug should be harmless in practice, since the corrupted bytes are
  6150. still in the same structure, and are always padding bytes,
  6151. ignored, or immediately overwritten, depending on compiler
  6152. behavior. Nevertheless, because the memset()'s purpose is to make
  6153. sure that any other cell-handling bugs can't expose bytes to the
  6154. network, we need to fix it. Fixes bug 22737; bugfix on
  6155. 0.2.4.11-alpha. Fixes CID 1401591.
  6156. o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
  6157. - When setting the maximum number of connections allowed by the OS,
  6158. always allow some extra file descriptors for other files. Fixes
  6159. bug 22797; bugfix on 0.2.0.10-alpha.
  6160. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
  6161. - Avoid a sandbox failure when trying to re-bind to a socket and
  6162. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  6163. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
  6164. - Permit the fchmod system call, to avoid crashing on startup when
  6165. starting with the seccomp2 sandbox and an unexpected set of
  6166. permissions on the data directory or its contents. Fixes bug
  6167. 22516; bugfix on 0.2.5.4-alpha.
  6168. o Minor bugfixes (relay, backport from 0.3.0.5-rc):
  6169. - Avoid a double-marked-circuit warning that could happen when we
  6170. receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
  6171. on 0.1.0.1-rc.
  6172. o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
  6173. - Reject version numbers with non-numeric prefixes (such as +, -, or
  6174. whitespace). Disallowing whitespace prevents differential version
  6175. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  6176. and part of 21508; bugfix on 0.0.8pre1.
  6177. o Build features (backport from 0.3.1.5-alpha):
  6178. - Tor's repository now includes a Travis Continuous Integration (CI)
  6179. configuration file (.travis.yml). This is meant to help new
  6180. developers and contributors who fork Tor to a Github repository be
  6181. better able to test their changes, and understand what we expect
  6182. to pass. To use this new build feature, you must fork Tor to your
  6183. Github account, then go into the "Integrations" menu in the
  6184. repository settings for your fork and enable Travis, then push
  6185. your changes. Closes ticket 22636.
  6186. Changes in version 0.3.0.11 - 2017-09-18
  6187. Tor 0.3.0.11 backports a collection of bugfixes from Tor the 0.3.1
  6188. series.
  6189. Most significantly, it includes a fix for TROVE-2017-008, a
  6190. security bug that affects hidden services running with the
  6191. SafeLogging option disabled. For more information, see
  6192. https://trac.torproject.org/projects/tor/ticket/23490
  6193. o Minor features (code style, backport from 0.3.1.7):
  6194. - Add "Falls through" comments to our codebase, in order to silence
  6195. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  6196. Stieger. Closes ticket 22446.
  6197. o Minor features:
  6198. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  6199. Country database.
  6200. o Minor bugfixes (compilation, backport from 0.3.1.7):
  6201. - Avoid compiler warnings in the unit tests for calling tor_sscanf()
  6202. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  6203. o Minor bugfixes (controller, backport from 0.3.1.7):
  6204. - Do not crash when receiving a HSPOST command with an empty body.
  6205. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  6206. - Do not crash when receiving a POSTDESCRIPTOR command with an empty
  6207. body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  6208. o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
  6209. - When setting the maximum number of connections allowed by the OS,
  6210. always allow some extra file descriptors for other files. Fixes
  6211. bug 22797; bugfix on 0.2.0.10-alpha.
  6212. o Minor bugfixes (logging, relay, backport from 0.3.1.6-rc):
  6213. - Remove a forgotten debugging message when an introduction point
  6214. successfully establishes a hidden service prop224 circuit with
  6215. a client.
  6216. - Change three other log_warn() for an introduction point to
  6217. protocol warnings, because they can be failure from the network
  6218. and are not relevant to the operator. Fixes bug 23078; bugfix on
  6219. 0.3.0.1-alpha and 0.3.0.2-alpha.
  6220. Changes in version 0.3.1.7 - 2017-09-18
  6221. Tor 0.3.1.7 is the first stable release in the 0.3.1 series.
  6222. With the 0.3.1 series, Tor now serves and downloads directory
  6223. information in more compact formats, to save on bandwidth overhead. It
  6224. also contains a new padding system to resist netflow-based traffic
  6225. analysis, and experimental support for building parts of Tor in Rust
  6226. (though no parts of Tor are in Rust yet). There are also numerous
  6227. small features, bugfixes on earlier release series, and groundwork for
  6228. the hidden services revamp of 0.3.2.
  6229. This release also includes a fix for TROVE-2017-008, a security bug
  6230. that affects hidden services running with the SafeLogging option
  6231. disabled. For more information, see
  6232. https://trac.torproject.org/projects/tor/ticket/23490
  6233. Per our stable release policy, we plan to support each stable release
  6234. series for at least the next nine months, or for three months after
  6235. the first stable release of the next series: whichever is longer. If
  6236. you need a release with long-term support, we recommend that you stay
  6237. with the 0.2.9 series.
  6238. Below is a list of the changes since 0.3.1.6-rc. For a list of all
  6239. changes since 0.3.0, see the ReleaseNotes file.
  6240. o Major bugfixes (security, hidden services, loggging):
  6241. - Fix a bug where we could log uninitialized stack when a certain
  6242. hidden service error occurred while SafeLogging was disabled.
  6243. Fixes bug #23490; bugfix on 0.2.7.2-alpha. This is also tracked as
  6244. TROVE-2017-008 and CVE-2017-0380.
  6245. o Minor features (defensive programming):
  6246. - Create a pair of consensus parameters, nf_pad_tor2web and
  6247. nf_pad_single_onion, to disable netflow padding in the consensus
  6248. for non-anonymous connections in case the overhead is high. Closes
  6249. ticket 17857.
  6250. o Minor features (diagnostic):
  6251. - Add a stack trace to the bug warnings that can be logged when
  6252. trying to send an outgoing relay cell with n_chan == 0. Diagnostic
  6253. attempt for bug 23105.
  6254. o Minor features (geoip):
  6255. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  6256. Country database.
  6257. o Minor bugfixes (compilation):
  6258. - Avoid compiler warnings in the unit tests for calling tor_sscanf()
  6259. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  6260. o Minor bugfixes (controller):
  6261. - Do not crash when receiving a HSPOST command with an empty body.
  6262. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  6263. - Do not crash when receiving a POSTDESCRIPTOR command with an empty
  6264. body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  6265. o Minor bugfixes (relay):
  6266. - Inform the geoip and rephist modules about all requests, even on
  6267. relays that are only fetching microdescriptors. Fixes a bug
  6268. related to 21585; bugfix on 0.3.0.1-alpha.
  6269. o Minor bugfixes (unit tests):
  6270. - Fix a channelpadding unit test failure on slow systems by using
  6271. mocked time instead of actual time. Fixes bug 23077; bugfix
  6272. on 0.3.1.1-alpha.
  6273. Changes in version 0.3.1.6-rc - 2017-09-05
  6274. Tor 0.3.1.6-rc fixes a few small bugs and annoyances in the 0.3.1
  6275. release series, including a bug that produced weird behavior on
  6276. Windows directory caches.
  6277. This is the first release candidate in the Tor 0.3.1 series. If we
  6278. find no new bugs or regressions here, the first stable 0.3.1 release
  6279. will be nearly identical to it.
  6280. o Major bugfixes (windows, directory cache):
  6281. - On Windows, do not try to delete cached consensus documents and
  6282. diffs before they are unmapped from memory--Windows won't allow
  6283. that. Instead, allow the consensus cache directory to grow larger,
  6284. to hold files that might need to stay around longer. Fixes bug
  6285. 22752; bugfix on 0.3.1.1-alpha.
  6286. o Minor features (directory authority):
  6287. - Improve the message that authorities report to relays that present
  6288. RSA/Ed25519 keypairs that conflict with previously pinned keys.
  6289. Closes ticket 22348.
  6290. o Minor features (geoip):
  6291. - Update geoip and geoip6 to the August 3 2017 Maxmind GeoLite2
  6292. Country database.
  6293. o Minor features (testing):
  6294. - Add more tests for compression backend initialization. Closes
  6295. ticket 22286.
  6296. o Minor bugfixes (directory cache):
  6297. - Fix a memory leak when recovering space in the consensus cache.
  6298. Fixes bug 23139; bugfix on 0.3.1.1-alpha.
  6299. o Minor bugfixes (hidden service):
  6300. - Increase the number of circuits that a service is allowed to
  6301. open over a specific period of time. The value was lower than it
  6302. should be (8 vs 12) in the normal case of 3 introduction points.
  6303. Fixes bug 22159; bugfix on 0.3.0.5-rc.
  6304. - Fix a BUG warning during HSv3 descriptor decoding that could be
  6305. cause by a specially crafted descriptor. Fixes bug 23233; bugfix
  6306. on 0.3.0.1-alpha. Bug found by "haxxpop".
  6307. - Rate-limit the log messages if we exceed the maximum number of
  6308. allowed intro circuits. Fixes bug 22159; bugfix on 0.3.1.1-alpha.
  6309. o Minor bugfixes (logging, relay):
  6310. - Remove a forgotten debugging message when an introduction point
  6311. successfully establishes a hidden service prop224 circuit with
  6312. a client.
  6313. - Change three other log_warn() for an introduction point to
  6314. protocol warnings, because they can be failure from the network
  6315. and are not relevant to the operator. Fixes bug 23078; bugfix on
  6316. 0.3.0.1-alpha and 0.3.0.2-alpha.
  6317. o Minor bugfixes (relay):
  6318. - When a relay is not running as a directory cache, it will no
  6319. longer generate compressed consensuses and consensus diff
  6320. information. Previously, this was a waste of disk and CPU. Fixes
  6321. bug 23275; bugfix on 0.3.1.1-alpha.
  6322. o Minor bugfixes (robustness, error handling):
  6323. - Improve our handling of the cases where OpenSSL encounters a
  6324. memory error while encoding keys and certificates. We haven't
  6325. observed these errors in the wild, but if they do happen, we now
  6326. detect and respond better. Fixes bug 19418; bugfix on all versions
  6327. of Tor. Reported by Guido Vranken.
  6328. o Minor bugfixes (stability):
  6329. - Avoid crashing on a double-free when unable to load or process an
  6330. included file. Fixes bug 23155; bugfix on 0.3.1.1-alpha. Found
  6331. with the clang static analyzer.
  6332. o Minor bugfixes (testing):
  6333. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  6334. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  6335. - Port the hs_ntor handshake test to work correctly with recent
  6336. versions of the pysha3 module. Fixes bug 23071; bugfix
  6337. on 0.3.1.1-alpha.
  6338. o Minor bugfixes (Windows service):
  6339. - When running as a Windows service, set the ID of the main thread
  6340. correctly. Failure to do so made us fail to send log messages to
  6341. the controller in 0.2.1.16-rc, slowed down controller event
  6342. delivery in 0.2.7.3-rc and later, and crash with an assertion
  6343. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  6344. Patch and diagnosis from "Vort".
  6345. Changes in version 0.3.0.10 - 2017-08-02
  6346. Tor 0.3.0.10 backports a collection of small-to-medium bugfixes
  6347. from the current Tor alpha series. OpenBSD users and TPROXY users
  6348. should upgrade; others are probably okay sticking with 0.3.0.9.
  6349. o Major features (build system, continuous integration, backport from 0.3.1.5-alpha):
  6350. - Tor's repository now includes a Travis Continuous Integration (CI)
  6351. configuration file (.travis.yml). This is meant to help new
  6352. developers and contributors who fork Tor to a Github repository be
  6353. better able to test their changes, and understand what we expect
  6354. to pass. To use this new build feature, you must fork Tor to your
  6355. Github account, then go into the "Integrations" menu in the
  6356. repository settings for your fork and enable Travis, then push
  6357. your changes. Closes ticket 22636.
  6358. o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
  6359. - Fix a typo that had prevented TPROXY-based transparent proxying
  6360. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  6361. Patch from "d4fq0fQAgoJ".
  6362. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  6363. - Avoid an assertion failure bug affecting our implementation of
  6364. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  6365. handling of "0xbar" differs from what we had expected. Fixes bug
  6366. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  6367. o Minor features (backport from 0.3.1.5-alpha):
  6368. - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
  6369. Country database.
  6370. o Minor bugfixes (bandwidth accounting, backport from 0.3.1.2-alpha):
  6371. - Roll over monthly accounting at the configured hour and minute,
  6372. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  6373. Found by Andrey Karpov with PVS-Studio.
  6374. o Minor bugfixes (compilation warnings, backport from 0.3.1.5-alpha):
  6375. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
  6376. bugfix on 0.2.8.1-alpha.
  6377. - Fix warnings when building with libscrypt and openssl scrypt
  6378. support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  6379. - When building with certain versions of the mingw C header files,
  6380. avoid float-conversion warnings when calling the C functions
  6381. isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
  6382. on 0.2.8.1-alpha.
  6383. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  6384. - Backport a fix for an "unused variable" warning that appeared
  6385. in some versions of mingw. Fixes bug 22838; bugfix on
  6386. 0.2.8.1-alpha.
  6387. o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
  6388. - Avoid Coverity build warnings related to our BUG() macro. By
  6389. default, Coverity treats BUG() as the Linux kernel does: an
  6390. instant abort(). We need to override that so our BUG() macro
  6391. doesn't prevent Coverity from analyzing functions that use it.
  6392. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  6393. o Minor bugfixes (directory authority, backport from 0.3.1.1-alpha):
  6394. - When rejecting a router descriptor for running an obsolete version
  6395. of Tor without ntor support, warn about the obsolete tor version,
  6396. not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
  6397. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
  6398. - Avoid a sandbox failure when trying to re-bind to a socket and
  6399. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  6400. o Minor bugfixes (unit tests, backport from 0.3.1.5-alpha)
  6401. - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
  6402. Fixes bug 22803; bugfix on 0.3.0.1-alpha.
  6403. Changes in version 0.3.1.5-alpha - 2017-08-01
  6404. Tor 0.3.1.5-alpha improves the performance of consensus diff
  6405. calculation, fixes a crash bug on older versions of OpenBSD, and fixes
  6406. several other bugs. If no serious bugs are found in this version, the
  6407. next version will be a release candidate.
  6408. This release also marks the end of support for the Tor 0.2.4.x,
  6409. 0.2.6.x, and 0.2.7.x release series. Those releases will receive no
  6410. further bug or security fixes. Anyone still running or distributing
  6411. one of those versions should upgrade.
  6412. o Major features (build system, continuous integration):
  6413. - Tor's repository now includes a Travis Continuous Integration (CI)
  6414. configuration file (.travis.yml). This is meant to help new
  6415. developers and contributors who fork Tor to a Github repository be
  6416. better able to test their changes, and understand what we expect
  6417. to pass. To use this new build feature, you must fork Tor to your
  6418. Github account, then go into the "Integrations" menu in the
  6419. repository settings for your fork and enable Travis, then push
  6420. your changes. Closes ticket 22636.
  6421. o Major bugfixes (openbsd, denial-of-service):
  6422. - Avoid an assertion failure bug affecting our implementation of
  6423. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  6424. handling of "0xbar" differs from what we had expected. Fixes bug
  6425. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  6426. o Major bugfixes (relay, performance):
  6427. - Perform circuit handshake operations at a higher priority than we
  6428. use for consensus diff creation and compression. This should
  6429. prevent circuits from starving when a relay or bridge receives a
  6430. new consensus, especially on lower-powered machines. Fixes bug
  6431. 22883; bugfix on 0.3.1.1-alpha.
  6432. o Minor features (bridge authority):
  6433. - Add "fingerprint" lines to the networkstatus-bridges file produced
  6434. by bridge authorities. Closes ticket 22207.
  6435. o Minor features (directory cache, consensus diff):
  6436. - Add a new MaxConsensusAgeForDiffs option to allow directory cache
  6437. operators with low-resource environments to adjust the number of
  6438. consensuses they'll store and generate diffs from. Most cache
  6439. operators should leave it unchanged. Helps to work around
  6440. bug 22883.
  6441. o Minor features (geoip):
  6442. - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
  6443. Country database.
  6444. o Minor features (relay, performance):
  6445. - Always start relays with at least two worker threads, to prevent
  6446. priority inversion on slow tasks. Part of the fix for bug 22883.
  6447. - Allow background work to be queued with different priorities, so
  6448. that a big pile of slow low-priority jobs will not starve out
  6449. higher priority jobs. This lays the groundwork for a fix for
  6450. bug 22883.
  6451. o Minor bugfixes (build system, rust):
  6452. - Fix a problem where Rust toolchains were not being found when
  6453. building without --enable-cargo-online-mode, due to setting the
  6454. $HOME environment variable instead of $CARGO_HOME. Fixes bug
  6455. 22830; bugfix on 0.3.1.1-alpha. Fix by Chelsea Komlo.
  6456. o Minor bugfixes (compatibility, zstd):
  6457. - Write zstd epilogues correctly when the epilogue requires
  6458. reallocation of the output buffer, even with zstd 1.3.0.
  6459. (Previously, we worked on 1.2.0 and failed with 1.3.0). Fixes bug
  6460. 22927; bugfix on 0.3.1.1-alpha.
  6461. o Minor bugfixes (compilation warnings):
  6462. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug
  6463. 22915; bugfix on 0.2.8.1-alpha.
  6464. - Fix warnings when building with libscrypt and openssl scrypt
  6465. support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  6466. - Compile correctly when both openssl 1.1.0 and libscrypt are
  6467. detected. Previously this would cause an error. Fixes bug 22892;
  6468. bugfix on 0.3.1.1-alpha.
  6469. - When building with certain versions of the mingw C header files,
  6470. avoid float-conversion warnings when calling the C functions
  6471. isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
  6472. on 0.2.8.1-alpha.
  6473. o Minor bugfixes (coverity build support):
  6474. - Avoid Coverity build warnings related to our BUG() macro. By
  6475. default, Coverity treats BUG() as the Linux kernel does: an
  6476. instant abort(). We need to override that so our BUG() macro
  6477. doesn't prevent Coverity from analyzing functions that use it.
  6478. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  6479. o Minor bugfixes (directory authority):
  6480. - When a directory authority rejects a descriptor or extrainfo with
  6481. a given digest, mark that digest as undownloadable, so that we do
  6482. not attempt to download it again over and over. We previously
  6483. tried to avoid downloading such descriptors by other means, but we
  6484. didn't notice if we accidentally downloaded one anyway. This
  6485. behavior became problematic in 0.2.7.2-alpha, when authorities
  6486. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  6487. on 0.2.1.19-alpha.
  6488. o Minor bugfixes (error reporting, windows):
  6489. - When formatting Windows error messages, use the English format to
  6490. avoid codepage issues. Fixes bug 22520; bugfix on 0.1.2.8-alpha.
  6491. Patch from "Vort".
  6492. o Minor bugfixes (file limits, osx):
  6493. - When setting the maximum number of connections allowed by the OS,
  6494. always allow some extra file descriptors for other files. Fixes
  6495. bug 22797; bugfix on 0.2.0.10-alpha.
  6496. o Minor bugfixes (linux seccomp2 sandbox):
  6497. - Avoid a sandbox failure when trying to re-bind to a socket and
  6498. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  6499. o Minor bugfixes (memory leaks):
  6500. - Fix a small memory leak when validating a configuration that uses
  6501. two or more AF_UNIX sockets for the same port type. Fixes bug
  6502. 23053; bugfix on 0.2.6.3-alpha. This is CID 1415725.
  6503. o Minor bugfixes (unit tests):
  6504. - test_consdiff_base64cmp would fail on OS X because while OS X
  6505. follows the standard of (less than zero/zero/greater than zero),
  6506. it doesn't follow the convention of (-1/0/+1). Make the test
  6507. comply with the standard. Fixes bug 22870; bugfix on 0.3.1.1-alpha.
  6508. - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
  6509. Fixes bug 22803; bugfix on 0.3.0.1-alpha.
  6510. Changes in version 0.3.1.4-alpha - 2017-06-29
  6511. Tor 0.3.1.4-alpha fixes a path selection bug that would allow a client
  6512. to use a guard that was in the same network family as a chosen exit
  6513. relay. This is a security regression; all clients running earlier
  6514. versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9
  6515. or 0.3.1.4-alpha.
  6516. This release also fixes several other bugs introduced in 0.3.0.x
  6517. and 0.3.1.x, including others that can affect bandwidth usage
  6518. and correctness.
  6519. o New dependencies:
  6520. - To build with zstd and lzma support, Tor now requires the
  6521. pkg-config tool at build time. (This requirement was new in
  6522. 0.3.1.1-alpha, but was not noted at the time. Noting it here to
  6523. close ticket 22623.)
  6524. o Major bugfixes (path selection, security):
  6525. - When choosing which guard to use for a circuit, avoid the exit's
  6526. family along with the exit itself. Previously, the new guard
  6527. selection logic avoided the exit, but did not consider its family.
  6528. Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
  6529. 006 and CVE-2017-0377.
  6530. o Major bugfixes (compression, zstd):
  6531. - Correctly detect a full buffer when decompressing a large zstd-
  6532. compressed input. Previously, we would sometimes treat a full
  6533. buffer as an error. Fixes bug 22628; bugfix on 0.3.1.1-alpha.
  6534. o Major bugfixes (directory protocol):
  6535. - Ensure that we send "304 Not modified" as HTTP status code when a
  6536. client is attempting to fetch a consensus or consensus diff, and
  6537. the best one we can send them is one they already have. Fixes bug
  6538. 22702; bugfix on 0.3.1.1-alpha.
  6539. o Major bugfixes (entry guards):
  6540. - When starting with an old consensus, do not add new entry guards
  6541. unless the consensus is "reasonably live" (under 1 day old). Fixes
  6542. one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
  6543. o Minor features (bug mitigation, diagnostics, logging):
  6544. - Avoid an assertion failure, and log a better error message, when
  6545. unable to remove a file from the consensus cache on Windows.
  6546. Attempts to mitigate and diagnose bug 22752.
  6547. o Minor features (geoip):
  6548. - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
  6549. Country database.
  6550. o Minor bugfixes (compression):
  6551. - When compressing or decompressing a buffer, check for a failure to
  6552. create a compression object. Fixes bug 22626; bugfix
  6553. on 0.3.1.1-alpha.
  6554. - When decompressing a buffer, check for extra data after the end of
  6555. the compressed data. Fixes bug 22629; bugfix on 0.3.1.1-alpha.
  6556. - When decompressing an object received over an anonymous directory
  6557. connection, if we have already decompressed it using an acceptable
  6558. compression method, do not reject it for looking like an
  6559. unacceptable compression method. Fixes part of bug 22670; bugfix
  6560. on 0.3.1.1-alpha.
  6561. - When serving directory votes compressed with zlib, do not claim to
  6562. have compressed them with zstd. Fixes bug 22669; bugfix
  6563. on 0.3.1.1-alpha.
  6564. - When spooling compressed data to an output buffer, don't try to
  6565. spool more data when there is no more data to spool and we are not
  6566. trying to flush the input. Previously, we would sometimes launch
  6567. compression requests with nothing to do, which interferes with our
  6568. 22672 checks. Fixes bug 22719; bugfix on 0.2.0.16-alpha.
  6569. o Minor bugfixes (defensive programming):
  6570. - Detect and break out of infinite loops in our compression code. We
  6571. don't think that any such loops exist now, but it's best to be
  6572. safe. Closes ticket 22672.
  6573. - Fix a memset() off the end of an array when packing cells. This
  6574. bug should be harmless in practice, since the corrupted bytes are
  6575. still in the same structure, and are always padding bytes,
  6576. ignored, or immediately overwritten, depending on compiler
  6577. behavior. Nevertheless, because the memset()'s purpose is to make
  6578. sure that any other cell-handling bugs can't expose bytes to the
  6579. network, we need to fix it. Fixes bug 22737; bugfix on
  6580. 0.2.4.11-alpha. Fixes CID 1401591.
  6581. o Minor bugfixes (linux seccomp2 sandbox):
  6582. - Permit the fchmod system call, to avoid crashing on startup when
  6583. starting with the seccomp2 sandbox and an unexpected set of
  6584. permissions on the data directory or its contents. Fixes bug
  6585. 22516; bugfix on 0.2.5.4-alpha.
  6586. - Fix a crash in the LZMA module, when the sandbox was enabled, and
  6587. liblzma would allocate more than 16 MB of memory. We solve this by
  6588. bumping the mprotect() limit in the sandbox module from 16 MB to
  6589. 20 MB. Fixes bug 22751; bugfix on 0.3.1.1-alpha.
  6590. o Minor bugfixes (logging):
  6591. - When decompressing, do not warn if we fail to decompress using a
  6592. compression method that we merely guessed. Fixes part of bug
  6593. 22670; bugfix on 0.1.1.14-alpha.
  6594. - When decompressing, treat mismatch between content-encoding and
  6595. actual compression type as a protocol warning. Fixes part of bug
  6596. 22670; bugfix on 0.1.1.9-alpha.
  6597. - Downgrade "assigned_to_cpuworker failed" message to info-level
  6598. severity. In every case that can reach it, either a better warning
  6599. has already been logged, or no warning is warranted. Fixes bug
  6600. 22356; bugfix on 0.2.6.3-alpha.
  6601. - Demote a warn that was caused by libevent delays to info if
  6602. netflow padding is less than 4.5 seconds late, or to notice
  6603. if it is more (4.5 seconds is the amount of time that a netflow
  6604. record might be emitted after, if we chose the maximum timeout).
  6605. Fixes bug 22212; bugfix on 0.3.1.1-alpha.
  6606. o Minor bugfixes (process behavior):
  6607. - When exiting because of an error, always exit with a nonzero exit
  6608. status. Previously, we would fail to report an error in our exit
  6609. status in cases related to __OwningControllerProcess failure,
  6610. lockfile contention, and Ed25519 key initialization. Fixes bug
  6611. 22720; bugfix on versions 0.2.1.6-alpha, 0.2.2.28-beta, and
  6612. 0.2.7.2-alpha respectively. Reported by "f55jwk4f"; patch
  6613. from "huyvq".
  6614. o Documentation:
  6615. - Add a manpage description for the key-pinning-journal file. Closes
  6616. ticket 22347.
  6617. - Correctly note that bandwidth accounting values are stored in the
  6618. state file, and the bw_accounting file is now obsolete. Closes
  6619. ticket 16082.
  6620. - Document more of the files in the Tor data directory, including
  6621. cached-extrainfo, secret_onion_key{,_ntor}.old, hidserv-stats,
  6622. approved-routers, sr-random, and diff-cache. Found while fixing
  6623. ticket 22347.
  6624. Changes in version 0.3.0.9 - 2017-06-29
  6625. Tor 0.3.0.9 fixes a path selection bug that would allow a client
  6626. to use a guard that was in the same network family as a chosen exit
  6627. relay. This is a security regression; all clients running earlier
  6628. versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9 or
  6629. 0.3.1.4-alpha.
  6630. This release also backports several other bugfixes from the 0.3.1.x
  6631. series.
  6632. o Major bugfixes (path selection, security, backport from 0.3.1.4-alpha):
  6633. - When choosing which guard to use for a circuit, avoid the exit's
  6634. family along with the exit itself. Previously, the new guard
  6635. selection logic avoided the exit, but did not consider its family.
  6636. Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
  6637. 006 and CVE-2017-0377.
  6638. o Major bugfixes (entry guards, backport from 0.3.1.1-alpha):
  6639. - Don't block bootstrapping when a primary bridge is offline and we
  6640. can't get its descriptor. Fixes bug 22325; fixes one case of bug
  6641. 21969; bugfix on 0.3.0.3-alpha.
  6642. o Major bugfixes (entry guards, backport from 0.3.1.4-alpha):
  6643. - When starting with an old consensus, do not add new entry guards
  6644. unless the consensus is "reasonably live" (under 1 day old). Fixes
  6645. one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
  6646. o Minor features (geoip):
  6647. - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
  6648. Country database.
  6649. o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
  6650. - Reject version numbers with non-numeric prefixes (such as +, -, or
  6651. whitespace). Disallowing whitespace prevents differential version
  6652. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  6653. and part of 21508; bugfix on 0.0.8pre1.
  6654. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
  6655. - Permit the fchmod system call, to avoid crashing on startup when
  6656. starting with the seccomp2 sandbox and an unexpected set of
  6657. permissions on the data directory or its contents. Fixes bug
  6658. 22516; bugfix on 0.2.5.4-alpha.
  6659. o Minor bugfixes (defensive programming, backport from 0.3.1.4-alpha):
  6660. - Fix a memset() off the end of an array when packing cells. This
  6661. bug should be harmless in practice, since the corrupted bytes are
  6662. still in the same structure, and are always padding bytes,
  6663. ignored, or immediately overwritten, depending on compiler
  6664. behavior. Nevertheless, because the memset()'s purpose is to make
  6665. sure that any other cell-handling bugs can't expose bytes to the
  6666. network, we need to fix it. Fixes bug 22737; bugfix on
  6667. 0.2.4.11-alpha. Fixes CID 1401591.
  6668. Changes in version 0.3.1.3-alpha - 2017-06-08
  6669. Tor 0.3.1.3-alpha fixes a pair of bugs that would allow an attacker to
  6670. remotely crash a hidden service with an assertion failure. Anyone
  6671. running a hidden service should upgrade to this version, or to some
  6672. other version with fixes for TROVE-2017-004 and TROVE-2017-005.
  6673. Tor 0.3.1.3-alpha also includes fixes for several key management bugs
  6674. that sometimes made relays unreliable, as well as several other
  6675. bugfixes described below.
  6676. o Major bugfixes (hidden service, relay, security):
  6677. - Fix a remotely triggerable assertion failure when a hidden service
  6678. handles a malformed BEGIN cell. Fixes bug 22493, tracked as
  6679. TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
  6680. - Fix a remotely triggerable assertion failure caused by receiving a
  6681. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  6682. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  6683. on 0.2.2.1-alpha.
  6684. o Major bugfixes (relay, link handshake):
  6685. - When performing the v3 link handshake on a TLS connection, report
  6686. that we have the x509 certificate that we actually used on that
  6687. connection, even if we have changed certificates since that
  6688. connection was first opened. Previously, we would claim to have
  6689. used our most recent x509 link certificate, which would sometimes
  6690. make the link handshake fail. Fixes one case of bug 22460; bugfix
  6691. on 0.2.3.6-alpha.
  6692. o Major bugfixes (relays, key management):
  6693. - Regenerate link and authentication certificates whenever the key
  6694. that signs them changes; also, regenerate link certificates
  6695. whenever the signed key changes. Previously, these processes were
  6696. only weakly coupled, and we relays could (for minutes to hours)
  6697. wind up with an inconsistent set of keys and certificates, which
  6698. other relays would not accept. Fixes two cases of bug 22460;
  6699. bugfix on 0.3.0.1-alpha.
  6700. - When sending an Ed25519 signing->link certificate in a CERTS cell,
  6701. send the certificate that matches the x509 certificate that we
  6702. used on the TLS connection. Previously, there was a race condition
  6703. if the TLS context rotated after we began the TLS handshake but
  6704. before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
  6705. on 0.3.0.1-alpha.
  6706. o Major bugfixes (torrc, crash):
  6707. - Fix a crash bug when using %include in torrc. Fixes bug 22417;
  6708. bugfix on 0.3.1.1-alpha. Patch by Daniel Pinto.
  6709. o Minor features (code style):
  6710. - Add "Falls through" comments to our codebase, in order to silence
  6711. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  6712. Stieger. Closes ticket 22446.
  6713. o Minor features (diagnostic):
  6714. - Add logging messages to try to diagnose a rare bug that seems to
  6715. generate RSA->Ed25519 cross-certificates dated in the 1970s. We
  6716. think this is happening because of incorrect system clocks, but
  6717. we'd like to know for certain. Diagnostic for bug 22466.
  6718. o Minor bugfixes (correctness):
  6719. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  6720. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  6721. o Minor bugfixes (directory protocol):
  6722. - Check for libzstd >= 1.1, because older versions lack the
  6723. necessary streaming API. Fixes bug 22413; bugfix on 0.3.1.1-alpha.
  6724. o Minor bugfixes (link handshake):
  6725. - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
  6726. months, and regenerate it when it is within one month of expiring.
  6727. Previously, we had generated this certificate at startup with a
  6728. ten-year lifetime, but that could lead to weird behavior when Tor
  6729. was started with a grossly inaccurate clock. Mitigates bug 22466;
  6730. mitigation on 0.3.0.1-alpha.
  6731. o Minor bugfixes (storage directories):
  6732. - Always check for underflows in the cached storage directory usage.
  6733. If the usage does underflow, re-calculate it. Also, avoid a
  6734. separate underflow when the usage is not known. Fixes bug 22424;
  6735. bugfix on 0.3.1.1-alpha.
  6736. o Minor bugfixes (unit tests):
  6737. - The unit tests now pass on systems where localhost is misconfigured
  6738. to some IPv4 address other than 127.0.0.1. Fixes bug 6298; bugfix
  6739. on 0.0.9pre2.
  6740. o Documentation:
  6741. - Clarify the manpage for the (deprecated) torify script. Closes
  6742. ticket 6892.
  6743. Changes in version 0.3.0.8 - 2017-06-08
  6744. Tor 0.3.0.8 fixes a pair of bugs that would allow an attacker to
  6745. remotely crash a hidden service with an assertion failure. Anyone
  6746. running a hidden service should upgrade to this version, or to some
  6747. other version with fixes for TROVE-2017-004 and TROVE-2017-005.
  6748. Tor 0.3.0.8 also includes fixes for several key management bugs
  6749. that sometimes made relays unreliable, as well as several other
  6750. bugfixes described below.
  6751. o Major bugfixes (hidden service, relay, security, backport
  6752. from 0.3.1.3-alpha):
  6753. - Fix a remotely triggerable assertion failure when a hidden service
  6754. handles a malformed BEGIN cell. Fixes bug 22493, tracked as
  6755. TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
  6756. - Fix a remotely triggerable assertion failure caused by receiving a
  6757. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  6758. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  6759. on 0.2.2.1-alpha.
  6760. o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
  6761. - When performing the v3 link handshake on a TLS connection, report
  6762. that we have the x509 certificate that we actually used on that
  6763. connection, even if we have changed certificates since that
  6764. connection was first opened. Previously, we would claim to have
  6765. used our most recent x509 link certificate, which would sometimes
  6766. make the link handshake fail. Fixes one case of bug 22460; bugfix
  6767. on 0.2.3.6-alpha.
  6768. o Major bugfixes (relays, key management, backport from 0.3.1.3-alpha):
  6769. - Regenerate link and authentication certificates whenever the key
  6770. that signs them changes; also, regenerate link certificates
  6771. whenever the signed key changes. Previously, these processes were
  6772. only weakly coupled, and we relays could (for minutes to hours)
  6773. wind up with an inconsistent set of keys and certificates, which
  6774. other relays would not accept. Fixes two cases of bug 22460;
  6775. bugfix on 0.3.0.1-alpha.
  6776. - When sending an Ed25519 signing->link certificate in a CERTS cell,
  6777. send the certificate that matches the x509 certificate that we
  6778. used on the TLS connection. Previously, there was a race condition
  6779. if the TLS context rotated after we began the TLS handshake but
  6780. before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
  6781. on 0.3.0.1-alpha.
  6782. o Major bugfixes (hidden service v3, backport from 0.3.1.1-alpha):
  6783. - Stop rejecting v3 hidden service descriptors because their size
  6784. did not match an old padding rule. Fixes bug 22447; bugfix on
  6785. 0.3.0.1-alpha.
  6786. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  6787. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  6788. December 2016 (of which ~126 were still functional) with a list of
  6789. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  6790. 2017. Resolves ticket 21564.
  6791. o Minor bugfixes (configuration, backport from 0.3.1.1-alpha):
  6792. - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
  6793. bug 22252; bugfix on 0.2.9.3-alpha.
  6794. o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
  6795. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  6796. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  6797. o Minor bugfixes (link handshake, backport from 0.3.1.3-alpha):
  6798. - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
  6799. months, and regenerate it when it is within one month of expiring.
  6800. Previously, we had generated this certificate at startup with a
  6801. ten-year lifetime, but that could lead to weird behavior when Tor
  6802. was started with a grossly inaccurate clock. Mitigates bug 22466;
  6803. mitigation on 0.3.0.1-alpha.
  6804. o Minor bugfixes (memory leak, directory authority, backport from
  6805. 0.3.1.2-alpha):
  6806. - When directory authorities reject a router descriptor due to
  6807. keypinning, free the router descriptor rather than leaking the
  6808. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  6809. Changes in version 0.2.9.11 - 2017-06-08
  6810. Tor 0.2.9.11 backports a fix for a bug that would allow an attacker to
  6811. remotely crash a hidden service with an assertion failure. Anyone
  6812. running a hidden service should upgrade to this version, or to some
  6813. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  6814. are not affected by TROVE-2017-004.)
  6815. Tor 0.2.9.11 also backports fixes for several key management bugs
  6816. that sometimes made relays unreliable, as well as several other
  6817. bugfixes described below.
  6818. o Major bugfixes (hidden service, relay, security, backport
  6819. from 0.3.1.3-alpha):
  6820. - Fix a remotely triggerable assertion failure caused by receiving a
  6821. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  6822. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  6823. on 0.2.2.1-alpha.
  6824. o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
  6825. - When performing the v3 link handshake on a TLS connection, report
  6826. that we have the x509 certificate that we actually used on that
  6827. connection, even if we have changed certificates since that
  6828. connection was first opened. Previously, we would claim to have
  6829. used our most recent x509 link certificate, which would sometimes
  6830. make the link handshake fail. Fixes one case of bug 22460; bugfix
  6831. on 0.2.3.6-alpha.
  6832. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  6833. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  6834. December 2016 (of which ~126 were still functional) with a list of
  6835. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  6836. 2017. Resolves ticket 21564.
  6837. o Minor features (future-proofing, backport from 0.3.0.7):
  6838. - Tor no longer refuses to download microdescriptors or descriptors if
  6839. they are listed as "published in the future". This change will
  6840. eventually allow us to stop listing meaningful "published" dates
  6841. in microdescriptor consensuses, and thereby allow us to reduce the
  6842. resources required to download consensus diffs by over 50%.
  6843. Implements part of ticket 21642; implements part of proposal 275.
  6844. o Minor features (directory authorities, backport from 0.3.0.4-rc)
  6845. - Directory authorities now reject relays running versions
  6846. 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
  6847. suffer from bug 20499 and don't keep their consensus cache
  6848. up-to-date. Resolves ticket 20509.
  6849. o Minor features (geoip):
  6850. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  6851. Country database.
  6852. o Minor bugfixes (control port, backport from 0.3.0.6):
  6853. - The GETINFO extra-info/digest/<digest> command was broken because
  6854. of a wrong base16 decode return value check, introduced when
  6855. refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
  6856. o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
  6857. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  6858. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  6859. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.0.7):
  6860. - The getpid() system call is now permitted under the Linux seccomp2
  6861. sandbox, to avoid crashing with versions of OpenSSL (and other
  6862. libraries) that attempt to learn the process's PID by using the
  6863. syscall rather than the VDSO code. Fixes bug 21943; bugfix
  6864. on 0.2.5.1-alpha.
  6865. o Minor bugfixes (memory leak, directory authority, backport
  6866. from 0.3.1.2-alpha):
  6867. - When directory authorities reject a router descriptor due to
  6868. keypinning, free the router descriptor rather than leaking the
  6869. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  6870. Changes in version 0.2.8.14 - 2017-06-08
  6871. Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
  6872. remotely crash a hidden service with an assertion failure. Anyone
  6873. running a hidden service should upgrade to this version, or to some
  6874. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  6875. are not affected by TROVE-2017-004.)
  6876. o Major bugfixes (hidden service, relay, security):
  6877. - Fix a remotely triggerable assertion failure caused by receiving a
  6878. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  6879. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  6880. on 0.2.2.1-alpha.
  6881. o Minor features (geoip):
  6882. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  6883. Country database.
  6884. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  6885. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  6886. December 2016 (of which ~126 were still functional) with a list of
  6887. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  6888. 2017. Resolves ticket 21564.
  6889. o Minor bugfixes (correctness):
  6890. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  6891. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  6892. Changes in version 0.2.7.8 - 2017-06-08
  6893. Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
  6894. remotely crash a hidden service with an assertion failure. Anyone
  6895. running a hidden service should upgrade to this version, or to some
  6896. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  6897. are not affected by TROVE-2017-004.)
  6898. o Major bugfixes (hidden service, relay, security):
  6899. - Fix a remotely triggerable assertion failure caused by receiving a
  6900. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  6901. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  6902. on 0.2.2.1-alpha.
  6903. o Minor features (geoip):
  6904. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  6905. Country database.
  6906. o Minor bugfixes (correctness):
  6907. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  6908. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  6909. Changes in version 0.2.6.12 - 2017-06-08
  6910. Tor 0.2.6.12 backports a fix for a bug that would allow an attacker to
  6911. remotely crash a hidden service with an assertion failure. Anyone
  6912. running a hidden service should upgrade to this version, or to some
  6913. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  6914. are not affected by TROVE-2017-004.)
  6915. o Major bugfixes (hidden service, relay, security):
  6916. - Fix a remotely triggerable assertion failure caused by receiving a
  6917. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  6918. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  6919. on 0.2.2.1-alpha.
  6920. o Minor features (geoip):
  6921. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  6922. Country database.
  6923. o Minor bugfixes (correctness):
  6924. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  6925. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  6926. Changes in version 0.2.5.14 - 2017-06-08
  6927. Tor 0.2.5.14 backports a fix for a bug that would allow an attacker to
  6928. remotely crash a hidden service with an assertion failure. Anyone
  6929. running a hidden service should upgrade to this version, or to some
  6930. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  6931. are not affected by TROVE-2017-004.)
  6932. o Major bugfixes (hidden service, relay, security):
  6933. - Fix a remotely triggerable assertion failure caused by receiving a
  6934. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  6935. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  6936. on 0.2.2.1-alpha.
  6937. o Minor features (geoip):
  6938. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  6939. Country database.
  6940. o Minor bugfixes (correctness):
  6941. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  6942. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  6943. Changes in version 0.2.4.29 - 2017-06-08
  6944. Tor 0.2.4.29 backports a fix for a bug that would allow an attacker to
  6945. remotely crash a hidden service with an assertion failure. Anyone
  6946. running a hidden service should upgrade to this version, or to some
  6947. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  6948. are not affected by TROVE-2017-004.)
  6949. o Major bugfixes (hidden service, relay, security):
  6950. - Fix a remotely triggerable assertion failure caused by receiving a
  6951. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  6952. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  6953. on 0.2.2.1-alpha.
  6954. o Minor features (geoip):
  6955. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  6956. Country database.
  6957. o Minor bugfixes (correctness):
  6958. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  6959. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  6960. Changes in version 0.3.1.2-alpha - 2017-05-26
  6961. Tor 0.3.1.2-alpha is the second release in the 0.3.1.x series. It
  6962. fixes a few bugs found while testing 0.3.1.1-alpha, including a
  6963. memory corruption bug that affected relay stability.
  6964. o Major bugfixes (crash, relay):
  6965. - Fix a memory-corruption bug in relays that set MyFamily.
  6966. Previously, they would double-free MyFamily elements when making
  6967. the next descriptor or when changing their configuration. Fixes
  6968. bug 22368; bugfix on 0.3.1.1-alpha.
  6969. o Minor bugfixes (logging):
  6970. - Log a better message when a directory authority replies to an
  6971. upload with an unexpected status code. Fixes bug 11121; bugfix
  6972. on 0.1.0.1-rc.
  6973. o Minor bugfixes (memory leak, directory authority):
  6974. - When directory authorities reject a router descriptor due to
  6975. keypinning, free the router descriptor rather than leaking the
  6976. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  6977. Changes in version 0.3.1.1-alpha - 2017-05-22
  6978. Tor 0.3.1.1-alpha is the first release in the 0.3.1.x series. It
  6979. reduces the bandwidth usage for Tor's directory protocol, adds some
  6980. basic padding to resist netflow-based traffic analysis and to serve as
  6981. the basis of other padding in the future, and adds rust support to the
  6982. build system.
  6983. It also contains numerous other small features and improvements to
  6984. security, correctness, and performance.
  6985. Below are the changes since 0.3.0.7.
  6986. o Major features (directory protocol):
  6987. - Tor relays and authorities can now serve clients an abbreviated
  6988. version of the consensus document, containing only the changes
  6989. since an older consensus document that the client holds. Clients
  6990. now request these documents when available. When both client and
  6991. server use this new protocol, they will use far less bandwidth (up
  6992. to 94% less) to keep the client's consensus up-to-date. Implements
  6993. proposal 140; closes ticket 13339. Based on work by Daniel Martí.
  6994. - Tor can now compress directory traffic with lzma or with zstd
  6995. compression algorithms, which can deliver better bandwidth
  6996. performance. Because lzma is computationally expensive, it's only
  6997. used for documents that can be compressed once and served many
  6998. times. Support for these algorithms requires that tor is built
  6999. with the libzstd and/or liblzma libraries available. Implements
  7000. proposal 278; closes ticket 21662.
  7001. - Relays now perform the more expensive compression operations, and
  7002. consensus diff generation, in worker threads. This separation
  7003. avoids delaying the main thread when a new consensus arrives.
  7004. o Major features (experimental):
  7005. - Tor can now build modules written in Rust. To turn this on, pass
  7006. the "--enable-rust" flag to the configure script. It's not time to
  7007. get excited yet: currently, there is no actual Rust functionality
  7008. beyond some simple glue code, and a notice at startup to tell you
  7009. that Rust is running. Still, we hope that programmers and
  7010. packagers will try building Tor with Rust support, so that we can
  7011. find issues and solve portability problems. Closes ticket 22106.
  7012. o Major features (traffic analysis resistance):
  7013. - Connections between clients and relays now send a padding cell in
  7014. each direction every 1.5 to 9.5 seconds (tunable via consensus
  7015. parameters). This padding will not resist specialized
  7016. eavesdroppers, but it should be enough to make many ISPs' routine
  7017. network flow logging less useful in traffic analysis against
  7018. Tor users.
  7019. Padding is negotiated using Tor's link protocol, so both relays
  7020. and clients must upgrade for this to take effect. Clients may
  7021. still send padding despite the relay's version by setting
  7022. ConnectionPadding 1 in torrc, and may disable padding by setting
  7023. ConnectionPadding 0 in torrc. Padding may be minimized for mobile
  7024. users with the torrc option ReducedConnectionPadding. Implements
  7025. Proposal 251 and Section 2 of Proposal 254; closes ticket 16861.
  7026. - Relays will publish 24 hour totals of padding and non-padding cell
  7027. counts to their extra-info descriptors, unless PaddingStatistics 0
  7028. is set in torrc. These 24 hour totals are also rounded to
  7029. multiples of 10000.
  7030. o Major bugfixes (connection usage):
  7031. - We use NETINFO cells to try to determine if both relays involved
  7032. in a connection will agree on the canonical status of that
  7033. connection. We prefer the connections where this is the case for
  7034. extend cells, and try to close connections where relays disagree
  7035. on their canonical status early. Also, we now prefer the oldest
  7036. valid connection for extend cells. These two changes should reduce
  7037. the number of long-term connections that are kept open between
  7038. relays. Fixes bug 17604; bugfix on 0.2.5.5-alpha.
  7039. - Relays now log hourly statistics (look for
  7040. "channel_check_for_duplicates" lines) on the total number of
  7041. connections to other relays. If the number of connections per
  7042. relay is unexpectedly large, this log message is at notice level.
  7043. Otherwise it is at info.
  7044. o Major bugfixes (entry guards):
  7045. - Don't block bootstrapping when a primary bridge is offline and we
  7046. can't get its descriptor. Fixes bug 22325; fixes one case of bug
  7047. 21969; bugfix on 0.3.0.3-alpha.
  7048. o Major bugfixes (linux TPROXY support):
  7049. - Fix a typo that had prevented TPROXY-based transparent proxying
  7050. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  7051. Patch from "d4fq0fQAgoJ".
  7052. o Minor features (security, windows):
  7053. - Enable a couple of pieces of Windows hardening: one
  7054. (HeapEnableTerminationOnCorruption) that has been on-by-default
  7055. since Windows 8, and unavailable before Windows 7; and one
  7056. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  7057. affect us, but shouldn't do any harm. Closes ticket 21953.
  7058. o Minor features (config options):
  7059. - Allow "%include" directives in torrc configuration files. These
  7060. directives import the settings from other files, or from all the
  7061. files in a directory. Closes ticket 1922. Code by Daniel Pinto.
  7062. - Make SAVECONF return an error when overwriting a torrc that has
  7063. includes. Using SAVECONF with the FORCE option will allow it to
  7064. overwrite torrc even if includes are used. Related to ticket 1922.
  7065. - Add "GETINFO config-can-saveconf" to tell controllers if SAVECONF
  7066. will work without the FORCE option. Related to ticket 1922.
  7067. o Minor features (controller):
  7068. - Warn the first time that a controller requests data in the long-
  7069. deprecated 'GETINFO network-status' format. Closes ticket 21703.
  7070. o Minor features (defaults):
  7071. - The default value for UseCreateFast is now 0: clients which
  7072. haven't yet received a consensus document will now use a proper
  7073. ntor handshake to talk to their directory servers whenever they
  7074. can. Closes ticket 21407.
  7075. - Onion key rotation and expiry intervals are now defined as a
  7076. network consensus parameter, per proposal 274. The default
  7077. lifetime of an onion key is increased from 7 to 28 days. Old onion
  7078. keys will expire after 7 days by default. This change will make
  7079. consensus diffs much smaller, and save significant bandwidth.
  7080. Closes ticket 21641.
  7081. o Minor features (fallback directory list):
  7082. - Update the fallback directory mirror whitelist and blacklist based
  7083. on operator emails. Closes task 21121.
  7084. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  7085. December 2016 (of which ~126 were still functional) with a list of
  7086. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  7087. 2017. Resolves ticket 21564.
  7088. o Minor features (hidden services, logging):
  7089. - Log a message when a hidden service descriptor has fewer
  7090. introduction points than specified in
  7091. HiddenServiceNumIntroductionPoints. Closes tickets 21598.
  7092. - Log a message when a hidden service reaches its introduction point
  7093. circuit limit, and when that limit is reset. Follow up to ticket
  7094. 21594; closes ticket 21622.
  7095. - Warn user if multiple entries in EntryNodes and at least one
  7096. HiddenService are used together. Pinning EntryNodes along with a
  7097. hidden service can be possibly harmful; for instance see ticket
  7098. 14917 or 21155. Closes ticket 21155.
  7099. o Minor features (linux seccomp2 sandbox):
  7100. - We now have a document storage backend compatible with the Linux
  7101. seccomp2 sandbox. This backend is used for consensus documents and
  7102. diffs between them; in the long term, we'd like to use it for
  7103. unparseable directory material too. Closes ticket 21645
  7104. - Increase the maximum allowed size passed to mprotect(PROT_WRITE)
  7105. from 1MB to 16MB. This was necessary with the glibc allocator in
  7106. order to allow worker threads to allocate more memory -- which in
  7107. turn is necessary because of our new use of worker threads for
  7108. compression. Closes ticket 22096.
  7109. o Minor features (logging):
  7110. - Log files are no longer created world-readable by default.
  7111. (Previously, most distributors would store the logs in a non-
  7112. world-readable location to prevent inappropriate access. This
  7113. change is an extra precaution.) Closes ticket 21729; patch
  7114. from toralf.
  7115. o Minor features (performance):
  7116. - Our Keccak (SHA-3) implementation now accesses memory more
  7117. efficiently, especially on little-endian systems. Closes
  7118. ticket 21737.
  7119. - Add an O(1) implementation of channel_find_by_global_id(), to
  7120. speed some controller functions.
  7121. o Minor features (relay, configuration):
  7122. - The MyFamily option may now be repeated as many times as desired,
  7123. for relays that want to configure large families. Closes ticket
  7124. 4998; patch by Daniel Pinto.
  7125. o Minor features (safety):
  7126. - Add an explicit check to extrainfo_parse_entry_from_string() for
  7127. NULL inputs. We don't believe this can actually happen, but it may
  7128. help silence a warning from the Clang analyzer. Closes
  7129. ticket 21496.
  7130. o Minor features (testing):
  7131. - Add a "--disable-memory-sentinels" feature to help with fuzzing.
  7132. When Tor is compiled with this option, we disable a number of
  7133. redundant memory-safety failsafes that are intended to stop bugs
  7134. from becoming security issues. This makes it easier to hunt for
  7135. bugs that would be security issues without the failsafes turned
  7136. on. Closes ticket 21439.
  7137. - Add a general event-tracing instrumentation support to Tor. This
  7138. subsystem will enable developers and researchers to add fine-
  7139. grained instrumentation to their Tor instances, for use when
  7140. examining Tor network performance issues. There are no trace
  7141. events yet, and event-tracing is off by default unless enabled at
  7142. compile time. Implements ticket 13802.
  7143. - Improve our version parsing tests: add tests for typical version
  7144. components, add tests for invalid versions, including numeric
  7145. range and non-numeric prefixes. Unit tests 21278, 21450, and
  7146. 21507. Partially implements 21470.
  7147. o Minor bugfixes (bandwidth accounting):
  7148. - Roll over monthly accounting at the configured hour and minute,
  7149. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  7150. Found by Andrey Karpov with PVS-Studio.
  7151. o Minor bugfixes (code correctness):
  7152. - Accurately identify client connections by their lack of peer
  7153. authentication. This means that we bail out earlier if asked to
  7154. extend to a client. Follow-up to 21407. Fixes bug 21406; bugfix
  7155. on 0.2.4.23.
  7156. o Minor bugfixes (configuration):
  7157. - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
  7158. bug 22252; bugfix on 0.2.9.3-alpha.
  7159. o Minor bugfixes (connection lifespan):
  7160. - Allow more control over how long TLS connections are kept open:
  7161. unify CircuitIdleTimeout and PredictedPortsRelevanceTime into a
  7162. single option called CircuitsAvailableTimeout. Also, allow the
  7163. consensus to control the default values for both this preference
  7164. and the lifespan of relay-to-relay connections. Fixes bug 17592;
  7165. bugfix on 0.2.5.5-alpha.
  7166. - Increase the initial circuit build timeout testing frequency, to
  7167. help ensure that ReducedConnectionPadding clients finish learning
  7168. a timeout before their orconn would expire. The initial testing
  7169. rate was set back in the days of TAP and before the Tor Browser
  7170. updater, when we had to be much more careful about new clients
  7171. making lots of circuits. With this change, a circuit build timeout
  7172. is learned in about 15-20 minutes, instead of 100-120 minutes.
  7173. o Minor bugfixes (controller):
  7174. - GETINFO onions/current and onions/detached no longer respond with
  7175. 551 on empty lists. Fixes bug 21329; bugfix on 0.2.7.1-alpha.
  7176. - Trigger HS descriptor events on the control port when the client
  7177. fails to pick a hidden service directory for a hidden service.
  7178. This can happen if all the hidden service directories are in
  7179. ExcludeNodes, or they have all been queried within the last 15
  7180. minutes. Fixes bug 22042; bugfix on 0.2.5.2-alpha.
  7181. o Minor bugfixes (directory authority):
  7182. - When rejecting a router descriptor for running an obsolete version
  7183. of Tor without ntor support, warn about the obsolete tor version,
  7184. not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
  7185. - Prevent the shared randomness subsystem from asserting when
  7186. initialized by a bridge authority with an incomplete configuration
  7187. file. Fixes bug 21586; bugfix on 0.2.9.8.
  7188. o Minor bugfixes (exit-side DNS):
  7189. - Fix an untriggerable assertion that checked the output of a
  7190. libevent DNS error, so that the assertion actually behaves as
  7191. expected. Fixes bug 22244; bugfix on 0.2.0.20-rc. Found by Andrey
  7192. Karpov using PVS-Studio.
  7193. o Minor bugfixes (fallback directories):
  7194. - Make the usage example in updateFallbackDirs.py actually work, and
  7195. explain what it does. Fixes bug 22270; bugfix on 0.3.0.3-alpha.
  7196. - Decrease the guard flag average required to be a fallback. This
  7197. allows us to keep relays that have their guard flag removed when
  7198. they restart. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
  7199. - Decrease the minimum number of fallbacks to 100. Fixes bug 20913;
  7200. bugfix on 0.2.8.1-alpha.
  7201. - Make sure fallback directory mirrors have the same address, port,
  7202. and relay identity key for at least 30 days before they are
  7203. selected. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
  7204. o Minor bugfixes (hidden services):
  7205. - Stop printing a cryptic warning when a hidden service gets a
  7206. request to connect to a virtual port that it hasn't configured.
  7207. Fixes bug 16706; bugfix on 0.2.6.3-alpha.
  7208. - Simplify hidden service descriptor creation by using an existing
  7209. flag to check if an introduction point is established. Fixes bug
  7210. 21599; bugfix on 0.2.7.2-alpha.
  7211. o Minor bugfixes (memory leak):
  7212. - Fix a small memory leak at exit from the backtrace handler code.
  7213. Fixes bug 21788; bugfix on 0.2.5.2-alpha. Patch from Daniel Pinto.
  7214. o Minor bugfixes (protocol, logging):
  7215. - Downgrade a log statement about unexpected relay cells from "bug"
  7216. to "protocol warning", because there is at least one use case
  7217. where it can be triggered by a buggy tor implementation. Fixes bug
  7218. 21293; bugfix on 0.1.1.14-alpha.
  7219. o Minor bugfixes (testing):
  7220. - Use unbuffered I/O for utility functions around the
  7221. process_handle_t type. This fixes unit test failures reported on
  7222. OpenBSD and FreeBSD. Fixes bug 21654; bugfix on 0.2.3.1-alpha.
  7223. - Make display of captured unit test log messages consistent. Fixes
  7224. bug 21510; bugfix on 0.2.9.3-alpha.
  7225. - Make test-network.sh always call chutney's test-network.sh.
  7226. Previously, this only worked on systems which had bash installed,
  7227. due to some bash-specific code in the script. Fixes bug 19699;
  7228. bugfix on 0.3.0.4-rc. Follow-up to ticket 21581.
  7229. o Minor bugfixes (voting consistency):
  7230. - Reject version numbers with non-numeric prefixes (such as +, -, or
  7231. whitespace). Disallowing whitespace prevents differential version
  7232. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  7233. and part of 21508; bugfix on 0.0.8pre1.
  7234. o Minor bugfixes (windows, relay):
  7235. - Resolve "Failure from drain_fd: No error" warnings on Windows
  7236. relays. Fixes bug 21540; bugfix on 0.2.6.3-alpha.
  7237. o Code simplification and refactoring:
  7238. - Break up the 630-line function connection_dir_client_reached_eof()
  7239. into a dozen smaller functions. This change should help
  7240. maintainability and readability of the client directory code.
  7241. - Isolate our use of the openssl headers so that they are only
  7242. included from our crypto wrapper modules, and from tests that
  7243. examine those modules' internals. Closes ticket 21841.
  7244. - Simplify our API to launch directory requests, making it more
  7245. extensible and less error-prone. Now it's easier to add extra
  7246. headers to directory requests. Closes ticket 21646.
  7247. - Our base64 decoding functions no longer overestimate the output
  7248. space that they need when parsing unpadded inputs. Closes
  7249. ticket 17868.
  7250. - Remove unused "ROUTER_ADDED_NOTIFY_GENERATOR" internal value.
  7251. Resolves ticket 22213.
  7252. - The logic that directory caches use to spool request to clients,
  7253. serving them one part at a time so as not to allocate too much
  7254. memory, has been refactored for consistency. Previously there was
  7255. a separate spooling implementation per type of spoolable data. Now
  7256. there is one common spooling implementation, with extensible data
  7257. types. Closes ticket 21651.
  7258. - Tor's compression module now supports multiple backends. Part of
  7259. the implementation for proposal 278; closes ticket 21663.
  7260. o Documentation:
  7261. - Clarify the behavior of the KeepAliveIsolateSOCKSAuth sub-option.
  7262. Closes ticket 21873.
  7263. - Correct documentation about the default DataDirectory value.
  7264. Closes ticket 21151.
  7265. - Document the default behavior of NumEntryGuards and
  7266. NumDirectoryGuards correctly. Fixes bug 21715; bugfix
  7267. on 0.3.0.1-alpha.
  7268. - Document key=value pluggable transport arguments for Bridge lines
  7269. in torrc. Fixes bug 20341; bugfix on 0.2.5.1-alpha.
  7270. - Note that bandwidth-limiting options don't affect TCP headers or
  7271. DNS. Closes ticket 17170.
  7272. o Removed features (configuration options, all in ticket 22060):
  7273. - These configuration options are now marked Obsolete, and no longer
  7274. have any effect: AllowInvalidNodes, AllowSingleHopCircuits,
  7275. AllowSingleHopExits, ExcludeSingleHopRelays, FastFirstHopPK,
  7276. TLSECGroup, WarnUnsafeSocks. They were first marked as deprecated
  7277. in 0.2.9.2-alpha and have now been removed. The previous default
  7278. behavior is now always chosen; the previous (less secure) non-
  7279. default behavior is now unavailable.
  7280. - CloseHSClientCircuitsImmediatelyOnTimeout and
  7281. CloseHSServiceRendCircuitsImmediatelyOnTimeout were deprecated in
  7282. 0.2.9.2-alpha and now have been removed. HS circuits never close
  7283. on circuit build timeout; they have a longer timeout period.
  7284. - {Control,DNS,Dir,Socks,Trans,NATD,OR}ListenAddress were deprecated
  7285. in 0.2.9.2-alpha and now have been removed. Use the ORPort option
  7286. (and others) to configure listen-only and advertise-only addresses.
  7287. o Removed features (tools):
  7288. - We've removed the tor-checkkey tool from src/tools. Long ago, we
  7289. used it to help people detect RSA keys that were generated by
  7290. versions of Debian affected by CVE-2008-0166. But those keys have
  7291. been out of circulation for ages, and this tool is no longer
  7292. required. Closes ticket 21842.
  7293. Changes in version 0.3.0.7 - 2017-05-15
  7294. Tor 0.3.0.7 fixes a medium-severity security bug in earlier versions
  7295. of Tor 0.3.0.x, where an attacker could cause a Tor relay process
  7296. to exit. Relays running earlier versions of Tor 0.3.0.x should upgrade;
  7297. clients are not affected.
  7298. o Major bugfixes (hidden service directory, security):
  7299. - Fix an assertion failure in the hidden service directory code, which
  7300. could be used by an attacker to remotely cause a Tor relay process to
  7301. exit. Relays running earlier versions of Tor 0.3.0.x should upgrade.
  7302. should upgrade. This security issue is tracked as TROVE-2017-002.
  7303. Fixes bug 22246; bugfix on 0.3.0.1-alpha.
  7304. o Minor features:
  7305. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  7306. Country database.
  7307. o Minor features (future-proofing):
  7308. - Tor no longer refuses to download microdescriptors or descriptors
  7309. if they are listed as "published in the future". This change will
  7310. eventually allow us to stop listing meaningful "published" dates
  7311. in microdescriptor consensuses, and thereby allow us to reduce the
  7312. resources required to download consensus diffs by over 50%.
  7313. Implements part of ticket 21642; implements part of proposal 275.
  7314. o Minor bugfixes (Linux seccomp2 sandbox):
  7315. - The getpid() system call is now permitted under the Linux seccomp2
  7316. sandbox, to avoid crashing with versions of OpenSSL (and other
  7317. libraries) that attempt to learn the process's PID by using the
  7318. syscall rather than the VDSO code. Fixes bug 21943; bugfix
  7319. on 0.2.5.1-alpha.
  7320. Changes in version 0.3.0.6 - 2017-04-26
  7321. Tor 0.3.0.6 is the first stable release of the Tor 0.3.0 series.
  7322. With the 0.3.0 series, clients and relays now use Ed25519 keys to
  7323. authenticate their link connections to relays, rather than the old
  7324. RSA1024 keys that they used before. (Circuit crypto has been
  7325. Curve25519-authenticated since 0.2.4.8-alpha.) We have also replaced
  7326. the guard selection and replacement algorithm to behave more robustly
  7327. in the presence of unreliable networks, and to resist guard-
  7328. capture attacks.
  7329. This series also includes numerous other small features and bugfixes,
  7330. along with more groundwork for the upcoming hidden-services revamp.
  7331. Per our stable release policy, we plan to support the Tor 0.3.0
  7332. release series for at least the next nine months, or for three months
  7333. after the first stable release of the 0.3.1 series: whichever is
  7334. longer. If you need a release with long-term support, we recommend
  7335. that you stay with the 0.2.9 series.
  7336. Below are the changes since 0.3.0.5-rc. For a list of all changes
  7337. since 0.2.9, see the ReleaseNotes file.
  7338. o Minor features (geoip):
  7339. - Update geoip and geoip6 to the April 4 2017 Maxmind GeoLite2
  7340. Country database.
  7341. o Minor bugfixes (control port):
  7342. - The GETINFO extra-info/digest/<digest> command was broken because
  7343. of a wrong base16 decode return value check, introduced when
  7344. refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
  7345. o Minor bugfixes (crash prevention):
  7346. - Fix a (currently untriggerable, but potentially dangerous) crash
  7347. bug when base32-encoding inputs whose sizes are not a multiple of
  7348. 5. Fixes bug 21894; bugfix on 0.2.9.1-alpha.
  7349. Changes in version 0.3.0.5-rc - 2017-04-05
  7350. Tor 0.3.0.5-rc fixes a few remaining bugs, large and small, in the
  7351. 0.3.0 release series.
  7352. This is the second release candidate in the Tor 0.3.0 series, and has
  7353. much fewer changes than the first. If we find no new bugs or
  7354. regressions here, the first stable 0.3.0 release will be nearly
  7355. identical to it.
  7356. o Major bugfixes (crash, directory connections):
  7357. - Fix a rare crash when sending a begin cell on a circuit whose
  7358. linked directory connection had already been closed. Fixes bug
  7359. 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
  7360. o Major bugfixes (guard selection):
  7361. - Fix a guard selection bug where Tor would refuse to bootstrap in
  7362. some cases if the user swapped a bridge for another bridge in
  7363. their configuration file. Fixes bug 21771; bugfix on 0.3.0.1-alpha.
  7364. Reported by "torvlnt33r".
  7365. o Minor features (geoip):
  7366. - Update geoip and geoip6 to the March 7 2017 Maxmind GeoLite2
  7367. Country database.
  7368. o Minor bugfix (compilation):
  7369. - Fix a warning when compiling hs_service.c. Previously, it had no
  7370. exported symbols when compiled for libor.a, resulting in a
  7371. compilation warning from clang. Fixes bug 21825; bugfix
  7372. on 0.3.0.1-alpha.
  7373. o Minor bugfixes (hidden services):
  7374. - Make hidden services check for failed intro point connections,
  7375. even when they have exceeded their intro point creation limit.
  7376. Fixes bug 21596; bugfix on 0.2.7.2-alpha. Reported by Alec Muffett.
  7377. - Make hidden services with 8 to 10 introduction points check for
  7378. failed circuits immediately after startup. Previously, they would
  7379. wait for 5 minutes before performing their first checks. Fixes bug
  7380. 21594; bugfix on 0.2.3.9-alpha. Reported by Alec Muffett.
  7381. o Minor bugfixes (memory leaks):
  7382. - Fix a memory leak when using GETCONF on a port option. Fixes bug
  7383. 21682; bugfix on 0.3.0.3-alpha.
  7384. o Minor bugfixes (relay):
  7385. - Avoid a double-marked-circuit warning that could happen when we
  7386. receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
  7387. on 0.1.0.1-rc.
  7388. o Minor bugfixes (tests):
  7389. - Run the entry_guard_parse_from_state_full() test with the time set
  7390. to a specific date. (The guard state that this test was parsing
  7391. contained guards that had expired since the test was first
  7392. written.) Fixes bug 21799; bugfix on 0.3.0.1-alpha.
  7393. o Documentation:
  7394. - Update the description of the directory server options in the
  7395. manual page, to clarify that a relay no longer needs to set
  7396. DirPort in order to be a directory cache. Closes ticket 21720.
  7397. Changes in version 0.2.8.13 - 2017-03-03
  7398. Tor 0.2.8.13 backports a security fix from later Tor
  7399. releases. Anybody running Tor 0.2.8.12 or earlier should upgrade to this
  7400. this release, if for some reason they cannot upgrade to a later
  7401. release series, and if they build Tor with the --enable-expensive-hardening
  7402. option.
  7403. Note that support for Tor 0.2.8.x is ending next year: we will not issue
  7404. any fixes for the Tor 0.2.8.x series after 1 Jan 2018. If you need
  7405. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  7406. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  7407. - Fix an integer underflow bug when comparing malformed Tor
  7408. versions. This bug could crash Tor when built with
  7409. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  7410. 0.2.9.8, which were built with -ftrapv by default. In other cases
  7411. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  7412. on 0.0.8pre1. Found by OSS-Fuzz.
  7413. o Minor features (geoip):
  7414. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  7415. Country database.
  7416. Changes in version 0.2.7.7 - 2017-03-03
  7417. Tor 0.2.7.7 backports a number of security fixes from later Tor
  7418. releases. Anybody running Tor 0.2.7.6 or earlier should upgrade to
  7419. this release, if for some reason they cannot upgrade to a later
  7420. release series.
  7421. Note that support for Tor 0.2.7.x is ending this year: we will not issue
  7422. any fixes for the Tor 0.2.7.x series after 1 August 2017. If you need
  7423. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  7424. o Directory authority changes (backport from 0.2.8.5-rc):
  7425. - Urras is no longer a directory authority. Closes ticket 19271.
  7426. o Directory authority changes (backport from 0.2.9.2-alpha):
  7427. - The "Tonga" bridge authority has been retired; the new bridge
  7428. authority is "Bifroest". Closes tickets 19728 and 19690.
  7429. o Directory authority key updates (backport from 0.2.8.1-alpha):
  7430. - Update the V3 identity key for the dannenberg directory authority:
  7431. it was changed on 18 November 2015. Closes task 17906. Patch
  7432. by "teor".
  7433. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  7434. - Fix a bug in parsing that could cause clients to read a single
  7435. byte past the end of an allocated region. This bug could be used
  7436. to cause hardened clients (built with --enable-expensive-hardening)
  7437. to crash if they tried to visit a hostile hidden service. Non-
  7438. hardened clients are only affected depending on the details of
  7439. their platform's memory allocator. Fixes bug 21018; bugfix on
  7440. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  7441. 2016-12-002 and as CVE-2016-1254.
  7442. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  7443. - Stop a crash that could occur when a client running with DNSPort
  7444. received a query with multiple address types, and the first
  7445. address type was not supported. Found and fixed by Scott Dial.
  7446. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  7447. - Prevent a class of security bugs caused by treating the contents
  7448. of a buffer chunk as if they were a NUL-terminated string. At
  7449. least one such bug seems to be present in all currently used
  7450. versions of Tor, and would allow an attacker to remotely crash
  7451. most Tor instances, especially those compiled with extra compiler
  7452. hardening. With this defense in place, such bugs can't crash Tor,
  7453. though we should still fix them as they occur. Closes ticket
  7454. 20384 (TROVE-2016-10-001).
  7455. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  7456. - Avoid a difficult-to-trigger heap corruption attack when extending
  7457. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  7458. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  7459. Reported by Guido Vranken.
  7460. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  7461. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  7462. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  7463. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  7464. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  7465. pointer to the previous (uninitialized) key value. The impact here
  7466. should be limited to a difficult-to-trigger crash, if OpenSSL is
  7467. running an engine that makes key generation failures possible, or
  7468. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  7469. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  7470. Baishakhi Ray.
  7471. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  7472. - Fix an integer underflow bug when comparing malformed Tor
  7473. versions. This bug could crash Tor when built with
  7474. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  7475. 0.2.9.8, which were built with -ftrapv by default. In other cases
  7476. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  7477. on 0.0.8pre1. Found by OSS-Fuzz.
  7478. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  7479. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  7480. zero size. Check size argument to memwipe() for underflow. Fixes
  7481. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  7482. patch by "teor".
  7483. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  7484. - Make Tor survive errors involving connections without a
  7485. corresponding event object. Previously we'd fail with an
  7486. assertion; now we produce a log message. Related to bug 16248.
  7487. o Minor features (geoip):
  7488. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  7489. Country database.
  7490. Changes in version 0.2.6.11 - 2017-03-03
  7491. Tor 0.2.6.11 backports a number of security fixes from later Tor
  7492. releases. Anybody running Tor 0.2.6.10 or earlier should upgrade to
  7493. this release, if for some reason they cannot upgrade to a later
  7494. release series.
  7495. Note that support for Tor 0.2.6.x is ending this year: we will not issue
  7496. any fixes for the Tor 0.2.6.x series after 1 August 2017. If you need
  7497. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  7498. o Directory authority changes (backport from 0.2.8.5-rc):
  7499. - Urras is no longer a directory authority. Closes ticket 19271.
  7500. o Directory authority changes (backport from 0.2.9.2-alpha):
  7501. - The "Tonga" bridge authority has been retired; the new bridge
  7502. authority is "Bifroest". Closes tickets 19728 and 19690.
  7503. o Directory authority key updates (backport from 0.2.8.1-alpha):
  7504. - Update the V3 identity key for the dannenberg directory authority:
  7505. it was changed on 18 November 2015. Closes task 17906. Patch
  7506. by "teor".
  7507. o Major features (security fixes, backport from 0.2.9.4-alpha):
  7508. - Prevent a class of security bugs caused by treating the contents
  7509. of a buffer chunk as if they were a NUL-terminated string. At
  7510. least one such bug seems to be present in all currently used
  7511. versions of Tor, and would allow an attacker to remotely crash
  7512. most Tor instances, especially those compiled with extra compiler
  7513. hardening. With this defense in place, such bugs can't crash Tor,
  7514. though we should still fix them as they occur. Closes ticket
  7515. 20384 (TROVE-2016-10-001).
  7516. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  7517. - Fix a bug in parsing that could cause clients to read a single
  7518. byte past the end of an allocated region. This bug could be used
  7519. to cause hardened clients (built with --enable-expensive-hardening)
  7520. to crash if they tried to visit a hostile hidden service. Non-
  7521. hardened clients are only affected depending on the details of
  7522. their platform's memory allocator. Fixes bug 21018; bugfix on
  7523. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  7524. 2016-12-002 and as CVE-2016-1254.
  7525. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  7526. - Stop a crash that could occur when a client running with DNSPort
  7527. received a query with multiple address types, and the first
  7528. address type was not supported. Found and fixed by Scott Dial.
  7529. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  7530. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  7531. - Fix an error that could cause us to read 4 bytes before the
  7532. beginning of an openssl string. This bug could be used to cause
  7533. Tor to crash on systems with unusual malloc implementations, or
  7534. systems with unusual hardening installed. Fixes bug 17404; bugfix
  7535. on 0.2.3.6-alpha.
  7536. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  7537. - Avoid a difficult-to-trigger heap corruption attack when extending
  7538. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  7539. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  7540. Reported by Guido Vranken.
  7541. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  7542. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  7543. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  7544. o Major bugfixes (guard selection, backport from 0.2.7.6):
  7545. - Actually look at the Guard flag when selecting a new directory
  7546. guard. When we implemented the directory guard design, we
  7547. accidentally started treating all relays as if they have the Guard
  7548. flag during guard selection, leading to weaker anonymity and worse
  7549. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  7550. by Mohsen Imani.
  7551. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  7552. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  7553. pointer to the previous (uninitialized) key value. The impact here
  7554. should be limited to a difficult-to-trigger crash, if OpenSSL is
  7555. running an engine that makes key generation failures possible, or
  7556. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  7557. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  7558. Baishakhi Ray.
  7559. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  7560. - Fix an integer underflow bug when comparing malformed Tor
  7561. versions. This bug could crash Tor when built with
  7562. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  7563. 0.2.9.8, which were built with -ftrapv by default. In other cases
  7564. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  7565. on 0.0.8pre1. Found by OSS-Fuzz.
  7566. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  7567. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  7568. zero size. Check size argument to memwipe() for underflow. Fixes
  7569. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  7570. patch by "teor".
  7571. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  7572. - Make Tor survive errors involving connections without a
  7573. corresponding event object. Previously we'd fail with an
  7574. assertion; now we produce a log message. Related to bug 16248.
  7575. o Minor features (geoip):
  7576. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  7577. Country database.
  7578. o Minor bugfixes (compilation, backport from 0.2.7.6):
  7579. - Fix a compilation warning with Clang 3.6: Do not check the
  7580. presence of an address which can never be NULL. Fixes bug 17781.
  7581. Changes in version 0.2.5.13 - 2017-03-03
  7582. Tor 0.2.5.13 backports a number of security fixes from later Tor
  7583. releases. Anybody running Tor 0.2.5.13 or earlier should upgrade to
  7584. this release, if for some reason they cannot upgrade to a later
  7585. release series.
  7586. Note that support for Tor 0.2.5.x is ending next year: we will not issue
  7587. any fixes for the Tor 0.2.5.x series after 1 May 2018. If you need
  7588. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  7589. o Directory authority changes (backport from 0.2.8.5-rc):
  7590. - Urras is no longer a directory authority. Closes ticket 19271.
  7591. o Directory authority changes (backport from 0.2.9.2-alpha):
  7592. - The "Tonga" bridge authority has been retired; the new bridge
  7593. authority is "Bifroest". Closes tickets 19728 and 19690.
  7594. o Directory authority key updates (backport from 0.2.8.1-alpha):
  7595. - Update the V3 identity key for the dannenberg directory authority:
  7596. it was changed on 18 November 2015. Closes task 17906. Patch
  7597. by "teor".
  7598. o Major features (security fixes, backport from 0.2.9.4-alpha):
  7599. - Prevent a class of security bugs caused by treating the contents
  7600. of a buffer chunk as if they were a NUL-terminated string. At
  7601. least one such bug seems to be present in all currently used
  7602. versions of Tor, and would allow an attacker to remotely crash
  7603. most Tor instances, especially those compiled with extra compiler
  7604. hardening. With this defense in place, such bugs can't crash Tor,
  7605. though we should still fix them as they occur. Closes ticket
  7606. 20384 (TROVE-2016-10-001).
  7607. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  7608. - Fix a bug in parsing that could cause clients to read a single
  7609. byte past the end of an allocated region. This bug could be used
  7610. to cause hardened clients (built with --enable-expensive-hardening)
  7611. to crash if they tried to visit a hostile hidden service. Non-
  7612. hardened clients are only affected depending on the details of
  7613. their platform's memory allocator. Fixes bug 21018; bugfix on
  7614. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  7615. 2016-12-002 and as CVE-2016-1254.
  7616. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  7617. - Stop a crash that could occur when a client running with DNSPort
  7618. received a query with multiple address types, and the first
  7619. address type was not supported. Found and fixed by Scott Dial.
  7620. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  7621. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  7622. - Fix an error that could cause us to read 4 bytes before the
  7623. beginning of an openssl string. This bug could be used to cause
  7624. Tor to crash on systems with unusual malloc implementations, or
  7625. systems with unusual hardening installed. Fixes bug 17404; bugfix
  7626. on 0.2.3.6-alpha.
  7627. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  7628. - Avoid a difficult-to-trigger heap corruption attack when extending
  7629. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  7630. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  7631. Reported by Guido Vranken.
  7632. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  7633. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  7634. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  7635. o Major bugfixes (guard selection, backport from 0.2.7.6):
  7636. - Actually look at the Guard flag when selecting a new directory
  7637. guard. When we implemented the directory guard design, we
  7638. accidentally started treating all relays as if they have the Guard
  7639. flag during guard selection, leading to weaker anonymity and worse
  7640. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  7641. by Mohsen Imani.
  7642. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  7643. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  7644. pointer to the previous (uninitialized) key value. The impact here
  7645. should be limited to a difficult-to-trigger crash, if OpenSSL is
  7646. running an engine that makes key generation failures possible, or
  7647. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  7648. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  7649. Baishakhi Ray.
  7650. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  7651. - Fix an integer underflow bug when comparing malformed Tor
  7652. versions. This bug could crash Tor when built with
  7653. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  7654. 0.2.9.8, which were built with -ftrapv by default. In other cases
  7655. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  7656. on 0.0.8pre1. Found by OSS-Fuzz.
  7657. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  7658. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  7659. zero size. Check size argument to memwipe() for underflow. Fixes
  7660. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  7661. patch by "teor".
  7662. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  7663. - Make Tor survive errors involving connections without a
  7664. corresponding event object. Previously we'd fail with an
  7665. assertion; now we produce a log message. Related to bug 16248.
  7666. o Minor features (geoip):
  7667. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  7668. Country database.
  7669. o Minor bugfixes (compilation, backport from 0.2.7.6):
  7670. - Fix a compilation warning with Clang 3.6: Do not check the
  7671. presence of an address which can never be NULL. Fixes bug 17781.
  7672. o Minor bugfixes (crypto error-handling, backport from 0.2.7.2-alpha):
  7673. - Check for failures from crypto_early_init, and refuse to continue.
  7674. A previous typo meant that we could keep going with an
  7675. uninitialized crypto library, and would have OpenSSL initialize
  7676. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  7677. when implementing ticket 4900. Patch by "teor".
  7678. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  7679. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  7680. a client authorized hidden service. Fixes bug 15823; bugfix
  7681. on 0.2.1.6-alpha.
  7682. Changes in version 0.2.4.28 - 2017-03-03
  7683. Tor 0.2.4.28 backports a number of security fixes from later Tor
  7684. releases. Anybody running Tor 0.2.4.27 or earlier should upgrade to
  7685. this release, if for some reason they cannot upgrade to a later
  7686. release series.
  7687. Note that support for Tor 0.2.4.x is ending soon: we will not issue
  7688. any fixes for the Tor 0.2.4.x series after 1 August 2017. If you need
  7689. a Tor release series with long-term support, we recommend Tor 0.2.9.x.
  7690. o Directory authority changes (backport from 0.2.8.5-rc):
  7691. - Urras is no longer a directory authority. Closes ticket 19271.
  7692. o Directory authority changes (backport from 0.2.9.2-alpha):
  7693. - The "Tonga" bridge authority has been retired; the new bridge
  7694. authority is "Bifroest". Closes tickets 19728 and 19690.
  7695. o Directory authority key updates (backport from 0.2.8.1-alpha):
  7696. - Update the V3 identity key for the dannenberg directory authority:
  7697. it was changed on 18 November 2015. Closes task 17906. Patch
  7698. by "teor".
  7699. o Major features (security fixes, backport from 0.2.9.4-alpha):
  7700. - Prevent a class of security bugs caused by treating the contents
  7701. of a buffer chunk as if they were a NUL-terminated string. At
  7702. least one such bug seems to be present in all currently used
  7703. versions of Tor, and would allow an attacker to remotely crash
  7704. most Tor instances, especially those compiled with extra compiler
  7705. hardening. With this defense in place, such bugs can't crash Tor,
  7706. though we should still fix them as they occur. Closes ticket
  7707. 20384 (TROVE-2016-10-001).
  7708. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  7709. - Fix a bug in parsing that could cause clients to read a single
  7710. byte past the end of an allocated region. This bug could be used
  7711. to cause hardened clients (built with --enable-expensive-hardening)
  7712. to crash if they tried to visit a hostile hidden service. Non-
  7713. hardened clients are only affected depending on the details of
  7714. their platform's memory allocator. Fixes bug 21018; bugfix on
  7715. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  7716. 2016-12-002 and as CVE-2016-1254.
  7717. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  7718. - Fix an error that could cause us to read 4 bytes before the
  7719. beginning of an openssl string. This bug could be used to cause
  7720. Tor to crash on systems with unusual malloc implementations, or
  7721. systems with unusual hardening installed. Fixes bug 17404; bugfix
  7722. on 0.2.3.6-alpha.
  7723. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  7724. - Avoid a difficult-to-trigger heap corruption attack when extending
  7725. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  7726. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  7727. Reported by Guido Vranken.
  7728. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  7729. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  7730. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  7731. o Major bugfixes (guard selection, backport from 0.2.7.6):
  7732. - Actually look at the Guard flag when selecting a new directory
  7733. guard. When we implemented the directory guard design, we
  7734. accidentally started treating all relays as if they have the Guard
  7735. flag during guard selection, leading to weaker anonymity and worse
  7736. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  7737. by Mohsen Imani.
  7738. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  7739. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  7740. pointer to the previous (uninitialized) key value. The impact here
  7741. should be limited to a difficult-to-trigger crash, if OpenSSL is
  7742. running an engine that makes key generation failures possible, or
  7743. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  7744. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  7745. Baishakhi Ray.
  7746. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  7747. - Fix an integer underflow bug when comparing malformed Tor
  7748. versions. This bug could crash Tor when built with
  7749. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  7750. 0.2.9.8, which were built with -ftrapv by default. In other cases
  7751. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  7752. on 0.0.8pre1. Found by OSS-Fuzz.
  7753. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  7754. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  7755. zero size. Check size argument to memwipe() for underflow. Fixes
  7756. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  7757. patch by "teor".
  7758. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  7759. - Make Tor survive errors involving connections without a
  7760. corresponding event object. Previously we'd fail with an
  7761. assertion; now we produce a log message. Related to bug 16248.
  7762. o Minor features (DoS-resistance, backport from 0.2.7.1-alpha):
  7763. - Make it harder for attackers to overload hidden services with
  7764. introductions, by blocking multiple introduction requests on the
  7765. same circuit. Resolves ticket 15515.
  7766. o Minor features (geoip):
  7767. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  7768. Country database.
  7769. o Minor bugfixes (compilation, backport from 0.2.7.6):
  7770. - Fix a compilation warning with Clang 3.6: Do not check the
  7771. presence of an address which can never be NULL. Fixes bug 17781.
  7772. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  7773. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  7774. a client authorized hidden service. Fixes bug 15823; bugfix
  7775. on 0.2.1.6-alpha.
  7776. Changes in version 0.3.0.4-rc - 2017-03-01
  7777. Tor 0.3.0.4-rc fixes some remaining bugs, large and small, in the
  7778. 0.3.0 release series, and introduces a few reliability features to
  7779. keep them from coming back.
  7780. This is the first release candidate in the Tor 0.3.0 series. If we
  7781. find no new bugs or regressions here, the first stable 0.3.0 release
  7782. will be nearly identical to it.
  7783. o Major bugfixes (bridges):
  7784. - When the same bridge is configured multiple times with the same
  7785. identity, but at different address:port combinations, treat those
  7786. bridge instances as separate guards. This fix restores the ability
  7787. of clients to configure the same bridge with multiple pluggable
  7788. transports. Fixes bug 21027; bugfix on 0.3.0.1-alpha.
  7789. o Major bugfixes (hidden service directory v3):
  7790. - Stop crashing on a failed v3 hidden service descriptor lookup
  7791. failure. Fixes bug 21471; bugfixes on 0.3.0.1-alpha.
  7792. o Major bugfixes (parsing):
  7793. - When parsing a malformed content-length field from an HTTP
  7794. message, do not read off the end of the buffer. This bug was a
  7795. potential remote denial-of-service attack against Tor clients and
  7796. relays. A workaround was released in October 2016, to prevent this
  7797. bug from crashing Tor. This is a fix for the underlying issue,
  7798. which should no longer matter (if you applied the earlier patch).
  7799. Fixes bug 20894; bugfix on 0.2.0.16-alpha. Bug found by fuzzing
  7800. using AFL (http://lcamtuf.coredump.cx/afl/).
  7801. - Fix an integer underflow bug when comparing malformed Tor
  7802. versions. This bug could crash Tor when built with
  7803. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  7804. 0.2.9.8, which were built with -ftrapv by default. In other cases
  7805. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  7806. on 0.0.8pre1. Found by OSS-Fuzz.
  7807. o Minor feature (protocol versioning):
  7808. - Add new protocol version for proposal 224. HSIntro now advertises
  7809. version "3-4" and HSDir version "1-2". Fixes ticket 20656.
  7810. o Minor features (directory authorities):
  7811. - Directory authorities now reject descriptors that claim to be
  7812. malformed versions of Tor. Helps prevent exploitation of
  7813. bug 21278.
  7814. - Reject version numbers with components that exceed INT32_MAX.
  7815. Otherwise 32-bit and 64-bit platforms would behave inconsistently.
  7816. Fixes bug 21450; bugfix on 0.0.8pre1.
  7817. - Directory authorities now reject relays running versions
  7818. 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
  7819. suffer from bug 20499 and don't keep their consensus cache
  7820. up-to-date. Resolves ticket 20509.
  7821. o Minor features (geoip):
  7822. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  7823. Country database.
  7824. o Minor features (reliability, crash):
  7825. - Try better to detect problems in buffers where they might grow (or
  7826. think they have grown) over 2 GB in size. Diagnostic for
  7827. bug 21369.
  7828. o Minor features (testing):
  7829. - During 'make test-network-all', if tor logs any warnings, ask
  7830. chutney to output them. Requires a recent version of chutney with
  7831. the 21572 patch. Implements 21570.
  7832. o Minor bugfixes (certificate expiration time):
  7833. - Avoid using link certificates that don't become valid till some
  7834. time in the future. Fixes bug 21420; bugfix on 0.2.4.11-alpha
  7835. o Minor bugfixes (code correctness):
  7836. - Repair a couple of (unreachable or harmless) cases of the risky
  7837. comparison-by-subtraction pattern that caused bug 21278.
  7838. - Remove a redundant check for the UseEntryGuards option from the
  7839. options_transition_affects_guards() function. Fixes bug 21492;
  7840. bugfix on 0.3.0.1-alpha.
  7841. o Minor bugfixes (directory mirrors):
  7842. - Allow relays to use directory mirrors without a DirPort: these
  7843. relays need to be contacted over their ORPorts using a begindir
  7844. connection. Fixes one case of bug 20711; bugfix on 0.2.8.2-alpha.
  7845. - Clarify the message logged when a remote relay is unexpectedly
  7846. missing an ORPort or DirPort: users were confusing this with a
  7847. local port. Fixes another case of bug 20711; bugfix
  7848. on 0.2.8.2-alpha.
  7849. o Minor bugfixes (guards):
  7850. - Don't warn about a missing guard state on timeout-measurement
  7851. circuits: they aren't supposed to be using guards. Fixes an
  7852. instance of bug 21007; bugfix on 0.3.0.1-alpha.
  7853. - Silence a BUG() warning when attempting to use a guard whose
  7854. descriptor we don't know, and make this scenario less likely to
  7855. happen. Fixes bug 21415; bugfix on 0.3.0.1-alpha.
  7856. o Minor bugfixes (hidden service):
  7857. - Pass correct buffer length when encoding legacy ESTABLISH_INTRO
  7858. cells. Previously, we were using sizeof() on a pointer, instead of
  7859. the real destination buffer. Fortunately, that value was only used
  7860. to double-check that there was enough room--which was already
  7861. enforced elsewhere. Fixes bug 21553; bugfix on 0.3.0.1-alpha.
  7862. o Minor bugfixes (testing):
  7863. - Fix Raspbian build issues related to missing socket errno in
  7864. test_util.c. Fixes bug 21116; bugfix on 0.2.8.2. Patch
  7865. by "hein".
  7866. - Rename "make fuzz" to "make test-fuzz-corpora", since it doesn't
  7867. actually fuzz anything. Fixes bug 21447; bugfix on 0.3.0.3-alpha.
  7868. - Use bash in src/test/test-network.sh. This ensures we reliably
  7869. call chutney's newer tools/test-network.sh when available. Fixes
  7870. bug 21562; bugfix on 0.2.9.1-alpha.
  7871. o Documentation:
  7872. - Small fixes to the fuzzing documentation. Closes ticket 21472.
  7873. Changes in version 0.2.9.10 - 2017-03-01
  7874. Tor 0.2.9.10 backports a security fix from later Tor release. It also
  7875. includes fixes for some major issues affecting directory authorities,
  7876. LibreSSL compatibility, and IPv6 correctness.
  7877. The Tor 0.2.9.x release series is now marked as a long-term-support
  7878. series. We intend to backport security fixes to 0.2.9.x until at
  7879. least January of 2020.
  7880. o Major bugfixes (directory authority, 0.3.0.3-alpha):
  7881. - During voting, when marking a relay as a probable sybil, do not
  7882. clear its BadExit flag: sybils can still be bad in other ways
  7883. too. (We still clear the other flags.) Fixes bug 21108; bugfix
  7884. on 0.2.0.13-alpha.
  7885. o Major bugfixes (IPv6 Exits, backport from 0.3.0.3-alpha):
  7886. - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
  7887. any IPv6 addresses. Instead, only reject a port over IPv6 if the
  7888. exit policy rejects that port on more than an IPv6 /16 of
  7889. addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
  7890. which rejected a relay's own IPv6 address by default. Fixes bug
  7891. 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
  7892. o Major bugfixes (parsing, also in 0.3.0.4-rc):
  7893. - Fix an integer underflow bug when comparing malformed Tor
  7894. versions. This bug could crash Tor when built with
  7895. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  7896. 0.2.9.8, which were built with -ftrapv by default. In other cases
  7897. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  7898. on 0.0.8pre1. Found by OSS-Fuzz.
  7899. o Minor features (directory authorities, also in 0.3.0.4-rc):
  7900. - Directory authorities now reject descriptors that claim to be
  7901. malformed versions of Tor. Helps prevent exploitation of
  7902. bug 21278.
  7903. - Reject version numbers with components that exceed INT32_MAX.
  7904. Otherwise 32-bit and 64-bit platforms would behave inconsistently.
  7905. Fixes bug 21450; bugfix on 0.0.8pre1.
  7906. o Minor features (geoip):
  7907. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  7908. Country database.
  7909. o Minor features (portability, compilation, backport from 0.3.0.3-alpha):
  7910. - Autoconf now checks to determine if OpenSSL structures are opaque,
  7911. instead of explicitly checking for OpenSSL version numbers. Part
  7912. of ticket 21359.
  7913. - Support building with recent LibreSSL code that uses opaque
  7914. structures. Closes ticket 21359.
  7915. o Minor bugfixes (code correctness, also in 0.3.0.4-rc):
  7916. - Repair a couple of (unreachable or harmless) cases of the risky
  7917. comparison-by-subtraction pattern that caused bug 21278.
  7918. o Minor bugfixes (tor-resolve, backport from 0.3.0.3-alpha):
  7919. - The tor-resolve command line tool now rejects hostnames over 255
  7920. characters in length. Previously, it would silently truncate them,
  7921. which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
  7922. Patch by "junglefowl".
  7923. Changes in version 0.3.0.3-alpha - 2017-02-03
  7924. Tor 0.3.0.3-alpha fixes a few significant bugs introduced over the
  7925. 0.3.0.x development series, including some that could cause
  7926. authorities to behave badly. There is also a fix for a longstanding
  7927. bug that could prevent IPv6 exits from working. Tor 0.3.0.3-alpha also
  7928. includes some smaller features and bugfixes.
  7929. The Tor 0.3.0.x release series is now in patch-freeze: no additional
  7930. features will be considered for inclusion in 0.3.0.x. We suspect that
  7931. some bugs will probably remain, however, and we encourage people to
  7932. test this release.
  7933. o Major bugfixes (directory authority):
  7934. - During voting, when marking a relay as a probable sybil, do not
  7935. clear its BadExit flag: sybils can still be bad in other ways
  7936. too. (We still clear the other flags.) Fixes bug 21108; bugfix
  7937. on 0.2.0.13-alpha.
  7938. - When deciding whether we have just found a router to be reachable,
  7939. do not penalize it for not having performed an Ed25519 link
  7940. handshake if it does not claim to support an Ed25519 handshake.
  7941. Previously, we would treat such relays as non-running. Fixes bug
  7942. 21107; bugfix on 0.3.0.1-alpha.
  7943. o Major bugfixes (entry guards):
  7944. - Stop trying to build circuits through entry guards for which we
  7945. have no descriptor. Also, stop crashing in the case that we *do*
  7946. accidentally try to build a circuit in such a state. Fixes bug
  7947. 21242; bugfix on 0.3.0.1-alpha.
  7948. o Major bugfixes (IPv6 Exits):
  7949. - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
  7950. any IPv6 addresses. Instead, only reject a port over IPv6 if the
  7951. exit policy rejects that port on more than an IPv6 /16 of
  7952. addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
  7953. which rejected a relay's own IPv6 address by default. Fixes bug
  7954. 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
  7955. o Minor feature (client):
  7956. - Enable IPv6 traffic on the SocksPort by default. To disable this,
  7957. a user will have to specify "NoIPv6Traffic". Closes ticket 21269.
  7958. o Minor feature (fallback scripts):
  7959. - Add a check_existing mode to updateFallbackDirs.py, which checks
  7960. if fallbacks in the hard-coded list are working. Closes ticket
  7961. 20174. Patch by haxxpop.
  7962. o Minor features (ciphersuite selection):
  7963. - Clients now advertise a list of ciphersuites closer to the ones
  7964. preferred by Firefox. Closes part of ticket 15426.
  7965. - Allow relays to accept a wider range of ciphersuites, including
  7966. chacha20-poly1305 and AES-CCM. Closes the other part of 15426.
  7967. o Minor features (controller, configuration):
  7968. - Each of the *Port options, such as SocksPort, ORPort, ControlPort,
  7969. and so on, now comes with a __*Port variant that will not be saved
  7970. to the torrc file by the controller's SAVECONF command. This
  7971. change allows TorBrowser to set up a single-use domain socket for
  7972. each time it launches Tor. Closes ticket 20956.
  7973. - The GETCONF command can now query options that may only be
  7974. meaningful in context-sensitive lists. This allows the controller
  7975. to query the mixed SocksPort/__SocksPort style options introduced
  7976. in feature 20956. Implements ticket 21300.
  7977. o Minor features (portability, compilation):
  7978. - Autoconf now checks to determine if OpenSSL structures are opaque,
  7979. instead of explicitly checking for OpenSSL version numbers. Part
  7980. of ticket 21359.
  7981. - Support building with recent LibreSSL code that uses opaque
  7982. structures. Closes ticket 21359.
  7983. o Minor features (relay):
  7984. - We now allow separation of exit and relay traffic to different
  7985. source IP addresses, using the OutboundBindAddressExit and
  7986. OutboundBindAddressOR options respectively. Closes ticket 17975.
  7987. Written by Michael Sonntag.
  7988. o Minor bugfix (logging):
  7989. - Don't recommend the use of Tor2web in non-anonymous mode.
  7990. Recommending Tor2web is a bad idea because the client loses all
  7991. anonymity. Tor2web should only be used in specific cases by users
  7992. who *know* and understand the issues. Fixes bug 21294; bugfix
  7993. on 0.2.9.3-alpha.
  7994. o Minor bugfixes (client):
  7995. - Always recover from failures in extend_info_from_node(), in an
  7996. attempt to prevent any recurrence of bug 21242. Fixes bug 21372;
  7997. bugfix on 0.2.3.1-alpha.
  7998. o Minor bugfixes (client, entry guards):
  7999. - Fix a bug warning (with backtrace) when we fail a channel that
  8000. circuits to fallback directories on it. Fixes bug 21128; bugfix
  8001. on 0.3.0.1-alpha.
  8002. - Fix a spurious bug warning (with backtrace) when removing an
  8003. expired entry guard. Fixes bug 21129; bugfix on 0.3.0.1-alpha.
  8004. - Fix a bug of the new guard algorithm where tor could stall for up
  8005. to 10 minutes before retrying a guard after a long period of no
  8006. network. Fixes bug 21052; bugfix on 0.3.0.1-alpha.
  8007. - Do not try to build circuits until we have descriptors for our
  8008. primary entry guards. Related to fix for bug 21242.
  8009. o Minor bugfixes (configure, autoconf):
  8010. - Rename the configure option --enable-expensive-hardening to
  8011. --enable-fragile-hardening. Expensive hardening makes the tor
  8012. daemon abort when some kinds of issues are detected. Thus, it
  8013. makes tor more at risk of remote crashes but safer against RCE or
  8014. heartbleed bug category. We now try to explain this issue in a
  8015. message from the configure script. Fixes bug 21290; bugfix
  8016. on 0.2.5.4-alpha.
  8017. o Minor bugfixes (controller):
  8018. - Restore the (deprecated) DROPGUARDS controller command. Fixes bug
  8019. 20824; bugfix on 0.3.0.1-alpha.
  8020. o Minor bugfixes (hidden service):
  8021. - Clean up the code for expiring intro points with no associated
  8022. circuits. It was causing, rarely, a service with some expiring
  8023. introduction points to not open enough additional introduction
  8024. points. Fixes part of bug 21302; bugfix on 0.2.7.2-alpha.
  8025. - Stop setting the torrc option HiddenServiceStatistics to "0" just
  8026. because we're not a bridge or relay. Instead, we preserve whatever
  8027. value the user set (or didn't set). Fixes bug 21150; bugfix
  8028. on 0.2.6.2-alpha.
  8029. - Resolve two possible underflows which could lead to creating and
  8030. closing a lot of introduction point circuits in a non-stop loop.
  8031. Fixes bug 21302; bugfix on 0.2.7.2-alpha.
  8032. o Minor bugfixes (portability):
  8033. - Use "OpenBSD" compiler macro instead of "OPENBSD" or "__OpenBSD__".
  8034. It is supported by OpenBSD itself, and also by most OpenBSD
  8035. variants (such as Bitrig). Fixes bug 20980; bugfix
  8036. on 0.1.2.1-alpha.
  8037. - When mapping a file of length greater than SIZE_MAX, do not
  8038. silently truncate its contents. This issue could occur on 32 bit
  8039. systems with large file support and files which are larger than 4
  8040. GB. Fixes bug 21134; bugfix on 0.3.0.1-alpha.
  8041. o Minor bugfixes (tor-resolve):
  8042. - The tor-resolve command line tool now rejects hostnames over 255
  8043. characters in length. Previously, it would silently truncate them,
  8044. which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
  8045. Patch by "junglefowl".
  8046. o Minor bugfixes (Windows services):
  8047. - Be sure to initialize the monotonic time subsystem before using
  8048. it, even when running as an NT service. Fixes bug 21356; bugfix
  8049. on 0.2.9.1-alpha.
  8050. Changes in version 0.3.0.2-alpha - 2017-01-23
  8051. Tor 0.3.0.2-alpha fixes a denial-of-service bug where an attacker could
  8052. cause relays and clients to crash, even if they were not built with
  8053. the --enable-expensive-hardening option. This bug affects all 0.2.9.x
  8054. versions, and also affects 0.3.0.1-alpha: all relays running an affected
  8055. version should upgrade.
  8056. Tor 0.3.0.2-alpha also improves how exit relays and clients handle DNS
  8057. time-to-live values, makes directory authorities enforce the 1-to-1
  8058. mapping of relay RSA identity keys to ED25519 identity keys, fixes a
  8059. client-side onion service reachability bug, does better at selecting
  8060. the set of fallback directories, and more.
  8061. o Major bugfixes (security, also in 0.2.9.9):
  8062. - Downgrade the "-ftrapv" option from "always on" to "only on when
  8063. --enable-expensive-hardening is provided." This hardening option, like
  8064. others, can turn survivable bugs into crashes--and having it on by
  8065. default made a (relatively harmless) integer overflow bug into a
  8066. denial-of-service bug. Fixes bug 21278 (TROVE-2017-001); bugfix on
  8067. 0.2.9.1-alpha.
  8068. o Major features (security):
  8069. - Change the algorithm used to decide DNS TTLs on client and server
  8070. side, to better resist DNS-based correlation attacks like the
  8071. DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
  8072. Feamster. Now relays only return one of two possible DNS TTL
  8073. values, and clients are willing to believe DNS TTL values up to 3
  8074. hours long. Closes ticket 19769.
  8075. o Major features (directory authority, security):
  8076. - The default for AuthDirPinKeys is now 1: directory authorities
  8077. will reject relays where the RSA identity key matches a previously
  8078. seen value, but the Ed25519 key has changed. Closes ticket 18319.
  8079. o Major bugfixes (client, guard, crash):
  8080. - In circuit_get_global_origin_list(), return the actual list of
  8081. origin circuits. The previous version of this code returned the
  8082. list of all the circuits, and could have caused strange bugs,
  8083. including possible crashes. Fixes bug 21118; bugfix
  8084. on 0.3.0.1-alpha.
  8085. o Major bugfixes (client, onion service, also in 0.2.9.9):
  8086. - Fix a client-side onion service reachability bug, where multiple
  8087. socks requests to an onion service (or a single slow request)
  8088. could cause us to mistakenly mark some of the service's
  8089. introduction points as failed, and we cache that failure so
  8090. eventually we run out and can't reach the service. Also resolves a
  8091. mysterious "Remote server sent bogus reason code 65021" log
  8092. warning. The bug was introduced in ticket 17218, where we tried to
  8093. remember the circuit end reason as a uint16_t, which mangled
  8094. negative values. Partially fixes bug 21056 and fixes bug 20307;
  8095. bugfix on 0.2.8.1-alpha.
  8096. o Major bugfixes (DNS):
  8097. - Fix a bug that prevented exit nodes from caching DNS records for
  8098. more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
  8099. o Minor features (controller):
  8100. - Add "GETINFO sr/current" and "GETINFO sr/previous" keys, to expose
  8101. shared-random values to the controller. Closes ticket 19925.
  8102. o Minor features (entry guards):
  8103. - Add UseEntryGuards to TEST_OPTIONS_DEFAULT_VALUES in order to not
  8104. break regression tests.
  8105. - Require UseEntryGuards when UseBridges is set, in order to make
  8106. sure bridges aren't bypassed. Resolves ticket 20502.
  8107. o Minor features (fallback directories):
  8108. - Select 200 fallback directories for each release. Closes
  8109. ticket 20881.
  8110. - Allow 3 fallback relays per operator, which is safe now that we
  8111. are choosing 200 fallback relays. Closes ticket 20912.
  8112. - Exclude relays affected by bug 20499 from the fallback list.
  8113. Exclude relays from the fallback list if they are running versions
  8114. known to be affected by bug 20499, or if in our tests they deliver
  8115. a stale consensus (i.e. one that expired more than 24 hours ago).
  8116. Closes ticket 20539.
  8117. - Reduce the minimum fallback bandwidth to 1 MByte/s. Part of
  8118. ticket 18828.
  8119. - Require fallback directories to have the same address and port for
  8120. 7 days (now that we have enough relays with this stability).
  8121. Relays whose OnionOO stability timer is reset on restart by bug
  8122. 18050 should upgrade to Tor 0.2.8.7 or later, which has a fix for
  8123. this issue. Closes ticket 20880; maintains short-term fix
  8124. in 0.2.8.2-alpha.
  8125. - Require fallbacks to have flags for 90% of the time (weighted
  8126. decaying average), rather than 95%. This allows at least 73% of
  8127. clients to bootstrap in the first 5 seconds without contacting an
  8128. authority. Part of ticket 18828.
  8129. - Annotate updateFallbackDirs.py with the bandwidth and consensus
  8130. weight for each candidate fallback. Closes ticket 20878.
  8131. - Make it easier to change the output sort order of fallbacks.
  8132. Closes ticket 20822.
  8133. - Display the relay fingerprint when downloading consensuses from
  8134. fallbacks. Closes ticket 20908.
  8135. o Minor features (geoip, also in 0.2.9.9):
  8136. - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
  8137. Country database.
  8138. o Minor features (next-gen onion service directories):
  8139. - Remove the "EnableOnionServicesV3" consensus parameter that we
  8140. introduced in 0.3.0.1-alpha: relays are now always willing to act
  8141. as v3 onion service directories. Resolves ticket 19899.
  8142. o Minor features (linting):
  8143. - Enhance the changes file linter to warn on Tor versions that are
  8144. prefixed with "tor-". Closes ticket 21096.
  8145. o Minor features (logging):
  8146. - In several places, describe unset ed25519 keys as "<unset>",
  8147. rather than the scary "AAAAAAAA...AAA". Closes ticket 21037.
  8148. o Minor bugfix (control protocol):
  8149. - The reply to a "GETINFO config/names" request via the control
  8150. protocol now spells the type "Dependent" correctly. This is a
  8151. breaking change in the control protocol. (The field seems to be
  8152. ignored by the most common known controllers.) Fixes bug 18146;
  8153. bugfix on 0.1.1.4-alpha.
  8154. o Minor bugfixes (bug resilience):
  8155. - Fix an unreachable size_t overflow in base64_decode(). Fixes bug
  8156. 19222; bugfix on 0.2.0.9-alpha. Found by Guido Vranken; fixed by
  8157. Hans Jerry Illikainen.
  8158. o Minor bugfixes (build):
  8159. - Replace obsolete Autoconf macros with their modern equivalent and
  8160. prevent similar issues in the future. Fixes bug 20990; bugfix
  8161. on 0.1.0.1-rc.
  8162. o Minor bugfixes (client, guards):
  8163. - Fix bug where Tor would think that there are circuits waiting for
  8164. better guards even though those circuits have been freed. Fixes
  8165. bug 21142; bugfix on 0.3.0.1-alpha.
  8166. o Minor bugfixes (config):
  8167. - Don't assert on startup when trying to get the options list and
  8168. LearnCircuitBuildTimeout is set to 0: we are currently parsing the
  8169. options so of course they aren't ready yet. Fixes bug 21062;
  8170. bugfix on 0.2.9.3-alpha.
  8171. o Minor bugfixes (controller):
  8172. - Make the GETINFO interface for inquiring about entry guards
  8173. support the new guards backend. Fixes bug 20823; bugfix
  8174. on 0.3.0.1-alpha.
  8175. o Minor bugfixes (dead code):
  8176. - Remove a redundant check for PidFile changes at runtime in
  8177. options_transition_allowed(): this check is already performed
  8178. regardless of whether the sandbox is active. Fixes bug 21123;
  8179. bugfix on 0.2.5.4-alpha.
  8180. o Minor bugfixes (documentation):
  8181. - Update the tor manual page to document every option that can not
  8182. be changed while tor is running. Fixes bug 21122.
  8183. o Minor bugfixes (fallback directories):
  8184. - Stop failing when a relay has no uptime data in
  8185. updateFallbackDirs.py. Fixes bug 20945; bugfix on 0.2.8.1-alpha.
  8186. - Avoid checking fallback candidates' DirPorts if they are down in
  8187. OnionOO. When a relay operator has multiple relays, this
  8188. prioritizes relays that are up over relays that are down. Fixes
  8189. bug 20926; bugfix on 0.2.8.3-alpha.
  8190. - Stop failing when OUTPUT_COMMENTS is True in updateFallbackDirs.py.
  8191. Fixes bug 20877; bugfix on 0.2.8.3-alpha.
  8192. o Minor bugfixes (guards, bootstrapping):
  8193. - When connecting to a directory guard during bootstrap, do not mark
  8194. the guard as successful until we receive a good-looking directory
  8195. response from it. Fixes bug 20974; bugfix on 0.3.0.1-alpha.
  8196. o Minor bugfixes (onion services):
  8197. - Fix the config reload pruning of old vs new services so it
  8198. actually works when both ephemeral and non-ephemeral services are
  8199. configured. Fixes bug 21054; bugfix on 0.3.0.1-alpha.
  8200. - Allow the number of introduction points to be as low as 0, rather
  8201. than as low as 3. Fixes bug 21033; bugfix on 0.2.7.2-alpha.
  8202. o Minor bugfixes (IPv6):
  8203. - Make IPv6-using clients try harder to find an IPv6 directory
  8204. server. Fixes bug 20999; bugfix on 0.2.8.2-alpha.
  8205. - When IPv6 addresses have not been downloaded yet (microdesc
  8206. consensus documents don't list relay IPv6 addresses), use hard-
  8207. coded addresses for authorities, fallbacks, and configured
  8208. bridges. Now IPv6-only clients can use microdescriptors. Fixes bug
  8209. 20996; bugfix on b167e82 from 19608 in 0.2.8.5-alpha.
  8210. o Minor bugfixes (memory leaks):
  8211. - Fix a memory leak when configuring hidden services. Fixes bug
  8212. 20987; bugfix on 0.3.0.1-alpha.
  8213. o Minor bugfixes (portability, also in 0.2.9.9):
  8214. - Avoid crashing when Tor is built using headers that contain
  8215. CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
  8216. without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
  8217. on 0.2.9.1-alpha.
  8218. - Fix Libevent detection on platforms without Libevent 1 headers
  8219. installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
  8220. o Minor bugfixes (relay):
  8221. - Honor DataDirectoryGroupReadable when tor is a relay. Previously,
  8222. initializing the keys would reset the DataDirectory to 0700
  8223. instead of 0750 even if DataDirectoryGroupReadable was set to 1.
  8224. Fixes bug 19953; bugfix on 0.0.2pre16. Patch by "redfish".
  8225. o Minor bugfixes (testing):
  8226. - Remove undefined behavior from the backtrace generator by removing
  8227. its signal handler. Fixes bug 21026; bugfix on 0.2.5.2-alpha.
  8228. o Minor bugfixes (unit tests):
  8229. - Allow the unit tests to pass even when DNS lookups of bogus
  8230. addresses do not fail as expected. Fixes bug 20862 and 20863;
  8231. bugfix on unit tests introduced in 0.2.8.1-alpha
  8232. through 0.2.9.4-alpha.
  8233. o Code simplification and refactoring:
  8234. - Refactor code to manipulate global_origin_circuit_list into
  8235. separate functions. Closes ticket 20921.
  8236. o Documentation (formatting):
  8237. - Clean up formatting of tor.1 man page and HTML doc, where <pre>
  8238. blocks were incorrectly appearing. Closes ticket 20885.
  8239. o Documentation (man page):
  8240. - Clarify many options in tor.1 and add some min/max values for
  8241. HiddenService options. Closes ticket 21058.
  8242. Changes in version 0.2.9.9 - 2017-01-23
  8243. Tor 0.2.9.9 fixes a denial-of-service bug where an attacker could
  8244. cause relays and clients to crash, even if they were not built with
  8245. the --enable-expensive-hardening option. This bug affects all 0.2.9.x
  8246. versions, and also affects 0.3.0.1-alpha: all relays running an affected
  8247. version should upgrade.
  8248. This release also resolves a client-side onion service reachability
  8249. bug, and resolves a pair of small portability issues.
  8250. o Major bugfixes (security):
  8251. - Downgrade the "-ftrapv" option from "always on" to "only on when
  8252. --enable-expensive-hardening is provided." This hardening option,
  8253. like others, can turn survivable bugs into crashes -- and having
  8254. it on by default made a (relatively harmless) integer overflow bug
  8255. into a denial-of-service bug. Fixes bug 21278 (TROVE-2017-001);
  8256. bugfix on 0.2.9.1-alpha.
  8257. o Major bugfixes (client, onion service):
  8258. - Fix a client-side onion service reachability bug, where multiple
  8259. socks requests to an onion service (or a single slow request)
  8260. could cause us to mistakenly mark some of the service's
  8261. introduction points as failed, and we cache that failure so
  8262. eventually we run out and can't reach the service. Also resolves a
  8263. mysterious "Remote server sent bogus reason code 65021" log
  8264. warning. The bug was introduced in ticket 17218, where we tried to
  8265. remember the circuit end reason as a uint16_t, which mangled
  8266. negative values. Partially fixes bug 21056 and fixes bug 20307;
  8267. bugfix on 0.2.8.1-alpha.
  8268. o Minor features (geoip):
  8269. - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
  8270. Country database.
  8271. o Minor bugfixes (portability):
  8272. - Avoid crashing when Tor is built using headers that contain
  8273. CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
  8274. without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
  8275. on 0.2.9.1-alpha.
  8276. - Fix Libevent detection on platforms without Libevent 1 headers
  8277. installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
  8278. Changes in version 0.3.0.1-alpha - 2016-12-19
  8279. Tor 0.3.0.1-alpha is the first alpha release in the 0.3.0 development
  8280. series. It strengthens Tor's link and circuit handshakes by
  8281. identifying relays by their Ed25519 keys, improves the algorithm that
  8282. clients use to choose and maintain their list of guards, and includes
  8283. additional backend support for the next-generation hidden service
  8284. design. It also contains numerous other small features and
  8285. improvements to security, correctness, and performance.
  8286. Below are the changes since 0.2.9.8.
  8287. o Major features (guard selection algorithm):
  8288. - Tor's guard selection algorithm has been redesigned from the
  8289. ground up, to better support unreliable networks and restrictive
  8290. sets of entry nodes, and to better resist guard-capture attacks by
  8291. hostile local networks. Implements proposal 271; closes
  8292. ticket 19877.
  8293. o Major features (next-generation hidden services):
  8294. - Relays can now handle v3 ESTABLISH_INTRO cells as specified by
  8295. prop224 aka "Next Generation Hidden Services". Service and clients
  8296. don't use this functionality yet. Closes ticket 19043. Based on
  8297. initial code by Alec Heifetz.
  8298. - Relays now support the HSDir version 3 protocol, so that they can
  8299. can store and serve v3 descriptors. This is part of the next-
  8300. generation onion service work detailed in proposal 224. Closes
  8301. ticket 17238.
  8302. o Major features (protocol, ed25519 identity keys):
  8303. - Relays now use Ed25519 to prove their Ed25519 identities and to
  8304. one another, and to clients. This algorithm is faster and more
  8305. secure than the RSA-based handshake we've been doing until now.
  8306. Implements the second big part of proposal 220; Closes
  8307. ticket 15055.
  8308. - Clients now support including Ed25519 identity keys in the EXTEND2
  8309. cells they generate. By default, this is controlled by a consensus
  8310. parameter, currently disabled. You can turn this feature on for
  8311. testing by setting ExtendByEd25519ID in your configuration. This
  8312. might make your traffic appear different than the traffic
  8313. generated by other users, however. Implements part of ticket
  8314. 15056; part of proposal 220.
  8315. - Relays now understand requests to extend to other relays by their
  8316. Ed25519 identity keys. When an Ed25519 identity key is included in
  8317. an EXTEND2 cell, the relay will only extend the circuit if the
  8318. other relay can prove ownership of that identity. Implements part
  8319. of ticket 15056; part of proposal 220.
  8320. o Major bugfixes (scheduler):
  8321. - Actually compare circuit policies in ewma_cmp_cmux(). This bug
  8322. caused the channel scheduler to behave more or less randomly,
  8323. rather than preferring channels with higher-priority circuits.
  8324. Fixes bug 20459; bugfix on 0.2.6.2-alpha.
  8325. o Minor features (controller):
  8326. - When HSFETCH arguments cannot be parsed, say "Invalid argument"
  8327. rather than "unrecognized." Closes ticket 20389; patch from
  8328. Ivan Markin.
  8329. o Minor features (diagnostic, directory client):
  8330. - Warn when we find an unexpected inconsistency in directory
  8331. download status objects. Prevents some negative consequences of
  8332. bug 20593.
  8333. o Minor features (directory authority):
  8334. - Add a new authority-only AuthDirTestEd25519LinkKeys option (on by
  8335. default) to control whether authorities should try to probe relays
  8336. by their Ed25519 link keys. This option will go away in a few
  8337. releases--unless we encounter major trouble in our ed25519 link
  8338. protocol rollout, in which case it will serve as a safety option.
  8339. o Minor features (directory cache):
  8340. - Relays and bridges will now refuse to serve the consensus they
  8341. have if they know it is too old for a client to use. Closes
  8342. ticket 20511.
  8343. o Minor features (ed25519 link handshake):
  8344. - Advertise support for the ed25519 link handshake using the
  8345. subprotocol-versions mechanism, so that clients can tell which
  8346. relays can identity themselves by Ed25519 ID. Closes ticket 20552.
  8347. o Minor features (fingerprinting resistance, authentication):
  8348. - Extend the length of RSA keys used for TLS link authentication to
  8349. 2048 bits. (These weren't used for forward secrecy; for forward
  8350. secrecy, we used P256.) Closes ticket 13752.
  8351. o Minor features (infrastructure):
  8352. - Implement smartlist_add_strdup() function. Replaces the use of
  8353. smartlist_add(sl, tor_strdup(str)). Closes ticket 20048.
  8354. o Minor bugfixes (client):
  8355. - When clients that use bridges start up with a cached consensus on
  8356. disk, they were ignoring it and downloading a new one. Now they
  8357. use the cached one. Fixes bug 20269; bugfix on 0.2.3.12-alpha.
  8358. o Minor bugfixes (configuration):
  8359. - Accept non-space whitespace characters after the severity level in
  8360. the `Log` option. Fixes bug 19965; bugfix on 0.2.1.1-alpha.
  8361. - Support "TByte" and "TBytes" units in options given in bytes.
  8362. "TB", "terabyte(s)", "TBit(s)" and "terabit(s)" were already
  8363. supported. Fixes bug 20622; bugfix on 0.2.0.14-alpha.
  8364. o Minor bugfixes (consensus weight):
  8365. - Add new consensus method that initializes bw weights to 1 instead
  8366. of 0. This prevents a zero weight from making it all the way to
  8367. the end (happens in small testing networks) and causing an error.
  8368. Fixes bug 14881; bugfix on 0.2.2.17-alpha.
  8369. o Minor bugfixes (descriptors):
  8370. - Correctly recognise downloaded full descriptors as valid, even
  8371. when using microdescriptors as circuits. This affects clients with
  8372. FetchUselessDescriptors set, and may affect directory authorities.
  8373. Fixes bug 20839; bugfix on 0.2.3.2-alpha.
  8374. o Minor bugfixes (directory system):
  8375. - Download all consensus flavors, descriptors, and authority
  8376. certificates when FetchUselessDescriptors is set, regardless of
  8377. whether tor is a directory cache or not. Fixes bug 20667; bugfix
  8378. on all recent tor versions.
  8379. - Bridges and relays now use microdescriptors (like clients do)
  8380. rather than old-style router descriptors. Now bridges will blend
  8381. in with clients in terms of the circuits they build. Fixes bug
  8382. 6769; bugfix on 0.2.3.2-alpha.
  8383. o Minor bugfixes (ed25519 certificates):
  8384. - Correctly interpret ed25519 certificates that would expire some
  8385. time after 19 Jan 2038. Fixes bug 20027; bugfix on 0.2.7.2-alpha.
  8386. o Minor bugfixes (hidden services):
  8387. - Stop ignoring misconfigured hidden services. Instead, refuse to
  8388. start tor until the misconfigurations have been corrected. Fixes
  8389. bug 20559; bugfix on multiple commits in 0.2.7.1-alpha
  8390. and earlier.
  8391. o Minor bugfixes (memory leak at exit):
  8392. - Fix a small harmless memory leak at exit of the previously unused
  8393. RSA->Ed identity cross-certificate. Fixes bug 17779; bugfix
  8394. on 0.2.7.2-alpha.
  8395. o Minor bugfixes (util):
  8396. - When finishing writing a file to disk, if we were about to replace
  8397. the file with the temporary file created before and we fail to
  8398. replace it, remove the temporary file so it doesn't stay on disk.
  8399. Fixes bug 20646; bugfix on 0.2.0.7-alpha. Patch by fk.
  8400. o Minor bugfixes (Windows):
  8401. - Check for getpagesize before using it to mmap files. This fixes
  8402. compilation in some MinGW environments. Fixes bug 20530; bugfix on
  8403. 0.1.2.1-alpha. Reported by "ice".
  8404. o Code simplification and refactoring:
  8405. - Abolish all global guard context in entrynodes.c; replace with new
  8406. guard_selection_t structure as preparation for proposal 271.
  8407. Closes ticket 19858.
  8408. - Introduce rend_service_is_ephemeral() that tells if given onion
  8409. service is ephemeral. Replace unclear NULL-checkings for service
  8410. directory with this function. Closes ticket 20526.
  8411. - Extract magic numbers in circuituse.c into defined variables.
  8412. - Refactor circuit_is_available_for_use to remove unnecessary check.
  8413. - Refactor circuit_predict_and_launch_new for readability and
  8414. testability. Closes ticket 18873.
  8415. - Refactor large if statement in purpose_needs_anonymity to use
  8416. switch statement instead. Closes part of ticket 20077.
  8417. - Refactor the hashing API to return negative values for errors, as
  8418. is done as throughout the codebase. Closes ticket 20717.
  8419. - Remove data structures that were used to index or_connection
  8420. objects by their RSA identity digests. These structures are fully
  8421. redundant with the similar structures used in the
  8422. channel abstraction.
  8423. - Remove duplicate code in the channel_write_*cell() functions.
  8424. Closes ticket 13827; patch from Pingl.
  8425. - Remove redundant behavior of is_sensitive_dir_purpose, refactor to
  8426. use only purpose_needs_anonymity. Closes part of ticket 20077.
  8427. - The code to generate and parse EXTEND and EXTEND2 cells has been
  8428. replaced with code automatically generated by the
  8429. "trunnel" utility.
  8430. o Documentation:
  8431. - Include the "TBits" unit in Tor's man page. Fixes part of bug
  8432. 20622; bugfix on 0.2.5.1-alpha.
  8433. - Change '1' to 'weight_scale' in consensus bw weights calculation
  8434. comments, as that is reality. Closes ticket 20273. Patch
  8435. from pastly.
  8436. - Correct the value for AuthDirGuardBWGuarantee in the manpage, from
  8437. 250 KBytes to 2 MBytes. Fixes bug 20435; bugfix
  8438. on 0.2.5.6-alpha.
  8439. - Stop the man page from incorrectly stating that HiddenServiceDir
  8440. must already exist. Fixes 20486.
  8441. - Clarify that when ClientRejectInternalAddresses is enabled (which
  8442. is the default), multicast DNS hostnames for machines on the local
  8443. network (of the form *.local) are also rejected. Closes
  8444. ticket 17070.
  8445. o Removed features:
  8446. - The AuthDirMaxServersPerAuthAddr option no longer exists: The same
  8447. limit for relays running on a single IP applies to authority IP
  8448. addresses as well as to non-authority IP addresses. Closes
  8449. ticket 20960.
  8450. - The UseDirectoryGuards torrc option no longer exists: all users
  8451. that use entry guards will also use directory guards. Related to
  8452. proposal 271; implements part of ticket 20831.
  8453. o Testing:
  8454. - New unit tests for tor_htonll(). Closes ticket 19563. Patch
  8455. from "overcaffeinated".
  8456. - Perform the coding style checks when running the tests and fail
  8457. when coding style violations are found. Closes ticket 5500.
  8458. - Add tests for networkstatus_compute_bw_weights_v10.
  8459. - Add unit tests circuit_predict_and_launch_new.
  8460. - Extract dummy_origin_circuit_new so it can be used by other
  8461. test functions.
  8462. Changes in version 0.2.8.12 - 2016-12-19
  8463. Tor 0.2.8.12 backports a fix for a medium-severity issue (bug 21018
  8464. below) where Tor clients could crash when attempting to visit a
  8465. hostile hidden service. Clients are recommended to upgrade as packages
  8466. become available for their systems.
  8467. It also includes an updated list of fallback directories, backported
  8468. from 0.2.9.
  8469. Now that the Tor 0.2.9 series is stable, only major bugfixes will be
  8470. backported to 0.2.8 in the future.
  8471. o Major bugfixes (parsing, security, backported from 0.2.9.8):
  8472. - Fix a bug in parsing that could cause clients to read a single
  8473. byte past the end of an allocated region. This bug could be used
  8474. to cause hardened clients (built with --enable-expensive-hardening)
  8475. to crash if they tried to visit a hostile hidden service. Non-
  8476. hardened clients are only affected depending on the details of
  8477. their platform's memory allocator. Fixes bug 21018; bugfix on
  8478. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  8479. 2016-12-002 and as CVE-2016-1254.
  8480. o Minor features (fallback directory list, backported from 0.2.9.8):
  8481. - Replace the 81 remaining fallbacks of the 100 originally
  8482. introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
  8483. fallbacks (123 new, 54 existing, 27 removed) generated in December
  8484. 2016. Resolves ticket 20170.
  8485. o Minor features (geoip, backported from 0.2.9.7-rc):
  8486. - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
  8487. Country database.
  8488. Changes in version 0.2.9.8 - 2016-12-19
  8489. Tor 0.2.9.8 is the first stable release of the Tor 0.2.9 series.
  8490. The Tor 0.2.9 series makes mandatory a number of security features
  8491. that were formerly optional. It includes support for a new shared-
  8492. randomness protocol that will form the basis for next generation
  8493. hidden services, includes a single-hop hidden service mode for
  8494. optimizing .onion services that don't actually want to be hidden,
  8495. tries harder not to overload the directory authorities with excessive
  8496. downloads, and supports a better protocol versioning scheme for
  8497. improved compatibility with other implementations of the Tor protocol.
  8498. And of course, there are numerous other bugfixes and improvements.
  8499. This release also includes a fix for a medium-severity issue (bug
  8500. 21018 below) where Tor clients could crash when attempting to visit a
  8501. hostile hidden service. Clients are recommended to upgrade as packages
  8502. become available for their systems.
  8503. Below are the changes since 0.2.9.7-rc. For a list of all changes
  8504. since 0.2.8, see the ReleaseNotes file.
  8505. o Major bugfixes (parsing, security):
  8506. - Fix a bug in parsing that could cause clients to read a single
  8507. byte past the end of an allocated region. This bug could be used
  8508. to cause hardened clients (built with --enable-expensive-hardening)
  8509. to crash if they tried to visit a hostile hidden service. Non-
  8510. hardened clients are only affected depending on the details of
  8511. their platform's memory allocator. Fixes bug 21018; bugfix on
  8512. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  8513. 2016-12-002 and as CVE-2016-1254.
  8514. o Minor features (fallback directory list):
  8515. - Replace the 81 remaining fallbacks of the 100 originally
  8516. introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
  8517. fallbacks (123 new, 54 existing, 27 removed) generated in December
  8518. 2016. Resolves ticket 20170.
  8519. Changes in version 0.2.9.7-rc - 2016-12-12
  8520. Tor 0.2.9.7-rc fixes a few small bugs remaining in Tor 0.2.9.6-rc,
  8521. including a few that had prevented tests from passing on
  8522. some platforms.
  8523. o Minor features (geoip):
  8524. - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
  8525. Country database.
  8526. o Minor bugfix (build):
  8527. - The current Git revision when building from a local repository is
  8528. now detected correctly when using git worktrees. Fixes bug 20492;
  8529. bugfix on 0.2.3.9-alpha.
  8530. o Minor bugfixes (directory authority):
  8531. - When computing old Tor protocol line version in protover, we were
  8532. looking at 0.2.7.5 twice instead of a specific case for
  8533. 0.2.9.1-alpha. Fixes bug 20810; bugfix on 0.2.9.4-alpha.
  8534. o Minor bugfixes (download scheduling):
  8535. - Resolve a "bug" warning when considering a download schedule whose
  8536. delay had approached INT_MAX. Fixes 20875; bugfix on 0.2.9.5-alpha.
  8537. o Minor bugfixes (logging):
  8538. - Downgrade a harmless log message about the
  8539. pending_entry_connections list from "warn" to "info". Mitigates
  8540. bug 19926.
  8541. o Minor bugfixes (memory leak):
  8542. - Fix a small memory leak when receiving AF_UNIX connections on a
  8543. SocksPort. Fixes bug 20716; bugfix on 0.2.6.3-alpha.
  8544. - When moving a signed descriptor object from a source to an
  8545. existing destination, free the allocated memory inside that
  8546. destination object. Fixes bug 20715; bugfix on 0.2.8.3-alpha.
  8547. o Minor bugfixes (memory leak, use-after-free, linux seccomp2 sandbox):
  8548. - Fix a memory leak and use-after-free error when removing entries
  8549. from the sandbox's getaddrinfo() cache. Fixes bug 20710; bugfix on
  8550. 0.2.5.5-alpha. Patch from "cypherpunks".
  8551. o Minor bugfixes (portability):
  8552. - Use the correct spelling of MAC_OS_X_VERSION_10_12 on configure.ac
  8553. Fixes bug 20935; bugfix on 0.2.9.6-rc.
  8554. o Minor bugfixes (unit tests):
  8555. - Stop expecting NetBSD unit tests to report success for ipfw. Part
  8556. of a fix for bug 19960; bugfix on 0.2.9.5-alpha.
  8557. - Fix tolerances in unit tests for monotonic time comparisons
  8558. between nanoseconds and microseconds. Previously, we accepted a 10
  8559. us difference only, which is not realistic on every platform's
  8560. clock_gettime(). Fixes bug 19974; bugfix on 0.2.9.1-alpha.
  8561. - Remove a double-free in the single onion service unit test. Stop
  8562. ignoring a return value. Make future changes less error-prone.
  8563. Fixes bug 20864; bugfix on 0.2.9.6-rc.
  8564. Changes in version 0.2.8.11 - 2016-12-08
  8565. Tor 0.2.8.11 backports fixes for additional portability issues that
  8566. could prevent Tor from building correctly on OSX Sierra, or with
  8567. OpenSSL 1.1. Affected users should upgrade; others can safely stay
  8568. with 0.2.8.10.
  8569. o Minor bugfixes (portability):
  8570. - Avoid compilation errors when building on OSX Sierra. Sierra began
  8571. to support the getentropy() and clock_gettime() APIs, but created
  8572. a few problems in doing so. Tor 0.2.9 has a more thorough set of
  8573. workarounds; in 0.2.8, we are just using the /dev/urandom and mach
  8574. monotonic time interfaces. Fixes bug 20865. Bugfix
  8575. on 0.2.8.1-alpha.
  8576. o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
  8577. - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
  8578. architectures. Closes ticket 20588.
  8579. Changes in version 0.2.8.10 - 2016-12-02
  8580. Tor 0.2.8.10 backports a fix for a bug that would sometimes make clients
  8581. unusable after they left standby mode. It also backports fixes for
  8582. a few portability issues and a small but problematic memory leak.
  8583. o Major bugfixes (client reliability, backport from 0.2.9.5-alpha):
  8584. - When Tor leaves standby because of a new application request, open
  8585. circuits as needed to serve that request. Previously, we would
  8586. potentially wait a very long time. Fixes part of bug 19969; bugfix
  8587. on 0.2.8.1-alpha.
  8588. o Major bugfixes (client performance, backport from 0.2.9.5-alpha):
  8589. - Clients now respond to new application stream requests immediately
  8590. when they arrive, rather than waiting up to one second before
  8591. starting to handle them. Fixes part of bug 19969; bugfix
  8592. on 0.2.8.1-alpha.
  8593. o Minor bugfixes (portability, backport from 0.2.9.6-rc):
  8594. - Work around a bug in the OSX 10.12 SDK that would prevent us from
  8595. successfully targeting earlier versions of OSX. Resolves
  8596. ticket 20235.
  8597. o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
  8598. - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
  8599. 20551; bugfix on 0.2.1.1-alpha.
  8600. o Minor bugfixes (relay, backport from 0.2.9.5-alpha):
  8601. - Work around a memory leak in OpenSSL 1.1 when encoding public
  8602. keys. Fixes bug 20553; bugfix on 0.0.2pre8.
  8603. o Minor features (geoip):
  8604. - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
  8605. Country database.
  8606. Changes in version 0.2.9.6-rc - 2016-12-02
  8607. Tor 0.2.9.6-rc fixes a few remaining bugs found in the previous alpha
  8608. version. We hope that it will be ready to become stable soon, and we
  8609. encourage everyone to test this release. If no showstopper bugs are
  8610. found here, the next 0.2.9 release will be stable.
  8611. o Major bugfixes (relay, resolver, logging):
  8612. - For relays that don't know their own address, avoid attempting a
  8613. local hostname resolve for each descriptor we download. This
  8614. will cut down on the number of "Success: chose address 'x.x.x.x'"
  8615. log lines, and also avoid confusing clock jumps if the resolver
  8616. is slow. Fixes bugs 20423 and 20610; bugfix on 0.2.8.1-alpha.
  8617. o Minor bugfixes (client, fascistfirewall):
  8618. - Avoid spurious warnings when ReachableAddresses or FascistFirewall
  8619. is set. Fixes bug 20306; bugfix on 0.2.8.2-alpha.
  8620. o Minor bugfixes (hidden services):
  8621. - Stop ignoring the anonymity status of saved keys for hidden
  8622. services and single onion services when first starting tor.
  8623. Instead, refuse to start tor if any hidden service key has been
  8624. used in a different hidden service anonymity mode. Fixes bug
  8625. 20638; bugfix on 17178 in 0.2.9.3-alpha; reported by ahf.
  8626. o Minor bugfixes (portability):
  8627. - Work around a bug in the OSX 10.12 SDK that would prevent us from
  8628. successfully targeting earlier versions of OSX. Resolves
  8629. ticket 20235.
  8630. - Run correctly when built on Windows build environments that
  8631. require _vcsprintf(). Fixes bug 20560; bugfix on 0.2.2.11-alpha.
  8632. o Minor bugfixes (single onion services, Tor2web):
  8633. - Stop complaining about long-term one-hop circuits deliberately
  8634. created by single onion services and Tor2web. These log messages
  8635. are intended to diagnose issue 8387, which relates to circuits
  8636. hanging around forever for no reason. Fixes bug 20613; bugfix on
  8637. 0.2.9.1-alpha. Reported by "pastly".
  8638. o Minor bugfixes (unit tests):
  8639. - Stop spurious failures in the local interface address discovery
  8640. unit tests. Fixes bug 20634; bugfix on 0.2.8.1-alpha; patch by
  8641. Neel Chauhan.
  8642. o Documentation:
  8643. - Correct the minimum bandwidth value in torrc.sample, and queue a
  8644. corresponding change for torrc.minimal. Closes ticket 20085.
  8645. Changes in version 0.2.9.5-alpha - 2016-11-08
  8646. Tor 0.2.9.5-alpha fixes numerous bugs discovered in the previous alpha
  8647. version. We believe one or two probably remain, and we encourage
  8648. everyone to test this release.
  8649. o Major bugfixes (client performance):
  8650. - Clients now respond to new application stream requests immediately
  8651. when they arrive, rather than waiting up to one second before
  8652. starting to handle them. Fixes part of bug 19969; bugfix
  8653. on 0.2.8.1-alpha.
  8654. o Major bugfixes (client reliability):
  8655. - When Tor leaves standby because of a new application request, open
  8656. circuits as needed to serve that request. Previously, we would
  8657. potentially wait a very long time. Fixes part of bug 19969; bugfix
  8658. on 0.2.8.1-alpha.
  8659. o Major bugfixes (download scheduling):
  8660. - When using an exponential backoff schedule, do not give up on
  8661. downloading just because we have failed a bunch of times. Since
  8662. each delay is longer than the last, retrying indefinitely won't
  8663. hurt. Fixes bug 20536; bugfix on 0.2.9.1-alpha.
  8664. - If a consensus expires while we are waiting for certificates to
  8665. download, stop waiting for certificates.
  8666. - If we stop waiting for certificates less than a minute after we
  8667. started downloading them, do not consider the certificate download
  8668. failure a separate failure. Fixes bug 20533; bugfix
  8669. on 0.2.0.9-alpha.
  8670. - Remove the maximum delay on exponential-backoff scheduling. Since
  8671. we now allow an infinite number of failures (see ticket 20536), we
  8672. must now allow the time to grow longer on each failure. Fixes part
  8673. of bug 20534; bugfix on 0.2.9.1-alpha.
  8674. - Make our initial download delays closer to those from 0.2.8. Fixes
  8675. another part of bug 20534; bugfix on 0.2.9.1-alpha.
  8676. - When determining when to download a directory object, handle times
  8677. after 2038 if the operating system supports them. (Someday this
  8678. will be important!) Fixes bug 20587; bugfix on 0.2.8.1-alpha.
  8679. - When using exponential backoff in test networks, use a lower
  8680. exponent, so the delays do not vary as much. This helps test
  8681. networks bootstrap consistently. Fixes bug 20597; bugfix on 20499.
  8682. o Minor features (geoip):
  8683. - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
  8684. Country database.
  8685. o Minor bugfixes (client directory scheduling):
  8686. - Treat "relay too busy to answer request" as a failed request and a
  8687. reason to back off on our retry frequency. This is safe now that
  8688. exponential backoffs retry indefinitely, and avoids a bug where we
  8689. would reset our download schedule erroneously. Fixes bug 20593;
  8690. bugfix on 0.2.9.1-alpha.
  8691. o Minor bugfixes (client, logging):
  8692. - Remove a BUG warning in circuit_pick_extend_handshake(). Instead,
  8693. assume all nodes support EXTEND2. Use ntor whenever a key is
  8694. available. Fixes bug 20472; bugfix on 0.2.9.3-alpha.
  8695. - On DNSPort, stop logging a BUG warning on a failed hostname
  8696. lookup. Fixes bug 19869; bugfix on 0.2.9.1-alpha.
  8697. o Minor bugfixes (hidden services):
  8698. - When configuring hidden services, check every hidden service
  8699. directory's permissions. Previously, we only checked the last
  8700. hidden service. Fixes bug 20529; bugfix the work to fix 13942
  8701. in 0.2.6.2-alpha.
  8702. o Minor bugfixes (portability):
  8703. - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
  8704. architectures. Closes ticket 20588.
  8705. - Use ECDHE ciphers instead of ECDH in tortls tests. LibreSSL has
  8706. removed the ECDH ciphers which caused the tests to fail on
  8707. platforms which use it. Fixes bug 20460; bugfix on 0.2.8.1-alpha.
  8708. - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
  8709. 20551; bugfix on 0.2.1.1-alpha.
  8710. o Minor bugfixes (relay bootstrap):
  8711. - Ensure relays don't make multiple connections during bootstrap.
  8712. Fixes bug 20591; bugfix on 0.2.8.1-alpha.
  8713. o Minor bugfixes (relay):
  8714. - Work around a memory leak in OpenSSL 1.1 when encoding public
  8715. keys. Fixes bug 20553; bugfix on 0.0.2pre8.
  8716. - Avoid a small memory leak when informing worker threads about
  8717. rotated onion keys. Fixes bug 20401; bugfix on 0.2.6.3-alpha.
  8718. - Do not try to parallelize workers more than 16x without the user
  8719. explicitly configuring us to do so, even if we do detect more than
  8720. 16 CPU cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
  8721. o Minor bugfixes (single onion services):
  8722. - Start correctly when creating a single onion service in a
  8723. directory that did not previously exist. Fixes bug 20484; bugfix
  8724. on 0.2.9.3-alpha.
  8725. o Minor bugfixes (testing):
  8726. - Avoid a unit test failure on systems with over 16 detectable CPU
  8727. cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
  8728. o Documentation:
  8729. - Clarify that setting HiddenServiceNonAnonymousMode requires you to
  8730. also set "SOCKSPort 0". Fixes bug 20487; bugfix on 0.2.9.3-alpha.
  8731. - Module-level documentation for several more modules. Closes
  8732. tickets 19287 and 19290.
  8733. Changes in version 0.2.8.9 - 2016-10-17
  8734. Tor 0.2.8.9 backports a fix for a security hole in previous versions
  8735. of Tor that would allow a remote attacker to crash a Tor client,
  8736. hidden service, relay, or authority. All Tor users should upgrade to
  8737. this version, or to 0.2.9.4-alpha. Patches will be released for older
  8738. versions of Tor.
  8739. o Major features (security fixes, also in 0.2.9.4-alpha):
  8740. - Prevent a class of security bugs caused by treating the contents
  8741. of a buffer chunk as if they were a NUL-terminated string. At
  8742. least one such bug seems to be present in all currently used
  8743. versions of Tor, and would allow an attacker to remotely crash
  8744. most Tor instances, especially those compiled with extra compiler
  8745. hardening. With this defense in place, such bugs can't crash Tor,
  8746. though we should still fix them as they occur. Closes ticket
  8747. 20384 (TROVE-2016-10-001).
  8748. o Minor features (geoip):
  8749. - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
  8750. Country database.
  8751. Changes in version 0.2.9.4-alpha - 2016-10-17
  8752. Tor 0.2.9.4-alpha fixes a security hole in previous versions of Tor
  8753. that would allow a remote attacker to crash a Tor client, hidden
  8754. service, relay, or authority. All Tor users should upgrade to this
  8755. version, or to 0.2.8.9. Patches will be released for older versions
  8756. of Tor.
  8757. Tor 0.2.9.4-alpha also adds numerous small features and fix-ups to
  8758. previous versions of Tor, including the implementation of a feature to
  8759. future- proof the Tor ecosystem against protocol changes, some bug
  8760. fixes necessary for Tor Browser to use unix domain sockets correctly,
  8761. and several portability improvements. We anticipate that this will be
  8762. the last alpha in the Tor 0.2.9 series, and that the next release will
  8763. be a release candidate.
  8764. o Major features (security fixes):
  8765. - Prevent a class of security bugs caused by treating the contents
  8766. of a buffer chunk as if they were a NUL-terminated string. At
  8767. least one such bug seems to be present in all currently used
  8768. versions of Tor, and would allow an attacker to remotely crash
  8769. most Tor instances, especially those compiled with extra compiler
  8770. hardening. With this defense in place, such bugs can't crash Tor,
  8771. though we should still fix them as they occur. Closes ticket
  8772. 20384 (TROVE-2016-10-001).
  8773. o Major features (subprotocol versions):
  8774. - Tor directory authorities now vote on a set of recommended
  8775. subprotocol versions, and on a set of required subprotocol
  8776. versions. Clients and relays that lack support for a _required_
  8777. subprotocol version will not start; those that lack support for a
  8778. _recommended_ subprotocol version will warn the user to upgrade.
  8779. Closes ticket 19958; implements part of proposal 264.
  8780. - Tor now uses "subprotocol versions" to indicate compatibility.
  8781. Previously, versions of Tor looked at the declared Tor version of
  8782. a relay to tell whether they could use a given feature. Now, they
  8783. should be able to rely on its declared subprotocol versions. This
  8784. change allows compatible implementations of the Tor protocol(s) to
  8785. exist without pretending to be 100% bug-compatible with particular
  8786. releases of Tor itself. Closes ticket 19958; implements part of
  8787. proposal 264.
  8788. o Minor feature (fallback directories):
  8789. - Remove broken fallbacks from the hard-coded fallback directory
  8790. list. Closes ticket 20190; patch by teor.
  8791. o Minor features (client, directory):
  8792. - Since authorities now omit all routers that lack the Running and
  8793. Valid flags, we assume that any relay listed in the consensus must
  8794. have those flags. Closes ticket 20001; implements part of
  8795. proposal 272.
  8796. o Minor features (compilation, portability):
  8797. - Compile correctly on MacOS 10.12 (aka "Sierra"). Closes
  8798. ticket 20241.
  8799. o Minor features (development tools, etags):
  8800. - Teach the "make tags" Makefile target how to correctly find
  8801. "MOCK_IMPL" function definitions. Patch from nherring; closes
  8802. ticket 16869.
  8803. o Minor features (geoip):
  8804. - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
  8805. Country database.
  8806. o Minor features (unix domain sockets):
  8807. - When configuring a unix domain socket for a SocksPort,
  8808. ControlPort, or Hidden service, you can now wrap the address in
  8809. quotes, using C-style escapes inside the quotes. This allows unix
  8810. domain socket paths to contain spaces.
  8811. o Minor features (virtual addresses):
  8812. - Increase the maximum number of bits for the IPv6 virtual network
  8813. prefix from 16 to 104. In this way, the condition for address
  8814. allocation is less restrictive. Closes ticket 20151; feature
  8815. on 0.2.4.7-alpha.
  8816. o Minor bugfixes (address discovery):
  8817. - Stop reordering IP addresses returned by the OS. This makes it
  8818. more likely that Tor will guess the same relay IP address every
  8819. time. Fixes issue 20163; bugfix on 0.2.7.1-alpha, ticket 17027.
  8820. Reported by René Mayrhofer, patch by "cypherpunks".
  8821. o Minor bugfixes (client, unix domain sockets):
  8822. - Disable IsolateClientAddr when using AF_UNIX backed SocksPorts as
  8823. the client address is meaningless. Fixes bug 20261; bugfix
  8824. on 0.2.6.3-alpha.
  8825. o Minor bugfixes (compilation, OpenBSD):
  8826. - Detect Libevent2 functions correctly on systems that provide
  8827. libevent2, but where libevent1 is linked with -levent. Fixes bug
  8828. 19904; bugfix on 0.2.2.24-alpha. Patch from Rubiate.
  8829. o Minor bugfixes (configuration):
  8830. - When parsing quoted configuration values from the torrc file,
  8831. handle windows line endings correctly. Fixes bug 19167; bugfix on
  8832. 0.2.0.16-alpha. Patch from "Pingl".
  8833. o Minor bugfixes (getpass):
  8834. - Defensively fix a non-triggerable heap corruption at do_getpass()
  8835. to protect ourselves from mistakes in the future. Fixes bug
  8836. 19223; bugfix on 0.2.7.3-rc. Bug found by Guido Vranken, patch
  8837. by nherring.
  8838. o Minor bugfixes (hidden service):
  8839. - Allow hidden services to run on IPv6 addresses even when the
  8840. IPv6Exit option is not set. Fixes bug 18357; bugfix
  8841. on 0.2.4.7-alpha.
  8842. o Documentation:
  8843. - Add module-level internal documentation for 36 C files that
  8844. previously didn't have a high-level overview. Closes ticket #20385.
  8845. o Required libraries:
  8846. - When building with OpenSSL, Tor now requires version 1.0.1 or
  8847. later. OpenSSL 1.0.0 and earlier are no longer supported by the
  8848. OpenSSL team, and should not be used. Closes ticket 20303.
  8849. Changes in version 0.2.9.3-alpha - 2016-09-23
  8850. Tor 0.2.9.3-alpha adds improved support for entities that want to make
  8851. high-performance services available through the Tor .onion mechanism
  8852. without themselves receiving anonymity as they host those services. It
  8853. also tries harder to ensure that all steps on a circuit are using the
  8854. strongest crypto possible, strengthens some TLS properties, and
  8855. resolves several bugs -- including a pair of crash bugs from the 0.2.8
  8856. series. Anybody running an earlier version of 0.2.9.x should upgrade.
  8857. o Major bugfixes (crash, also in 0.2.8.8):
  8858. - Fix a complicated crash bug that could affect Tor clients
  8859. configured to use bridges when replacing a networkstatus consensus
  8860. in which one of their bridges was mentioned. OpenBSD users saw
  8861. more crashes here, but all platforms were potentially affected.
  8862. Fixes bug 20103; bugfix on 0.2.8.2-alpha.
  8863. o Major bugfixes (relay, OOM handler, also in 0.2.8.8):
  8864. - Fix a timing-dependent assertion failure that could occur when we
  8865. tried to flush from a circuit after having freed its cells because
  8866. of an out-of-memory condition. Fixes bug 20203; bugfix on
  8867. 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
  8868. this one.
  8869. o Major features (circuit building, security):
  8870. - Authorities, relays and clients now require ntor keys in all
  8871. descriptors, for all hops (except for rare hidden service protocol
  8872. cases), for all circuits, and for all other roles. Part of
  8873. ticket 19163.
  8874. - Tor authorities, relays, and clients only use ntor, except for
  8875. rare cases in the hidden service protocol. Part of ticket 19163.
  8876. o Major features (single-hop "hidden" services):
  8877. - Add experimental HiddenServiceSingleHopMode and
  8878. HiddenServiceNonAnonymousMode options. When both are set to 1,
  8879. every hidden service on a Tor instance becomes a non-anonymous
  8880. Single Onion Service. Single Onions make one-hop (direct)
  8881. connections to their introduction and renzedvous points. One-hop
  8882. circuits make Single Onion servers easily locatable, but clients
  8883. remain location-anonymous. This is compatible with the existing
  8884. hidden service implementation, and works on the current tor
  8885. network without any changes to older relays or clients. Implements
  8886. proposal 260, completes ticket 17178. Patch by teor and asn.
  8887. o Major features (resource management):
  8888. - Tor can now notice it is about to run out of sockets, and
  8889. preemptively close connections of lower priority. (This feature is
  8890. off by default for now, since the current prioritizing method is
  8891. yet not mature enough. You can enable it by setting
  8892. "DisableOOSCheck 0", but watch out: it might close some sockets
  8893. you would rather have it keep.) Closes ticket 18640.
  8894. o Major bugfixes (circuit building):
  8895. - Hidden service client-to-intro-point and service-to-rendezvous-
  8896. point circuits use the TAP key supplied by the protocol, to avoid
  8897. epistemic attacks. Fixes bug 19163; bugfix on 0.2.4.18-rc.
  8898. o Major bugfixes (compilation, OpenBSD):
  8899. - Fix a Libevent-detection bug in our autoconf script that would
  8900. prevent Tor from linking successfully on OpenBSD. Patch from
  8901. rubiate. Fixes bug 19902; bugfix on 0.2.9.1-alpha.
  8902. o Major bugfixes (hidden services):
  8903. - Clients now require hidden services to include the TAP keys for
  8904. their intro points in the hidden service descriptor. This prevents
  8905. an inadvertent upgrade to ntor, which a malicious hidden service
  8906. could use to distinguish clients by consensus version. Fixes bug
  8907. 20012; bugfix on 0.2.4.8-alpha. Patch by teor.
  8908. o Minor features (security, TLS):
  8909. - Servers no longer support clients that without AES ciphersuites.
  8910. (3DES is no longer considered an acceptable cipher.) We believe
  8911. that no such Tor clients currently exist, since Tor has required
  8912. OpenSSL 0.9.7 or later since 2009. Closes ticket 19998.
  8913. o Minor feature (fallback directories):
  8914. - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
  8915. 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
  8916. 2016. Closes ticket 20190; patch by teor.
  8917. o Minor features (geoip, also in 0.2.8.8):
  8918. - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
  8919. Country database.
  8920. o Minor feature (port flags):
  8921. - Add new flags to the *Port options to finer control over which
  8922. requests are allowed. The flags are NoDNSRequest, NoOnionTraffic,
  8923. and the synthetic flag OnionTrafficOnly, which is equivalent to
  8924. NoDNSRequest, NoIPv4Traffic, and NoIPv6Traffic. Closes enhancement
  8925. 18693; patch by "teor".
  8926. o Minor features (directory authority):
  8927. - After voting, if the authorities decide that a relay is not
  8928. "Valid", they no longer include it in the consensus at all. Closes
  8929. ticket 20002; implements part of proposal 272.
  8930. o Minor features (testing):
  8931. - Disable memory protections on OpenBSD when performing our unit
  8932. tests for memwipe(). The test deliberately invokes undefined
  8933. behavior, and the OpenBSD protections interfere with this. Patch
  8934. from "rubiate". Closes ticket 20066.
  8935. o Minor features (testing, ipv6):
  8936. - Add the single-onion and single-onion-ipv6 chutney targets to
  8937. "make test-network-all". This requires a recent chutney version
  8938. with the single onion network flavours (git c72a652 or later).
  8939. Closes ticket 20072; patch by teor.
  8940. - Add the hs-ipv6 chutney target to make test-network-all's IPv6
  8941. tests. Remove bridges+hs, as it's somewhat redundant. This
  8942. requires a recent chutney version that supports IPv6 clients,
  8943. relays, and authorities. Closes ticket 20069; patch by teor.
  8944. o Minor features (Tor2web):
  8945. - Make Tor2web clients respect ReachableAddresses. This feature was
  8946. inadvertently enabled in 0.2.8.6, then removed by bugfix 19973 on
  8947. 0.2.8.7. Implements feature 20034. Patch by teor.
  8948. o Minor features (unit tests):
  8949. - We've done significant work to make the unit tests run faster.
  8950. - Our link-handshake unit tests now check that when invalid
  8951. handshakes fail, they fail with the error messages we expected.
  8952. - Our unit testing code that captures log messages no longer
  8953. prevents them from being written out if the user asked for them
  8954. (by passing --debug or --info or or --notice --warn to the "test"
  8955. binary). This change prevents us from missing unexpected log
  8956. messages simply because we were looking for others. Related to
  8957. ticket 19999.
  8958. - The unit tests now log all warning messages with the "BUG" flag.
  8959. Previously, they only logged errors by default. This change will
  8960. help us make our testing code more correct, and make sure that we
  8961. only hit this code when we mean to. In the meantime, however,
  8962. there will be more warnings in the unit test logs than before.
  8963. This is preparatory work for ticket 19999.
  8964. - The unit tests now treat any failure of a "tor_assert_nonfatal()"
  8965. assertion as a test failure.
  8966. o Minor bug fixes (circuits):
  8967. - Use the CircuitBuildTimeout option whenever
  8968. LearnCircuitBuildTimeout is disabled. Previously, we would respect
  8969. the option when a user disabled it, but not when it was disabled
  8970. because some other option was set. Fixes bug 20073; bugfix on
  8971. 0.2.4.12-alpha. Patch by teor.
  8972. o Minor bugfixes (allocation):
  8973. - Change how we allocate memory for large chunks on buffers, to
  8974. avoid a (currently impossible) integer overflow, and to waste less
  8975. space when allocating unusually large chunks. Fixes bug 20081;
  8976. bugfix on 0.2.0.16-alpha. Issue identified by Guido Vranken.
  8977. - Always include orconfig.h before including any other C headers.
  8978. Sometimes, it includes macros that affect the behavior of the
  8979. standard headers. Fixes bug 19767; bugfix on 0.2.9.1-alpha (the
  8980. first version to use AC_USE_SYSTEM_EXTENSIONS).
  8981. - Fix a syntax error in the IF_BUG_ONCE__() macro in non-GCC-
  8982. compatible compilers. Fixes bug 20141; bugfix on 0.2.9.1-alpha.
  8983. Patch from Gisle Vanem.
  8984. - Stop trying to build with Clang 4.0's -Wthread-safety warnings.
  8985. They apparently require a set of annotations that we aren't
  8986. currently using, and they create false positives in our pthreads
  8987. wrappers. Fixes bug 20110; bugfix on 0.2.9.1-alpha.
  8988. o Minor bugfixes (directory authority):
  8989. - Die with a more useful error when the operator forgets to place
  8990. the authority_signing_key file into the keys directory. This
  8991. avoids an uninformative assert & traceback about having an invalid
  8992. key. Fixes bug 20065; bugfix on 0.2.0.1-alpha.
  8993. - When allowing private addresses, mark Exits that only exit to
  8994. private locations as such. Fixes bug 20064; bugfix
  8995. on 0.2.2.9-alpha.
  8996. o Minor bugfixes (documentation):
  8997. - Document the default PathsNeededToBuildCircuits value that's used
  8998. by clients when the directory authorities don't set
  8999. min_paths_for_circs_pct. Fixes bug 20117; bugfix on 02c320916e02
  9000. in 0.2.4.10-alpha. Patch by teor, reported by Jesse V.
  9001. - Fix manual for the User option: it takes a username, not a UID.
  9002. Fixes bug 19122; bugfix on 0.0.2pre16 (the first version to have
  9003. a manpage!).
  9004. o Minor bugfixes (hidden services):
  9005. - Stop logging intro point details to the client log on certain
  9006. error conditions. Fixed as part of bug 20012; bugfix on
  9007. 0.2.4.8-alpha. Patch by teor.
  9008. o Minor bugfixes (IPv6, testing):
  9009. - Check for IPv6 correctly on Linux when running test networks.
  9010. Fixes bug 19905; bugfix on 0.2.7.3-rc; patch by teor.
  9011. o Minor bugfixes (Linux seccomp2 sandbox):
  9012. - Add permission to run the sched_yield() and sigaltstack() system
  9013. calls, in order to support versions of Tor compiled with asan or
  9014. ubsan code that use these calls. Now "sandbox 1" and
  9015. "--enable-expensive-hardening" should be compatible on more
  9016. systems. Fixes bug 20063; bugfix on 0.2.5.1-alpha.
  9017. o Minor bugfixes (logging):
  9018. - When logging a message from the BUG() macro, be explicit about
  9019. what we were asserting. Previously we were confusing what we were
  9020. asserting with what the bug was. Fixes bug 20093; bugfix
  9021. on 0.2.9.1-alpha.
  9022. - When we are unable to remove the bw_accounting file, do not warn
  9023. if the reason we couldn't remove it was that it didn't exist.
  9024. Fixes bug 19964; bugfix on 0.2.5.4-alpha. Patch from 'pastly'.
  9025. o Minor bugfixes (option parsing):
  9026. - Count unix sockets when counting client listeners (SOCKS, Trans,
  9027. NATD, and DNS). This has no user-visible behaviour changes: these
  9028. options are set once, and never read. Required for correct
  9029. behaviour in ticket 17178. Fixes bug 19677; bugfix on
  9030. 0.2.6.3-alpha. Patch by teor.
  9031. o Minor bugfixes (options):
  9032. - Check the consistency of UseEntryGuards and EntryNodes more
  9033. reliably. Fixes bug 20074; bugfix on 0.2.4.12-alpha. Patch
  9034. by teor.
  9035. - Stop changing the configured value of UseEntryGuards on
  9036. authorities and Tor2web clients. Fixes bug 20074; bugfix on
  9037. commits 51fc6799 in 0.1.1.16-rc and acda1735 in 0.2.4.3-alpha.
  9038. Patch by teor.
  9039. o Minor bugfixes (Tor2web):
  9040. - Prevent Tor2web clients running hidden services, these services
  9041. are not anonymous due to the one-hop client paths. Fixes bug
  9042. 19678. Patch by teor.
  9043. o Minor bugfixes (unit tests):
  9044. - Fix a shared-random unit test that was failing on big endian
  9045. architectures due to internal representation of a integer copied
  9046. to a buffer. The test is changed to take a full 32 bytes of data
  9047. and use the output of a python script that make the COMMIT and
  9048. REVEAL calculation according to the spec. Fixes bug 19977; bugfix
  9049. on 0.2.9.1-alpha.
  9050. - The tor_tls_server_info_callback unit test no longer crashes when
  9051. debug-level logging is turned on. Fixes bug 20041; bugfix
  9052. on 0.2.8.1-alpha.
  9053. Changes in version 0.2.8.8 - 2016-09-23
  9054. Tor 0.2.8.8 fixes two crash bugs present in previous versions of the
  9055. 0.2.8.x series. Relays running 0.2.8.x should upgrade, as should users
  9056. who select public relays as their bridges.
  9057. o Major bugfixes (crash):
  9058. - Fix a complicated crash bug that could affect Tor clients
  9059. configured to use bridges when replacing a networkstatus consensus
  9060. in which one of their bridges was mentioned. OpenBSD users saw
  9061. more crashes here, but all platforms were potentially affected.
  9062. Fixes bug 20103; bugfix on 0.2.8.2-alpha.
  9063. o Major bugfixes (relay, OOM handler):
  9064. - Fix a timing-dependent assertion failure that could occur when we
  9065. tried to flush from a circuit after having freed its cells because
  9066. of an out-of-memory condition. Fixes bug 20203; bugfix on
  9067. 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
  9068. this one.
  9069. o Minor feature (fallback directories):
  9070. - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
  9071. 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
  9072. 2016. Closes ticket 20190; patch by teor.
  9073. o Minor features (geoip):
  9074. - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
  9075. Country database.
  9076. Changes in version 0.2.9.2-alpha - 2016-08-24
  9077. Tor 0.2.9.2-alpha continues development of the 0.2.9 series with
  9078. several new features and bugfixes. It also includes an important
  9079. authority update and an important bugfix from 0.2.8.7. Everyone who
  9080. sets the ReachableAddresses option, and all bridges, are strongly
  9081. encouraged to upgrade to 0.2.8.7, or to 0.2.9.2-alpha.
  9082. o Directory authority changes (also in 0.2.8.7):
  9083. - The "Tonga" bridge authority has been retired; the new bridge
  9084. authority is "Bifroest". Closes tickets 19728 and 19690.
  9085. o Major bugfixes (client, security, also in 0.2.8.7):
  9086. - Only use the ReachableAddresses option to restrict the first hop
  9087. in a path. In earlier versions of 0.2.8.x, it would apply to
  9088. every hop in the path, with a possible degradation in anonymity
  9089. for anyone using an uncommon ReachableAddress setting. Fixes bug
  9090. 19973; bugfix on 0.2.8.2-alpha.
  9091. o Major features (user interface):
  9092. - Tor now supports the ability to declare options deprecated, so
  9093. that we can recommend that people stop using them. Previously,
  9094. this was done in an ad-hoc way. Closes ticket 19820.
  9095. o Major bugfixes (directory downloads):
  9096. - Avoid resetting download status for consensuses hourly, since we
  9097. already have another, smarter retry mechanism. Fixes bug 8625;
  9098. bugfix on 0.2.0.9-alpha.
  9099. o Minor features (config):
  9100. - Warn users when descriptor and port addresses are inconsistent.
  9101. Mitigates bug 13953; patch by teor.
  9102. o Minor features (geoip):
  9103. - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
  9104. Country database.
  9105. o Minor features (user interface):
  9106. - There is a new --list-deprecated-options command-line option to
  9107. list all of the deprecated options. Implemented as part of
  9108. ticket 19820.
  9109. o Minor bugfixes (code style):
  9110. - Fix an integer signedness conversion issue in the case conversion
  9111. tables. Fixes bug 19168; bugfix on 0.2.1.11-alpha.
  9112. o Minor bugfixes (compilation):
  9113. - Build correctly on versions of libevent2 without support for
  9114. evutil_secure_rng_add_bytes(). Fixes bug 19904; bugfix
  9115. on 0.2.5.4-alpha.
  9116. - Fix a compilation warning on GCC versions before 4.6. Our
  9117. ENABLE_GCC_WARNING macro used the word "warning" as an argument,
  9118. when it is also required as an argument to the compiler pragma.
  9119. Fixes bug 19901; bugfix on 0.2.9.1-alpha.
  9120. o Minor bugfixes (compilation, also in 0.2.8.7):
  9121. - Remove an inappropriate "inline" in tortls.c that was causing
  9122. warnings on older versions of GCC. Fixes bug 19903; bugfix
  9123. on 0.2.8.1-alpha.
  9124. o Minor bugfixes (fallback directories, also in 0.2.8.7):
  9125. - Avoid logging a NULL string pointer when loading fallback
  9126. directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
  9127. and 0.2.8.1-alpha. Report and patch by "rubiate".
  9128. o Minor bugfixes (logging):
  9129. - Log a more accurate message when we fail to dump a microdescriptor.
  9130. Fixes bug 17758; bugfix on 0.2.2.8-alpha. Patch from Daniel Pinto.
  9131. o Minor bugfixes (memory leak):
  9132. - Fix a series of slow memory leaks related to parsing torrc files
  9133. and options. Fixes bug 19466; bugfix on 0.2.1.6-alpha.
  9134. o Deprecated features:
  9135. - A number of DNS-cache-related sub-options for client ports are now
  9136. deprecated for security reasons, and may be removed in a future
  9137. version of Tor. (We believe that client-side DNS caching is a bad
  9138. idea for anonymity, and you should not turn it on.) The options
  9139. are: CacheDNS, CacheIPv4DNS, CacheIPv6DNS, UseDNSCache,
  9140. UseIPv4Cache, and UseIPv6Cache.
  9141. - A number of options are deprecated for security reasons, and may
  9142. be removed in a future version of Tor. The options are:
  9143. AllowDotExit, AllowInvalidNodes, AllowSingleHopCircuits,
  9144. AllowSingleHopExits, ClientDNSRejectInternalAddresses,
  9145. CloseHSClientCircuitsImmediatelyOnTimeout,
  9146. CloseHSServiceRendCircuitsImmediatelyOnTimeout,
  9147. ExcludeSingleHopRelays, FastFirstHopPK, TLSECGroup,
  9148. UseNTorHandshake, and WarnUnsafeSocks.
  9149. - The *ListenAddress options are now deprecated as unnecessary: the
  9150. corresponding *Port options should be used instead. These options
  9151. may someday be removed. The affected options are:
  9152. ControlListenAddress, DNSListenAddress, DirListenAddress,
  9153. NATDListenAddress, ORListenAddress, SocksListenAddress,
  9154. and TransListenAddress.
  9155. o Documentation:
  9156. - Correct the IPv6 syntax in our documentation for the
  9157. VirtualAddrNetworkIPv6 torrc option. Closes ticket 19743.
  9158. o Removed code:
  9159. - We no longer include the (dead, deprecated) bufferevent code in
  9160. Tor. Closes ticket 19450. Based on a patch from U+039b.
  9161. Changes in version 0.2.8.7 - 2016-08-24
  9162. Tor 0.2.8.7 fixes an important bug related to the ReachableAddresses
  9163. option in 0.2.8.6, and replaces a retiring bridge authority. Everyone
  9164. who sets the ReachableAddresses option, and all bridges, are strongly
  9165. encouraged to upgrade.
  9166. o Directory authority changes:
  9167. - The "Tonga" bridge authority has been retired; the new bridge
  9168. authority is "Bifroest". Closes tickets 19728 and 19690.
  9169. o Major bugfixes (client, security):
  9170. - Only use the ReachableAddresses option to restrict the first hop
  9171. in a path. In earlier versions of 0.2.8.x, it would apply to
  9172. every hop in the path, with a possible degradation in anonymity
  9173. for anyone using an uncommon ReachableAddress setting. Fixes bug
  9174. 19973; bugfix on 0.2.8.2-alpha.
  9175. o Minor features (geoip):
  9176. - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
  9177. Country database.
  9178. o Minor bugfixes (compilation):
  9179. - Remove an inappropriate "inline" in tortls.c that was causing
  9180. warnings on older versions of GCC. Fixes bug 19903; bugfix
  9181. on 0.2.8.1-alpha.
  9182. o Minor bugfixes (fallback directories):
  9183. - Avoid logging a NULL string pointer when loading fallback
  9184. directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
  9185. and 0.2.8.1-alpha. Report and patch by "rubiate".
  9186. Changes in version 0.2.9.1-alpha - 2016-08-08
  9187. Tor 0.2.9.1-alpha is the first alpha release in the 0.2.9 development
  9188. series. It improves our support for hardened builds and compiler
  9189. warnings, deploys some critical infrastructure for improvements to
  9190. hidden services, includes a new timing backend that we hope to use for
  9191. better support for traffic padding, makes it easier for programmers to
  9192. log unexpected events, and contains other small improvements to
  9193. security, correctness, and performance.
  9194. Below are the changes since 0.2.8.6.
  9195. o New system requirements:
  9196. - Tor now requires Libevent version 2.0.10-stable or later. Older
  9197. versions of Libevent have less efficient backends for several
  9198. platforms, and lack the DNS code that we use for our server-side
  9199. DNS support. This implements ticket 19554.
  9200. - Tor now requires zlib version 1.2 or later, for security,
  9201. efficiency, and (eventually) gzip support. (Back when we started,
  9202. zlib 1.1 and zlib 1.0 were still found in the wild. 1.2 was
  9203. released in 2003. We recommend the latest version.)
  9204. o Major features (build, hardening):
  9205. - Tor now builds with -ftrapv by default on compilers that support
  9206. it. This option detects signed integer overflow (which C forbids),
  9207. and turns it into a hard-failure. We do not apply this option to
  9208. code that needs to run in constant time to avoid side-channels;
  9209. instead, we use -fwrapv in that code. Closes ticket 17983.
  9210. - When --enable-expensive-hardening is selected, stop applying the
  9211. clang/gcc sanitizers to code that needs to run in constant time.
  9212. Although we are aware of no introduced side-channels, we are not
  9213. able to prove that there are none. Related to ticket 17983.
  9214. o Major features (compilation):
  9215. - Our big list of extra GCC warnings is now enabled by default when
  9216. building with GCC (or with anything like Clang that claims to be
  9217. GCC-compatible). To make all warnings into fatal compilation
  9218. errors, pass --enable-fatal-warnings to configure. Closes
  9219. ticket 19044.
  9220. - Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONS to automatically
  9221. turn on C and POSIX extensions. (Previously, we attempted to do
  9222. this on an ad hoc basis.) Closes ticket 19139.
  9223. o Major features (directory authorities, hidden services):
  9224. - Directory authorities can now perform the shared randomness
  9225. protocol specified by proposal 250. Using this protocol, directory
  9226. authorities generate a global fresh random value every day. In the
  9227. future, this value will be used by hidden services to select
  9228. HSDirs. This release implements the directory authority feature;
  9229. the hidden service side will be implemented in the future as part
  9230. of proposal 224. Resolves ticket 16943; implements proposal 250.
  9231. o Major features (downloading, random exponential backoff):
  9232. - When we fail to download an object from a directory service, wait
  9233. for an (exponentially increasing) randomized amount of time before
  9234. retrying, rather than a fixed interval as we did before. This
  9235. prevents a group of Tor instances from becoming too synchronized,
  9236. or a single Tor instance from becoming too predictable, in its
  9237. download schedule. Closes ticket 15942.
  9238. o Major bugfixes (exit policies):
  9239. - Avoid disclosing exit outbound bind addresses, configured port
  9240. bind addresses, and local interface addresses in relay descriptors
  9241. by default under ExitPolicyRejectPrivate. Instead, only reject
  9242. these (otherwise unlisted) addresses if
  9243. ExitPolicyRejectLocalInterfaces is set. Fixes bug 18456; bugfix on
  9244. 0.2.7.2-alpha. Patch by teor.
  9245. o Major bugfixes (hidden service client):
  9246. - Allow Tor clients with appropriate controllers to work with
  9247. FetchHidServDescriptors set to 0. Previously, this option also
  9248. disabled descriptor cache lookup, thus breaking hidden services
  9249. entirely. Fixes bug 18704; bugfix on 0.2.0.20-rc. Patch by "twim".
  9250. o Minor features (build, hardening):
  9251. - Detect and work around a libclang_rt problem that would prevent
  9252. clang from finding __mulodi4() on some 32-bit platforms, and thus
  9253. keep -ftrapv from linking on those systems. Closes ticket 19079.
  9254. - When building on a system without runtime support for the runtime
  9255. hardening options, try to log a useful warning at configuration
  9256. time, rather than an incomprehensible warning at link time. If
  9257. expensive hardening was requested, this warning becomes an error.
  9258. Closes ticket 18895.
  9259. o Minor features (code safety):
  9260. - In our integer-parsing functions, ensure that maxiumum value we
  9261. give is no smaller than the minimum value. Closes ticket 19063;
  9262. patch from U+039b.
  9263. o Minor features (controller):
  9264. - Implement new GETINFO queries for all downloads that use
  9265. download_status_t to schedule retries. This allows controllers to
  9266. examine the schedule for pending downloads. Closes ticket 19323.
  9267. - Allow controllers to configure basic client authorization on
  9268. hidden services when they create them with the ADD_ONION control
  9269. command. Implements ticket 15588. Patch by "special".
  9270. - Fire a STATUS_SERVER controller event whenever the hibernation
  9271. status changes between "awake"/"soft"/"hard". Closes ticket 18685.
  9272. o Minor features (directory authority):
  9273. - Directory authorities now only give the Guard flag to a relay if
  9274. they are also giving it the Stable flag. This change allows us to
  9275. simplify path selection for clients. It should have minimal effect
  9276. in practice, since >99% of Guards already have the Stable flag.
  9277. Implements ticket 18624.
  9278. - Directory authorities now write their v3-status-votes file out to
  9279. disk earlier in the consensus process, so we have a record of the
  9280. votes even if we abort the consensus process. Resolves
  9281. ticket 19036.
  9282. o Minor features (hidden service):
  9283. - Stop being so strict about the payload length of "rendezvous1"
  9284. cells. We used to be locked in to the "TAP" handshake length, and
  9285. now we can handle better handshakes like "ntor". Resolves
  9286. ticket 18998.
  9287. o Minor features (infrastructure, time):
  9288. - Tor now uses the operating system's monotonic timers (where
  9289. available) for internal fine-grained timing. Previously we would
  9290. look at the system clock, and then attempt to compensate for the
  9291. clock running backwards. Closes ticket 18908.
  9292. - Tor now includes an improved timer backend, so that we can
  9293. efficiently support tens or hundreds of thousands of concurrent
  9294. timers, as will be needed for some of our planned anti-traffic-
  9295. analysis work. This code is based on William Ahern's "timeout.c"
  9296. project, which implements a "tickless hierarchical timing wheel".
  9297. Closes ticket 18365.
  9298. o Minor features (logging):
  9299. - Provide a more useful warning message when configured with an
  9300. invalid Nickname. Closes ticket 18300; patch from "icanhasaccount".
  9301. - When dumping unparseable router descriptors, optionally store them
  9302. in separate files, named by digest, up to a configurable size
  9303. limit. You can change the size limit by setting the
  9304. MaxUnparseableDescSizeToLog option, and disable this feature by
  9305. setting that option to 0. Closes ticket 18322.
  9306. - Add a set of macros to check nonfatal assertions, for internal
  9307. use. Migrating more of our checks to these should help us avoid
  9308. needless crash bugs. Closes ticket 18613.
  9309. o Minor features (performance):
  9310. - Changer the "optimistic data" extension from "off by default" to
  9311. "on by default". The default was ordinarily overridden by a
  9312. consensus option, but when clients were bootstrapping for the
  9313. first time, they would not have a consensus to get the option
  9314. from. Changing this default When fetching a consensus for the
  9315. first time, use optimistic data. This saves a round-trip during
  9316. startup. Closes ticket 18815.
  9317. o Minor features (relay, usability):
  9318. - When the directory authorities refuse a bad relay's descriptor,
  9319. encourage the relay operator to contact us. Many relay operators
  9320. won't notice this line in their logs, but it's a win if even a few
  9321. learn why we don't like what their relay was doing. Resolves
  9322. ticket 18760.
  9323. o Minor features (testing):
  9324. - Let backtrace tests work correctly under AddressSanitizer. Fixes
  9325. part of bug 18934; bugfix on 0.2.5.2-alpha.
  9326. - Move the test-network.sh script to chutney, and modify tor's test-
  9327. network.sh to call the (newer) chutney version when available.
  9328. Resolves ticket 19116. Patch by teor.
  9329. - Use the lcov convention for marking lines as unreachable, so that
  9330. we don't count them when we're generating test coverage data.
  9331. Update our coverage tools to understand this convention. Closes
  9332. ticket 16792.
  9333. o Minor bugfixes (bootstrap):
  9334. - Remember the directory we fetched the consensus or previous
  9335. certificates from, and use it to fetch future authority
  9336. certificates. This change improves bootstrapping performance.
  9337. Fixes bug 18963; bugfix on 0.2.8.1-alpha.
  9338. o Minor bugfixes (build):
  9339. - The test-stem and test-network makefile targets now depend only on
  9340. the tor binary that they are testing. Previously, they depended on
  9341. "make all". Fixes bug 18240; bugfix on 0.2.8.2-alpha. Based on a
  9342. patch from "cypherpunks".
  9343. o Minor bugfixes (circuits):
  9344. - Make sure extend_info_from_router() is only called on servers.
  9345. Fixes bug 19639; bugfix on 0.2.8.1-alpha.
  9346. o Minor bugfixes (compilation):
  9347. - When building with Clang, use a full set of GCC warnings.
  9348. (Previously, we included only a subset, because of the way we
  9349. detected them.) Fixes bug 19216; bugfix on 0.2.0.1-alpha.
  9350. o Minor bugfixes (directory authority):
  9351. - Authorities now sort the "package" lines in their votes, for ease
  9352. of debugging. (They are already sorted in consensus documents.)
  9353. Fixes bug 18840; bugfix on 0.2.6.3-alpha.
  9354. - When parsing a detached signature, make sure we use the length of
  9355. the digest algorithm instead of an hardcoded DIGEST256_LEN in
  9356. order to avoid comparing bytes out-of-bounds with a smaller digest
  9357. length such as SHA1. Fixes bug 19066; bugfix on 0.2.2.6-alpha.
  9358. o Minor bugfixes (documentation):
  9359. - Document the --passphrase-fd option in the tor manpage. Fixes bug
  9360. 19504; bugfix on 0.2.7.3-rc.
  9361. - Fix the description of the --passphrase-fd option in the
  9362. tor-gencert manpage. The option is used to pass the number of a
  9363. file descriptor to read the passphrase from, not to read the file
  9364. descriptor from. Fixes bug 19505; bugfix on 0.2.0.20-alpha.
  9365. o Minor bugfixes (ephemeral hidden service):
  9366. - When deleting an ephemeral hidden service, close its intro points
  9367. even if they are not completely open. Fixes bug 18604; bugfix
  9368. on 0.2.7.1-alpha.
  9369. o Minor bugfixes (guard selection):
  9370. - Use a single entry guard even if the NumEntryGuards consensus
  9371. parameter is not provided. Fixes bug 17688; bugfix
  9372. on 0.2.5.6-alpha.
  9373. - Don't mark guards as unreachable if connection_connect() fails.
  9374. That function fails for local reasons, so it shouldn't reveal
  9375. anything about the status of the guard. Fixes bug 14334; bugfix
  9376. on 0.2.3.10-alpha.
  9377. o Minor bugfixes (hidden service client):
  9378. - Increase the minimum number of internal circuits we preemptively
  9379. build from 2 to 3, so a circuit is available when a client
  9380. connects to another onion service. Fixes bug 13239; bugfix
  9381. on 0.1.0.1-rc.
  9382. o Minor bugfixes (logging):
  9383. - When logging a directory ownership mismatch, log the owning
  9384. username correctly. Fixes bug 19578; bugfix on 0.2.2.29-beta.
  9385. o Minor bugfixes (memory leaks):
  9386. - Fix a small, uncommon memory leak that could occur when reading a
  9387. truncated ed25519 key file. Fixes bug 18956; bugfix
  9388. on 0.2.6.1-alpha.
  9389. o Minor bugfixes (testing):
  9390. - Allow clients to retry HSDirs much faster in test networks. Fixes
  9391. bug 19702; bugfix on 0.2.7.1-alpha. Patch by teor.
  9392. - Disable ASAN's detection of segmentation faults while running
  9393. test_bt.sh, so that we can make sure that our own backtrace
  9394. generation code works. Fixes another aspect of bug 18934; bugfix
  9395. on 0.2.5.2-alpha. Patch from "cypherpunks".
  9396. - Fix the test-network-all target on out-of-tree builds by using the
  9397. correct path to the test driver script. Fixes bug 19421; bugfix
  9398. on 0.2.7.3-rc.
  9399. o Minor bugfixes (time):
  9400. - Improve overflow checks in tv_udiff and tv_mdiff. Fixes bug 19483;
  9401. bugfix on all released tor versions.
  9402. - When computing the difference between two times in milliseconds,
  9403. we now round to the nearest millisecond correctly. Previously, we
  9404. could sometimes round in the wrong direction. Fixes bug 19428;
  9405. bugfix on 0.2.2.2-alpha.
  9406. o Minor bugfixes (user interface):
  9407. - Display a more accurate number of suppressed messages in the log
  9408. rate-limiter. Previously, there was a potential integer overflow
  9409. in the counter. Now, if the number of messages hits a maximum, the
  9410. rate-limiter doesn't count any further. Fixes bug 19435; bugfix
  9411. on 0.2.4.11-alpha.
  9412. - Fix a typo in the passphrase prompt for the ed25519 identity key.
  9413. Fixes bug 19503; bugfix on 0.2.7.2-alpha.
  9414. o Code simplification and refactoring:
  9415. - Remove redundant declarations of the MIN macro. Closes
  9416. ticket 18889.
  9417. - Rename tor_dup_addr() to tor_addr_to_str_dup() to avoid confusion.
  9418. Closes ticket 18462; patch from "icanhasaccount".
  9419. - Split the 600-line directory_handle_command_get function into
  9420. separate functions for different URL types. Closes ticket 16698.
  9421. o Documentation:
  9422. - Fix spelling of "--enable-tor2web-mode" in the manpage. Closes
  9423. ticket 19153. Patch from "U+039b".
  9424. o Removed features:
  9425. - Remove support for "GET /tor/bytes.txt" DirPort request, and
  9426. "GETINFO dir-usage" controller request, which were only available
  9427. via a compile-time option in Tor anyway. Feature was added in
  9428. 0.2.2.1-alpha. Resolves ticket 19035.
  9429. - There is no longer a compile-time option to disable support for
  9430. TransPort. (If you don't want TransPort; just don't use it.) Patch
  9431. from "U+039b". Closes ticket 19449.
  9432. o Testing:
  9433. - Run more workqueue tests as part of "make check". These had
  9434. previously been implemented, but you needed to know special
  9435. command-line options to enable them.
  9436. - We now have unit tests for our code to reject zlib "compression
  9437. bombs". (Fortunately, the code works fine.)
  9438. Changes in version 0.2.8.6 - 2016-08-02
  9439. Tor 0.2.8.6 is the first stable version of the Tor 0.2.8 series.
  9440. The Tor 0.2.8 series improves client bootstrapping performance,
  9441. completes the authority-side implementation of improved identity
  9442. keys for relays, and includes numerous bugfixes and performance
  9443. improvements throughout the program. This release continues to
  9444. improve the coverage of Tor's test suite. For a full list of
  9445. changes since Tor 0.2.7, see the ReleaseNotes file.
  9446. Changes since 0.2.8.5-rc:
  9447. o Minor features (geoip):
  9448. - Update geoip and geoip6 to the July 6 2016 Maxmind GeoLite2
  9449. Country database.
  9450. o Minor bugfixes (compilation):
  9451. - Fix a compilation warning in the unit tests on systems where char
  9452. is signed. Fixes bug 19682; bugfix on 0.2.8.1-alpha.
  9453. o Minor bugfixes (fallback directories):
  9454. - Remove 1 fallback that was on the hardcoded list, then opted-out,
  9455. leaving 89 of the 100 fallbacks originally introduced in Tor
  9456. 0.2.8.2-alpha in March 2016. Closes ticket 19782; patch by teor.
  9457. o Minor bugfixes (Linux seccomp2 sandbox):
  9458. - Allow more syscalls when running with "Sandbox 1" enabled:
  9459. sysinfo, getsockopt(SO_SNDBUF), and setsockopt(SO_SNDBUFFORCE). On
  9460. some systems, these are required for Tor to start. Fixes bug
  9461. 18397; bugfix on 0.2.5.1-alpha. Patch from Daniel Pinto.
  9462. - Allow IPPROTO_UDP datagram sockets when running with "Sandbox 1",
  9463. so that get_interface_address6_via_udp_socket_hack() can work.
  9464. Fixes bug 19660; bugfix on 0.2.5.1-alpha.
  9465. Changes in version 0.2.8.5-rc - 2016-07-07
  9466. Tor 0.2.8.5-rc is the second release candidate in the Tor 0.2.8
  9467. series. If we find no new bugs or regressions here, the first stable
  9468. 0.2.8 release will be identical to it. It has a few small bugfixes
  9469. against previous versions.
  9470. o Directory authority changes:
  9471. - Urras is no longer a directory authority. Closes ticket 19271.
  9472. o Major bugfixes (heartbeat):
  9473. - Fix a regression that would crash Tor when the periodic
  9474. "heartbeat" log messages were disabled. Fixes bug 19454; bugfix on
  9475. 0.2.8.1-alpha. Reported by "kubaku".
  9476. o Minor features (build):
  9477. - Tor now again builds with the recent OpenSSL 1.1 development
  9478. branch (tested against 1.1.0-pre6-dev). Closes ticket 19499.
  9479. - When building manual pages, set the timezone to "UTC", so that the
  9480. output is reproducible. Fixes bug 19558; bugfix on 0.2.2.9-alpha.
  9481. Patch from intrigeri.
  9482. o Minor bugfixes (fallback directory selection):
  9483. - Avoid errors during fallback selection if there are no eligible
  9484. fallbacks. Fixes bug 19480; bugfix on 0.2.8.3-alpha. Patch
  9485. by teor.
  9486. o Minor bugfixes (IPv6, microdescriptors):
  9487. - Don't check node addresses when we only have a routerstatus. This
  9488. allows IPv6-only clients to bootstrap by fetching microdescriptors
  9489. from fallback directory mirrors. (The microdescriptor consensus
  9490. has no IPv6 addresses in it.) Fixes bug 19608; bugfix
  9491. on 0.2.8.2-alpha.
  9492. o Minor bugfixes (logging):
  9493. - Reduce pointlessly verbose log messages when directory servers
  9494. can't be found. Fixes bug 18849; bugfix on 0.2.8.3-alpha and
  9495. 0.2.8.1-alpha. Patch by teor.
  9496. - When a fallback directory changes its fingerprint from the hard-
  9497. coded fingerprint, log a less severe, more explanatory log
  9498. message. Fixes bug 18812; bugfix on 0.2.8.1-alpha. Patch by teor.
  9499. o Minor bugfixes (Linux seccomp2 sandboxing):
  9500. - Allow statistics to be written to disk when "Sandbox 1" is
  9501. enabled. Fixes bugs 19556 and 19957; bugfix on 0.2.5.1-alpha and
  9502. 0.2.6.1-alpha respectively.
  9503. o Minor bugfixes (user interface):
  9504. - Remove a warning message "Service [scrubbed] not found after
  9505. descriptor upload". This message appears when one uses HSPOST
  9506. control command to upload a service descriptor. Since there is
  9507. only a descriptor and no service, showing this message is
  9508. pointless and confusing. Fixes bug 19464; bugfix on 0.2.7.2-alpha.
  9509. o Fallback directory list:
  9510. - Add a comment to the generated fallback directory list that
  9511. explains how to comment out unsuitable fallbacks in a way that's
  9512. compatible with the stem fallback parser.
  9513. - Update fallback whitelist and blacklist based on relay operator
  9514. emails. Blacklist unsuitable (non-working, over-volatile)
  9515. fallbacks. Resolves ticket 19071. Patch by teor.
  9516. - Remove 10 unsuitable fallbacks, leaving 90 of the 100 fallbacks
  9517. originally introduced in Tor 0.2.8.2-alpha in March 2016. Closes
  9518. ticket 19071; patch by teor.
  9519. Changes in version 0.2.8.4-rc - 2016-06-15
  9520. Tor 0.2.8.4-rc is the first release candidate in the Tor 0.2.8 series.
  9521. If we find no new bugs or regressions here, the first stable 0.2.8
  9522. release will be identical to it. It has a few small bugfixes against
  9523. previous versions.
  9524. o Major bugfixes (user interface):
  9525. - Correctly give a warning in the cases where a relay is specified
  9526. by nickname, and one such relay is found, but it is not officially
  9527. Named. Fixes bug 19203; bugfix on 0.2.3.1-alpha.
  9528. o Minor features (build):
  9529. - Tor now builds once again with the recent OpenSSL 1.1 development
  9530. branch (tested against 1.1.0-pre5 and 1.1.0-pre6-dev).
  9531. o Minor features (geoip):
  9532. - Update geoip and geoip6 to the June 7 2016 Maxmind GeoLite2
  9533. Country database.
  9534. o Minor bugfixes (compilation):
  9535. - Cause the unit tests to compile correctly on mingw64 versions that
  9536. lack sscanf. Fixes bug 19213; bugfix on 0.2.7.1-alpha.
  9537. o Minor bugfixes (downloading):
  9538. - Predict more correctly whether we'll be downloading over HTTP when
  9539. we determine the maximum length of a URL. This should avoid a
  9540. "BUG" warning about the Squid HTTP proxy and its URL limits. Fixes
  9541. bug 19191.
  9542. Changes in version 0.2.8.3-alpha - 2016-05-26
  9543. Tor 0.2.8.3-alpha resolves several bugs, most of them introduced over
  9544. the course of the 0.2.8 development cycle. It improves the behavior of
  9545. directory clients, fixes several crash bugs, fixes a gap in compiler
  9546. hardening, and allows the full integration test suite to run on
  9547. more platforms.
  9548. o Major bugfixes (security, client, DNS proxy):
  9549. - Stop a crash that could occur when a client running with DNSPort
  9550. received a query with multiple address types, and the first
  9551. address type was not supported. Found and fixed by Scott Dial.
  9552. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  9553. o Major bugfixes (security, compilation):
  9554. - Correctly detect compiler flags on systems where _FORTIFY_SOURCE
  9555. is predefined. Previously, our use of -D_FORTIFY_SOURCE would
  9556. cause a compiler warning, thereby making other checks fail, and
  9557. needlessly disabling compiler-hardening support. Fixes one case of
  9558. bug 18841; bugfix on 0.2.3.17-beta. Patch from "trudokal".
  9559. o Major bugfixes (security, directory authorities):
  9560. - Fix a crash and out-of-bounds write during authority voting, when
  9561. the list of relays includes duplicate ed25519 identity keys. Fixes
  9562. bug 19032; bugfix on 0.2.8.2-alpha.
  9563. o Major bugfixes (client, bootstrapping):
  9564. - Check if bootstrap consensus downloads are still needed when the
  9565. linked connection attaches. This prevents tor making unnecessary
  9566. begindir-style connections, which are the only directory
  9567. connections tor clients make since the fix for 18483 was merged.
  9568. - Fix some edge cases where consensus download connections may not
  9569. have been closed, even though they were not needed. Related to fix
  9570. for 18809.
  9571. - Make relays retry consensus downloads the correct number of times,
  9572. rather than the more aggressive client retry count. Fixes part of
  9573. ticket 18809.
  9574. - Stop downloading consensuses when we have a consensus, even if we
  9575. don't have all the certificates for it yet. Fixes bug 18809;
  9576. bugfix on 0.2.8.1-alpha. Patches by arma and teor.
  9577. o Major bugfixes (directory mirrors):
  9578. - Decide whether to advertise begindir support in the the same way
  9579. we decide whether to advertise our DirPort. Allowing these
  9580. decisions to become out-of-sync led to surprising behavior like
  9581. advertising begindir support when hibernation made us not
  9582. advertise a DirPort. Resolves bug 18616; bugfix on 0.2.8.1-alpha.
  9583. Patch by teor.
  9584. o Major bugfixes (IPv6 bridges, client):
  9585. - Actually use IPv6 addresses when selecting directory addresses for
  9586. IPv6 bridges. Fixes bug 18921; bugfix on 0.2.8.1-alpha. Patch
  9587. by "teor".
  9588. o Major bugfixes (key management):
  9589. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  9590. pointer to the previous (uninitialized) key value. The impact here
  9591. should be limited to a difficult-to-trigger crash, if OpenSSL is
  9592. running an engine that makes key generation failures possible, or
  9593. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  9594. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  9595. Baishakhi Ray.
  9596. o Major bugfixes (testing):
  9597. - Fix a bug that would block 'make test-network-all' on systems where
  9598. IPv6 packets were lost. Fixes bug 19008; bugfix on 0.2.7.3-rc.
  9599. - Avoid "WSANOTINITIALISED" warnings in the unit tests. Fixes bug 18668;
  9600. bugfix on 0.2.8.1-alpha.
  9601. o Minor features (clients):
  9602. - Make clients, onion services, and bridge relays always use an
  9603. encrypted begindir connection for directory requests. Resolves
  9604. ticket 18483. Patch by "teor".
  9605. o Minor features (fallback directory mirrors):
  9606. - Give each fallback the same weight for client selection; restrict
  9607. fallbacks to one per operator; report fallback directory detail
  9608. changes when rebuilding list; add new fallback directory mirrors
  9609. to the whitelist; and many other minor simplifications and fixes.
  9610. Closes tasks 17905, 18749, bug 18689, and fixes part of bug 18812 on
  9611. 0.2.8.1-alpha; patch by "teor".
  9612. - Replace the 21 fallbacks generated in January 2016 and included in
  9613. Tor 0.2.8.1-alpha, with a list of 100 fallbacks generated in March
  9614. 2016. Closes task 17158; patch by "teor".
  9615. o Minor features (geoip):
  9616. - Update geoip and geoip6 to the May 4 2016 Maxmind GeoLite2
  9617. Country database.
  9618. o Minor bugfixes (assert, portability):
  9619. - Fix an assertion failure in memarea.c on systems where "long" is
  9620. shorter than the size of a pointer. Fixes bug 18716; bugfix
  9621. on 0.2.1.1-alpha.
  9622. o Minor bugfixes (bootstrap):
  9623. - Consistently use the consensus download schedule for authority
  9624. certificates. Fixes bug 18816; bugfix on 0.2.4.13-alpha.
  9625. o Minor bugfixes (build):
  9626. - Remove a pair of redundant AM_CONDITIONAL declarations from
  9627. configure.ac. Fixes one final case of bug 17744; bugfix
  9628. on 0.2.8.2-alpha.
  9629. - Resolve warnings when building on systems that are concerned with
  9630. signed char. Fixes bug 18728; bugfix on 0.2.7.2-alpha
  9631. and 0.2.6.1-alpha.
  9632. - When libscrypt.h is found, but no libscrypt library can be linked,
  9633. treat libscrypt as absent. Fixes bug 19161; bugfix
  9634. on 0.2.6.1-alpha.
  9635. o Minor bugfixes (client):
  9636. - Turn all TestingClientBootstrap* into non-testing torrc options.
  9637. This changes simply renames them by removing "Testing" in front of
  9638. them and they do not require TestingTorNetwork to be enabled
  9639. anymore. Fixes bug 18481; bugfix on 0.2.8.1-alpha.
  9640. - Make directory node selection more reliable, mainly for IPv6-only
  9641. clients and clients with few reachable addresses. Fixes bug 18929;
  9642. bugfix on 0.2.8.1-alpha. Patch by "teor".
  9643. o Minor bugfixes (controller, microdescriptors):
  9644. - Make GETINFO dir/status-vote/current/consensus conform to the
  9645. control specification by returning "551 Could not open cached
  9646. consensus..." when not caching consensuses. Fixes bug 18920;
  9647. bugfix on 0.2.2.6-alpha.
  9648. o Minor bugfixes (crypto, portability):
  9649. - The SHA3 and SHAKE routines now produce the correct output on Big
  9650. Endian systems. No code calls either algorithm yet, so this is
  9651. primarily a build fix. Fixes bug 18943; bugfix on 0.2.8.1-alpha.
  9652. - Tor now builds again with the recent OpenSSL 1.1 development
  9653. branch (tested against 1.1.0-pre4 and 1.1.0-pre5-dev). Closes
  9654. ticket 18286.
  9655. o Minor bugfixes (directories):
  9656. - When fetching extrainfo documents, compare their SHA256 digests
  9657. and Ed25519 signing key certificates with the routerinfo that led
  9658. us to fetch them, rather than with the most recent routerinfo.
  9659. Otherwise we generate many spurious warnings about mismatches.
  9660. Fixes bug 17150; bugfix on 0.2.7.2-alpha.
  9661. o Minor bugfixes (logging):
  9662. - When we can't generate a signing key because OfflineMasterKey is
  9663. set, do not imply that we should have been able to load it. Fixes
  9664. bug 18133; bugfix on 0.2.7.2-alpha.
  9665. - Stop periodic_event_dispatch() from blasting twelve lines per
  9666. second at loglevel debug. Fixes bug 18729; fix on 0.2.8.1-alpha.
  9667. - When rejecting a misformed INTRODUCE2 cell, only log at
  9668. PROTOCOL_WARN severity. Fixes bug 18761; bugfix on 0.2.8.2-alpha.
  9669. o Minor bugfixes (pluggable transports):
  9670. - Avoid reporting a spurious error when we decide that we don't need
  9671. to terminate a pluggable transport because it has already exited.
  9672. Fixes bug 18686; bugfix on 0.2.5.5-alpha.
  9673. o Minor bugfixes (pointer arithmetic):
  9674. - Fix a bug in memarea_alloc() that could have resulted in remote
  9675. heap write access, if Tor had ever passed an unchecked size to
  9676. memarea_alloc(). Fortunately, all the sizes we pass to
  9677. memarea_alloc() are pre-checked to be less than 128 kilobytes.
  9678. Fixes bug 19150; bugfix on 0.2.1.1-alpha. Bug found by
  9679. Guido Vranken.
  9680. o Minor bugfixes (relays):
  9681. - Consider more config options when relays decide whether to
  9682. regenerate their descriptor. Fixes more of bug 12538; bugfix
  9683. on 0.2.8.1-alpha.
  9684. - Resolve some edge cases where we might launch an ORPort
  9685. reachability check even when DisableNetwork is set. Noticed while
  9686. fixing bug 18616; bugfix on 0.2.3.9-alpha.
  9687. o Minor bugfixes (statistics):
  9688. - We now include consensus downloads via IPv6 in our directory-
  9689. request statistics. Fixes bug 18460; bugfix on 0.2.3.14-alpha.
  9690. o Minor bugfixes (testing):
  9691. - Allow directories in small networks to bootstrap by skipping
  9692. DirPort checks when the consensus has no exits. Fixes bug 19003;
  9693. bugfix on 0.2.8.1-alpha. Patch by teor.
  9694. - Fix a small memory leak that would occur when the
  9695. TestingEnableCellStatsEvent option was turned on. Fixes bug 18673;
  9696. bugfix on 0.2.5.2-alpha.
  9697. o Minor bugfixes (time handling):
  9698. - When correcting a corrupt 'struct tm' value, fill in the tm_wday
  9699. field. Otherwise, our unit tests crash on Windows. Fixes bug
  9700. 18977; bugfix on 0.2.2.25-alpha.
  9701. o Documentation:
  9702. - Document the contents of the 'datadir/keys' subdirectory in the
  9703. manual page. Closes ticket 17621.
  9704. - Stop recommending use of nicknames to identify relays in our
  9705. MapAddress documentation. Closes ticket 18312.
  9706. Changes in version 0.2.8.2-alpha - 2016-03-28
  9707. Tor 0.2.8.2-alpha is the second alpha in its series. It fixes numerous
  9708. bugs in earlier versions of Tor, including some that prevented
  9709. authorities using Tor 0.2.7.x from running correctly. IPv6 and
  9710. directory support should also be much improved.
  9711. o New system requirements:
  9712. - Tor no longer supports versions of OpenSSL with a broken
  9713. implementation of counter mode. (This bug was present in OpenSSL
  9714. 1.0.0, and was fixed in OpenSSL 1.0.0a.) Tor still detects, but no
  9715. longer runs with, these versions.
  9716. - Tor no longer attempts to support platforms where the "time_t"
  9717. type is unsigned. (To the best of our knowledge, only OpenVMS does
  9718. this, and Tor has never actually built on OpenVMS.) Closes
  9719. ticket 18184.
  9720. - Tor now uses Autoconf version 2.63 or later, and Automake 1.11 or
  9721. later (released in 2008 and 2009 respectively). If you are
  9722. building Tor from the git repository instead of from the source
  9723. distribution, and your tools are older than this, you will need to
  9724. upgrade. Closes ticket 17732.
  9725. o Major bugfixes (security, pointers):
  9726. - Avoid a difficult-to-trigger heap corruption attack when extending
  9727. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  9728. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  9729. Reported by Guido Vranken.
  9730. o Major bugfixes (bridges, pluggable transports):
  9731. - Modify the check for OR connections to private addresses. Allow
  9732. bridges on private addresses, including pluggable transports that
  9733. ignore the (potentially private) address in the bridge line. Fixes
  9734. bug 18517; bugfix on 0.2.8.1-alpha. Reported by gk, patch by teor.
  9735. o Major bugfixes (compilation):
  9736. - Repair hardened builds under the clang compiler. Previously, our
  9737. use of _FORTIFY_SOURCE would conflict with clang's address
  9738. sanitizer. Fixes bug 14821; bugfix on 0.2.5.4-alpha.
  9739. o Major bugfixes (crash on shutdown):
  9740. - Correctly handle detaching circuits from muxes when shutting down.
  9741. Fixes bug 18116; bugfix on 0.2.8.1-alpha.
  9742. - Fix an assert-on-exit bug related to counting memory usage in
  9743. rephist.c. Fixes bug 18651; bugfix on 0.2.8.1-alpha.
  9744. o Major bugfixes (crash on startup):
  9745. - Fix a segfault during startup: If a Unix domain socket was
  9746. configured as listener (such as a ControlSocket or a SocksPort
  9747. "unix:" socket), and tor was started as root but not configured to
  9748. switch to another user, tor would segfault while trying to string
  9749. compare a NULL value. Fixes bug 18261; bugfix on 0.2.8.1-alpha.
  9750. Patch by weasel.
  9751. o Major bugfixes (dns proxy mode, crash):
  9752. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  9753. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  9754. o Major bugfixes (relays, bridge clients):
  9755. - Ensure relays always allow IPv4 OR and Dir connections. Ensure
  9756. bridge clients use the address configured in the bridge line.
  9757. Fixes bug 18348; bugfix on 0.2.8.1-alpha. Reported by sysrqb,
  9758. patch by teor.
  9759. o Major bugfixes (voting):
  9760. - Actually enable support for authorities to match routers by their
  9761. Ed25519 identities. Previously, the code had been written, but
  9762. some debugging code that had accidentally been left in the
  9763. codebase made it stay turned off. Fixes bug 17702; bugfix
  9764. on 0.2.7.2-alpha.
  9765. - When collating votes by Ed25519 identities, authorities now
  9766. include a "NoEdConsensus" flag if the ed25519 value (or lack
  9767. thereof) for a server does not reflect the majority consensus.
  9768. Related to bug 17668; bugfix on 0.2.7.2-alpha.
  9769. - When generating a vote with keypinning disabled, never include two
  9770. entries for the same ed25519 identity. This bug was causing
  9771. authorities to generate votes that they could not parse when a
  9772. router violated key pinning by changing its RSA identity but
  9773. keeping its Ed25519 identity. Fixes bug 17668; fixes part of bug
  9774. 18318. Bugfix on 0.2.7.2-alpha.
  9775. o Minor features (security, win32):
  9776. - Set SO_EXCLUSIVEADDRUSE on Win32 to avoid a local port-stealing
  9777. attack. Fixes bug 18123; bugfix on all tor versions. Patch
  9778. by teor.
  9779. o Minor features (bug-resistance):
  9780. - Make Tor survive errors involving connections without a
  9781. corresponding event object. Previously we'd fail with an
  9782. assertion; now we produce a log message. Related to bug 16248.
  9783. o Minor features (build):
  9784. - Detect systems with FreeBSD-derived kernels (such as GNU/kFreeBSD)
  9785. as having possible IPFW support. Closes ticket 18448. Patch from
  9786. Steven Chamberlain.
  9787. o Minor features (code hardening):
  9788. - Use tor_snprintf() and tor_vsnprintf() even in external and low-
  9789. level code, to harden against accidental failures to NUL-
  9790. terminate. Part of ticket 17852. Patch from jsturgix. Found
  9791. with Flawfinder.
  9792. o Minor features (crypto):
  9793. - Validate the hard-coded Diffie-Hellman parameters and ensure that
  9794. p is a safe prime, and g is a suitable generator. Closes
  9795. ticket 18221.
  9796. o Minor features (geoip):
  9797. - Update geoip and geoip6 to the March 3 2016 Maxmind GeoLite2
  9798. Country database.
  9799. o Minor features (hidden service directory):
  9800. - Streamline relay-side hsdir handling: when relays consider whether
  9801. to accept an uploaded hidden service descriptor, they no longer
  9802. check whether they are one of the relays in the network that is
  9803. "supposed" to handle that descriptor. Implements ticket 18332.
  9804. o Minor features (IPv6):
  9805. - Add ClientPreferIPv6DirPort, which is set to 0 by default. If set
  9806. to 1, tor prefers IPv6 directory addresses.
  9807. - Add ClientUseIPv4, which is set to 1 by default. If set to 0, tor
  9808. avoids using IPv4 for client OR and directory connections.
  9809. - Try harder to obey the IP version restrictions "ClientUseIPv4 0",
  9810. "ClientUseIPv6 0", "ClientPreferIPv6ORPort", and
  9811. "ClientPreferIPv6DirPort". Closes ticket 17840; patch by teor.
  9812. o Minor features (linux seccomp2 sandbox):
  9813. - Reject attempts to change our Address with "Sandbox 1" enabled.
  9814. Changing Address with Sandbox turned on would never actually work,
  9815. but previously it would fail in strange and confusing ways. Found
  9816. while fixing 18548.
  9817. o Minor features (robustness):
  9818. - Exit immediately with an error message if the code attempts to use
  9819. Libevent without having initialized it. This should resolve some
  9820. frequently-made mistakes in our unit tests. Closes ticket 18241.
  9821. o Minor features (unix domain sockets):
  9822. - Add a new per-socket option, RelaxDirModeCheck, to allow creating
  9823. Unix domain sockets without checking the permissions on the parent
  9824. directory. (Tor checks permissions by default because some
  9825. operating systems only check permissions on the parent directory.
  9826. However, some operating systems do look at permissions on the
  9827. socket, and tor's default check is unneeded.) Closes ticket 18458.
  9828. Patch by weasel.
  9829. o Minor bugfixes (exit policies, security):
  9830. - Refresh an exit relay's exit policy when interface addresses
  9831. change. Previously, tor only refreshed the exit policy when the
  9832. configured external address changed. Fixes bug 18208; bugfix on
  9833. 0.2.7.3-rc. Patch by teor.
  9834. o Minor bugfixes (security, hidden services):
  9835. - Prevent hidden services connecting to client-supplied rendezvous
  9836. addresses that are reserved as internal or multicast. Fixes bug
  9837. 8976; bugfix on 0.2.3.21-rc. Patch by dgoulet and teor.
  9838. o Minor bugfixes (build):
  9839. - Do not link the unit tests against both the testing and non-
  9840. testing versions of the static libraries. Fixes bug 18490; bugfix
  9841. on 0.2.7.1-alpha.
  9842. - Avoid spurious failures from configure files related to calling
  9843. exit(0) in TOR_SEARCH_LIBRARY. Fixes bug 18626; bugfix on
  9844. 0.2.0.1-alpha. Patch from "cypherpunks".
  9845. - Silence spurious clang-scan warnings in the ed25519_donna code by
  9846. explicitly initializing some objects. Fixes bug 18384; bugfix on
  9847. 0.2.7.2-alpha. Patch by teor.
  9848. o Minor bugfixes (client, bootstrap):
  9849. - Count receipt of new microdescriptors as progress towards
  9850. bootstrapping. Previously, with EntryNodes set, Tor might not
  9851. successfully repopulate the guard set on bootstrapping. Fixes bug
  9852. 16825; bugfix on 0.2.3.1-alpha.
  9853. o Minor bugfixes (code correctness):
  9854. - Update to the latest version of Trunnel, which tries harder to
  9855. avoid generating code that can invoke memcpy(p,NULL,0). Bug found
  9856. by clang address sanitizer. Fixes bug 18373; bugfix
  9857. on 0.2.7.2-alpha.
  9858. o Minor bugfixes (configuration):
  9859. - Fix a tiny memory leak when parsing a port configuration ending in
  9860. ":auto". Fixes bug 18374; bugfix on 0.2.3.3-alpha.
  9861. o Minor bugfixes (containers):
  9862. - If we somehow attempt to construct a heap with more than
  9863. 1073741822 elements, avoid an integer overflow when maintaining
  9864. the heap property. Fixes bug 18296; bugfix on 0.1.2.1-alpha.
  9865. o Minor bugfixes (correctness):
  9866. - Fix a bad memory handling bug that would occur if we had queued a
  9867. cell on a channel's incoming queue. Fortunately, we can't actually
  9868. queue a cell like that as our code is constructed today, but it's
  9869. best to avoid this kind of error, even if there isn't any code
  9870. that triggers it today. Fixes bug 18570; bugfix on 0.2.4.4-alpha.
  9871. o Minor bugfixes (directory):
  9872. - When generating a URL for a directory server on an IPv6 address,
  9873. wrap the IPv6 address in square brackets. Fixes bug 18051; bugfix
  9874. on 0.2.3.9-alpha. Patch from Malek.
  9875. o Minor bugfixes (fallback directory mirrors):
  9876. - When requesting extrainfo descriptors from a trusted directory
  9877. server, check whether it is an authority or a fallback directory
  9878. which supports extrainfo descriptors. Fixes bug 18489; bugfix on
  9879. 0.2.4.7-alpha. Reported by atagar, patch by teor.
  9880. o Minor bugfixes (hidden service, client):
  9881. - Handle the case where the user makes several fast consecutive
  9882. requests to the same .onion address. Previously, the first six
  9883. requests would each trigger a descriptor fetch, each picking a
  9884. directory (there are 6 overall) and the seventh one would fail
  9885. because no directories were left, thereby triggering a close on
  9886. all current directory connections asking for the hidden service.
  9887. The solution here is to not close the connections if we have
  9888. pending directory fetches. Fixes bug 15937; bugfix
  9889. on 0.2.7.1-alpha.
  9890. o Minor bugfixes (hidden service, control port):
  9891. - Add the onion address to the HS_DESC event for the UPLOADED action
  9892. both on success or failure. It was previously hardcoded with
  9893. UNKNOWN. Fixes bug 16023; bugfix on 0.2.7.2-alpha.
  9894. o Minor bugfixes (hidden service, directory):
  9895. - Bridges now refuse "rendezvous2" (hidden service descriptor)
  9896. publish attempts. Suggested by ticket 18332.
  9897. o Minor bugfixes (linux seccomp2 sandbox):
  9898. - Allow the setrlimit syscall, and the prlimit and prlimit64
  9899. syscalls, which some libc implementations use under the hood.
  9900. Fixes bug 15221; bugfix on 0.2.5.1-alpha.
  9901. - Avoid a 10-second delay when starting as a client with "Sandbox 1"
  9902. enabled and no DNS resolvers configured. This should help TAILS
  9903. start up faster. Fixes bug 18548; bugfix on 0.2.5.1-alpha.
  9904. - Fix the sandbox's interoperability with unix domain sockets under
  9905. setuid. Fixes bug 18253; bugfix on 0.2.8.1-alpha.
  9906. o Minor bugfixes (logging):
  9907. - When logging information about an unparsable networkstatus vote or
  9908. consensus, do not say "vote" when we mean consensus. Fixes bug
  9909. 18368; bugfix on 0.2.0.8-alpha.
  9910. - Scrub service name in "unrecognized service ID" log messages.
  9911. Fixes bug 18600; bugfix on 0.2.4.11-alpha.
  9912. - Downgrade logs and backtraces about IP versions to info-level.
  9913. Only log backtraces once each time tor runs. Assists in diagnosing
  9914. bug 18351; bugfix on 0.2.8.1-alpha. Reported by sysrqb and
  9915. Christian, patch by teor.
  9916. o Minor bugfixes (memory safety):
  9917. - Avoid freeing an uninitialized pointer when opening a socket fails
  9918. in get_interface_addresses_ioctl(). Fixes bug 18454; bugfix on
  9919. 0.2.3.11-alpha. Reported by toralf and "cypherpunks", patch
  9920. by teor.
  9921. - Correctly duplicate addresses in get_interface_address6_list().
  9922. Fixes bug 18454; bugfix on 0.2.8.1-alpha. Reported by toralf,
  9923. patch by "cypherpunks".
  9924. - Fix a memory leak in tor-gencert. Fixes part of bug 18672; bugfix
  9925. on 0.2.0.1-alpha.
  9926. - Fix a memory leak in "tor --list-fingerprint". Fixes part of bug
  9927. 18672; bugfix on 0.2.5.1-alpha.
  9928. o Minor bugfixes (private directory):
  9929. - Prevent a race condition when creating private directories. Fixes
  9930. part of bug 17852; bugfix on 0.0.2pre13. Part of ticket 17852.
  9931. Patch from jsturgix. Found with Flawfinder.
  9932. o Minor bugfixes (test networks, IPv6):
  9933. - Allow internal IPv6 addresses in descriptors in test networks.
  9934. Fixes bug 17153; bugfix on 0.2.3.16-alpha. Patch by teor, reported
  9935. by karsten.
  9936. o Minor bugfixes (testing):
  9937. - We no longer disable assertions in the unit tests when coverage is
  9938. enabled. Instead, we require you to say --disable-asserts-in-tests
  9939. to the configure script if you need assertions disabled in the
  9940. unit tests (for example, if you want to perform branch coverage).
  9941. Fixes bug 18242; bugfix on 0.2.7.1-alpha.
  9942. o Minor bugfixes (time parsing):
  9943. - Avoid overflow in tor_timegm when parsing dates in and after 2038
  9944. on platforms with 32-bit time_t. Fixes bug 18479; bugfix on
  9945. 0.0.2pre14. Patch by teor.
  9946. o Minor bugfixes (tor-gencert):
  9947. - Correctly handle the case where an authority operator enters a
  9948. passphrase but sends an EOF before sending a newline. Fixes bug
  9949. 17443; bugfix on 0.2.0.20-rc. Found by junglefowl.
  9950. o Code simplification and refactoring:
  9951. - Quote all the string interpolations in configure.ac -- even those
  9952. which we are pretty sure can't contain spaces. Closes ticket
  9953. 17744. Patch from zerosion.
  9954. - Remove specialized code for non-inplace AES_CTR. 99% of our AES is
  9955. inplace, so there's no need to have a separate implementation for
  9956. the non-inplace code. Closes ticket 18258. Patch from Malek.
  9957. - Simplify return types for some crypto functions that can't
  9958. actually fail. Patch from Hassan Alsibyani. Closes ticket 18259.
  9959. o Documentation:
  9960. - Change build messages to refer to "Fedora" instead of "Fedora
  9961. Core", and "dnf" instead of "yum". Closes tickets 18459 and 18426.
  9962. Patches from "icanhasaccount" and "cypherpunks".
  9963. o Removed features:
  9964. - We no longer maintain an internal freelist in memarea.c.
  9965. Allocators should be good enough to make this code unnecessary,
  9966. and it's doubtful that it ever had any performance benefit.
  9967. o Testing:
  9968. - Fix several warnings from clang's address sanitizer produced in
  9969. the unit tests.
  9970. - Treat backtrace test failures as expected on FreeBSD until we
  9971. solve bug 17808. Closes ticket 18204.
  9972. Changes in version 0.2.8.1-alpha - 2016-02-04
  9973. Tor 0.2.8.1-alpha is the first alpha release in its series. It
  9974. includes numerous small features and bugfixes against previous Tor
  9975. versions, and numerous small infrastructure improvements. The most
  9976. notable features are a set of improvements to the directory subsystem.
  9977. o Major features (security, Linux):
  9978. - When Tor starts as root on Linux and is told to switch user ID, it
  9979. can now retain the capability to bind to low ports. By default,
  9980. Tor will do this only when it's switching user ID and some low
  9981. ports have been configured. You can change this behavior with the
  9982. new option KeepBindCapabilities. Closes ticket 8195.
  9983. o Major features (directory system):
  9984. - When bootstrapping multiple consensus downloads at a time, use the
  9985. first one that starts downloading, and close the rest. This
  9986. reduces failures when authorities or fallback directories are slow
  9987. or down. Together with the code for feature 15775, this feature
  9988. should reduces failures due to fallback churn. Implements ticket
  9989. 4483. Patch by "teor". Implements IPv4 portions of proposal 210 by
  9990. "mikeperry" and "teor".
  9991. - Include a trial list of 21 default fallback directories, generated
  9992. in January 2016, based on an opt-in survey of suitable relays.
  9993. Doing this should make clients bootstrap more quickly and reliably,
  9994. and reduce the load on the directory authorities. Closes ticket
  9995. 15775. Patch by "teor".
  9996. Candidates identified using an OnionOO script by "weasel", "teor",
  9997. "gsathya", and "karsten".
  9998. - Previously only relays that explicitly opened a directory port
  9999. (DirPort) accepted directory requests from clients. Now all
  10000. relays, with and without a DirPort, accept and serve tunneled
  10001. directory requests that they receive through their ORPort. You can
  10002. disable this behavior using the new DirCache option. Closes
  10003. ticket 12538.
  10004. o Major key updates:
  10005. - Update the V3 identity key for the dannenberg directory authority:
  10006. it was changed on 18 November 2015. Closes task 17906. Patch
  10007. by "teor".
  10008. o Minor features (security, clock):
  10009. - Warn when the system clock appears to move back in time (when the
  10010. state file was last written in the future). Tor doesn't know that
  10011. consensuses have expired if the clock is in the past. Patch by
  10012. "teor". Implements ticket 17188.
  10013. o Minor features (security, exit policies):
  10014. - ExitPolicyRejectPrivate now rejects more private addresses by
  10015. default. Specifically, it now rejects the relay's outbound bind
  10016. addresses (if configured), and the relay's configured port
  10017. addresses (such as ORPort and DirPort). Fixes bug 17027; bugfix on
  10018. 0.2.0.11-alpha. Patch by "teor".
  10019. o Minor features (security, memory erasure):
  10020. - Set the unused entries in a smartlist to NULL. This helped catch
  10021. a (harmless) bug, and shouldn't affect performance too much.
  10022. Implements ticket 17026.
  10023. - Use SecureMemoryWipe() function to securely clean memory on
  10024. Windows. Previously we'd use OpenSSL's OPENSSL_cleanse() function.
  10025. Implements feature 17986.
  10026. - Use explicit_bzero or memset_s when present. Previously, we'd use
  10027. OpenSSL's OPENSSL_cleanse() function. Closes ticket 7419; patches
  10028. from <logan@hackers.mu> and <selven@hackers.mu>.
  10029. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  10030. zero size. Check size argument to memwipe() for underflow. Fixes
  10031. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  10032. patch by "teor".
  10033. o Minor features (security, RNG):
  10034. - Adjust Tor's use of OpenSSL's RNG APIs so that they absolutely,
  10035. positively are not allowed to fail. Previously we depended on
  10036. internal details of OpenSSL's behavior. Closes ticket 17686.
  10037. - Never use the system entropy output directly for anything besides
  10038. seeding the PRNG. When we want to generate important keys, instead
  10039. of using system entropy directly, we now hash it with the PRNG
  10040. stream. This may help resist certain attacks based on broken OS
  10041. entropy implementations. Closes part of ticket 17694.
  10042. - Use modern system calls (like getentropy() or getrandom()) to
  10043. generate strong entropy on platforms that have them. Closes
  10044. ticket 13696.
  10045. o Minor features (accounting):
  10046. - Added two modes to the AccountingRule option: One for limiting
  10047. only the number of bytes sent ("AccountingRule out"), and one for
  10048. limiting only the number of bytes received ("AccountingRule in").
  10049. Closes ticket 15989; patch from "unixninja92".
  10050. o Minor features (build):
  10051. - Since our build process now uses "make distcheck", we no longer
  10052. force "make dist" to depend on "make check". Closes ticket 17893;
  10053. patch from "cypherpunks."
  10054. - Tor now builds successfully with the recent OpenSSL 1.1
  10055. development branch, and with the latest LibreSSL. Closes tickets
  10056. 17549, 17921, and 17984.
  10057. o Minor features (controller):
  10058. - Adds the FallbackDir entries to 'GETINFO config/defaults'. Closes
  10059. tickets 16774 and 17817. Patch by George Tankersley.
  10060. - New 'GETINFO hs/service/desc/id/' command to retrieve a hidden
  10061. service descriptor from a service's local hidden service
  10062. descriptor cache. Closes ticket 14846.
  10063. - Add 'GETINFO exit-policy/reject-private/[default,relay]', so
  10064. controllers can examine the the reject rules added by
  10065. ExitPolicyRejectPrivate. This makes it easier for stem to display
  10066. exit policies.
  10067. o Minor features (crypto):
  10068. - Add SHA512 support to crypto.c. Closes ticket 17663; patch from
  10069. George Tankersley.
  10070. - Add SHA3 and SHAKE support to crypto.c. Closes ticket 17783.
  10071. - When allocating a digest state object, allocate no more space than
  10072. we actually need. Previously, we would allocate as much space as
  10073. the state for the largest algorithm would need. This change saves
  10074. up to 672 bytes per circuit. Closes ticket 17796.
  10075. - Improve performance when hashing non-multiple of 8 sized buffers,
  10076. based on Andrew Moon's public domain SipHash-2-4 implementation.
  10077. Fixes bug 17544; bugfix on 0.2.5.3-alpha.
  10078. o Minor features (directory downloads):
  10079. - Wait for busy authorities and fallback directories to become non-
  10080. busy when bootstrapping. (A similar change was made in 6c443e987d
  10081. for directory caches chosen from the consensus.) Closes ticket
  10082. 17864; patch by "teor".
  10083. - Add UseDefaultFallbackDirs, which enables any hard-coded fallback
  10084. directory mirrors. The default is 1; set it to 0 to disable
  10085. fallbacks. Implements ticket 17576. Patch by "teor".
  10086. o Minor features (geoip):
  10087. - Update geoip and geoip6 to the January 5 2016 Maxmind GeoLite2
  10088. Country database.
  10089. o Minor features (IPv6):
  10090. - Add an argument 'ipv6=address:orport' to the DirAuthority and
  10091. FallbackDir torrc options, to specify an IPv6 address for an
  10092. authority or fallback directory. Add hard-coded ipv6 addresses for
  10093. directory authorities that have them. Closes ticket 17327; patch
  10094. from Nick Mathewson and "teor".
  10095. - Add address policy assume_action support for IPv6 addresses.
  10096. - Limit IPv6 mask bits to 128.
  10097. - Warn when comparing against an AF_UNSPEC address in a policy, it's
  10098. almost always a bug. Closes ticket 17863; patch by "teor".
  10099. - Allow users to configure directory authorities and fallback
  10100. directory servers with IPv6 addresses and ORPorts. Resolves
  10101. ticket 6027.
  10102. - routerset_parse now accepts IPv6 literal addresses. Fixes bug
  10103. 17060; bugfix on 0.2.1.3-alpha. Patch by "teor".
  10104. - Make tor_ersatz_socketpair work on IPv6-only systems. Fixes bug
  10105. 17638; bugfix on 0.0.2pre8. Patch by "teor".
  10106. o Minor features (logging):
  10107. - When logging to syslog, allow a tag to be added to the syslog
  10108. identity (the string prepended to every log message). The tag can
  10109. be configured with SyslogIdentityTag and defaults to none. Setting
  10110. it to "foo" will cause logs to be tagged as "Tor-foo". Closes
  10111. ticket 17194.
  10112. o Minor features (portability):
  10113. - Use timingsafe_memcmp() where available. Closes ticket 17944;
  10114. patch from <logan@hackers.mu>.
  10115. o Minor features (relay, address discovery):
  10116. - Add a family argument to get_interface_addresses_raw() and
  10117. subfunctions to make network interface address interogation more
  10118. efficient. Now Tor can specifically ask for IPv4, IPv6 or both
  10119. types of interfaces from the operating system. Resolves
  10120. ticket 17950.
  10121. - When get_interface_address6_list(.,AF_UNSPEC,.) is called and
  10122. fails to enumerate interface addresses using the platform-specific
  10123. API, have it rely on the UDP socket fallback technique to try and
  10124. find out what IP addresses (both IPv4 and IPv6) our machine has.
  10125. Resolves ticket 17951.
  10126. o Minor features (replay cache):
  10127. - The replay cache now uses SHA256 instead of SHA1. Implements
  10128. feature 8961. Patch by "teor", issue reported by "rransom".
  10129. o Minor features (unix file permissions):
  10130. - Defer creation of Unix sockets until after setuid. This avoids
  10131. needing CAP_CHOWN and CAP_FOWNER when using systemd's
  10132. CapabilityBoundingSet, or chown and fowner when using SELinux.
  10133. Implements part of ticket 17562. Patch from Jamie Nguyen.
  10134. - If any directory created by Tor is marked as group readable, the
  10135. filesystem group is allowed to be either the default GID or the
  10136. root user. Allowing root to read the DataDirectory prevents the
  10137. need for CAP_READ_SEARCH when using systemd's
  10138. CapabilityBoundingSet, or dac_read_search when using SELinux.
  10139. Implements part of ticket 17562. Patch from Jamie Nguyen.
  10140. - Introduce a new DataDirectoryGroupReadable option. If it is set to
  10141. 1, the DataDirectory will be made readable by the default GID.
  10142. Implements part of ticket 17562. Patch from Jamie Nguyen.
  10143. o Minor bugfixes (accounting):
  10144. - The max bandwidth when using 'AccountRule sum' is now correctly
  10145. logged. Fixes bug 18024; bugfix on 0.2.6.1-alpha. Patch
  10146. from "unixninja92".
  10147. o Minor bugfixes (code correctness):
  10148. - When closing an entry connection, generate a warning if we should
  10149. have sent an end cell for it but we haven't. Fixes bug 17876;
  10150. bugfix on 0.2.3.2-alpha.
  10151. - Assert that allocated memory held by the reputation code is freed
  10152. according to its internal counters. Fixes bug 17753; bugfix
  10153. on 0.1.1.1-alpha.
  10154. - Assert when the TLS contexts fail to initialize. Fixes bug 17683;
  10155. bugfix on 0.0.6.
  10156. o Minor bugfixes (compilation):
  10157. - Mark all object files that include micro-revision.i as depending
  10158. on it, so as to make parallel builds more reliable. Fixes bug
  10159. 17826; bugfix on 0.2.5.1-alpha.
  10160. - Don't try to use the pthread_condattr_setclock() function unless
  10161. it actually exists. Fixes compilation on NetBSD-6.x. Fixes bug
  10162. 17819; bugfix on 0.2.6.3-alpha.
  10163. - Fix backtrace compilation on FreeBSD. Fixes bug 17827; bugfix
  10164. on 0.2.5.2-alpha.
  10165. - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
  10166. bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
  10167. - Fix search for libevent libraries on OpenBSD (and other systems
  10168. that install libevent 1 and libevent 2 in parallel). Fixes bug
  10169. 16651; bugfix on 0.1.0.7-rc. Patch from "rubiate".
  10170. - Isolate environment variables meant for tests from the rest of the
  10171. build system. Fixes bug 17818; bugfix on 0.2.7.3-rc.
  10172. - Replace usage of 'INLINE' with 'inline'. Fixes bug 17804; bugfix
  10173. on 0.0.2pre8.
  10174. - Remove config.log only from make distclean, not from make clean.
  10175. Fixes bug 17924; bugfix on 0.2.4.1-alpha.
  10176. o Minor bugfixes (crypto):
  10177. - Check the return value of HMAC() and assert on failure. Fixes bug
  10178. 17658; bugfix on 0.2.3.6-alpha. Patch by "teor".
  10179. o Minor bugfixes (fallback directories):
  10180. - Mark fallbacks as "too busy" when they return a 503 response,
  10181. rather than just marking authorities. Fixes bug 17572; bugfix on
  10182. 0.2.4.7-alpha. Patch by "teor".
  10183. o Minor bugfixes (IPv6):
  10184. - Update the limits in max_dl_per_request for IPv6 address length.
  10185. Fixes bug 17573; bugfix on 0.2.1.5-alpha.
  10186. o Minor bugfixes (linux seccomp2 sandbox):
  10187. - Fix a crash when using offline master ed25519 keys with the Linux
  10188. seccomp2 sandbox enabled. Fixes bug 17675; bugfix on 0.2.7.3-rc.
  10189. o Minor bugfixes (logging):
  10190. - In log messages that include a function name, use __FUNCTION__
  10191. instead of __PRETTY_FUNCTION__. In GCC, these are synonymous, but
  10192. with clang __PRETTY_FUNCTION__ has extra information we don't
  10193. need. Fixes bug 16563; bugfix on 0.0.2pre8. Fix by Tom van
  10194. der Woerdt.
  10195. - Remove needless quotes from a log message about unparseable
  10196. addresses. Fixes bug 17843; bugfix on 0.2.3.3-alpha.
  10197. o Minor bugfixes (portability):
  10198. - Remove an #endif from configure.ac so that we correctly detect the
  10199. presence of in6_addr.s6_addr32. Fixes bug 17923; bugfix
  10200. on 0.2.0.13-alpha.
  10201. o Minor bugfixes (relays):
  10202. - Check that both the ORPort and DirPort (if present) are reachable
  10203. before publishing a relay descriptor. Otherwise, relays publish a
  10204. descriptor with DirPort 0 when the DirPort reachability test takes
  10205. longer than the ORPort reachability test. Fixes bug 18050; bugfix
  10206. on 0.1.0.1-rc. Reported by "starlight", patch by "teor".
  10207. o Minor bugfixes (relays, hidden services):
  10208. - Refuse connection requests to private OR addresses unless
  10209. ExtendAllowPrivateAddresses is set. Previously, tor would connect,
  10210. then refuse to send any cells to a private address. Fixes bugs
  10211. 17674 and 8976; bugfix on 0.2.3.21-rc. Patch by "teor".
  10212. o Minor bugfixes (safe logging):
  10213. - When logging a malformed hostname received through socks4, scrub
  10214. it if SafeLogging says we should. Fixes bug 17419; bugfix
  10215. on 0.1.1.16-rc.
  10216. o Minor bugfixes (statistics code):
  10217. - Consistently check for overflow in round_*_to_next_multiple_of
  10218. functions, and add unit tests with additional and maximal values.
  10219. Fixes part of bug 13192; bugfix on 0.2.2.1-alpha.
  10220. - Handle edge cases in the laplace functions: avoid division by
  10221. zero, avoid taking the log of zero, and silence clang type
  10222. conversion warnings using round and trunc. Add unit tests for edge
  10223. cases with maximal values. Fixes part of bug 13192; bugfix
  10224. on 0.2.6.2-alpha.
  10225. o Minor bugfixes (testing):
  10226. - The test for log_heartbeat was incorrectly failing in timezones
  10227. with non-integer offsets. Instead of comparing the end of the time
  10228. string against a constant, compare it to the output of
  10229. format_local_iso_time when given the correct input. Fixes bug
  10230. 18039; bugfix on 0.2.5.4-alpha.
  10231. - Make unit tests pass on IPv6-only systems, and systems without
  10232. localhost addresses (like some FreeBSD jails). Fixes bug 17632;
  10233. bugfix on 0.2.7.3-rc. Patch by "teor".
  10234. - Fix a memory leak in the ntor test. Fixes bug 17778; bugfix
  10235. on 0.2.4.8-alpha.
  10236. - Check the full results of SHA256 and SHA512 digests in the unit
  10237. tests. Bugfix on 0.2.2.4-alpha. Patch by "teor".
  10238. o Code simplification and refactoring:
  10239. - Move logging of redundant policy entries in
  10240. policies_parse_exit_policy_internal into its own function. Closes
  10241. ticket 17608; patch from "juce".
  10242. - Extract the more complicated parts of circuit_mark_for_close()
  10243. into a new function that we run periodically before circuits are
  10244. freed. This change removes more than half of the functions
  10245. currently in the "blob". Closes ticket 17218.
  10246. - Clean up a little duplicated code in
  10247. crypto_expand_key_material_TAP(). Closes ticket 17587; patch
  10248. from "pfrankw".
  10249. - Decouple the list of streams waiting to be attached to circuits
  10250. from the overall connection list. This change makes it possible to
  10251. attach streams quickly while simplifying Tor's callgraph and
  10252. avoiding O(N) scans of the entire connection list. Closes
  10253. ticket 17590.
  10254. - When a direct directory request fails immediately on launch,
  10255. instead of relaunching that request from inside the code that
  10256. launches it, instead mark the connection for teardown. This change
  10257. simplifies Tor's callback and prevents the directory-request
  10258. launching code from invoking itself recursively. Closes
  10259. ticket 17589
  10260. - Remove code for configuring OpenSSL dynamic locks; OpenSSL doesn't
  10261. use them. Closes ticket 17926.
  10262. o Documentation:
  10263. - Add a description of the correct use of the '--keygen' command-
  10264. line option. Closes ticket 17583; based on text by 's7r'.
  10265. - Document the minimum HeartbeatPeriod value. Closes ticket 15638.
  10266. - Explain actual minima for BandwidthRate. Closes ticket 16382.
  10267. - Fix a minor formatting typo in the manpage. Closes ticket 17791.
  10268. - Mention torspec URL in the manpage and point the reader to it
  10269. whenever we mention a document that belongs in torspce. Fixes
  10270. issue 17392.
  10271. o Removed features:
  10272. - Remove client-side support for connecting to Tor relays running
  10273. versions of Tor before 0.2.3.6-alpha. These relays didn't support
  10274. the v3 TLS handshake protocol, and are no longer allowed on the
  10275. Tor network. Implements the client side of ticket 11150. Based on
  10276. patches by Tom van der Woerdt.
  10277. o Testing:
  10278. - Add unit tests to check for common RNG failure modes, such as
  10279. returning all zeroes, identical values, or incrementing values
  10280. (OpenSSL's rand_predictable feature). Patch by "teor".
  10281. - Log more information when the backtrace tests fail. Closes ticket
  10282. 17892. Patch from "cypherpunks."
  10283. - Always test both ed25519 backends, so that we can be sure that our
  10284. batch-open replacement code works. Part of ticket 16794.
  10285. - Cover dns_resolve_impl() in dns.c with unit tests. Implements a
  10286. portion of ticket 16831.
  10287. - More unit tests for compat_libevent.c, procmon.c, tortls.c,
  10288. util_format.c, directory.c, and options_validate.c. Closes tickets
  10289. 17075, 17082, 17084, 17003, and 17076 respectively. Patches from
  10290. Ola Bini.
  10291. - Unit tests for directory_handle_command_get. Closes ticket 17004.
  10292. Patch from Reinaldo de Souza Jr.
  10293. Changes in version 0.2.7.6 - 2015-12-10
  10294. Tor version 0.2.7.6 fixes a major bug in entry guard selection, as
  10295. well as a minor bug in hidden service reliability.
  10296. o Major bugfixes (guard selection):
  10297. - Actually look at the Guard flag when selecting a new directory
  10298. guard. When we implemented the directory guard design, we
  10299. accidentally started treating all relays as if they have the Guard
  10300. flag during guard selection, leading to weaker anonymity and worse
  10301. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  10302. by Mohsen Imani.
  10303. o Minor features (geoip):
  10304. - Update geoip and geoip6 to the December 1 2015 Maxmind GeoLite2
  10305. Country database.
  10306. o Minor bugfixes (compilation):
  10307. - When checking for net/pfvar.h, include netinet/in.h if possible.
  10308. This fixes transparent proxy detection on OpenBSD. Fixes bug
  10309. 17551; bugfix on 0.1.2.1-alpha. Patch from "rubiate".
  10310. - Fix a compilation warning with Clang 3.6: Do not check the
  10311. presence of an address which can never be NULL. Fixes bug 17781.
  10312. o Minor bugfixes (correctness):
  10313. - When displaying an IPv6 exit policy, include the mask bits
  10314. correctly even when the number is greater than 31. Fixes bug
  10315. 16056; bugfix on 0.2.4.7-alpha. Patch from "gturner".
  10316. - The wrong list was used when looking up expired intro points in a
  10317. rend service object, causing what we think could be reachability
  10318. issues for hidden services, and triggering a BUG log. Fixes bug
  10319. 16702; bugfix on 0.2.7.2-alpha.
  10320. - Fix undefined behavior in the tor_cert_checksig function. Fixes
  10321. bug 17722; bugfix on 0.2.7.2-alpha.
  10322. Changes in version 0.2.7.5 - 2015-11-20
  10323. The Tor 0.2.7 release series is dedicated to the memory of Tor user
  10324. and privacy advocate Caspar Bowden (1961-2015). Caspar worked
  10325. tirelessly to advocate human rights regardless of national borders,
  10326. and oppose the encroachments of mass surveillance. He opposed national
  10327. exceptionalism, he brought clarity to legal and policy debates, he
  10328. understood and predicted the impact of mass surveillance on the world,
  10329. and he laid the groundwork for resisting it. While serving on the Tor
  10330. Project's board of directors, he brought us his uncompromising focus
  10331. on technical excellence in the service of humankind. Caspar was an
  10332. inimitable force for good and a wonderful friend. He was kind,
  10333. humorous, generous, gallant, and believed we should protect one
  10334. another without exception. We honor him here for his ideals, his
  10335. efforts, and his accomplishments. Please honor his memory with works
  10336. that would make him proud.
  10337. Tor 0.2.7.5 is the first stable release in the Tor 0.2.7 series.
  10338. The 0.2.7 series adds a more secure identity key type for relays,
  10339. improves cryptography performance, resolves several longstanding
  10340. hidden-service performance issues, improves controller support for
  10341. hidden services, and includes small bugfixes and performance
  10342. improvements throughout the program. This release series also includes
  10343. more tests than before, and significant simplifications to which parts
  10344. of Tor invoke which others.
  10345. (This release contains no code changes since 0.2.7.4-rc.)
  10346. Changes in version 0.2.7.4-rc - 2015-10-21
  10347. Tor 0.2.7.4-rc is the second release candidate in the 0.2.7 series. It
  10348. fixes some important memory leaks, and a scary-looking (but mostly
  10349. harmless in practice) invalid-read bug. It also has a few small
  10350. bugfixes, notably fixes for compilation and portability on different
  10351. platforms. If no further significant bounds are found, the next
  10352. release will the the official stable release.
  10353. o Major bugfixes (security, correctness):
  10354. - Fix an error that could cause us to read 4 bytes before the
  10355. beginning of an openssl string. This bug could be used to cause
  10356. Tor to crash on systems with unusual malloc implementations, or
  10357. systems with unusual hardening installed. Fixes bug 17404; bugfix
  10358. on 0.2.3.6-alpha.
  10359. o Major bugfixes (correctness):
  10360. - Fix a use-after-free bug in validate_intro_point_failure(). Fixes
  10361. bug 17401; bugfix on 0.2.7.3-rc.
  10362. o Major bugfixes (memory leaks):
  10363. - Fix a memory leak in ed25519 batch signature checking. Fixes bug
  10364. 17398; bugfix on 0.2.6.1-alpha.
  10365. - Fix a memory leak in rend_cache_failure_entry_free(). Fixes bug
  10366. 17402; bugfix on 0.2.7.3-rc.
  10367. - Fix a memory leak when reading an expired signing key from disk.
  10368. Fixes bug 17403; bugfix on 0.2.7.2-rc.
  10369. o Minor features (geoIP):
  10370. - Update geoip and geoip6 to the October 9 2015 Maxmind GeoLite2
  10371. Country database.
  10372. o Minor bugfixes (compilation):
  10373. - Repair compilation with the most recent (unreleased, alpha)
  10374. vesions of OpenSSL 1.1. Fixes part of ticket 17237.
  10375. - Fix an integer overflow warning in test_crypto_slow.c. Fixes bug
  10376. 17251; bugfix on 0.2.7.2-alpha.
  10377. - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
  10378. bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
  10379. o Minor bugfixes (portability):
  10380. - Use libexecinfo on FreeBSD to enable backtrace support. Fixes
  10381. part of bug 17151; bugfix on 0.2.5.2-alpha. Patch from
  10382. Marcin Cieślak.
  10383. o Minor bugfixes (sandbox):
  10384. - Add the "hidserv-stats" filename to our sandbox filter for the
  10385. HiddenServiceStatistics option to work properly. Fixes bug 17354;
  10386. bugfix on 0.2.6.2-alpha. Patch from David Goulet.
  10387. o Minor bugfixes (testing):
  10388. - Add unit tests for get_interface_address* failure cases. Fixes bug
  10389. 17173; bugfix on 0.2.7.3-rc. Patch by fk/teor.
  10390. - Fix breakage when running 'make check' with BSD make. Fixes bug
  10391. 17154; bugfix on 0.2.7.3-rc. Patch by Marcin Cieślak.
  10392. - Make the get_ifaddrs_* unit tests more tolerant of different
  10393. network configurations. (Don't assume every test box has an IPv4
  10394. address, and don't assume every test box has a non-localhost
  10395. address.) Fixes bug 17255; bugfix on 0.2.7.3-rc. Patch by "teor".
  10396. - Skip backtrace tests when backtrace support is not compiled in.
  10397. Fixes part of bug 17151; bugfix on 0.2.7.1-alpha. Patch from
  10398. Marcin Cieślak.
  10399. o Documentation:
  10400. - Fix capitalization of SOCKS in sample torrc. Closes ticket 15609.
  10401. - Note that HiddenServicePorts can take a unix domain socket. Closes
  10402. ticket 17364.
  10403. Changes in version 0.2.7.3-rc - 2015-09-25
  10404. Tor 0.2.7.3-rc is the first release candidate in the 0.2.7 series. It
  10405. contains numerous usability fixes for Ed25519 keys, safeguards against
  10406. several misconfiguration problems, significant simplifications to
  10407. Tor's callgraph, and numerous bugfixes and small features.
  10408. This is the most tested release of Tor to date. The unit tests cover
  10409. 39.40% of the code, and the integration tests (accessible with "make
  10410. test-full-online", requiring stem and chutney and a network
  10411. connection) raise the coverage to 64.49%.
  10412. o Major features (security, hidden services):
  10413. - Hidden services, if using the EntryNodes option, are required to
  10414. use more than one EntryNode, in order to avoid a guard discovery
  10415. attack. (This would only affect people who had configured hidden
  10416. services and manually specified the EntryNodes option with a
  10417. single entry-node. The impact was that it would be easy to
  10418. remotely identify the guard node used by such a hidden service.
  10419. See ticket for more information.) Fixes ticket 14917.
  10420. o Major features (Ed25519 keys, keypinning):
  10421. - The key-pinning option on directory authorities is now advisory-
  10422. only by default. In a future version, or when the AuthDirPinKeys
  10423. option is set, pins are enforced again. Disabling key-pinning
  10424. seemed like a good idea so that we can survive the fallout of any
  10425. usability problems associated with Ed25519 keys. Closes
  10426. ticket 17135.
  10427. o Major features (Ed25519 performance):
  10428. - Improve the speed of Ed25519 operations and Curve25519 keypair
  10429. generation when built targeting 32 bit x86 platforms with SSE2
  10430. available. Implements ticket 16535.
  10431. - Improve the runtime speed of Ed25519 signature verification by
  10432. using Ed25519-donna's batch verification support. Implements
  10433. ticket 16533.
  10434. o Major features (performance testing):
  10435. - The test-network.sh script now supports performance testing.
  10436. Requires corresponding chutney performance testing changes. Patch
  10437. by "teor". Closes ticket 14175.
  10438. o Major features (relay, Ed25519):
  10439. - Significant usability improvements for Ed25519 key management. Log
  10440. messages are better, and the code can recover from far more
  10441. failure conditions. Thanks to "s7r" for reporting and diagnosing
  10442. so many of these!
  10443. - Add a new OfflineMasterKey option to tell Tor never to try loading
  10444. or generating a secret Ed25519 identity key. You can use this in
  10445. combination with tor --keygen to manage offline and/or encrypted
  10446. Ed25519 keys. Implements ticket 16944.
  10447. - Add a --newpass option to allow changing or removing the
  10448. passphrase of an encrypted key with tor --keygen. Implements part
  10449. of ticket 16769.
  10450. - On receiving a HUP signal, check to see whether the Ed25519
  10451. signing key has changed, and reload it if so. Closes ticket 16790.
  10452. o Major bugfixes (relay, Ed25519):
  10453. - Avoid crashing on 'tor --keygen'. Fixes bug 16679; bugfix on
  10454. 0.2.7.2-alpha. Reported by "s7r".
  10455. - Improve handling of expired signing keys with offline master keys.
  10456. Fixes bug 16685; bugfix on 0.2.7.2-alpha. Reported by "s7r".
  10457. o Minor features (client-side privacy):
  10458. - New KeepAliveIsolateSOCKSAuth option to indefinitely extend circuit
  10459. lifespan when IsolateSOCKSAuth and streams with SOCKS
  10460. authentication are attached to the circuit. This allows
  10461. applications like TorBrowser to manage circuit lifetime on their
  10462. own. Implements feature 15482.
  10463. - When logging malformed hostnames from SOCKS5 requests, respect
  10464. SafeLogging configuration. Fixes bug 16891; bugfix on 0.1.1.16-rc.
  10465. o Minor features (compilation):
  10466. - Give a warning as early as possible when trying to build with an
  10467. unsupported OpenSSL version. Closes ticket 16901.
  10468. - Fail during configure if we're trying to build against an OpenSSL
  10469. built without ECC support. Fixes bug 17109, bugfix on 0.2.7.1-alpha
  10470. which started requiring ECC.
  10471. o Minor features (geoip):
  10472. - Update geoip and geoip6 to the September 3 2015 Maxmind GeoLite2
  10473. Country database.
  10474. o Minor features (hidden services):
  10475. - Relays need to have the Fast flag to get the HSDir flag. As this
  10476. is being written, we'll go from 2745 HSDirs down to 2342, a ~14%
  10477. drop. This change should make some attacks against the hidden
  10478. service directory system harder. Fixes ticket 15963.
  10479. - Turn on hidden service statistics collection by setting the torrc
  10480. option HiddenServiceStatistics to "1" by default. (This keeps
  10481. track only of the fraction of traffic used by hidden services, and
  10482. the total number of hidden services in existence.) Closes
  10483. ticket 15254.
  10484. - Client now uses an introduction point failure cache to know when
  10485. to fetch or keep a descriptor in their cache. Previously, failures
  10486. were recorded implicitly, but not explicitly remembered. Closes
  10487. ticket 16389.
  10488. o Minor features (testing, authorities, documentation):
  10489. - New TestingDirAuthVote{Exit,Guard,HSDir}IsStrict flags to
  10490. explicitly manage consensus flags in testing networks. Patch by
  10491. "robgjansen", modified by "teor". Implements part of ticket 14882.
  10492. o Minor bugfixes (security, exit policies):
  10493. - ExitPolicyRejectPrivate now also rejects the relay's published
  10494. IPv6 address (if any), and any publicly routable IPv4 or IPv6
  10495. addresses on any local interfaces. ticket 17027. Patch by "teor".
  10496. Fixes bug 17027; bugfix on 0.2.0.11-alpha.
  10497. o Minor bug fixes (torrc exit policies):
  10498. - In torrc, "accept6 *" and "reject6 *" ExitPolicy lines now only
  10499. produce IPv6 wildcard addresses. Previously they would produce
  10500. both IPv4 and IPv6 wildcard addresses. Patch by "teor". Fixes part
  10501. of bug 16069; bugfix on 0.2.4.7-alpha.
  10502. - When parsing torrc ExitPolicies, we now warn for a number of cases
  10503. where the user's intent is likely to differ from Tor's actual
  10504. behavior. These include: using an IPv4 address with an accept6 or
  10505. reject6 line; using "private" on an accept6 or reject6 line; and
  10506. including any ExitPolicy lines after accept *:* or reject *:*.
  10507. Related to ticket 16069.
  10508. - When parsing torrc ExitPolicies, we now issue an info-level
  10509. message when expanding an "accept/reject *" line to include both
  10510. IPv4 and IPv6 wildcard addresses. Related to ticket 16069.
  10511. - In each instance above, usage advice is provided to avoid the
  10512. message. Resolves ticket 16069. Patch by "teor". Fixes part of bug
  10513. 16069; bugfix on 0.2.4.7-alpha.
  10514. o Minor bugfixes (authority):
  10515. - Don't assign "HSDir" to a router if it isn't Valid and Running.
  10516. Fixes bug 16524; bugfix on 0.2.7.2-alpha.
  10517. - Downgrade log messages about Ed25519 key issues if they are in old
  10518. cached router descriptors. Fixes part of bug 16286; bugfix
  10519. on 0.2.7.2-alpha.
  10520. - When we find an Ed25519 key issue in a cached descriptor, stop
  10521. saying the descriptor was just "uploaded". Fixes another part of
  10522. bug 16286; bugfix on 0.2.7.2-alpha.
  10523. o Minor bugfixes (control port):
  10524. - Repair a warning and a spurious result when getting the maximum
  10525. number of file descriptors from the controller. Fixes bug 16697;
  10526. bugfix on 0.2.7.2-alpha.
  10527. o Minor bugfixes (correctness):
  10528. - When calling channel_free_list(), avoid calling smartlist_remove()
  10529. while inside a FOREACH loop. This partially reverts commit
  10530. 17356fe7fd96af where the correct SMARTLIST_DEL_CURRENT was
  10531. incorrectly removed. Fixes bug 16924; bugfix on 0.2.4.4-alpha.
  10532. o Minor bugfixes (documentation):
  10533. - Advise users on how to configure separate IPv4 and IPv6 exit
  10534. policies in the manpage and sample torrcs. Related to ticket 16069.
  10535. - Fix the usage message of tor-resolve(1) so that it no longer lists
  10536. the removed -F option. Fixes bug 16913; bugfix on 0.2.2.28-beta.
  10537. - Fix an error in the manual page and comments for
  10538. TestingDirAuthVoteHSDir[IsStrict], which suggested that a HSDir
  10539. required "ORPort connectivity". While this is true, it is in no
  10540. way unique to the HSDir flag. Of all the flags, only HSDirs need a
  10541. DirPort configured in order for the authorities to assign that
  10542. particular flag. Patch by "teor". Fixed as part of 14882; bugfix
  10543. on 0.2.6.3-alpha.
  10544. o Minor bugfixes (Ed25519):
  10545. - Fix a memory leak when reading router descriptors with expired
  10546. Ed25519 certificates. Fixes bug 16539; bugfix on 0.2.7.2-alpha.
  10547. o Minor bugfixes (linux seccomp2 sandbox):
  10548. - Allow bridge authorities to run correctly under the seccomp2
  10549. sandbox. Fixes bug 16964; bugfix on 0.2.5.1-alpha.
  10550. - Allow routers with ed25519 keys to run correctly under the
  10551. seccomp2 sandbox. Fixes bug 16965; bugfix on 0.2.7.2-alpha.
  10552. o Minor bugfixes (open file limit):
  10553. - Fix set_max_file_descriptors() to set by default the max open file
  10554. limit to the current limit when setrlimit() fails. Fixes bug
  10555. 16274; bugfix on 0.2.0.10-alpha. Patch by dgoulet.
  10556. o Minor bugfixes (portability):
  10557. - Try harder to normalize the exit status of the Tor process to the
  10558. standard-provided range. Fixes bug 16975; bugfix on every version
  10559. of Tor ever.
  10560. - Check correctly for Windows socket errors in the workqueue
  10561. backend. Fixes bug 16741; bugfix on 0.2.6.3-alpha.
  10562. - Fix the behavior of crypto_rand_time_range() when told to consider
  10563. times before 1970. (These times were possible when running in a
  10564. simulated network environment where time()'s output starts at
  10565. zero.) Fixes bug 16980; bugfix on 0.2.7.1-alpha.
  10566. - Restore correct operation of TLS client-cipher detection on
  10567. OpenSSL 1.1. Fixes bug 14047; bugfix on 0.2.7.2-alpha.
  10568. o Minor bugfixes (relay):
  10569. - Ensure that worker threads actually exit when a fatal error or
  10570. shutdown is indicated. This fix doesn't currently affect the
  10571. behavior of Tor, because Tor workers never indicates fatal error
  10572. or shutdown except in the unit tests. Fixes bug 16868; bugfix
  10573. on 0.2.6.3-alpha.
  10574. - Unblock threads before releasing the work queue mutex to ensure
  10575. predictable scheduling behavior. Fixes bug 16644; bugfix
  10576. on 0.2.6.3-alpha.
  10577. o Code simplification and refactoring:
  10578. - Change the function that's called when we need to retry all
  10579. downloads so that it only reschedules the downloads to happen
  10580. immediately, rather than launching them all at once itself. This
  10581. further simplifies Tor's callgraph.
  10582. - Move some format-parsing functions out of crypto.c and
  10583. crypto_curve25519.c into crypto_format.c and/or util_format.c.
  10584. - Move the client-only parts of init_keys() into a separate
  10585. function. Closes ticket 16763.
  10586. - Simplify the microdesc_free() implementation so that it no longer
  10587. appears (to code analysis tools) to potentially invoke a huge
  10588. suite of other microdesc functions.
  10589. - Simply the control graph further by deferring the inner body of
  10590. directory_all_unreachable() into a callback. Closes ticket 16762.
  10591. - Treat the loss of an owning controller as equivalent to a SIGTERM
  10592. signal. This removes a tiny amount of duplicated code, and
  10593. simplifies our callgraph. Closes ticket 16788.
  10594. - When generating an event to send to the controller, we no longer
  10595. put the event over the network immediately. Instead, we queue
  10596. these events, and use a Libevent callback to deliver them. This
  10597. change simplifies Tor's callgraph by reducing the number of
  10598. functions from which all other Tor functions are reachable. Closes
  10599. ticket 16695.
  10600. - Wrap Windows-only C files inside '#ifdef _WIN32' so that tools
  10601. that try to scan or compile every file on Unix won't decide that
  10602. they are broken.
  10603. - Remove the unused "nulterminate" argument from buf_pullup().
  10604. o Documentation:
  10605. - Recommend a 40 GB example AccountingMax in torrc.sample rather
  10606. than a 4 GB max. Closes ticket 16742.
  10607. - Include the TUNING document in our source tarball. It is referred
  10608. to in the ChangeLog and an error message. Fixes bug 16929; bugfix
  10609. on 0.2.6.1-alpha.
  10610. o Removed code:
  10611. - The internal pure-C tor-fw-helper tool is now removed from the Tor
  10612. distribution, in favor of the pure-Go clone available from
  10613. https://gitweb.torproject.org/tor-fw-helper.git/ . The libraries
  10614. used by the C tor-fw-helper are not, in our opinion, very
  10615. confidence- inspiring in their secure-programming techniques.
  10616. Closes ticket 13338.
  10617. - Remove the code that would try to aggressively flush controller
  10618. connections while writing to them. This code was introduced in
  10619. 0.1.2.7-alpha, in order to keep output buffers from exceeding
  10620. their limits. But there is no longer a maximum output buffer size,
  10621. and flushing data in this way caused some undesirable recursions
  10622. in our call graph. Closes ticket 16480.
  10623. o Testing:
  10624. - Make "bridges+hs" the default test network. This tests almost all
  10625. tor functionality during make test-network, while allowing tests
  10626. to succeed on non-IPv6 systems. Requires chutney commit 396da92 in
  10627. test-network-bridges-hs. Closes tickets 16945 (tor) and 16946
  10628. (chutney). Patches by "teor".
  10629. - Autodetect CHUTNEY_PATH if the chutney and Tor sources are side-
  10630. by-side in the same parent directory. Closes ticket 16903. Patch
  10631. by "teor".
  10632. - Use environment variables rather than autoconf substitutions to
  10633. send variables from the build system to the test scripts. This
  10634. change should be easier to maintain, and cause 'make distcheck' to
  10635. work better than before. Fixes bug 17148.
  10636. - Add a new set of callgraph analysis scripts that use clang to
  10637. produce a list of which Tor functions are reachable from which
  10638. other Tor functions. We're planning to use these to help simplify
  10639. our code structure by identifying illogical dependencies.
  10640. - Add new 'test-full' and 'test-full-online' targets to run all
  10641. tests, including integration tests with stem and chutney.
  10642. - Make the test-workqueue test work on Windows by initializing the
  10643. network before we begin.
  10644. - New make target (make test-network-all) to run multiple applicable
  10645. chutney test cases. Patch from Teor; closes 16953.
  10646. - Unit test dns_resolve(), dns_clip_ttl() and dns_get_expiry_ttl()
  10647. functions in dns.c. Implements a portion of ticket 16831.
  10648. - When building Tor with testing coverage enabled, run Chutney tests
  10649. (if any) using the 'tor-cov' coverage binary.
  10650. - When running test-network or test-stem, check for the absence of
  10651. stem/chutney before doing any build operations.
  10652. Changes in version 0.2.7.2-alpha - 2015-07-27
  10653. This, the second alpha in the Tor 0.2.7 series, has a number of new
  10654. features, including a way to manually pick the number of introduction
  10655. points for hidden services, and the much stronger Ed25519 signing key
  10656. algorithm for regular Tor relays (including support for encrypted
  10657. offline identity keys in the new algorithm).
  10658. Support for Ed25519 on relays is currently limited to signing router
  10659. descriptors; later alphas in this series will extend Ed25519 key
  10660. support to more parts of the Tor protocol.
  10661. o Major features (Ed25519 identity keys, Proposal 220):
  10662. - All relays now maintain a stronger identity key, using the Ed25519
  10663. elliptic curve signature format. This master key is designed so
  10664. that it can be kept offline. Relays also generate an online
  10665. signing key, and a set of other Ed25519 keys and certificates.
  10666. These are all automatically regenerated and rotated as needed.
  10667. Implements part of ticket 12498.
  10668. - Directory authorities now vote on Ed25519 identity keys along with
  10669. RSA1024 keys. Implements part of ticket 12498.
  10670. - Directory authorities track which Ed25519 identity keys have been
  10671. used with which RSA1024 identity keys, and do not allow them to
  10672. vary freely. Implements part of ticket 12498.
  10673. - Microdescriptors now include Ed25519 identity keys. Implements
  10674. part of ticket 12498.
  10675. - Add support for offline encrypted Ed25519 master keys. To use this
  10676. feature on your tor relay, run "tor --keygen" to make a new master
  10677. key (or to make a new signing key if you already have a master
  10678. key). Closes ticket 13642.
  10679. o Major features (Hidden services):
  10680. - Add the torrc option HiddenServiceNumIntroductionPoints, to
  10681. specify a fixed number of introduction points. Its maximum value
  10682. is 10 and default is 3. Using this option can increase a hidden
  10683. service's reliability under load, at the cost of making it more
  10684. visible that the hidden service is facing extra load. Closes
  10685. ticket 4862.
  10686. - Remove the adaptive algorithm for choosing the number of
  10687. introduction points, which used to change the number of
  10688. introduction points (poorly) depending on the number of
  10689. connections the HS sees. Closes ticket 4862.
  10690. o Major features (onion key cross-certification):
  10691. - Relay descriptors now include signatures of their own identity
  10692. keys, made using the TAP and ntor onion keys. These signatures
  10693. allow relays to prove ownership of their own onion keys. Because
  10694. of this change, microdescriptors will no longer need to include
  10695. RSA identity keys. Implements proposal 228; closes ticket 12499.
  10696. o Major features (performance):
  10697. - Improve the runtime speed of Ed25519 operations by using the
  10698. public-domain Ed25519-donna by Andrew M. ("floodyberry").
  10699. Implements ticket 16467.
  10700. - Improve the runtime speed of the ntor handshake by using an
  10701. optimized curve25519 basepoint scalarmult implementation from the
  10702. public-domain Ed25519-donna by Andrew M. ("floodyberry"), based on
  10703. ideas by Adam Langley. Implements ticket 9663.
  10704. o Major bugfixes (client-side privacy, also in 0.2.6.9):
  10705. - Properly separate out each SOCKSPort when applying stream
  10706. isolation. The error occurred because each port's session group
  10707. was being overwritten by a default value when the listener
  10708. connection was initialized. Fixes bug 16247; bugfix on
  10709. 0.2.6.3-alpha. Patch by "jojelino".
  10710. o Major bugfixes (hidden service clients, stability, also in 0.2.6.10):
  10711. - Stop refusing to store updated hidden service descriptors on a
  10712. client. This reverts commit 9407040c59218 (which indeed fixed bug
  10713. 14219, but introduced a major hidden service reachability
  10714. regression detailed in bug 16381). This is a temporary fix since
  10715. we can live with the minor issue in bug 14219 (it just results in
  10716. some load on the network) but the regression of 16381 is too much
  10717. of a setback. First-round fix for bug 16381; bugfix
  10718. on 0.2.6.3-alpha.
  10719. o Major bugfixes (hidden services):
  10720. - When cannibalizing a circuit for an introduction point, always
  10721. extend to the chosen exit node (creating a 4 hop circuit).
  10722. Previously Tor would use the current circuit exit node, which
  10723. changed the original choice of introduction point, and could cause
  10724. the hidden service to skip excluded introduction points or
  10725. reconnect to a skipped introduction point. Fixes bug 16260; bugfix
  10726. on 0.1.0.1-rc.
  10727. o Major bugfixes (open file limit):
  10728. - The open file limit wasn't checked before calling
  10729. tor_accept_socket_nonblocking(), which would make Tor exceed the
  10730. limit. Now, before opening a new socket, Tor validates the open
  10731. file limit just before, and if the max has been reached, return an
  10732. error. Fixes bug 16288; bugfix on 0.1.1.1-alpha.
  10733. o Major bugfixes (stability, also in 0.2.6.10):
  10734. - Stop crashing with an assertion failure when parsing certain kinds
  10735. of malformed or truncated microdescriptors. Fixes bug 16400;
  10736. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  10737. by "cypherpunks_backup".
  10738. - Stop random client-side assertion failures that could occur when
  10739. connecting to a busy hidden service, or connecting to a hidden
  10740. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  10741. on 0.1.0.1-rc.
  10742. o Minor features (directory authorities, security, also in 0.2.6.9):
  10743. - The HSDir flag given by authorities now requires the Stable flag.
  10744. For the current network, this results in going from 2887 to 2806
  10745. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  10746. attack by raising the effort for a relay to become Stable to
  10747. require at the very least 7 days, while maintaining the 96 hours
  10748. uptime requirement for HSDir. Implements ticket 8243.
  10749. o Minor features (client):
  10750. - Relax the validation of hostnames in SOCKS5 requests, allowing the
  10751. character '_' to appear, in order to cope with domains observed in
  10752. the wild that are serving non-RFC compliant records. Resolves
  10753. ticket 16430.
  10754. - Relax the validation done to hostnames in SOCKS5 requests, and
  10755. allow a single trailing '.' to cope with clients that pass FQDNs
  10756. using that syntax to explicitly indicate that the domain name is
  10757. fully-qualified. Fixes bug 16674; bugfix on 0.2.6.2-alpha.
  10758. - Add GroupWritable and WorldWritable options to unix-socket based
  10759. SocksPort and ControlPort options. These options apply to a single
  10760. socket, and override {Control,Socks}SocketsGroupWritable. Closes
  10761. ticket 15220.
  10762. o Minor features (control protocol):
  10763. - Support network-liveness GETINFO key and NETWORK_LIVENESS event in
  10764. the control protocol. Resolves ticket 15358.
  10765. o Minor features (directory authorities):
  10766. - Directory authorities no longer vote against the "Fast", "Stable",
  10767. and "HSDir" flags just because they were going to vote against
  10768. "Running": if the consensus turns out to be that the router was
  10769. running, then the authority's vote should count. Patch from Peter
  10770. Retzlaff; closes issue 8712.
  10771. o Minor features (geoip, also in 0.2.6.10):
  10772. - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
  10773. - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
  10774. o Minor features (hidden services):
  10775. - Add the new options "HiddenServiceMaxStreams" and
  10776. "HiddenServiceMaxStreamsCloseCircuit" to allow hidden services to
  10777. limit the maximum number of simultaneous streams per circuit, and
  10778. optionally tear down the circuit when the limit is exceeded. Part
  10779. of ticket 16052.
  10780. o Minor features (portability):
  10781. - Use C99 variadic macros when the compiler is not GCC. This avoids
  10782. failing compilations on MSVC, and fixes a log-file-based race
  10783. condition in our old workarounds. Original patch from Gisle Vanem.
  10784. o Minor bugfixes (compilation, also in 0.2.6.9):
  10785. - Build with --enable-systemd correctly when libsystemd is
  10786. installed, but systemd is not. Fixes bug 16164; bugfix on
  10787. 0.2.6.3-alpha. Patch from Peter Palfrader.
  10788. o Minor bugfixes (controller):
  10789. - Add the descriptor ID in each HS_DESC control event. It was
  10790. missing, but specified in control-spec.txt. Fixes bug 15881;
  10791. bugfix on 0.2.5.2-alpha.
  10792. o Minor bugfixes (crypto error-handling, also in 0.2.6.10):
  10793. - Check for failures from crypto_early_init, and refuse to continue.
  10794. A previous typo meant that we could keep going with an
  10795. uninitialized crypto library, and would have OpenSSL initialize
  10796. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  10797. when implementing ticket 4900. Patch by "teor".
  10798. o Minor bugfixes (hidden services):
  10799. - Fix a crash when reloading configuration while at least one
  10800. configured and one ephemeral hidden service exists. Fixes bug
  10801. 16060; bugfix on 0.2.7.1-alpha.
  10802. - Avoid crashing with a double-free bug when we create an ephemeral
  10803. hidden service but adding it fails for some reason. Fixes bug
  10804. 16228; bugfix on 0.2.7.1-alpha.
  10805. o Minor bugfixes (Linux seccomp2 sandbox):
  10806. - Use the sandbox in tor_open_cloexec whether or not O_CLOEXEC is
  10807. defined. Patch by "teor". Fixes bug 16515; bugfix on 0.2.3.1-alpha.
  10808. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.10):
  10809. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  10810. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  10811. on 0.2.6.3-alpha. Patch from "teor".
  10812. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.9):
  10813. - Fix sandboxing to work when running as a relay, by allowing the
  10814. renaming of secret_id_key, and allowing the eventfd2 and futex
  10815. syscalls. Fixes bug 16244; bugfix on 0.2.6.1-alpha. Patch by
  10816. Peter Palfrader.
  10817. - Allow systemd connections to work with the Linux seccomp2 sandbox
  10818. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  10819. Peter Palfrader.
  10820. o Minor bugfixes (relay):
  10821. - Fix a rarely-encountered memory leak when failing to initialize
  10822. the thread pool. Fixes bug 16631; bugfix on 0.2.6.3-alpha. Patch
  10823. from "cypherpunks".
  10824. o Minor bugfixes (systemd):
  10825. - Fix an accidental formatting error that broke the systemd
  10826. configuration file. Fixes bug 16152; bugfix on 0.2.7.1-alpha.
  10827. - Tor's systemd unit file no longer contains extraneous spaces.
  10828. These spaces would sometimes confuse tools like deb-systemd-
  10829. helper. Fixes bug 16162; bugfix on 0.2.5.5-alpha.
  10830. o Minor bugfixes (tests):
  10831. - Use the configured Python executable when running test-stem-full.
  10832. Fixes bug 16470; bugfix on 0.2.7.1-alpha.
  10833. o Minor bugfixes (tests, also in 0.2.6.9):
  10834. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  10835. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  10836. o Minor bugfixes (threads, comments):
  10837. - Always initialize return value in compute_desc_id in rendcommon.c
  10838. Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  10839. - Check for NULL values in getinfo_helper_onions(). Patch by "teor".
  10840. Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  10841. - Remove undefined directive-in-macro in test_util_writepid clang
  10842. 3.7 complains that using a preprocessor directive inside a macro
  10843. invocation in test_util_writepid in test_util.c is undefined.
  10844. Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  10845. o Code simplification and refactoring:
  10846. - Define WINVER and _WIN32_WINNT centrally, in orconfig.h, in order
  10847. to ensure they remain consistent and visible everywhere.
  10848. - Remove some vestigial workarounds for the MSVC6 compiler. We
  10849. haven't supported that in ages.
  10850. - The link authentication code has been refactored for better
  10851. testability and reliability. It now uses code generated with the
  10852. "trunnel" binary encoding generator, to reduce the risk of bugs
  10853. due to programmer error. Done as part of ticket 12498.
  10854. o Documentation:
  10855. - Include a specific and (hopefully) accurate documentation of the
  10856. torrc file's meta-format in doc/torrc_format.txt. This is mainly
  10857. of interest to people writing programs to parse or generate torrc
  10858. files. This document is not a commitment to long-term
  10859. compatibility; some aspects of the current format are a bit
  10860. ridiculous. Closes ticket 2325.
  10861. o Removed features:
  10862. - Tor no longer supports copies of OpenSSL that are missing support
  10863. for Elliptic Curve Cryptography. (We began using ECC when
  10864. available in 0.2.4.8-alpha, for more safe and efficient key
  10865. negotiation.) In particular, support for at least one of P256 or
  10866. P224 is now required, with manual configuration needed if only
  10867. P224 is available. Resolves ticket 16140.
  10868. - Tor no longer supports versions of OpenSSL before 1.0. (If you are
  10869. on an operating system that has not upgraded to OpenSSL 1.0 or
  10870. later, and you compile Tor from source, you will need to install a
  10871. more recent OpenSSL to link Tor against.) These versions of
  10872. OpenSSL are still supported by the OpenSSL, but the numerous
  10873. cryptographic improvements in later OpenSSL releases makes them a
  10874. clear choice. Resolves ticket 16034.
  10875. - Remove the HidServDirectoryV2 option. Now all relays offer to
  10876. store hidden service descriptors. Related to 16543.
  10877. - Remove the VoteOnHidServDirectoriesV2 option, since all
  10878. authorities have long set it to 1. Closes ticket 16543.
  10879. o Testing:
  10880. - Document use of coverity, clang static analyzer, and clang dynamic
  10881. undefined behavior and address sanitizers in doc/HACKING. Include
  10882. detailed usage instructions in the blacklist. Patch by "teor".
  10883. Closes ticket 15817.
  10884. - The link authentication protocol code now has extensive tests.
  10885. - The relay descriptor signature testing code now has
  10886. extensive tests.
  10887. - The test_workqueue program now runs faster, and is enabled by
  10888. default as a part of "make check".
  10889. - Now that OpenSSL has its own scrypt implementation, add an unit
  10890. test that checks for interoperability between libscrypt_scrypt()
  10891. and OpenSSL's EVP_PBE_scrypt() so that we could not use libscrypt
  10892. and rely on EVP_PBE_scrypt() whenever possible. Resolves
  10893. ticket 16189.
  10894. Changes in version 0.2.6.10 - 2015-07-12
  10895. Tor version 0.2.6.10 fixes some significant stability and hidden
  10896. service client bugs, bulletproofs the cryptography init process, and
  10897. fixes a bug when using the sandbox code with some older versions of
  10898. Linux. Everyone running an older version, especially an older version
  10899. of 0.2.6, should upgrade.
  10900. o Major bugfixes (hidden service clients, stability):
  10901. - Stop refusing to store updated hidden service descriptors on a
  10902. client. This reverts commit 9407040c59218 (which indeed fixed bug
  10903. 14219, but introduced a major hidden service reachability
  10904. regression detailed in bug 16381). This is a temporary fix since
  10905. we can live with the minor issue in bug 14219 (it just results in
  10906. some load on the network) but the regression of 16381 is too much
  10907. of a setback. First-round fix for bug 16381; bugfix
  10908. on 0.2.6.3-alpha.
  10909. o Major bugfixes (stability):
  10910. - Stop crashing with an assertion failure when parsing certain kinds
  10911. of malformed or truncated microdescriptors. Fixes bug 16400;
  10912. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  10913. by "cypherpunks_backup".
  10914. - Stop random client-side assertion failures that could occur when
  10915. connecting to a busy hidden service, or connecting to a hidden
  10916. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  10917. on 0.1.0.1-rc.
  10918. o Minor features (geoip):
  10919. - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
  10920. - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
  10921. o Minor bugfixes (crypto error-handling):
  10922. - Check for failures from crypto_early_init, and refuse to continue.
  10923. A previous typo meant that we could keep going with an
  10924. uninitialized crypto library, and would have OpenSSL initialize
  10925. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  10926. when implementing ticket 4900. Patch by "teor".
  10927. o Minor bugfixes (Linux seccomp2 sandbox):
  10928. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  10929. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  10930. on 0.2.6.3-alpha. Patch from "teor".
  10931. Changes in version 0.2.6.9 - 2015-06-11
  10932. Tor 0.2.6.9 fixes a regression in the circuit isolation code, increases the
  10933. requirements for receiving an HSDir flag, and addresses some other small
  10934. bugs in the systemd and sandbox code. Clients using circuit isolation
  10935. should upgrade; all directory authorities should upgrade.
  10936. o Major bugfixes (client-side privacy):
  10937. - Properly separate out each SOCKSPort when applying stream
  10938. isolation. The error occurred because each port's session group was
  10939. being overwritten by a default value when the listener connection
  10940. was initialized. Fixes bug 16247; bugfix on 0.2.6.3-alpha. Patch
  10941. by "jojelino".
  10942. o Minor feature (directory authorities, security):
  10943. - The HSDir flag given by authorities now requires the Stable flag.
  10944. For the current network, this results in going from 2887 to 2806
  10945. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  10946. attack by raising the effort for a relay to become Stable which
  10947. takes at the very least 7 days to do so and by keeping the 96
  10948. hours uptime requirement for HSDir. Implements ticket 8243.
  10949. o Minor bugfixes (compilation):
  10950. - Build with --enable-systemd correctly when libsystemd is
  10951. installed, but systemd is not. Fixes bug 16164; bugfix on
  10952. 0.2.6.3-alpha. Patch from Peter Palfrader.
  10953. o Minor bugfixes (Linux seccomp2 sandbox):
  10954. - Fix sandboxing to work when running as a relaymby renaming of
  10955. secret_id_key, and allowing the eventfd2 and futex syscalls. Fixes
  10956. bug 16244; bugfix on 0.2.6.1-alpha. Patch by Peter Palfrader.
  10957. - Allow systemd connections to work with the Linux seccomp2 sandbox
  10958. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  10959. Peter Palfrader.
  10960. o Minor bugfixes (tests):
  10961. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  10962. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  10963. Changes in version 0.2.6.8 - 2015-05-21
  10964. Tor 0.2.6.8 fixes a bit of dodgy code in parsing INTRODUCE2 cells, and
  10965. fixes an authority-side bug in assigning the HSDir flag. All directory
  10966. authorities should upgrade.
  10967. o Major bugfixes (hidden services, backport from 0.2.7.1-alpha):
  10968. - Revert commit that made directory authorities assign the HSDir
  10969. flag to relays without a DirPort; this was bad because such relays
  10970. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  10971. on 0.2.6.3-alpha.
  10972. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  10973. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  10974. a client authorized hidden service. Fixes bug 15823; bugfix
  10975. on 0.2.1.6-alpha.
  10976. o Minor features (geoip):
  10977. - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
  10978. - Update geoip6 to the April 8 2015 Maxmind GeoLite2
  10979. Country database.
  10980. Changes in version 0.2.7.1-alpha - 2015-05-12
  10981. Tor 0.2.7.1-alpha is the first alpha release in its series. It
  10982. includes numerous small features and bugfixes against previous Tor
  10983. versions, and numerous small infrastructure improvements. The most
  10984. notable features are several new ways for controllers to interact with
  10985. the hidden services subsystem.
  10986. o New system requirements:
  10987. - Tor no longer includes workarounds to support Libevent versions
  10988. before 1.3e. Libevent 2.0 or later is recommended. Closes
  10989. ticket 15248.
  10990. o Major features (controller):
  10991. - Add the ADD_ONION and DEL_ONION commands that allow the creation
  10992. and management of hidden services via the controller. Closes
  10993. ticket 6411.
  10994. - New "GETINFO onions/current" and "GETINFO onions/detached"
  10995. commands to get information about hidden services created via the
  10996. controller. Part of ticket 6411.
  10997. - New HSFETCH command to launch a request for a hidden service
  10998. descriptor. Closes ticket 14847.
  10999. - New HSPOST command to upload a hidden service descriptor. Closes
  11000. ticket 3523. Patch by "DonnchaC".
  11001. o Major bugfixes (hidden services):
  11002. - Revert commit that made directory authorities assign the HSDir
  11003. flag to relays without a DirPort; this was bad because such relays
  11004. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  11005. on 0.2.6.3-alpha.
  11006. o Minor features (clock-jump tolerance):
  11007. - Recover better when our clock jumps back many hours, like might
  11008. happen for Tails or Whonix users who start with a very wrong
  11009. hardware clock, use Tor to discover a more accurate time, and then
  11010. fix their clock. Resolves part of ticket 8766.
  11011. o Minor features (command-line interface):
  11012. - Make --hash-password imply --hush to prevent unnecessary noise.
  11013. Closes ticket 15542. Patch from "cypherpunks".
  11014. - Print a warning whenever we find a relative file path being used
  11015. as torrc option. Resolves issue 14018.
  11016. o Minor features (controller):
  11017. - Add DirAuthority lines for default directory authorities to the
  11018. output of the "GETINFO config/defaults" command if not already
  11019. present. Implements ticket 14840.
  11020. - Controllers can now use "GETINFO hs/client/desc/id/..." to
  11021. retrieve items from the client's hidden service descriptor cache.
  11022. Closes ticket 14845.
  11023. - Implement a new controller command "GETINFO status/fresh-relay-
  11024. descs" to fetch a descriptor/extrainfo pair that was generated on
  11025. demand just for the controller's use. Implements ticket 14784.
  11026. o Minor features (DoS-resistance):
  11027. - Make it harder for attackers to overload hidden services with
  11028. introductions, by blocking multiple introduction requests on the
  11029. same circuit. Resolves ticket 15515.
  11030. o Minor features (geoip):
  11031. - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
  11032. - Update geoip6 to the April 8 2015 Maxmind GeoLite2
  11033. Country database.
  11034. o Minor features (HS popularity countermeasure):
  11035. - To avoid leaking HS popularity, don't cycle the introduction point
  11036. when we've handled a fixed number of INTRODUCE2 cells but instead
  11037. cycle it when a random number of introductions is reached, thus
  11038. making it more difficult for an attacker to find out the amount of
  11039. clients that have used the introduction point for a specific HS.
  11040. Closes ticket 15745.
  11041. o Minor features (logging):
  11042. - Include the Tor version in all LD_BUG log messages, since people
  11043. tend to cut and paste those into the bugtracker. Implements
  11044. ticket 15026.
  11045. o Minor features (pluggable transports):
  11046. - When launching managed pluggable transports on Linux systems,
  11047. attempt to have the kernel deliver a SIGTERM on tor exit if the
  11048. pluggable transport process is still running. Resolves
  11049. ticket 15471.
  11050. - When launching managed pluggable transports, setup a valid open
  11051. stdin in the child process that can be used to detect if tor has
  11052. terminated. The "TOR_PT_EXIT_ON_STDIN_CLOSE" environment variable
  11053. can be used by implementations to detect this new behavior.
  11054. Resolves ticket 15435.
  11055. o Minor features (testing):
  11056. - Add a test to verify that the compiler does not eliminate our
  11057. memwipe() implementation. Closes ticket 15377.
  11058. - Add make rule `check-changes` to verify the format of changes
  11059. files. Closes ticket 15180.
  11060. - Add unit tests for control_event_is_interesting(). Add a compile-
  11061. time check that the number of events doesn't exceed the capacity
  11062. of control_event_t.event_mask. Closes ticket 15431, checks for
  11063. bugs similar to 13085. Patch by "teor".
  11064. - Command-line argument tests moved to Stem. Resolves ticket 14806.
  11065. - Integrate the ntor, backtrace, and zero-length keys tests into the
  11066. automake test suite. Closes ticket 15344.
  11067. - Remove assertions during builds to determine Tor's test coverage.
  11068. We don't want to trigger these even in assertions, so including
  11069. them artificially makes our branch coverage look worse than it is.
  11070. This patch provides the new test-stem-full and coverage-html-full
  11071. configure options. Implements ticket 15400.
  11072. o Minor bugfixes (build):
  11073. - Improve out-of-tree builds by making non-standard rules work and
  11074. clean up additional files and directories. Fixes bug 15053; bugfix
  11075. on 0.2.7.0-alpha.
  11076. o Minor bugfixes (command-line interface):
  11077. - When "--quiet" is provided along with "--validate-config", do not
  11078. write anything to stdout on success. Fixes bug 14994; bugfix
  11079. on 0.2.3.3-alpha.
  11080. - When complaining about bad arguments to "--dump-config", use
  11081. stderr, not stdout.
  11082. o Minor bugfixes (configuration, unit tests):
  11083. - Only add the default fallback directories when the DirAuthorities,
  11084. AlternateDirAuthority, and FallbackDir directory config options
  11085. are set to their defaults. The default fallback directory list is
  11086. currently empty, this fix will only change tor's behavior when it
  11087. has default fallback directories. Includes unit tests for
  11088. consider_adding_dir_servers(). Fixes bug 15642; bugfix on
  11089. 90f6071d8dc0 in 0.2.4.7-alpha. Patch by "teor".
  11090. o Minor bugfixes (correctness):
  11091. - For correctness, avoid modifying a constant string in
  11092. handle_control_postdescriptor. Fixes bug 15546; bugfix
  11093. on 0.1.1.16-rc.
  11094. - Remove side-effects from tor_assert() calls. This was harmless,
  11095. because we never disable assertions, but it is bad style and
  11096. unnecessary. Fixes bug 15211; bugfix on 0.2.5.5, 0.2.2.36,
  11097. and 0.2.0.10.
  11098. o Minor bugfixes (hidden service):
  11099. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  11100. a client authorized hidden service. Fixes bug 15823; bugfix
  11101. on 0.2.1.6-alpha.
  11102. - Remove an extraneous newline character from the end of hidden
  11103. service descriptors. Fixes bug 15296; bugfix on 0.2.0.10-alpha.
  11104. o Minor bugfixes (interface):
  11105. - Print usage information for --dump-config when it is used without
  11106. an argument. Also, fix the error message to use different wording
  11107. and add newline at the end. Fixes bug 15541; bugfix
  11108. on 0.2.5.1-alpha.
  11109. o Minor bugfixes (logs):
  11110. - When building Tor under Clang, do not include an extra set of
  11111. parentheses in log messages that include function names. Fixes bug
  11112. 15269; bugfix on every released version of Tor when compiled with
  11113. recent enough Clang.
  11114. o Minor bugfixes (network):
  11115. - When attempting to use fallback technique for network interface
  11116. lookup, disregard loopback and multicast addresses since they are
  11117. unsuitable for public communications.
  11118. o Minor bugfixes (statistics):
  11119. - Disregard the ConnDirectionStatistics torrc options when Tor is
  11120. not a relay since in that mode of operation no sensible data is
  11121. being collected and because Tor might run into measurement hiccups
  11122. when running as a client for some time, then becoming a relay.
  11123. Fixes bug 15604; bugfix on 0.2.2.35.
  11124. o Minor bugfixes (test networks):
  11125. - When self-testing reachability, use ExtendAllowPrivateAddresses to
  11126. determine if local/private addresses imply reachability. The
  11127. previous fix used TestingTorNetwork, which implies
  11128. ExtendAllowPrivateAddresses, but this excluded rare configurations
  11129. where ExtendAllowPrivateAddresses is set but TestingTorNetwork is
  11130. not. Fixes bug 15771; bugfix on 0.2.6.1-alpha. Patch by "teor",
  11131. issue discovered by CJ Ess.
  11132. o Minor bugfixes (testing):
  11133. - Check for matching value in server response in ntor_ref.py. Fixes
  11134. bug 15591; bugfix on 0.2.4.8-alpha. Reported and fixed
  11135. by "joelanders".
  11136. - Set the severity correctly when testing
  11137. get_interface_addresses_ifaddrs() and
  11138. get_interface_addresses_win32(), so that the tests fail gracefully
  11139. instead of triggering an assertion. Fixes bug 15759; bugfix on
  11140. 0.2.6.3-alpha. Reported by Nicolas Derive.
  11141. o Code simplification and refactoring:
  11142. - Move the hacky fallback code out of get_interface_address6() into
  11143. separate function and get it covered with unit-tests. Resolves
  11144. ticket 14710.
  11145. - Refactor hidden service client-side cache lookup to intelligently
  11146. report its various failure cases, and disentangle failure cases
  11147. involving a lack of introduction points. Closes ticket 14391.
  11148. - Use our own Base64 encoder instead of OpenSSL's, to allow more
  11149. control over the output. Part of ticket 15652.
  11150. o Documentation:
  11151. - Improve the descriptions of statistics-related torrc options in
  11152. the manpage to describe rationale and possible uses cases. Fixes
  11153. issue 15550.
  11154. - Improve the layout and formatting of ./configure --help messages.
  11155. Closes ticket 15024. Patch from "cypherpunks".
  11156. - Standardize on the term "server descriptor" in the manual page.
  11157. Previously, we had used "router descriptor", "server descriptor",
  11158. and "relay descriptor" interchangeably. Part of ticket 14987.
  11159. o Removed code:
  11160. - Remove `USE_OPENSSL_BASE64` and the corresponding fallback code
  11161. and always use the internal Base64 decoder. The internal decoder
  11162. has been part of tor since 0.2.0.10-alpha, and no one should
  11163. be using the OpenSSL one. Part of ticket 15652.
  11164. - Remove the 'tor_strclear()' function; use memwipe() instead.
  11165. Closes ticket 14922.
  11166. o Removed features:
  11167. - Remove the (seldom-used) DynamicDHGroups feature. For anti-
  11168. fingerprinting we now recommend pluggable transports; for forward-
  11169. secrecy in TLS, we now use the P-256 group. Closes ticket 13736.
  11170. - Remove the undocumented "--digests" command-line option. It
  11171. complicated our build process, caused subtle build issues on
  11172. multiple platforms, and is now redundant since we started
  11173. including git version identifiers. Closes ticket 14742.
  11174. - Tor no longer contains checks for ancient directory cache versions
  11175. that didn't know about microdescriptors.
  11176. - Tor no longer contains workarounds for stat files generated by
  11177. super-old versions of Tor that didn't choose guards sensibly.
  11178. Changes in version 0.2.4.27 - 2015-04-06
  11179. Tor 0.2.4.27 backports two fixes from 0.2.6.7 for security issues that
  11180. could be used by an attacker to crash hidden services, or crash clients
  11181. visiting hidden services. Hidden services should upgrade as soon as
  11182. possible; clients should upgrade whenever packages become available.
  11183. This release also backports a simple improvement to make hidden
  11184. services a bit less vulnerable to denial-of-service attacks.
  11185. o Major bugfixes (security, hidden service):
  11186. - Fix an issue that would allow a malicious client to trigger an
  11187. assertion failure and halt a hidden service. Fixes bug 15600;
  11188. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  11189. - Fix a bug that could cause a client to crash with an assertion
  11190. failure when parsing a malformed hidden service descriptor. Fixes
  11191. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  11192. o Minor features (DoS-resistance, hidden service):
  11193. - Introduction points no longer allow multiple INTRODUCE1 cells to
  11194. arrive on the same circuit. This should make it more expensive for
  11195. attackers to overwhelm hidden services with introductions.
  11196. Resolves ticket 15515.
  11197. Changes in version 0.2.5.12 - 2015-04-06
  11198. Tor 0.2.5.12 backports two fixes from 0.2.6.7 for security issues that
  11199. could be used by an attacker to crash hidden services, or crash clients
  11200. visiting hidden services. Hidden services should upgrade as soon as
  11201. possible; clients should upgrade whenever packages become available.
  11202. This release also backports a simple improvement to make hidden
  11203. services a bit less vulnerable to denial-of-service attacks.
  11204. o Major bugfixes (security, hidden service):
  11205. - Fix an issue that would allow a malicious client to trigger an
  11206. assertion failure and halt a hidden service. Fixes bug 15600;
  11207. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  11208. - Fix a bug that could cause a client to crash with an assertion
  11209. failure when parsing a malformed hidden service descriptor. Fixes
  11210. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  11211. o Minor features (DoS-resistance, hidden service):
  11212. - Introduction points no longer allow multiple INTRODUCE1 cells to
  11213. arrive on the same circuit. This should make it more expensive for
  11214. attackers to overwhelm hidden services with introductions.
  11215. Resolves ticket 15515.
  11216. Changes in version 0.2.6.7 - 2015-04-06
  11217. Tor 0.2.6.7 fixes two security issues that could be used by an
  11218. attacker to crash hidden services, or crash clients visiting hidden
  11219. services. Hidden services should upgrade as soon as possible; clients
  11220. should upgrade whenever packages become available.
  11221. This release also contains two simple improvements to make hidden
  11222. services a bit less vulnerable to denial-of-service attacks.
  11223. o Major bugfixes (security, hidden service):
  11224. - Fix an issue that would allow a malicious client to trigger an
  11225. assertion failure and halt a hidden service. Fixes bug 15600;
  11226. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  11227. - Fix a bug that could cause a client to crash with an assertion
  11228. failure when parsing a malformed hidden service descriptor. Fixes
  11229. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  11230. o Minor features (DoS-resistance, hidden service):
  11231. - Introduction points no longer allow multiple INTRODUCE1 cells to
  11232. arrive on the same circuit. This should make it more expensive for
  11233. attackers to overwhelm hidden services with introductions.
  11234. Resolves ticket 15515.
  11235. - Decrease the amount of reattempts that a hidden service performs
  11236. when its rendezvous circuits fail. This reduces the computational
  11237. cost for running a hidden service under heavy load. Resolves
  11238. ticket 11447.
  11239. Changes in version 0.2.6.6 - 2015-03-24
  11240. Tor 0.2.6.6 is the first stable release in the 0.2.6 series.
  11241. It adds numerous safety, security, correctness, and performance
  11242. improvements. Client programs can be configured to use more kinds of
  11243. sockets, AutomapHosts works better, the multithreading backend is
  11244. improved, cell transmission is refactored, test coverage is much
  11245. higher, more denial-of-service attacks are handled, guard selection is
  11246. improved to handle long-term guards better, pluggable transports
  11247. should work a bit better, and some annoying hidden service performance
  11248. bugs should be addressed.
  11249. o Minor bugfixes (portability):
  11250. - Use the correct datatype in the SipHash-2-4 function to prevent
  11251. compilers from assuming any sort of alignment. Fixes bug 15436;
  11252. bugfix on 0.2.5.3-alpha.
  11253. Changes in version 0.2.6.5-rc - 2015-03-18
  11254. Tor 0.2.6.5-rc is the second and (hopefully) last release candidate in
  11255. the 0.2.6. It fixes a small number of bugs found in 0.2.6.4-rc.
  11256. o Major bugfixes (client):
  11257. - Avoid crashing when making certain configuration option changes on
  11258. clients. Fixes bug 15245; bugfix on 0.2.6.3-alpha. Reported
  11259. by "anonym".
  11260. o Major bugfixes (pluggable transports):
  11261. - Initialize the extended OR Port authentication cookie before
  11262. launching pluggable transports. This prevents a race condition
  11263. that occurred when server-side pluggable transports would cache the
  11264. authentication cookie before it has been (re)generated. Fixes bug
  11265. 15240; bugfix on 0.2.5.1-alpha.
  11266. o Major bugfixes (portability):
  11267. - Do not crash on startup when running on Solaris. Fixes a bug
  11268. related to our fix for 9495; bugfix on 0.2.6.1-alpha. Reported
  11269. by "ruebezahl".
  11270. o Minor features (heartbeat):
  11271. - On relays, report how many connections we negotiated using each
  11272. version of the Tor link protocols. This information will let us
  11273. know if removing support for very old versions of the Tor
  11274. protocols is harming the network. Closes ticket 15212.
  11275. o Code simplification and refactoring:
  11276. - Refactor main loop to extract the 'loop' part. This makes it
  11277. easier to run Tor under Shadow. Closes ticket 15176.
  11278. Changes in version 0.2.5.11 - 2015-03-17
  11279. Tor 0.2.5.11 is the second stable release in the 0.2.5 series.
  11280. It backports several bugfixes from the 0.2.6 branch, including a
  11281. couple of medium-level security fixes for relays and exit nodes.
  11282. It also updates the list of directory authorities.
  11283. o Directory authority changes:
  11284. - Remove turtles as a directory authority.
  11285. - Add longclaw as a new (v3) directory authority. This implements
  11286. ticket 13296. This keeps the directory authority count at 9.
  11287. - The directory authority Faravahar has a new IP address. This
  11288. closes ticket 14487.
  11289. o Major bugfixes (crash, OSX, security):
  11290. - Fix a remote denial-of-service opportunity caused by a bug in
  11291. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  11292. in OSX 10.9.
  11293. o Major bugfixes (relay, stability, possible security):
  11294. - Fix a bug that could lead to a relay crashing with an assertion
  11295. failure if a buffer of exactly the wrong layout was passed to
  11296. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  11297. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  11298. - Do not assert if the 'data' pointer on a buffer is advanced to the
  11299. very end of the buffer; log a BUG message instead. Only assert if
  11300. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  11301. o Major bugfixes (exit node stability):
  11302. - Fix an assertion failure that could occur under high DNS load.
  11303. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  11304. diagnosed and fixed by "cypherpunks".
  11305. o Major bugfixes (Linux seccomp2 sandbox):
  11306. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  11307. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  11308. 0.2.5.1-alpha. Patch from "sanic".
  11309. o Minor features (controller):
  11310. - New "GETINFO bw-event-cache" to get information about recent
  11311. bandwidth events. Closes ticket 14128. Useful for controllers to
  11312. get recent bandwidth history after the fix for ticket 13988.
  11313. o Minor features (geoip):
  11314. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  11315. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  11316. Country database.
  11317. o Minor bugfixes (client, automapping):
  11318. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  11319. no value follows the option. Fixes bug 14142; bugfix on
  11320. 0.2.4.7-alpha. Patch by "teor".
  11321. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  11322. 14195; bugfix on 0.1.0.1-rc.
  11323. o Minor bugfixes (compilation):
  11324. - Build without warnings with the stock OpenSSL srtp.h header, which
  11325. has a duplicate declaration of SSL_get_selected_srtp_profile().
  11326. Fixes bug 14220; this is OpenSSL's bug, not ours.
  11327. o Minor bugfixes (directory authority):
  11328. - Allow directory authorities to fetch more data from one another if
  11329. they find themselves missing lots of votes. Previously, they had
  11330. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  11331. bugfix on 0.1.2.5-alpha.
  11332. - Enlarge the buffer to read bwauth generated files to avoid an
  11333. issue when parsing the file in dirserv_read_measured_bandwidths().
  11334. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  11335. o Minor bugfixes (statistics):
  11336. - Increase period over which bandwidth observations are aggregated
  11337. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  11338. o Minor bugfixes (preventative security, C safety):
  11339. - When reading a hexadecimal, base-32, or base-64 encoded value from
  11340. a string, always overwrite the whole output buffer. This prevents
  11341. some bugs where we would look at (but fortunately, not reveal)
  11342. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  11343. versions of Tor.
  11344. Changes in version 0.2.4.26 - 2015-03-17
  11345. Tor 0.2.4.26 includes an updated list of directory authorities. It
  11346. also backports a couple of stability and security bugfixes from 0.2.5
  11347. and beyond.
  11348. o Directory authority changes:
  11349. - Remove turtles as a directory authority.
  11350. - Add longclaw as a new (v3) directory authority. This implements
  11351. ticket 13296. This keeps the directory authority count at 9.
  11352. - The directory authority Faravahar has a new IP address. This
  11353. closes ticket 14487.
  11354. o Major bugfixes (exit node stability, also in 0.2.6.3-alpha):
  11355. - Fix an assertion failure that could occur under high DNS load.
  11356. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  11357. diagnosed and fixed by "cypherpunks".
  11358. o Major bugfixes (relay, stability, possible security, also in 0.2.6.4-rc):
  11359. - Fix a bug that could lead to a relay crashing with an assertion
  11360. failure if a buffer of exactly the wrong layout was passed to
  11361. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  11362. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  11363. - Do not assert if the 'data' pointer on a buffer is advanced to the
  11364. very end of the buffer; log a BUG message instead. Only assert if
  11365. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  11366. o Minor features (geoip):
  11367. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  11368. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  11369. Country database.
  11370. Changes in version 0.2.6.4-rc - 2015-03-09
  11371. Tor 0.2.6.4-alpha fixes an issue in the directory code that an
  11372. attacker might be able to use in order to crash certain Tor
  11373. directories. It also resolves some minor issues left over from, or
  11374. introduced in, Tor 0.2.6.3-alpha or earlier.
  11375. o Major bugfixes (crash, OSX, security):
  11376. - Fix a remote denial-of-service opportunity caused by a bug in
  11377. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  11378. in OSX 10.9.
  11379. o Major bugfixes (relay, stability, possible security):
  11380. - Fix a bug that could lead to a relay crashing with an assertion
  11381. failure if a buffer of exactly the wrong layout is passed to
  11382. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  11383. 0.2.0.10-alpha. Patch from "cypherpunks".
  11384. - Do not assert if the 'data' pointer on a buffer is advanced to the
  11385. very end of the buffer; log a BUG message instead. Only assert if
  11386. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  11387. o Major bugfixes (FreeBSD IPFW transparent proxy):
  11388. - Fix address detection with FreeBSD transparent proxies, when
  11389. "TransProxyType ipfw" is in use. Fixes bug 15064; bugfix
  11390. on 0.2.5.4-alpha.
  11391. o Major bugfixes (Linux seccomp2 sandbox):
  11392. - Pass IPPROTO_TCP rather than 0 to socket(), so that the Linux
  11393. seccomp2 sandbox doesn't fail. Fixes bug 14989; bugfix
  11394. on 0.2.6.3-alpha.
  11395. - Allow AF_UNIX hidden services to be used with the seccomp2
  11396. sandbox. Fixes bug 15003; bugfix on 0.2.6.3-alpha.
  11397. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  11398. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  11399. 0.2.5.1-alpha. Patch from "sanic".
  11400. o Minor features (controller):
  11401. - Messages about problems in the bootstrap process now include
  11402. information about the server we were trying to connect to when we
  11403. noticed the problem. Closes ticket 15006.
  11404. o Minor features (geoip):
  11405. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  11406. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  11407. Country database.
  11408. o Minor features (logs):
  11409. - Quiet some log messages in the heartbeat and at startup. Closes
  11410. ticket 14950.
  11411. o Minor bugfixes (certificate handling):
  11412. - If an authority operator accidentally makes a signing certificate
  11413. with a future publication time, do not discard its real signing
  11414. certificates. Fixes bug 11457; bugfix on 0.2.0.3-alpha.
  11415. - Remove any old authority certificates that have been superseded
  11416. for at least two days. Previously, we would keep superseded
  11417. certificates until they expired, if they were published close in
  11418. time to the certificate that superseded them. Fixes bug 11454;
  11419. bugfix on 0.2.1.8-alpha.
  11420. o Minor bugfixes (compilation):
  11421. - Fix a compilation warning on s390. Fixes bug 14988; bugfix
  11422. on 0.2.5.2-alpha.
  11423. - Fix a compilation warning on FreeBSD. Fixes bug 15151; bugfix
  11424. on 0.2.6.2-alpha.
  11425. o Minor bugfixes (testing):
  11426. - Fix endianness issues in unit test for resolve_my_address() to
  11427. have it pass on big endian systems. Fixes bug 14980; bugfix on
  11428. Tor 0.2.6.3-alpha.
  11429. - Avoid a side-effect in a tor_assert() in the unit tests. Fixes bug
  11430. 15188; bugfix on 0.1.2.3-alpha. Patch from Tom van der Woerdt.
  11431. - When running the new 'make test-stem' target, use the configured
  11432. python binary. Fixes bug 15037; bugfix on 0.2.6.3-alpha. Patch
  11433. from "cypherpunks".
  11434. - When running the zero-length-keys tests, do not use the default
  11435. torrc file. Fixes bug 15033; bugfix on 0.2.6.3-alpha. Reported
  11436. by "reezer".
  11437. o Directory authority IP change:
  11438. - The directory authority Faravahar has a new IP address. This
  11439. closes ticket 14487.
  11440. o Removed code:
  11441. - Remove some lingering dead code that once supported mempools.
  11442. Mempools were disabled by default in 0.2.5, and removed entirely
  11443. in 0.2.6.3-alpha. Closes more of ticket 14848; patch
  11444. by "cypherpunks".
  11445. Changes in version 0.2.6.3-alpha - 2015-02-19
  11446. Tor 0.2.6.3-alpha is the third (and hopefully final) alpha release in
  11447. the 0.2.6.x series. It introduces support for more kinds of sockets,
  11448. makes it harder to accidentally run an exit, improves our
  11449. multithreading backend, incorporates several fixes for the
  11450. AutomapHostsOnResolve option, and fixes numerous other bugs besides.
  11451. If no major regressions or security holes are found in this version,
  11452. the next version will be a release candidate.
  11453. o Deprecated versions:
  11454. - Tor relays older than 0.2.4.18-rc are no longer allowed to
  11455. advertise themselves on the network. Closes ticket 13555.
  11456. o Major features (security, unix domain sockets):
  11457. - Allow SocksPort to be an AF_UNIX Unix Domain Socket. Now high risk
  11458. applications can reach Tor without having to create AF_INET or
  11459. AF_INET6 sockets, meaning they can completely disable their
  11460. ability to make non-Tor network connections. To create a socket of
  11461. this type, use "SocksPort unix:/path/to/socket". Implements
  11462. ticket 12585.
  11463. - Support mapping hidden service virtual ports to AF_UNIX sockets.
  11464. The syntax is "HiddenServicePort 80 unix:/path/to/socket".
  11465. Implements ticket 11485.
  11466. o Major features (changed defaults):
  11467. - Prevent relay operators from unintentionally running exits: When a
  11468. relay is configured as an exit node, we now warn the user unless
  11469. the "ExitRelay" option is set to 1. We warn even more loudly if
  11470. the relay is configured with the default exit policy, since this
  11471. can indicate accidental misconfiguration. Setting "ExitRelay 0"
  11472. stops Tor from running as an exit relay. Closes ticket 10067.
  11473. o Major features (directory system):
  11474. - When downloading server- or microdescriptors from a directory
  11475. server, we no longer launch multiple simultaneous requests to the
  11476. same server. This reduces load on the directory servers,
  11477. especially when directory guards are in use. Closes ticket 9969.
  11478. - When downloading server- or microdescriptors over a tunneled
  11479. connection, do not limit the length of our requests to what the
  11480. Squid proxy is willing to handle. Part of ticket 9969.
  11481. - Authorities can now vote on the correct digests and latest
  11482. versions for different software packages. This allows packages
  11483. that include Tor to use the Tor authority system as a way to get
  11484. notified of updates and their correct digests. Implements proposal
  11485. 227. Closes ticket 10395.
  11486. o Major features (guards):
  11487. - Introduce the Guardfraction feature to improves load balancing on
  11488. guard nodes. Specifically, it aims to reduce the traffic gap that
  11489. guard nodes experience when they first get the Guard flag. This is
  11490. a required step if we want to increase the guard lifetime to 9
  11491. months or greater. Closes ticket 9321.
  11492. o Major features (performance):
  11493. - Make the CPU worker implementation more efficient by avoiding the
  11494. kernel and lengthening pipelines. The original implementation used
  11495. sockets to transfer data from the main thread to the workers, and
  11496. didn't allow any thread to be assigned more than a single piece of
  11497. work at once. The new implementation avoids communications
  11498. overhead by making requests in shared memory, avoiding kernel IO
  11499. where possible, and keeping more requests in flight at once.
  11500. Implements ticket 9682.
  11501. o Major features (relay):
  11502. - Raise the minimum acceptable configured bandwidth rate for bridges
  11503. to 50 KiB/sec and for relays to 75 KiB/sec. (The old values were
  11504. 20 KiB/sec.) Closes ticket 13822.
  11505. o Major bugfixes (exit node stability):
  11506. - Fix an assertion failure that could occur under high DNS load.
  11507. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  11508. diagnosed and fixed by "cypherpunks".
  11509. o Major bugfixes (mixed relay-client operation):
  11510. - When running as a relay and client at the same time (not
  11511. recommended), if we decide not to use a new guard because we want
  11512. to retry older guards, only close the locally-originating circuits
  11513. passing through that guard. Previously we would close all the
  11514. circuits through that guard. Fixes bug 9819; bugfix on
  11515. 0.2.1.1-alpha. Reported by "skruffy".
  11516. o Minor features (build):
  11517. - New --disable-system-torrc compile-time option to prevent Tor from
  11518. looking for the system-wide torrc or torrc-defaults files.
  11519. Resolves ticket 13037.
  11520. o Minor features (controller):
  11521. - Include SOCKS_USERNAME and SOCKS_PASSWORD values in controller
  11522. events so controllers can observe circuit isolation inputs. Closes
  11523. ticket 8405.
  11524. - ControlPort now supports the unix:/path/to/socket syntax as an
  11525. alternative to the ControlSocket option, for consistency with
  11526. SocksPort and HiddenServicePort. Closes ticket 14451.
  11527. - New "GETINFO bw-event-cache" to get information about recent
  11528. bandwidth events. Closes ticket 14128. Useful for controllers to
  11529. get recent bandwidth history after the fix for ticket 13988.
  11530. o Minor features (Denial of service resistance):
  11531. - Count the total number of bytes used storing hidden service
  11532. descriptors against the value of MaxMemInQueues. If we're low on
  11533. memory, and more than 20% of our memory is used holding hidden
  11534. service descriptors, free them until no more than 10% of our
  11535. memory holds hidden service descriptors. Free the least recently
  11536. fetched descriptors first. Resolves ticket 13806.
  11537. - When we have recently been under memory pressure (over 3/4 of
  11538. MaxMemInQueues is allocated), then allocate smaller zlib objects
  11539. for small requests. Closes ticket 11791.
  11540. o Minor features (geoip):
  11541. - Update geoip and geoip6 files to the January 7 2015 Maxmind
  11542. GeoLite2 Country database.
  11543. o Minor features (guard nodes):
  11544. - Reduce the time delay before saving guard status to disk from 10
  11545. minutes to 30 seconds (or from one hour to 10 minutes if
  11546. AvoidDiskWrites is set). Closes ticket 12485.
  11547. o Minor features (hidden service):
  11548. - Make Sybil attacks against hidden services harder by changing the
  11549. minimum time required to get the HSDir flag from 25 hours up to 96
  11550. hours. Addresses ticket 14149.
  11551. - New option "HiddenServiceAllowUnknownPorts" to allow hidden
  11552. services to disable the anti-scanning feature introduced in
  11553. 0.2.6.2-alpha. With this option not set, a connection to an
  11554. unlisted port closes the circuit. With this option set, only a
  11555. RELAY_DONE cell is sent. Closes ticket 14084.
  11556. o Minor features (interface):
  11557. - Implement "-f -" command-line option to read torrc configuration
  11558. from standard input, if you don't want to store the torrc file in
  11559. the file system. Implements feature 13865.
  11560. o Minor features (logging):
  11561. - Add a count of unique clients to the bridge heartbeat message.
  11562. Resolves ticket 6852.
  11563. - Suppress "router info incompatible with extra info" message when
  11564. reading extrainfo documents from cache. (This message got loud
  11565. around when we closed bug 9812 in 0.2.6.2-alpha.) Closes
  11566. ticket 13762.
  11567. - Elevate hidden service authorized-client message from DEBUG to
  11568. INFO. Closes ticket 14015.
  11569. o Minor features (stability):
  11570. - Add assertions in our hash-table iteration code to check for
  11571. corrupted values that could cause infinite loops. Closes
  11572. ticket 11737.
  11573. o Minor features (systemd):
  11574. - Various improvements and modernizations in systemd hardening
  11575. support. Closes ticket 13805. Patch from Craig Andrews.
  11576. o Minor features (testing networks):
  11577. - Drop the minimum RendPostPeriod on a testing network to 5 seconds,
  11578. and the default on a testing network to 2 minutes. Drop the
  11579. MIN_REND_INITIAL_POST_DELAY on a testing network to 5 seconds, but
  11580. keep the default on a testing network at 30 seconds. This reduces
  11581. HS bootstrap time to around 25 seconds. Also, change the default
  11582. time in test-network.sh to match. Closes ticket 13401. Patch
  11583. by "teor".
  11584. - Create TestingDirAuthVoteHSDir to correspond to
  11585. TestingDirAuthVoteExit/Guard. Ensures that authorities vote the
  11586. HSDir flag for the listed relays regardless of uptime or ORPort
  11587. connectivity. Respects the value of VoteOnHidServDirectoriesV2.
  11588. Partial implementation for ticket 14067. Patch by "teor".
  11589. o Minor features (tor2web mode):
  11590. - Introduce the config option Tor2webRendezvousPoints, which allows
  11591. clients in Tor2webMode to select a specific Rendezvous Point to be
  11592. used in HS circuits. This might allow better performance for
  11593. Tor2Web nodes. Implements ticket 12844.
  11594. o Minor bugfixes (client DNS):
  11595. - Report the correct cached DNS expiration times on SOCKS port or in
  11596. DNS replies. Previously, we would report everything as "never
  11597. expires." Fixes bug 14193; bugfix on 0.2.3.17-beta.
  11598. - Avoid a small memory leak when we find a cached answer for a
  11599. reverse DNS lookup in a client-side DNS cache. (Remember, client-
  11600. side DNS caching is off by default, and is not recommended.) Fixes
  11601. bug 14259; bugfix on 0.2.0.1-alpha.
  11602. o Minor bugfixes (client, automapping):
  11603. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  11604. no value follows the option. Fixes bug 14142; bugfix on
  11605. 0.2.4.7-alpha. Patch by "teor".
  11606. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  11607. 14195; bugfix on 0.1.0.1-rc.
  11608. - Prevent changes to other options from removing the wildcard value
  11609. "." from "AutomapHostsSuffixes". Fixes bug 12509; bugfix
  11610. on 0.2.0.1-alpha.
  11611. - Allow MapAddress and AutomapHostsOnResolve to work together when
  11612. an address is mapped into another address type (like .onion) that
  11613. must be automapped at resolve time. Fixes bug 7555; bugfix
  11614. on 0.2.0.1-alpha.
  11615. o Minor bugfixes (client, bridges):
  11616. - When we are using bridges and we had a network connectivity
  11617. problem, only retry connecting to our currently configured
  11618. bridges, not all bridges we know about and remember using. Fixes
  11619. bug 14216; bugfix on 0.2.2.17-alpha.
  11620. o Minor bugfixes (client, IPv6):
  11621. - Reject socks requests to literal IPv6 addresses when IPv6Traffic
  11622. flag is not set; and not because the NoIPv4Traffic flag was set.
  11623. Previously we'd looked at the NoIPv4Traffic flag for both types of
  11624. literal addresses. Fixes bug 14280; bugfix on 0.2.4.7-alpha.
  11625. o Minor bugfixes (compilation):
  11626. - The address of an array in the middle of a structure will always
  11627. be non-NULL. clang recognises this and complains. Disable the
  11628. tautologous and redundant check to silence this warning. Fixes bug
  11629. 14001; bugfix on 0.2.1.2-alpha.
  11630. - Avoid warnings when building with systemd 209 or later. Fixes bug
  11631. 14072; bugfix on 0.2.6.2-alpha. Patch from "h.venev".
  11632. - Compile correctly with (unreleased) OpenSSL 1.1.0 headers.
  11633. Addresses ticket 14188.
  11634. - Build without warnings with the stock OpenSSL srtp.h header, which
  11635. has a duplicate declaration of SSL_get_selected_srtp_profile().
  11636. Fixes bug 14220; this is OpenSSL's bug, not ours.
  11637. - Do not compile any code related to Tor2Web mode when Tor2Web mode
  11638. is not enabled at compile time. Previously, this code was included
  11639. in a disabled state. See discussion on ticket 12844.
  11640. - Remove the --disable-threads configure option again. It was
  11641. accidentally partially reintroduced in 29ac883606d6d. Fixes bug
  11642. 14819; bugfix on 0.2.6.2-alpha.
  11643. o Minor bugfixes (controller):
  11644. - Report "down" in response to the "GETINFO entry-guards" command
  11645. when relays are down with an unreachable_since value. Previously,
  11646. we would report "up". Fixes bug 14184; bugfix on 0.1.2.2-alpha.
  11647. - Avoid crashing on a malformed EXTENDCIRCUIT command. Fixes bug
  11648. 14116; bugfix on 0.2.2.9-alpha.
  11649. - Add a code for the END_CIRC_REASON_IP_NOW_REDUNDANT circuit close
  11650. reason. Fixes bug 14207; bugfix on 0.2.6.2-alpha.
  11651. o Minor bugfixes (directory authority):
  11652. - Allow directory authorities to fetch more data from one another if
  11653. they find themselves missing lots of votes. Previously, they had
  11654. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  11655. bugfix on 0.1.2.5-alpha.
  11656. - Do not attempt to download extrainfo documents which we will be
  11657. unable to validate with a matching server descriptor. Fixes bug
  11658. 13762; bugfix on 0.2.0.1-alpha.
  11659. - Fix a bug that was truncating AUTHDIR_NEWDESC events sent to the
  11660. control port. Fixes bug 14953; bugfix on 0.2.0.1-alpha.
  11661. - Enlarge the buffer to read bwauth generated files to avoid an
  11662. issue when parsing the file in dirserv_read_measured_bandwidths().
  11663. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  11664. o Minor bugfixes (file handling):
  11665. - Stop failing when key files are zero-length. Instead, generate new
  11666. keys, and overwrite the empty key files. Fixes bug 13111; bugfix
  11667. on all versions of Tor. Patch by "teor".
  11668. - Stop generating a fresh .old RSA onion key file when the .old file
  11669. is missing. Fixes part of 13111; bugfix on 0.0.6rc1.
  11670. - Avoid overwriting .old key files with empty key files.
  11671. - Skip loading zero-length extrainfo store, router store, stats,
  11672. state, and key files.
  11673. - Avoid crashing when trying to reload a torrc specified as a
  11674. relative path with RunAsDaemon turned on. Fixes bug 13397; bugfix
  11675. on 0.2.3.11-alpha.
  11676. o Minor bugfixes (hidden services):
  11677. - Close the introduction circuit when we have no more usable intro
  11678. points, instead of waiting for it to time out. This also ensures
  11679. that no follow-up HS descriptor fetch is triggered when the
  11680. circuit eventually times out. Fixes bug 14224; bugfix on 0.0.6.
  11681. - When fetching a hidden service descriptor for a down service that
  11682. was recently up, do not keep refetching until we try the same
  11683. replica twice in a row. Fixes bug 14219; bugfix on 0.2.0.10-alpha.
  11684. - Successfully launch Tor with a nonexistent hidden service
  11685. directory. Our fix for bug 13942 didn't catch this case. Fixes bug
  11686. 14106; bugfix on 0.2.6.2-alpha.
  11687. o Minor bugfixes (logging):
  11688. - Avoid crashing when there are more log domains than entries in
  11689. domain_list. Bugfix on 0.2.3.1-alpha.
  11690. - Add a string representation for LD_SCHED. Fixes bug 14740; bugfix
  11691. on 0.2.6.1-alpha.
  11692. - Don't log messages to stdout twice when starting up. Fixes bug
  11693. 13993; bugfix on 0.2.6.1-alpha.
  11694. o Minor bugfixes (parsing):
  11695. - Stop accepting milliseconds (or other junk) at the end of
  11696. descriptor publication times. Fixes bug 9286; bugfix on 0.0.2pre25.
  11697. - Support two-number and three-number version numbers correctly, in
  11698. case we change the Tor versioning system in the future. Fixes bug
  11699. 13661; bugfix on 0.0.8pre1.
  11700. o Minor bugfixes (path counting):
  11701. - When deciding whether the consensus lists any exit nodes, count
  11702. the number listed in the consensus, not the number we have
  11703. descriptors for. Fixes part of bug 14918; bugfix on 0.2.6.2-alpha.
  11704. - When deciding whether we have any exit nodes, only examine
  11705. ExitNodes when the ExitNodes option is actually set. Fixes part of
  11706. bug 14918; bugfix on 0.2.6.2-alpha.
  11707. - Get rid of redundant and possibly scary warnings that we are
  11708. missing directory information while we bootstrap. Fixes part of
  11709. bug 14918; bugfix on 0.2.6.2-alpha.
  11710. o Minor bugfixes (portability):
  11711. - Fix the ioctl()-based network interface lookup code so that it
  11712. will work on systems that have variable-length struct ifreq, for
  11713. example Mac OS X.
  11714. - Fix scheduler compilation on targets where char is unsigned. Fixes
  11715. bug 14764; bugfix on 0.2.6.2-alpha. Reported by Christian Kujau.
  11716. o Minor bugfixes (sandbox):
  11717. - Allow glibc fatal errors to be sent to stderr before Tor exits.
  11718. Previously, glibc would try to write them to /dev/tty, and the
  11719. sandbox would trap the call and make Tor exit prematurely. Fixes
  11720. bug 14759; bugfix on 0.2.5.1-alpha.
  11721. o Minor bugfixes (shutdown):
  11722. - When shutting down, always call event_del() on lingering read or
  11723. write events before freeing them. Otherwise, we risk double-frees
  11724. or read-after-frees in event_base_free(). Fixes bug 12985; bugfix
  11725. on 0.1.0.2-rc.
  11726. o Minor bugfixes (small memory leaks):
  11727. - Avoid leaking memory when using IPv6 virtual address mappings.
  11728. Fixes bug 14123; bugfix on 0.2.4.7-alpha. Patch by Tom van
  11729. der Woerdt.
  11730. o Minor bugfixes (statistics):
  11731. - Increase period over which bandwidth observations are aggregated
  11732. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  11733. o Minor bugfixes (systemd support):
  11734. - Fix detection and operation of systemd watchdog. Fixes part of bug
  11735. 14141; bugfix on 0.2.6.2-alpha. Patch from Tomasz Torcz.
  11736. - Run correctly under systemd with the RunAsDaemon option set. Fixes
  11737. part of bug 14141; bugfix on 0.2.5.7-rc. Patch from Tomasz Torcz.
  11738. - Inform the systemd supervisor about more changes in the Tor
  11739. process status. Implements part of ticket 14141. Patch from
  11740. Tomasz Torcz.
  11741. - Cause the "--disable-systemd" option to actually disable systemd
  11742. support. Fixes bug 14350; bugfix on 0.2.6.2-alpha. Patch
  11743. from "blueness".
  11744. o Minor bugfixes (TLS):
  11745. - Check more thoroughly throughout the TLS code for possible
  11746. unlogged TLS errors. Possible diagnostic or fix for bug 13319.
  11747. o Minor bugfixes (transparent proxy):
  11748. - Use getsockname, not getsockopt, to retrieve the address for a
  11749. TPROXY-redirected connection. Fixes bug 13796; bugfix
  11750. on 0.2.5.2-alpha.
  11751. o Code simplification and refactoring:
  11752. - Move fields related to isolating and configuring client ports into
  11753. a shared structure. Previously, they were duplicated across
  11754. port_cfg_t, listener_connection_t, and edge_connection_t. Failure
  11755. to copy them correctly had been the cause of at least one bug in
  11756. the past. Closes ticket 8546.
  11757. - Refactor the get_interface_addresses_raw() doom-function into
  11758. multiple smaller and simpler subfunctions. Cover the resulting
  11759. subfunctions with unit-tests. Fixes a significant portion of
  11760. issue 12376.
  11761. - Remove workaround in dirserv_thinks_router_is_hs_dir() that was
  11762. only for version <= 0.2.2.24 which is now deprecated. Closes
  11763. ticket 14202.
  11764. - Remove a test for a long-defunct broken version-one
  11765. directory server.
  11766. o Documentation:
  11767. - Adding section on OpenBSD to our TUNING document. Thanks to mmcc
  11768. for writing the OpenBSD-specific tips. Resolves ticket 13702.
  11769. - Make the tor-resolve documentation match its help string and its
  11770. options. Resolves part of ticket 14325.
  11771. - Log a more useful error message from tor-resolve when failing to
  11772. look up a hidden service address. Resolves part of ticket 14325.
  11773. o Downgraded warnings:
  11774. - Don't warn when we've attempted to contact a relay using the wrong
  11775. ntor onion key. Closes ticket 9635.
  11776. o Removed features:
  11777. - To avoid confusion with the "ExitRelay" option, "ExitNode" is no
  11778. longer silently accepted as an alias for "ExitNodes".
  11779. - The --enable-mempool and --enable-buf-freelists options, which
  11780. were originally created to work around bad malloc implementations,
  11781. no longer exist. They were off-by-default in 0.2.5. Closes
  11782. ticket 14848.
  11783. o Testing:
  11784. - Make the checkdir/perms test complete successfully even if the
  11785. global umask is not 022. Fixes bug 14215; bugfix on 0.2.6.2-alpha.
  11786. - Test that tor does not fail when key files are zero-length. Check
  11787. that tor generates new keys, and overwrites the empty key files.
  11788. - Test that tor generates new keys when keys are missing
  11789. (existing behavior).
  11790. - Test that tor does not overwrite key files that already contain
  11791. data (existing behavior). Tests bug 13111. Patch by "teor".
  11792. - New "make test-stem" target to run stem integration tests.
  11793. Requires that the "STEM_SOURCE_DIR" environment variable be set.
  11794. Closes ticket 14107.
  11795. - Make the test_cmdline_args.py script work correctly on Windows.
  11796. Patch from Gisle Vanem.
  11797. - Move the slower unit tests into a new "./src/test/test-slow"
  11798. binary that can be run independently of the other tests. Closes
  11799. ticket 13243.
  11800. - Avoid undefined behavior when sampling huge values from the
  11801. Laplace distribution. This made unittests fail on Raspberry Pi.
  11802. Bug found by Device. Fixes bug 14090; bugfix on 0.2.6.2-alpha.
  11803. Changes in version 0.2.6.2-alpha - 2014-12-31
  11804. Tor 0.2.6.2-alpha is the second alpha release in the 0.2.6.x series.
  11805. It introduces a major new backend for deciding when to send cells on
  11806. channels, which should lead down the road to big performance
  11807. increases. It contains security and statistics features for better
  11808. work on hidden services, and numerous bugfixes.
  11809. This release contains many new unit tests, along with major
  11810. performance improvements for running testing networks using Chutney.
  11811. Thanks to a series of patches contributed by "teor", testing networks
  11812. should now bootstrap in seconds, rather than minutes.
  11813. o Major features (relay, infrastructure):
  11814. - Complete revision of the code that relays use to decide which cell
  11815. to send next. Formerly, we selected the best circuit to write on
  11816. each channel, but we didn't select among channels in any
  11817. sophisticated way. Now, we choose the best circuits globally from
  11818. among those whose channels are ready to deliver traffic.
  11819. This patch implements a new inter-cmux comparison API, a global
  11820. high/low watermark mechanism and a global scheduler loop for
  11821. transmission prioritization across all channels as well as among
  11822. circuits on one channel. This schedule is currently tuned to
  11823. (tolerantly) avoid making changes in network performance, but it
  11824. should form the basis for major circuit performance increases in
  11825. the future. Code by Andrea; tuning by Rob Jansen; implements
  11826. ticket 9262.
  11827. o Major features (hidden services):
  11828. - Make HS port scanning more difficult by immediately closing the
  11829. circuit when a user attempts to connect to a nonexistent port.
  11830. Closes ticket 13667.
  11831. - Add a HiddenServiceStatistics option that allows Tor relays to
  11832. gather and publish statistics about the overall size and volume of
  11833. hidden service usage. Specifically, when this option is turned on,
  11834. an HSDir will publish an approximate number of hidden services
  11835. that have published descriptors to it the past 24 hours. Also, if
  11836. a relay has acted as a hidden service rendezvous point, it will
  11837. publish the approximate amount of rendezvous cells it has relayed
  11838. the past 24 hours. The statistics themselves are obfuscated so
  11839. that the exact values cannot be derived. For more details see
  11840. proposal 238, "Better hidden service stats from Tor relays". This
  11841. feature is currently disabled by default. Implements feature 13192.
  11842. o Major bugfixes (client, automap):
  11843. - Repair automapping with IPv6 addresses. This automapping should
  11844. have worked previously, but one piece of debugging code that we
  11845. inserted to detect a regression actually caused the regression to
  11846. manifest itself again. Fixes bug 13811 and bug 12831; bugfix on
  11847. 0.2.4.7-alpha. Diagnosed and fixed by Francisco Blas
  11848. Izquierdo Riera.
  11849. o Major bugfixes (hidden services):
  11850. - When closing an introduction circuit that was opened in parallel
  11851. with others, don't mark the introduction point as unreachable.
  11852. Previously, the first successful connection to an introduction
  11853. point would make the other introduction points get marked as
  11854. having timed out. Fixes bug 13698; bugfix on 0.0.6rc2.
  11855. o Directory authority changes:
  11856. - Remove turtles as a directory authority.
  11857. - Add longclaw as a new (v3) directory authority. This implements
  11858. ticket 13296. This keeps the directory authority count at 9.
  11859. o Major removed features:
  11860. - Tor clients no longer support connecting to hidden services
  11861. running on Tor 0.2.2.x and earlier; the Support022HiddenServices
  11862. option has been removed. (There shouldn't be any hidden services
  11863. running these versions on the network.) Closes ticket 7803.
  11864. o Minor features (client):
  11865. - Validate hostnames in SOCKS5 requests more strictly. If SafeSocks
  11866. is enabled, reject requests with IP addresses as hostnames.
  11867. Resolves ticket 13315.
  11868. o Minor features (controller):
  11869. - Add a "SIGNAL HEARTBEAT" controller command that tells Tor to
  11870. write an unscheduled heartbeat message to the log. Implements
  11871. feature 9503.
  11872. o Minor features (geoip):
  11873. - Update geoip and geoip6 to the November 15 2014 Maxmind GeoLite2
  11874. Country database.
  11875. o Minor features (hidden services):
  11876. - When re-enabling the network, don't try to build introduction
  11877. circuits until we have successfully built a circuit. This makes
  11878. hidden services come up faster when the network is re-enabled.
  11879. Patch from "akwizgran". Closes ticket 13447.
  11880. - When we fail to retrieve a hidden service descriptor, send the
  11881. controller an "HS_DESC FAILED" controller event. Implements
  11882. feature 13212.
  11883. - New HiddenServiceDirGroupReadable option to cause hidden service
  11884. directories and hostname files to be created group-readable. Patch
  11885. from "anon", David Stainton, and "meejah". Closes ticket 11291.
  11886. o Minor features (systemd):
  11887. - Where supported, when running with systemd, report successful
  11888. startup to systemd. Part of ticket 11016. Patch by Michael Scherer.
  11889. - When running with systemd, support systemd watchdog messages. Part
  11890. of ticket 11016. Patch by Michael Scherer.
  11891. o Minor features (transparent proxy):
  11892. - Update the transparent proxy option checks to allow for both ipfw
  11893. and pf on OS X. Closes ticket 14002.
  11894. - Use the correct option when using IPv6 with transparent proxy
  11895. support on Linux. Resolves 13808. Patch by Francisco Blas
  11896. Izquierdo Riera.
  11897. o Minor bugfixes (preventative security, C safety):
  11898. - When reading a hexadecimal, base-32, or base-64 encoded value from
  11899. a string, always overwrite the whole output buffer. This prevents
  11900. some bugs where we would look at (but fortunately, not reveal)
  11901. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  11902. versions of Tor.
  11903. - Clear all memory targeted by tor_addr_{to,from}_sockaddr(), not
  11904. just the part that's used. This makes it harder for data leak bugs
  11905. to occur in the event of other programming failures. Resolves
  11906. ticket 14041.
  11907. o Minor bugfixes (client, microdescriptors):
  11908. - Use a full 256 bits of the SHA256 digest of a microdescriptor when
  11909. computing which microdescriptors to download. This keeps us from
  11910. erroneous download behavior if two microdescriptor digests ever
  11911. have the same first 160 bits. Fixes part of bug 13399; bugfix
  11912. on 0.2.3.1-alpha.
  11913. - Reset a router's status if its microdescriptor digest changes,
  11914. even if the first 160 bits remain the same. Fixes part of bug
  11915. 13399; bugfix on 0.2.3.1-alpha.
  11916. o Minor bugfixes (compilation):
  11917. - Silence clang warnings under --enable-expensive-hardening,
  11918. including implicit truncation of 64 bit values to 32 bit, const
  11919. char assignment to self, tautological compare, and additional
  11920. parentheses around equality tests. Fixes bug 13577; bugfix
  11921. on 0.2.5.4-alpha.
  11922. - Fix a clang warning about checking whether an address in the
  11923. middle of a structure is NULL. Fixes bug 14001; bugfix
  11924. on 0.2.1.2-alpha.
  11925. o Minor bugfixes (hidden services):
  11926. - Correctly send a controller event when we find that a rendezvous
  11927. circuit has finished. Fixes bug 13936; bugfix on 0.1.1.5-alpha.
  11928. - Pre-check directory permissions for new hidden-services to avoid
  11929. at least one case of "Bug: Acting on config options left us in a
  11930. broken state. Dying." Fixes bug 13942; bugfix on 0.0.6pre1.
  11931. - When adding a new hidden service (for example, via SETCONF), Tor
  11932. no longer congratulates the user for running a relay. Fixes bug
  11933. 13941; bugfix on 0.2.6.1-alpha.
  11934. - When fetching hidden service descriptors, we now check not only
  11935. for whether we got the hidden service we had in mind, but also
  11936. whether we got the particular descriptors we wanted. This prevents
  11937. a class of inefficient but annoying DoS attacks by hidden service
  11938. directories. Fixes bug 13214; bugfix on 0.2.1.6-alpha. Reported
  11939. by "special".
  11940. o Minor bugfixes (Linux seccomp2 sandbox):
  11941. - Make transparent proxy support work along with the seccomp2
  11942. sandbox. Fixes part of bug 13808; bugfix on 0.2.5.1-alpha. Patch
  11943. by Francisco Blas Izquierdo Riera.
  11944. - Fix a memory leak in tor-resolve when running with the sandbox
  11945. enabled. Fixes bug 14050; bugfix on 0.2.5.9-rc.
  11946. o Minor bugfixes (logging):
  11947. - Downgrade warnings about RSA signature failures to info log level.
  11948. Emit a warning when an extra info document is found incompatible
  11949. with a corresponding router descriptor. Fixes bug 9812; bugfix
  11950. on 0.0.6rc3.
  11951. - Make connection_ap_handshake_attach_circuit() log the circuit ID
  11952. correctly. Fixes bug 13701; bugfix on 0.0.6.
  11953. o Minor bugfixes (misc):
  11954. - Stop allowing invalid address patterns like "*/24" that contain
  11955. both a wildcard address and a bit prefix length. This affects all
  11956. our address-range parsing code. Fixes bug 7484; bugfix
  11957. on 0.0.2pre14.
  11958. o Minor bugfixes (testing networks, fast startup):
  11959. - Allow Tor to build circuits using a consensus with no exits. If
  11960. the consensus has no exits (typical of a bootstrapping test
  11961. network), allow Tor to build circuits once enough descriptors have
  11962. been downloaded. This assists in bootstrapping a testing Tor
  11963. network. Fixes bug 13718; bugfix on 0.2.4.10-alpha. Patch
  11964. by "teor".
  11965. - When V3AuthVotingInterval is low, give a lower If-Modified-Since
  11966. header to directory servers. This allows us to obtain consensuses
  11967. promptly when the consensus interval is very short. This assists
  11968. in bootstrapping a testing Tor network. Fixes parts of bugs 13718
  11969. and 13963; bugfix on 0.2.0.3-alpha. Patch by "teor".
  11970. - Stop assuming that private addresses are local when checking
  11971. reachability in a TestingTorNetwork. Instead, when testing, assume
  11972. all OR connections are remote. (This is necessary due to many test
  11973. scenarios running all relays on localhost.) This assists in
  11974. bootstrapping a testing Tor network. Fixes bug 13924; bugfix on
  11975. 0.1.0.1-rc. Patch by "teor".
  11976. - Avoid building exit circuits from a consensus with no exits. Now
  11977. thanks to our fix for 13718, we accept a no-exit network as not
  11978. wholly lost, but we need to remember not to try to build exit
  11979. circuits on it. Closes ticket 13814; patch by "teor".
  11980. - Stop requiring exits to have non-zero bandwithcapacity in a
  11981. TestingTorNetwork. Instead, when TestingMinExitFlagThreshold is 0,
  11982. ignore exit bandwidthcapacity. This assists in bootstrapping a
  11983. testing Tor network. Fixes parts of bugs 13718 and 13839; bugfix
  11984. on 0.2.0.3-alpha. Patch by "teor".
  11985. - Add "internal" to some bootstrap statuses when no exits are
  11986. available. If the consensus does not contain Exits, Tor will only
  11987. build internal circuits. In this case, relevant statuses will
  11988. contain the word "internal" as indicated in the Tor control-
  11989. spec.txt. When bootstrap completes, Tor will be ready to build
  11990. internal circuits. If a future consensus contains Exits, exit
  11991. circuits may become available. Fixes part of bug 13718; bugfix on
  11992. 0.2.4.10-alpha. Patch by "teor".
  11993. - Decrease minimum consensus interval to 10 seconds when
  11994. TestingTorNetwork is set, or 5 seconds for the first consensus.
  11995. Fix assumptions throughout the code that assume larger intervals.
  11996. Fixes bugs 13718 and 13823; bugfix on 0.2.0.3-alpha. Patch
  11997. by "teor".
  11998. - Avoid excluding guards from path building in minimal test
  11999. networks, when we're in a test network and excluding guards would
  12000. exclude all relays. This typically occurs in incredibly small tor
  12001. networks, and those using "TestingAuthVoteGuard *". Fixes part of
  12002. bug 13718; bugfix on 0.1.1.11-alpha. Patch by "teor".
  12003. o Code simplification and refactoring:
  12004. - Stop using can_complete_circuits as a global variable; access it
  12005. with a function instead.
  12006. - Avoid using operators directly as macro arguments: this lets us
  12007. apply coccinelle transformations to our codebase more directly.
  12008. Closes ticket 13172.
  12009. - Combine the functions used to parse ClientTransportPlugin and
  12010. ServerTransportPlugin into a single function. Closes ticket 6456.
  12011. - Add inline functions and convenience macros for inspecting channel
  12012. state. Refactor the code to use convenience macros instead of
  12013. checking channel state directly. Fixes issue 7356.
  12014. - Document all members of was_router_added_t and rename
  12015. ROUTER_WAS_NOT_NEW to ROUTER_IS_ALREADY_KNOWN to make it less
  12016. confusable with ROUTER_WAS_TOO_OLD. Fixes issue 13644.
  12017. - In connection_exit_begin_conn(), use END_CIRC_REASON_TORPROTOCOL
  12018. constant instead of hardcoded value. Fixes issue 13840.
  12019. - Refactor our generic strmap and digestmap types into a single
  12020. implementation, so that we can add a new digest256map
  12021. type trivially.
  12022. o Documentation:
  12023. - Document the bridge-authority-only 'networkstatus-bridges' file.
  12024. Closes ticket 13713; patch from "tom".
  12025. - Fix typo in PredictedPortsRelevanceTime option description in
  12026. manpage. Resolves issue 13707.
  12027. - Stop suggesting that users specify relays by nickname: it isn't a
  12028. good idea. Also, properly cross-reference how to specify relays in
  12029. all parts of manual documenting options that take a list of
  12030. relays. Closes ticket 13381.
  12031. - Clarify the HiddenServiceDir option description in manpage to make
  12032. it clear that relative paths are taken with respect to the current
  12033. working directory. Also clarify that this behavior is not
  12034. guaranteed to remain indefinitely. Fixes issue 13913.
  12035. o Testing:
  12036. - New tests for many parts of channel, relay, and circuitmux
  12037. functionality. Code by Andrea; part of 9262.
  12038. - New tests for parse_transport_line(). Part of ticket 6456.
  12039. - In the unit tests, use chgrp() to change the group of the unit
  12040. test temporary directory to the current user, so that the sticky
  12041. bit doesn't interfere with tests that check directory groups.
  12042. Closes 13678.
  12043. - Add unit tests for resolve_my_addr(). Part of ticket 12376; patch
  12044. by 'rl1987'.
  12045. Changes in version 0.2.6.1-alpha - 2014-10-30
  12046. Tor 0.2.6.1-alpha is the first release in the Tor 0.2.6.x series. It
  12047. includes numerous code cleanups and new tests, and fixes a large
  12048. number of annoying bugs. Out-of-memory conditions are handled better
  12049. than in 0.2.5, pluggable transports have improved proxy support, and
  12050. clients now use optimistic data for contacting hidden services. Also,
  12051. we are now more robust to changes in what we consider a parseable
  12052. directory object, so that tightening restrictions does not have a risk
  12053. of introducing infinite download loops.
  12054. This is the first alpha release in a new series, so expect there to be
  12055. bugs. Users who would rather test out a more stable branch should stay
  12056. with 0.2.5.x for now.
  12057. o New compiler and system requirements:
  12058. - Tor 0.2.6.x requires that your compiler support more of the C99
  12059. language standard than before. The 'configure' script now detects
  12060. whether your compiler supports C99 mid-block declarations and
  12061. designated initializers. If it does not, Tor will not compile.
  12062. We may revisit this requirement if it turns out that a significant
  12063. number of people need to build Tor with compilers that don't
  12064. bother implementing a 15-year-old standard. Closes ticket 13233.
  12065. - Tor no longer supports systems without threading support. When we
  12066. began working on Tor, there were several systems that didn't have
  12067. threads, or where the thread support wasn't able to run the
  12068. threads of a single process on multiple CPUs. That no longer
  12069. holds: every system where Tor needs to run well now has threading
  12070. support. Resolves ticket 12439.
  12071. o Removed platform support:
  12072. - We no longer include special code to build on Windows CE; as far
  12073. as we know, nobody has used Tor on Windows CE in a very long time.
  12074. Closes ticket 11446.
  12075. o Major features (bridges):
  12076. - Expose the outgoing upstream HTTP/SOCKS proxy to pluggable
  12077. transports if they are configured via the "TOR_PT_PROXY"
  12078. environment variable. Implements proposal 232. Resolves
  12079. ticket 8402.
  12080. o Major features (client performance, hidden services):
  12081. - Allow clients to use optimistic data when connecting to a hidden
  12082. service, which should remove a round-trip from hidden service
  12083. initialization. See proposal 181 for details. Implements
  12084. ticket 13211.
  12085. o Major features (directory system):
  12086. - Upon receiving an unparseable directory object, if its digest
  12087. matches what we expected, then don't try to download it again.
  12088. Previously, when we got a descriptor we didn't like, we would keep
  12089. trying to download it over and over. Closes ticket 11243.
  12090. o Major features (sample torrc):
  12091. - Add a new, infrequently-changed "torrc.minimal". This file is
  12092. similar to torrc.sample, but it will change as infrequently as
  12093. possible, for the benefit of users whose systems prompt them for
  12094. intervention whenever a default configuration file is changed.
  12095. Making this change allows us to update torrc.sample to be a more
  12096. generally useful "sample torrc".
  12097. o Major bugfixes (directory authorities):
  12098. - Do not assign the HSDir flag to relays if they are not Valid, or
  12099. currently hibernating. Fixes 12573; bugfix on 0.2.0.10-alpha.
  12100. o Major bugfixes (directory bandwidth performance):
  12101. - Don't flush the zlib buffer aggressively when compressing
  12102. directory information for clients. This should save about 7% of
  12103. the bandwidth currently used for compressed descriptors and
  12104. microdescriptors. Fixes bug 11787; bugfix on 0.1.1.23.
  12105. o Minor features (security, memory wiping):
  12106. - Ensure we securely wipe keys from memory after
  12107. crypto_digest_get_digest and init_curve25519_keypair_from_file
  12108. have finished using them. Resolves ticket 13477.
  12109. o Minor features (security, out-of-memory handling):
  12110. - When handling an out-of-memory condition, allocate less memory for
  12111. temporary data structures. Fixes issue 10115.
  12112. - When handling an out-of-memory condition, consider more types of
  12113. buffers, including those on directory connections, and zlib
  12114. buffers. Resolves ticket 11792.
  12115. o Minor features:
  12116. - When identity keypair is generated for first time, log a
  12117. congratulatory message that links to the new relay lifecycle
  12118. document. Implements feature 10427.
  12119. o Minor features (client):
  12120. - Clients are now willing to send optimistic data (before they
  12121. receive a 'connected' cell) to relays of any version. (Relays
  12122. without support for optimistic data are no longer supported on the
  12123. Tor network.) Resolves ticket 13153.
  12124. o Minor features (directory authorities):
  12125. - Don't list relays with a bandwidth estimate of 0 in the consensus.
  12126. Implements a feature proposed during discussion of bug 13000.
  12127. - In tor-gencert, report an error if the user provides the same
  12128. argument more than once.
  12129. - If a directory authority can't find a best consensus method in the
  12130. votes that it holds, it now falls back to its favorite consensus
  12131. method. Previously, it fell back to method 1. Neither of these is
  12132. likely to get enough signatures, but "fall back to favorite"
  12133. doesn't require us to maintain support an obsolete consensus
  12134. method. Implements part of proposal 215.
  12135. o Minor features (logging):
  12136. - On Unix-like systems, you can now use named pipes as the target of
  12137. the Log option, and other options that try to append to files.
  12138. Closes ticket 12061. Patch from "carlo von lynX".
  12139. - When opening a log file at startup, send it every log message that
  12140. we generated between startup and opening it. Previously, log
  12141. messages that were generated before opening the log file were only
  12142. logged to stdout. Closes ticket 6938.
  12143. - Add a TruncateLogFile option to overwrite logs instead of
  12144. appending to them. Closes ticket 5583.
  12145. o Minor features (portability, Solaris):
  12146. - Threads are no longer disabled by default on Solaris; we believe
  12147. that the versions of Solaris with broken threading support are all
  12148. obsolete by now. Resolves ticket 9495.
  12149. o Minor features (relay):
  12150. - Re-check our address after we detect a changed IP address from
  12151. getsockname(). This ensures that the controller command "GETINFO
  12152. address" will report the correct value. Resolves ticket 11582.
  12153. Patch from "ra".
  12154. - A new AccountingRule option lets Relays set whether they'd like
  12155. AccountingMax to be applied separately to inbound and outbound
  12156. traffic, or applied to the sum of inbound and outbound traffic.
  12157. Resolves ticket 961. Patch by "chobe".
  12158. o Minor features (testing networks):
  12159. - Add the TestingDirAuthVoteExit option, which lists nodes to assign
  12160. the "Exit" flag regardless of their uptime, bandwidth, or exit
  12161. policy. TestingTorNetwork must be set for this option to have any
  12162. effect. Previously, authorities would take up to 35 minutes to
  12163. give nodes the Exit flag in a test network. Partially implements
  12164. ticket 13161.
  12165. o Minor features (validation):
  12166. - Check all date/time values passed to tor_timegm and
  12167. parse_rfc1123_time for validity, taking leap years into account.
  12168. Improves HTTP header validation. Implemented with bug 13476.
  12169. - In correct_tm(), limit the range of values returned by system
  12170. localtime(_r) and gmtime(_r) to be between the years 1 and 8099.
  12171. This means we don't have to deal with negative or too large dates,
  12172. even if a clock is wrong. Otherwise we might fail to read a file
  12173. written by us which includes such a date. Fixes bug 13476.
  12174. o Minor bugfixes (bridge clients):
  12175. - When configured to use a bridge without an identity digest (not
  12176. recommended), avoid launching an extra channel to it when
  12177. bootstrapping. Fixes bug 7733; bugfix on 0.2.4.4-alpha.
  12178. o Minor bugfixes (bridges):
  12179. - When DisableNetwork is set, do not launch pluggable transport
  12180. plugins, and if any are running, terminate them. Fixes bug 13213;
  12181. bugfix on 0.2.3.6-alpha.
  12182. o Minor bugfixes (C correctness):
  12183. - Fix several instances of possible integer overflow/underflow/NaN.
  12184. Fixes bug 13104; bugfix on 0.2.3.1-alpha and later. Patches
  12185. from "teor".
  12186. - In circuit_build_times_calculate_timeout() in circuitstats.c,
  12187. avoid dividing by zero in the pareto calculations. This traps
  12188. under clang's "undefined-trap" sanitizer. Fixes bug 13290; bugfix
  12189. on 0.2.2.2-alpha.
  12190. - Fix an integer overflow in format_time_interval(). Fixes bug
  12191. 13393; bugfix on 0.2.0.10-alpha.
  12192. - Set the correct day of year value when the system's localtime(_r)
  12193. or gmtime(_r) functions fail to set struct tm. Not externally
  12194. visible. Fixes bug 13476; bugfix on 0.0.2pre14.
  12195. - Avoid unlikely signed integer overflow in tor_timegm on systems
  12196. with 32-bit time_t. Fixes bug 13476; bugfix on 0.0.2pre14.
  12197. o Minor bugfixes (client):
  12198. - Fix smartlist_choose_node_by_bandwidth() so that relays with the
  12199. BadExit flag are not considered worthy candidates. Fixes bug
  12200. 13066; bugfix on 0.1.2.3-alpha.
  12201. - Use the consensus schedule for downloading consensuses, and not
  12202. the generic schedule. Fixes bug 11679; bugfix on 0.2.2.6-alpha.
  12203. - Handle unsupported or malformed SOCKS5 requests properly by
  12204. responding with the appropriate error message before closing the
  12205. connection. Fixes bugs 12971 and 13314; bugfix on 0.0.2pre13.
  12206. o Minor bugfixes (client, torrc):
  12207. - Stop modifying the value of our DirReqStatistics torrc option just
  12208. because we're not a bridge or relay. This bug was causing Tor
  12209. Browser users to write "DirReqStatistics 0" in their torrc files
  12210. as if they had chosen to change the config. Fixes bug 4244; bugfix
  12211. on 0.2.3.1-alpha.
  12212. - When GeoIPExcludeUnknown is enabled, do not incorrectly decide
  12213. that our options have changed every time we SIGHUP. Fixes bug
  12214. 9801; bugfix on 0.2.4.10-alpha. Patch from "qwerty1".
  12215. o Minor bugfixes (controller):
  12216. - Return an error when the second or later arguments of the
  12217. "setevents" controller command are invalid events. Previously we
  12218. would return success while silently skipping invalid events. Fixes
  12219. bug 13205; bugfix on 0.2.3.2-alpha. Reported by "fpxnns".
  12220. o Minor bugfixes (directory system):
  12221. - Always believe that v3 directory authorities serve extra-info
  12222. documents, whether they advertise "caches-extra-info" or not.
  12223. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  12224. - When running as a v3 directory authority, advertise that you serve
  12225. extra-info documents so that clients who want them can find them
  12226. from you too. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  12227. - Check the BRIDGE_DIRINFO flag bitwise rather than using equality.
  12228. Previously, directories offering BRIDGE_DIRINFO and some other
  12229. flag (i.e. microdescriptors or extrainfo) would be ignored when
  12230. looking for bridges. Partially fixes bug 13163; bugfix
  12231. on 0.2.0.7-alpha.
  12232. o Minor bugfixes (networking):
  12233. - Check for orconns and use connection_or_close_for_error() rather
  12234. than connection_mark_for_close() directly in the getsockopt()
  12235. failure case of connection_handle_write_impl(). Fixes bug 11302;
  12236. bugfix on 0.2.4.4-alpha.
  12237. o Minor bugfixes (relay):
  12238. - When generating our family list, remove spaces from around the
  12239. entries. Fixes bug 12728; bugfix on 0.2.1.7-alpha.
  12240. - If our previous bandwidth estimate was 0 bytes, allow publishing a
  12241. new relay descriptor immediately. Fixes bug 13000; bugfix
  12242. on 0.1.1.6-alpha.
  12243. o Minor bugfixes (testing networks):
  12244. - Fix TestingDirAuthVoteGuard to properly give out Guard flags in a
  12245. testing network. Fixes bug 13064; bugfix on 0.2.5.2-alpha.
  12246. - Stop using the default authorities in networks which provide both
  12247. AlternateDirAuthority and AlternateBridgeAuthority. Partially
  12248. fixes bug 13163; bugfix on 0.2.0.13-alpha.
  12249. o Minor bugfixes (testing):
  12250. - Stop spawn test failures due to a race condition between the
  12251. SIGCHLD handler updating the process status, and the test reading
  12252. it. Fixes bug 13291; bugfix on 0.2.3.3-alpha.
  12253. o Minor bugfixes (testing, Windows):
  12254. - Avoid passing an extra backslash when creating a temporary
  12255. directory for running the unit tests on Windows. Fixes bug 12392;
  12256. bugfix on 0.2.2.25-alpha. Patch from Gisle Vanem.
  12257. o Minor bugfixes (windows):
  12258. - Remove code to special-case handling of NTE_BAD_KEYSET when
  12259. acquiring windows CryptoAPI context. This error can't actually
  12260. occur for the parameters we're providing. Fixes bug 10816; bugfix
  12261. on 0.0.2pre26.
  12262. o Minor bugfixes (zlib):
  12263. - Avoid truncating a zlib stream when trying to finalize it with an
  12264. empty output buffer. Fixes bug 11824; bugfix on 0.1.1.23.
  12265. o Build fixes:
  12266. - Allow our configure script to build correctly with autoconf 2.62
  12267. again. Fixes bug 12693; bugfix on 0.2.5.2-alpha.
  12268. - Improve the error message from ./configure to make it clear that
  12269. when asciidoc has not been found, the user will have to either add
  12270. --disable-asciidoc argument or install asciidoc. Resolves
  12271. ticket 13228.
  12272. o Code simplification and refactoring:
  12273. - Change the entry_is_live() function to take named bitfield
  12274. elements instead of an unnamed list of booleans. Closes
  12275. ticket 12202.
  12276. - Refactor and unit-test entry_is_time_to_retry() in entrynodes.c.
  12277. Resolves ticket 12205.
  12278. - Use calloc and reallocarray functions instead of multiply-
  12279. then-malloc. This makes it less likely for us to fall victim to an
  12280. integer overflow attack when allocating. Resolves ticket 12855.
  12281. - Use the standard macro name SIZE_MAX, instead of our
  12282. own SIZE_T_MAX.
  12283. - Document usage of the NO_DIRINFO and ALL_DIRINFO flags clearly in
  12284. functions which take them as arguments. Replace 0 with NO_DIRINFO
  12285. in a function call for clarity. Seeks to prevent future issues
  12286. like 13163.
  12287. - Avoid 4 null pointer errors under clang static analysis by using
  12288. tor_assert() to prove that the pointers aren't null. Fixes
  12289. bug 13284.
  12290. - Rework the API of policies_parse_exit_policy() to use a bitmask to
  12291. represent parsing options, instead of a confusing mess of
  12292. booleans. Resolves ticket 8197.
  12293. - Introduce a helper function to parse ExitPolicy in
  12294. or_options_t structure.
  12295. o Documentation:
  12296. - Add a doc/TUNING document with tips for handling large numbers of
  12297. TCP connections when running busy Tor relay. Update the warning
  12298. message to point to this file when running out of sockets
  12299. operating system is allowing to use simultaneously. Resolves
  12300. ticket 9708.
  12301. o Removed features:
  12302. - We no longer remind the user about configuration options that have
  12303. been obsolete since 0.2.3.x or earlier. Patch by Adrien Bak.
  12304. - Remove our old, non-weighted bandwidth-based node selection code.
  12305. Previously, we used it as a fallback when we couldn't perform
  12306. weighted bandwidth-based node selection. But that would only
  12307. happen in the cases where we had no consensus, or when we had a
  12308. consensus generated by buggy or ancient directory authorities. In
  12309. either case, it's better to use the more modern, better maintained
  12310. algorithm, with reasonable defaults for the weights. Closes
  12311. ticket 13126.
  12312. - Remove the --disable-curve25519 configure option. Relays and
  12313. clients now are required to support curve25519 and the
  12314. ntor handshake.
  12315. - The old "StrictEntryNodes" and "StrictExitNodes" options, which
  12316. used to be deprecated synonyms for "StrictNodes", are now marked
  12317. obsolete. Resolves ticket 12226.
  12318. - Clients don't understand the BadDirectory flag in the consensus
  12319. anymore, and ignore it.
  12320. o Testing:
  12321. - Refactor the function that chooses guard nodes so that it can more
  12322. easily be tested; write some tests for it.
  12323. - Fix and re-enable the fgets_eagain unit test. Fixes bug 12503;
  12324. bugfix on 0.2.3.1-alpha. Patch from "cypherpunks."
  12325. - Create unit tests for format_time_interval(). With bug 13393.
  12326. - Add unit tests for tor_timegm signed overflow, tor_timegm and
  12327. parse_rfc1123_time validity checks, correct_tm year clamping. Unit
  12328. tests (visible) fixes in bug 13476.
  12329. - Add a "coverage-html" make target to generate HTML-visualized
  12330. coverage results when building with --enable-coverage. (Requires
  12331. lcov.) Patch from Kevin Murray.
  12332. - Enable the backtrace handler (where supported) when running the
  12333. unit tests.
  12334. - Revise all unit tests that used the legacy test_* macros to
  12335. instead use the recommended tt_* macros. This patch was generated
  12336. with coccinelle, to avoid manual errors. Closes ticket 13119.
  12337. o Distribution (systemd):
  12338. - systemd unit file: only allow tor to write to /var/lib/tor and
  12339. /var/log/tor. The rest of the filesystem is accessible for reading
  12340. only. Patch by intrigeri; resolves ticket 12751.
  12341. - systemd unit file: ensure that the process and all its children
  12342. can never gain new privileges. Patch by intrigeri; resolves
  12343. ticket 12939.
  12344. - systemd unit file: set up /var/run/tor as writable for the Tor
  12345. service. Patch by intrigeri; resolves ticket 13196.
  12346. o Removed features (directory authorities):
  12347. - Remove code that prevented authorities from listing Tor relays
  12348. affected by CVE-2011-2769 as guards. These relays are already
  12349. rejected altogether due to the minimum version requirement of
  12350. 0.2.3.16-alpha. Closes ticket 13152.
  12351. - The "AuthDirRejectUnlisted" option no longer has any effect, as
  12352. the fingerprints file (approved-routers) has been deprecated.
  12353. - Directory authorities do not support being Naming dirauths anymore.
  12354. The "NamingAuthoritativeDir" config option is now obsolete.
  12355. - Directory authorities do not support giving out the BadDirectory
  12356. flag anymore.
  12357. - Directory authorities no longer advertise or support consensus
  12358. methods 1 through 12 inclusive. These consensus methods were
  12359. obsolete and/or insecure: maintaining the ability to support them
  12360. served no good purpose. Implements part of proposal 215; closes
  12361. ticket 10163.
  12362. o Testing (test-network.sh):
  12363. - Stop using "echo -n", as some shells' built-in echo doesn't
  12364. support "-n". Instead, use "/bin/echo -n". Partially fixes
  12365. bug 13161.
  12366. - Stop an apparent test-network hang when used with make -j2. Fixes
  12367. bug 13331.
  12368. - Add a --delay option to test-network.sh, which configures the
  12369. delay before the chutney network tests for data transmission.
  12370. Partially implements ticket 13161.
  12371. Changes in version 0.2.5.10 - 2014-10-24
  12372. Tor 0.2.5.10 is the first stable release in the 0.2.5 series.
  12373. It adds several new security features, including improved
  12374. denial-of-service resistance for relays, new compiler hardening
  12375. options, and a system-call sandbox for hardened installations on Linux
  12376. (requires seccomp2). The controller protocol has several new features,
  12377. resolving IPv6 addresses should work better than before, and relays
  12378. should be a little more CPU-efficient. We've added support for more
  12379. OpenBSD and FreeBSD transparent proxy types. We've improved the build
  12380. system and testing infrastructure to allow unit testing of more parts
  12381. of the Tor codebase. Finally, we've addressed several nagging pluggable
  12382. transport usability issues, and included numerous other small bugfixes
  12383. and features mentioned below.
  12384. This release marks end-of-life for Tor 0.2.3.x; those Tor versions
  12385. have accumulated many known flaws; everyone should upgrade.
  12386. o Deprecated versions:
  12387. - Tor 0.2.3.x has reached end-of-life; it has received no patches or
  12388. attention for some while.
  12389. Changes in version 0.2.5.9-rc - 2014-10-20
  12390. Tor 0.2.5.9-rc is the third release candidate for the Tor 0.2.5.x
  12391. series. It disables SSL3 in response to the recent "POODLE" attack
  12392. (even though POODLE does not affect Tor). It also works around a crash
  12393. bug caused by some operating systems' response to the "POODLE" attack
  12394. (which does affect Tor). It also contains a few miscellaneous fixes.
  12395. o Major security fixes:
  12396. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  12397. today support TLS 1.0 or later, so we can safely turn off support
  12398. for this old (and insecure) protocol. Fixes bug 13426.
  12399. o Major bugfixes (openssl bug workaround):
  12400. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  12401. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
  12402. 13471. This is a workaround for an OpenSSL bug.
  12403. o Minor bugfixes:
  12404. - Disable the sandbox name resolver cache when running tor-resolve:
  12405. tor-resolve doesn't use the sandbox code, and turning it on was
  12406. breaking attempts to do tor-resolve on a non-default server on
  12407. Linux. Fixes bug 13295; bugfix on 0.2.5.3-alpha.
  12408. o Compilation fixes:
  12409. - Build and run correctly on systems like OpenBSD-current that have
  12410. patched OpenSSL to remove get_cipher_by_char and/or its
  12411. implementations. Fixes issue 13325.
  12412. o Downgraded warnings:
  12413. - Downgrade the severity of the 'unexpected sendme cell from client'
  12414. from 'warn' to 'protocol warning'. Closes ticket 8093.
  12415. Changes in version 0.2.4.25 - 2014-10-20
  12416. Tor 0.2.4.25 disables SSL3 in response to the recent "POODLE" attack
  12417. (even though POODLE does not affect Tor). It also works around a crash
  12418. bug caused by some operating systems' response to the "POODLE" attack
  12419. (which does affect Tor).
  12420. o Major security fixes (also in 0.2.5.9-rc):
  12421. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  12422. today support TLS 1.0 or later, so we can safely turn off support
  12423. for this old (and insecure) protocol. Fixes bug 13426.
  12424. o Major bugfixes (openssl bug workaround, also in 0.2.5.9-rc):
  12425. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  12426. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
  12427. 13471. This is a workaround for an OpenSSL bug.
  12428. Changes in version 0.2.5.8-rc - 2014-09-22
  12429. Tor 0.2.5.8-rc is the second release candidate for the Tor 0.2.5.x
  12430. series. It fixes a bug that affects consistency and speed when
  12431. connecting to hidden services, and it updates the location of one of
  12432. the directory authorities.
  12433. o Major bugfixes:
  12434. - Clients now send the correct address for their chosen rendezvous
  12435. point when trying to access a hidden service. They used to send
  12436. the wrong address, which would still work some of the time because
  12437. they also sent the identity digest of the rendezvous point, and if
  12438. the hidden service happened to try connecting to the rendezvous
  12439. point from a relay that already had a connection open to it,
  12440. the relay would reuse that connection. Now connections to hidden
  12441. services should be more robust and faster. Also, this bug meant
  12442. that clients were leaking to the hidden service whether they were
  12443. on a little-endian (common) or big-endian (rare) system, which for
  12444. some users might have reduced their anonymity. Fixes bug 13151;
  12445. bugfix on 0.2.1.5-alpha.
  12446. o Directory authority changes:
  12447. - Change IP address for gabelmoo (v3 directory authority).
  12448. Changes in version 0.2.4.24 - 2014-09-22
  12449. Tor 0.2.4.24 fixes a bug that affects consistency and speed when
  12450. connecting to hidden services, and it updates the location of one of
  12451. the directory authorities.
  12452. o Major bugfixes:
  12453. - Clients now send the correct address for their chosen rendezvous
  12454. point when trying to access a hidden service. They used to send
  12455. the wrong address, which would still work some of the time because
  12456. they also sent the identity digest of the rendezvous point, and if
  12457. the hidden service happened to try connecting to the rendezvous
  12458. point from a relay that already had a connection open to it,
  12459. the relay would reuse that connection. Now connections to hidden
  12460. services should be more robust and faster. Also, this bug meant
  12461. that clients were leaking to the hidden service whether they were
  12462. on a little-endian (common) or big-endian (rare) system, which for
  12463. some users might have reduced their anonymity. Fixes bug 13151;
  12464. bugfix on 0.2.1.5-alpha.
  12465. o Directory authority changes:
  12466. - Change IP address for gabelmoo (v3 directory authority).
  12467. o Minor features (geoip):
  12468. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  12469. Country database.
  12470. Changes in version 0.2.5.7-rc - 2014-09-11
  12471. Tor 0.2.5.7-rc fixes several regressions from earlier in the 0.2.5.x
  12472. release series, and some long-standing bugs related to ORPort reachability
  12473. testing and failure to send CREATE cells. It is the first release
  12474. candidate for the Tor 0.2.5.x series.
  12475. o Major bugfixes (client, startup):
  12476. - Start making circuits as soon as DisabledNetwork is turned off.
  12477. When Tor started with DisabledNetwork set, it would correctly
  12478. conclude that it shouldn't build circuits, but it would mistakenly
  12479. cache this conclusion, and continue believing it even when
  12480. DisableNetwork is set to 0. Fixes the bug introduced by the fix
  12481. for bug 11200; bugfix on 0.2.5.4-alpha.
  12482. - Resume expanding abbreviations for command-line options. The fix
  12483. for bug 4647 accidentally removed our hack from bug 586 that
  12484. rewrote HashedControlPassword to __HashedControlSessionPassword
  12485. when it appears on the commandline (which allowed the user to set
  12486. her own HashedControlPassword in the torrc file while the
  12487. controller generates a fresh session password for each run). Fixes
  12488. bug 12948; bugfix on 0.2.5.1-alpha.
  12489. - Warn about attempts to run hidden services and relays in the same
  12490. process: that's probably not a good idea. Closes ticket 12908.
  12491. o Major bugfixes (relay):
  12492. - Avoid queuing or sending destroy cells for circuit ID zero when we
  12493. fail to send a CREATE cell. Fixes bug 12848; bugfix on 0.0.8pre1.
  12494. Found and fixed by "cypherpunks".
  12495. - Fix ORPort reachability detection on relays running behind a
  12496. proxy, by correctly updating the "local" mark on the controlling
  12497. channel when changing the address of an or_connection_t after the
  12498. handshake. Fixes bug 12160; bugfix on 0.2.4.4-alpha.
  12499. o Minor features (bridge):
  12500. - Add an ExtORPortCookieAuthFileGroupReadable option to make the
  12501. cookie file for the ExtORPort g+r by default.
  12502. o Minor features (geoip):
  12503. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  12504. Country database.
  12505. o Minor bugfixes (logging):
  12506. - Reduce the log severity of the "Pluggable transport proxy does not
  12507. provide any needed transports and will not be launched." message,
  12508. since Tor Browser includes several ClientTransportPlugin lines in
  12509. its torrc-defaults file, leading every Tor Browser user who looks
  12510. at her logs to see these notices and wonder if they're dangerous.
  12511. Resolves bug 13124; bugfix on 0.2.5.3-alpha.
  12512. - Downgrade "Unexpected onionskin length after decryption" warning
  12513. to a protocol-warn, since there's nothing relay operators can do
  12514. about a client that sends them a malformed create cell. Resolves
  12515. bug 12996; bugfix on 0.0.6rc1.
  12516. - Log more specific warnings when we get an ESTABLISH_RENDEZVOUS
  12517. cell on a cannibalized or non-OR circuit. Resolves ticket 12997.
  12518. - When logging information about an EXTEND2 or EXTENDED2 cell, log
  12519. their names correctly. Fixes part of bug 12700; bugfix
  12520. on 0.2.4.8-alpha.
  12521. - When logging information about a relay cell whose command we don't
  12522. recognize, log its command as an integer. Fixes part of bug 12700;
  12523. bugfix on 0.2.1.10-alpha.
  12524. - Escape all strings from the directory connection before logging
  12525. them. Fixes bug 13071; bugfix on 0.1.1.15. Patch from "teor".
  12526. o Minor bugfixes (controller):
  12527. - Restore the functionality of CookieAuthFileGroupReadable. Fixes
  12528. bug 12864; bugfix on 0.2.5.1-alpha.
  12529. - Actually send TRANSPORT_LAUNCHED and HS_DESC events to
  12530. controllers. Fixes bug 13085; bugfix on 0.2.5.1-alpha. Patch
  12531. by "teor".
  12532. o Minor bugfixes (compilation):
  12533. - Fix compilation of test.h with MSVC. Patch from Gisle Vanem;
  12534. bugfix on 0.2.5.5-alpha.
  12535. - Make the nmake make files work again. Fixes bug 13081. Bugfix on
  12536. 0.2.5.1-alpha. Patch from "NewEraCracker".
  12537. - In routerlist_assert_ok(), don't take the address of a
  12538. routerinfo's cache_info member unless that routerinfo is non-NULL.
  12539. Fixes bug 13096; bugfix on 0.1.1.9-alpha. Patch by "teor".
  12540. - Fix a large number of false positive warnings from the clang
  12541. analyzer static analysis tool. This should make real warnings
  12542. easier for clang analyzer to find. Patch from "teor". Closes
  12543. ticket 13036.
  12544. o Distribution (systemd):
  12545. - Verify configuration file via ExecStartPre in the systemd unit
  12546. file. Patch from intrigeri; resolves ticket 12730.
  12547. - Explicitly disable RunAsDaemon in the systemd unit file. Our
  12548. current systemd unit uses "Type = simple", so systemd does not
  12549. expect tor to fork. If the user has "RunAsDaemon 1" in their
  12550. torrc, then things won't work as expected. This is e.g. the case
  12551. on Debian (and derivatives), since there we pass "--defaults-torrc
  12552. /usr/share/tor/tor-service-defaults-torrc" (that contains
  12553. "RunAsDaemon 1") by default. Patch by intrigeri; resolves
  12554. ticket 12731.
  12555. o Documentation:
  12556. - Adjust the URLs in the README to refer to the new locations of
  12557. several documents on the website. Fixes bug 12830. Patch from
  12558. Matt Pagan.
  12559. - Document 'reject6' and 'accept6' ExitPolicy entries. Resolves
  12560. ticket 12878.
  12561. Changes in version 0.2.5.6-alpha - 2014-07-28
  12562. Tor 0.2.5.6-alpha brings us a big step closer to slowing down the
  12563. risk from guard rotation, and fixes a variety of other issues to get
  12564. us closer to a release candidate.
  12565. o Major features (also in 0.2.4.23):
  12566. - Make the number of entry guards configurable via a new
  12567. NumEntryGuards consensus parameter, and the number of directory
  12568. guards configurable via a new NumDirectoryGuards consensus
  12569. parameter. Implements ticket 12688.
  12570. o Major bugfixes (also in 0.2.4.23):
  12571. - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
  12572. implementation that caused incorrect results on 32-bit
  12573. implementations when certain malformed inputs were used along with
  12574. a small class of private ntor keys. This bug does not currently
  12575. appear to allow an attacker to learn private keys or impersonate a
  12576. Tor server, but it could provide a means to distinguish 32-bit Tor
  12577. implementations from 64-bit Tor implementations. Fixes bug 12694;
  12578. bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
  12579. Adam Langley.
  12580. o Major bugfixes:
  12581. - Perform circuit cleanup operations even when circuit
  12582. construction operations are disabled (because the network is
  12583. disabled, or because there isn't enough directory information).
  12584. Previously, when we were not building predictive circuits, we
  12585. were not closing expired circuits either. Fixes bug 8387; bugfix on
  12586. 0.1.1.11-alpha. This bug became visible in 0.2.4.10-alpha when we
  12587. became more strict about when we have "enough directory information
  12588. to build circuits".
  12589. o Minor features:
  12590. - Authorities now assign the Guard flag to the fastest 25% of the
  12591. network (it used to be the fastest 50%). Also raise the consensus
  12592. weight that guarantees the Guard flag from 250 to 2000. For the
  12593. current network, this results in about 1100 guards, down from 2500.
  12594. This step paves the way for moving the number of entry guards
  12595. down to 1 (proposal 236) while still providing reasonable expected
  12596. performance for most users. Implements ticket 12690.
  12597. - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
  12598. Country database.
  12599. - Slightly enhance the diagnostic message for bug 12184.
  12600. o Minor bugfixes (also in 0.2.4.23):
  12601. - Warn and drop the circuit if we receive an inbound 'relay early'
  12602. cell. Those used to be normal to receive on hidden service circuits
  12603. due to bug 1038, but the buggy Tor versions are long gone from
  12604. the network so we can afford to resume watching for them. Resolves
  12605. the rest of bug 1038; bugfix on 0.2.1.19.
  12606. - Correct a confusing error message when trying to extend a circuit
  12607. via the control protocol but we don't know a descriptor or
  12608. microdescriptor for one of the specified relays. Fixes bug 12718;
  12609. bugfix on 0.2.3.1-alpha.
  12610. o Minor bugfixes:
  12611. - Fix compilation when building with bufferevents enabled. (This
  12612. configuration is still not expected to work, however.)
  12613. Fixes bugs 12438, 12474, 11578; bugfixes on 0.2.5.1-alpha and
  12614. 0.2.5.3-alpha. Patches from Anthony G. Basile and Sathyanarayanan
  12615. Gunasekaran.
  12616. - Compile correctly with builds and forks of OpenSSL (such as
  12617. LibreSSL) that disable compression. Fixes bug 12602; bugfix on
  12618. 0.2.1.1-alpha. Patch from "dhill".
  12619. Changes in version 0.2.4.23 - 2014-07-28
  12620. Tor 0.2.4.23 brings us a big step closer to slowing down the risk from
  12621. guard rotation, and also backports several important fixes from the
  12622. Tor 0.2.5 alpha release series.
  12623. o Major features:
  12624. - Clients now look at the "usecreatefast" consensus parameter to
  12625. decide whether to use CREATE_FAST or CREATE cells for the first hop
  12626. of their circuit. This approach can improve security on connections
  12627. where Tor's circuit handshake is stronger than the available TLS
  12628. connection security levels, but the tradeoff is more computational
  12629. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  12630. - Make the number of entry guards configurable via a new
  12631. NumEntryGuards consensus parameter, and the number of directory
  12632. guards configurable via a new NumDirectoryGuards consensus
  12633. parameter. Implements ticket 12688.
  12634. o Major bugfixes:
  12635. - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
  12636. implementation that caused incorrect results on 32-bit
  12637. implementations when certain malformed inputs were used along with
  12638. a small class of private ntor keys. This bug does not currently
  12639. appear to allow an attacker to learn private keys or impersonate a
  12640. Tor server, but it could provide a means to distinguish 32-bit Tor
  12641. implementations from 64-bit Tor implementations. Fixes bug 12694;
  12642. bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
  12643. Adam Langley.
  12644. o Minor bugfixes:
  12645. - Warn and drop the circuit if we receive an inbound 'relay early'
  12646. cell. Those used to be normal to receive on hidden service circuits
  12647. due to bug 1038, but the buggy Tor versions are long gone from
  12648. the network so we can afford to resume watching for them. Resolves
  12649. the rest of bug 1038; bugfix on 0.2.1.19.
  12650. - Correct a confusing error message when trying to extend a circuit
  12651. via the control protocol but we don't know a descriptor or
  12652. microdescriptor for one of the specified relays. Fixes bug 12718;
  12653. bugfix on 0.2.3.1-alpha.
  12654. - Avoid an illegal read from stack when initializing the TLS
  12655. module using a version of OpenSSL without all of the ciphers
  12656. used by the v2 link handshake. Fixes bug 12227; bugfix on
  12657. 0.2.4.8-alpha. Found by "starlight".
  12658. o Minor features:
  12659. - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
  12660. Country database.
  12661. Changes in version 0.2.5.5-alpha - 2014-06-18
  12662. Tor 0.2.5.5-alpha fixes a wide variety of remaining issues in the Tor
  12663. 0.2.5.x release series, including a couple of DoS issues, some
  12664. performance regressions, a large number of bugs affecting the Linux
  12665. seccomp2 sandbox code, and various other bugfixes. It also adds
  12666. diagnostic bugfixes for a few tricky issues that we're trying to
  12667. track down.
  12668. o Major features (security, traffic analysis resistance):
  12669. - Several major improvements to the algorithm used to decide when to
  12670. close TLS connections. Previous versions of Tor closed connections
  12671. at a fixed interval after the last time a non-padding cell was
  12672. sent over the connection, regardless of the target of the
  12673. connection. Now, we randomize the intervals by adding up to 50% of
  12674. their base value, we measure the length of time since connection
  12675. last had at least one circuit, and we allow connections to known
  12676. ORs to remain open a little longer (15 minutes instead of 3
  12677. minutes minimum). These changes should improve Tor's resistance
  12678. against some kinds of traffic analysis, and lower some overhead
  12679. from needlessly closed connections. Fixes ticket 6799.
  12680. Incidentally fixes ticket 12023; bugfix on 0.2.5.1-alpha.
  12681. o Major bugfixes (security, OOM, new since 0.2.5.4-alpha, also in 0.2.4.22):
  12682. - Fix a memory leak that could occur if a microdescriptor parse
  12683. fails during the tokenizing step. This bug could enable a memory
  12684. exhaustion attack by directory servers. Fixes bug 11649; bugfix
  12685. on 0.2.2.6-alpha.
  12686. o Major bugfixes (security, directory authorities):
  12687. - Directory authorities now include a digest of each relay's
  12688. identity key as a part of its microdescriptor.
  12689. This is a workaround for bug 11743 (reported by "cypherpunks"),
  12690. where Tor clients do not support receiving multiple
  12691. microdescriptors with the same SHA256 digest in the same
  12692. consensus. When clients receive a consensus like this, they only
  12693. use one of the relays. Without this fix, a hostile relay could
  12694. selectively disable some client use of target relays by
  12695. constructing a router descriptor with a different identity and the
  12696. same microdescriptor parameters and getting the authorities to
  12697. list it in a microdescriptor consensus. This fix prevents an
  12698. attacker from causing a microdescriptor collision, because the
  12699. router's identity is not forgeable.
  12700. o Major bugfixes (relay):
  12701. - Use a direct dirport connection when uploading non-anonymous
  12702. descriptors to the directory authorities. Previously, relays would
  12703. incorrectly use tunnel connections under a fairly wide variety of
  12704. circumstances. Fixes bug 11469; bugfix on 0.2.4.3-alpha.
  12705. - When a circuit accidentally has the same circuit ID for its
  12706. forward and reverse direction, correctly detect the direction of
  12707. cells using that circuit. Previously, this bug made roughly one
  12708. circuit in a million non-functional. Fixes bug 12195; this is a
  12709. bugfix on every version of Tor.
  12710. o Major bugfixes (client, pluggable transports):
  12711. - When managing pluggable transports, use OS notification facilities
  12712. to learn if they have crashed, and don't attempt to kill any
  12713. process that has already exited. Fixes bug 8746; bugfix
  12714. on 0.2.3.6-alpha.
  12715. o Minor features (diagnostic):
  12716. - When logging a warning because of bug 7164, additionally check the
  12717. hash table for consistency (as proposed on ticket 11737). This may
  12718. help diagnose bug 7164.
  12719. - When we log a heartbeat, log how many one-hop circuits we have
  12720. that are at least 30 minutes old, and log status information about
  12721. a few of them. This is an attempt to track down bug 8387.
  12722. - When encountering an unexpected CR while writing text to a file on
  12723. Windows, log the name of the file. Should help diagnosing
  12724. bug 11233.
  12725. - Give more specific warnings when a client notices that an onion
  12726. handshake has failed. Fixes ticket 9635.
  12727. - Add significant new logging code to attempt to diagnose bug 12184,
  12728. where relays seem to run out of available circuit IDs.
  12729. - Improve the diagnostic log message for bug 8387 even further to
  12730. try to improve our odds of figuring out why one-hop directory
  12731. circuits sometimes do not get closed.
  12732. o Minor features (security, memory management):
  12733. - Memory allocation tricks (mempools and buffer freelists) are now
  12734. disabled by default. You can turn them back on with
  12735. --enable-mempools and --enable-buf-freelists respectively. We're
  12736. disabling these features because malloc performance is good enough
  12737. on most platforms, and a similar feature in OpenSSL exacerbated
  12738. exploitation of the Heartbleed attack. Resolves ticket 11476.
  12739. o Minor features (security):
  12740. - Apply the secure SipHash-2-4 function to the hash table mapping
  12741. circuit IDs and channels to circuits. We missed this one when we
  12742. were converting all the other hash functions to use SipHash back
  12743. in 0.2.5.3-alpha. Resolves ticket 11750.
  12744. o Minor features (build):
  12745. - The configure script has a --disable-seccomp option to turn off
  12746. support for libseccomp on systems that have it, in case it (or
  12747. Tor's use of it) is broken. Resolves ticket 11628.
  12748. o Minor features (other):
  12749. - Update geoip and geoip6 to the June 4 2014 Maxmind GeoLite2
  12750. Country database.
  12751. o Minor bugfixes (security, new since 0.2.5.4-alpha, also in 0.2.4.22):
  12752. - When running a hidden service, do not allow TunneledDirConns 0;
  12753. this will keep the hidden service from running, and also
  12754. make it publish its descriptors directly over HTTP. Fixes bug 10849;
  12755. bugfix on 0.2.1.1-alpha.
  12756. o Minor bugfixes (performance):
  12757. - Avoid a bug where every successful connection made us recompute
  12758. the flag telling us whether we have sufficient information to
  12759. build circuits. Previously, we would forget our cached value
  12760. whenever we successfully opened a channel (or marked a router as
  12761. running or not running for any other reason), regardless of
  12762. whether we had previously believed the router to be running. This
  12763. forced us to run an expensive update operation far too often.
  12764. Fixes bug 12170; bugfix on 0.1.2.1-alpha.
  12765. - Avoid using tor_memeq() for checking relay cell integrity. This
  12766. removes a possible performance bottleneck. Fixes part of bug
  12767. 12169; bugfix on 0.2.1.31.
  12768. o Minor bugfixes (compilation):
  12769. - Fix compilation of test_status.c when building with MVSC. Bugfix
  12770. on 0.2.5.4-alpha. Patch from Gisle Vanem.
  12771. - Resolve GCC complaints on OpenBSD about discarding constness in
  12772. TO_{ORIGIN,OR}_CIRCUIT functions. Fixes part of bug 11633; bugfix
  12773. on 0.1.1.23. Patch from Dana Koch.
  12774. - Resolve clang complaints on OpenBSD with -Wshorten-64-to-32 due to
  12775. treatment of long and time_t as comparable types. Fixes part of
  12776. bug 11633. Patch from Dana Koch.
  12777. - Make Tor compile correctly with --disable-buf-freelists. Fixes bug
  12778. 11623; bugfix on 0.2.5.3-alpha.
  12779. - When deciding whether to build the 64-bit curve25519
  12780. implementation, detect platforms where we can compile 128-bit
  12781. arithmetic but cannot link it. Fixes bug 11729; bugfix on
  12782. 0.2.4.8-alpha. Patch from "conradev".
  12783. - Fix compilation when DNS_CACHE_DEBUG is enabled. Fixes bug 11761;
  12784. bugfix on 0.2.3.13-alpha. Found by "cypherpunks".
  12785. - Fix compilation with dmalloc. Fixes bug 11605; bugfix
  12786. on 0.2.4.10-alpha.
  12787. o Minor bugfixes (Directory server):
  12788. - When sending a compressed set of descriptors or microdescriptors,
  12789. make sure to finalize the zlib stream. Previously, we would write
  12790. all the compressed data, but if the last descriptor we wanted to
  12791. send was missing or too old, we would not mark the stream as
  12792. finished. This caused problems for decompression tools. Fixes bug
  12793. 11648; bugfix on 0.1.1.23.
  12794. o Minor bugfixes (Linux seccomp sandbox):
  12795. - Make the seccomp sandbox code compile under ARM Linux. Fixes bug
  12796. 11622; bugfix on 0.2.5.1-alpha.
  12797. - Avoid crashing when re-opening listener ports with the seccomp
  12798. sandbox active. Fixes bug 12115; bugfix on 0.2.5.1-alpha.
  12799. - Avoid crashing with the seccomp sandbox enabled along with
  12800. ConstrainedSockets. Fixes bug 12139; bugfix on 0.2.5.1-alpha.
  12801. - When we receive a SIGHUP with the sandbox enabled, correctly
  12802. support rotating our log files. Fixes bug 12032; bugfix
  12803. on 0.2.5.1-alpha.
  12804. - Avoid crash when running with sandboxing enabled and
  12805. DirReqStatistics not disabled. Fixes bug 12035; bugfix
  12806. on 0.2.5.1-alpha.
  12807. - Fix a "BUG" warning when trying to write bridge-stats files with
  12808. the Linux syscall sandbox filter enabled. Fixes bug 12041; bugfix
  12809. on 0.2.5.1-alpha.
  12810. - Prevent the sandbox from crashing on startup when run with the
  12811. --enable-expensive-hardening configuration option. Fixes bug
  12812. 11477; bugfix on 0.2.5.4-alpha.
  12813. - When running with DirPortFrontPage and sandboxing both enabled,
  12814. reload the DirPortFrontPage correctly when restarting. Fixes bug
  12815. 12028; bugfix on 0.2.5.1-alpha.
  12816. - Don't try to enable the sandbox when using the Tor binary to check
  12817. its configuration, hash a passphrase, or so on. Doing so was
  12818. crashing on startup for some users. Fixes bug 11609; bugfix
  12819. on 0.2.5.1-alpha.
  12820. - Avoid warnings when running with sandboxing and node statistics
  12821. enabled at the same time. Fixes part of 12064; bugfix on
  12822. 0.2.5.1-alpha. Patch from Michael Wolf.
  12823. - Avoid warnings when running with sandboxing enabled at the same
  12824. time as cookie authentication, hidden services, or directory
  12825. authority voting. Fixes part of 12064; bugfix on 0.2.5.1-alpha.
  12826. - Do not allow options that require calls to exec to be enabled
  12827. alongside the seccomp2 sandbox: they will inevitably crash. Fixes
  12828. bug 12043; bugfix on 0.2.5.1-alpha.
  12829. - Handle failures in getpwnam()/getpwuid() when running with the
  12830. User option set and the Linux syscall sandbox enabled. Fixes bug
  12831. 11946; bugfix on 0.2.5.1-alpha.
  12832. - Refactor the getaddrinfo workaround that the seccomp sandbox uses
  12833. to avoid calling getaddrinfo() after installing the sandbox
  12834. filters. Previously, it preloaded a cache with the IPv4 address
  12835. for our hostname, and nothing else. Now, it loads the cache with
  12836. every address that it used to initialize the Tor process. Fixes
  12837. bug 11970; bugfix on 0.2.5.1-alpha.
  12838. o Minor bugfixes (pluggable transports):
  12839. - Enable the ExtORPortCookieAuthFile option, to allow changing the
  12840. default location of the authentication token for the extended OR
  12841. Port as used by sever-side pluggable transports. We had
  12842. implemented this option before, but the code to make it settable
  12843. had been omitted. Fixes bug 11635; bugfix on 0.2.5.1-alpha.
  12844. - Avoid another 60-second delay when starting Tor in a pluggable-
  12845. transport-using configuration when we already have cached
  12846. descriptors for our bridges. Fixes bug 11965; bugfix
  12847. on 0.2.3.6-alpha.
  12848. o Minor bugfixes (client):
  12849. - Avoid "Tried to open a socket with DisableNetwork set" warnings
  12850. when starting a client with bridges configured and DisableNetwork
  12851. set. (Tor launcher starts Tor with DisableNetwork set the first
  12852. time it runs.) Fixes bug 10405; bugfix on 0.2.3.9-alpha.
  12853. o Minor bugfixes (testing):
  12854. - The Python parts of the test scripts now work on Python 3 as well
  12855. as Python 2, so systems where '/usr/bin/python' is Python 3 will
  12856. no longer have the tests break. Fixes bug 11608; bugfix
  12857. on 0.2.5.2-alpha.
  12858. - When looking for versions of python that we could run the tests
  12859. with, check for "python2.7" and "python3.3"; previously we were
  12860. only looking for "python", "python2", and "python3". Patch from
  12861. Dana Koch. Fixes bug 11632; bugfix on 0.2.5.2-alpha.
  12862. - Fix all valgrind warnings produced by the unit tests. There were
  12863. over a thousand memory leak warnings previously, mostly produced
  12864. by forgetting to free things in the unit test code. Fixes bug
  12865. 11618, bugfixes on many versions of Tor.
  12866. o Minor bugfixes (tor-fw-helper):
  12867. - Give a correct log message when tor-fw-helper fails to launch.
  12868. (Previously, we would say something like "tor-fw-helper sent us a
  12869. string we could not parse".) Fixes bug 9781; bugfix
  12870. on 0.2.4.2-alpha.
  12871. o Minor bugfixes (relay, threading):
  12872. - Check return code on spawn_func() in cpuworker code, so that we
  12873. don't think we've spawned a nonworking cpuworker and write junk to
  12874. it forever. Fix related to bug 4345; bugfix on all released Tor
  12875. versions. Found by "skruffy".
  12876. - Use a pthread_attr to make sure that spawn_func() cannot return an
  12877. error while at the same time launching a thread. Fix related to
  12878. bug 4345; bugfix on all released Tor versions. Reported
  12879. by "cypherpunks".
  12880. o Minor bugfixes (relay, oom prevention):
  12881. - Correctly detect the total available system memory. We tried to do
  12882. this in 0.2.5.4-alpha, but the code was set up to always return an
  12883. error value, even on success. Fixes bug 11805; bugfix
  12884. on 0.2.5.4-alpha.
  12885. o Minor bugfixes (relay, other):
  12886. - We now drop CREATE cells for already-existent circuit IDs and for
  12887. zero-valued circuit IDs, regardless of other factors that might
  12888. otherwise have called for DESTROY cells. Fixes bug 12191; bugfix
  12889. on 0.0.8pre1.
  12890. - Avoid an illegal read from stack when initializing the TLS module
  12891. using a version of OpenSSL without all of the ciphers used by the
  12892. v2 link handshake. Fixes bug 12227; bugfix on 0.2.4.8-alpha. Found
  12893. by "starlight".
  12894. - When rejecting DATA cells for stream_id zero, still count them
  12895. against the circuit's deliver window so that we don't fail to send
  12896. a SENDME. Fixes bug 11246; bugfix on 0.2.4.10-alpha.
  12897. o Minor bugfixes (logging):
  12898. - Fix a misformatted log message about delayed directory fetches.
  12899. Fixes bug 11654; bugfix on 0.2.5.3-alpha.
  12900. - Squelch a spurious LD_BUG message "No origin circuit for
  12901. successful SOCKS stream" in certain hidden service failure cases;
  12902. fixes bug 10616.
  12903. o Distribution:
  12904. - Include a tor.service file in contrib/dist for use with systemd.
  12905. Some distributions will be able to use this file unmodified;
  12906. others will need to tweak it, or write their own. Patch from Jamie
  12907. Nguyen; resolves ticket 8368.
  12908. o Documentation:
  12909. - Clean up several option names in the manpage to match their real
  12910. names, add the missing documentation for a couple of testing and
  12911. directory authority options, remove the documentation for a
  12912. V2-directory fetching option that no longer exists. Resolves
  12913. ticket 11634.
  12914. - Correct the documentation so that it lists the correct directory
  12915. for the stats files. (They are in a subdirectory called "stats",
  12916. not "status".)
  12917. - In the manpage, move more authority-only options into the
  12918. directory authority section so that operators of regular directory
  12919. caches don't get confused.
  12920. o Package cleanup:
  12921. - The contrib directory has been sorted and tidied. Before, it was
  12922. an unsorted dumping ground for useful and not-so-useful things.
  12923. Now, it is divided based on functionality, and the items which
  12924. seemed to be nonfunctional or useless have been removed. Resolves
  12925. ticket 8966; based on patches from "rl1987".
  12926. o Removed code:
  12927. - Remove /tor/dbg-stability.txt URL that was meant to help debug WFU
  12928. and MTBF calculations, but that nobody was using. Fixes ticket 11742.
  12929. - The TunnelDirConns and PreferTunnelledDirConns options no longer
  12930. exist; tunneled directory connections have been available since
  12931. 0.1.2.5-alpha, and turning them off is not a good idea. This is a
  12932. brute-force fix for 10849, where "TunnelDirConns 0" would break
  12933. hidden services.
  12934. Changes in version 0.2.4.22 - 2014-05-16
  12935. Tor 0.2.4.22 backports numerous high-priority fixes from the Tor 0.2.5
  12936. alpha release series. These include blocking all authority signing
  12937. keys that may have been affected by the OpenSSL "heartbleed" bug,
  12938. choosing a far more secure set of TLS ciphersuites by default, closing
  12939. a couple of memory leaks that could be used to run a target relay out
  12940. of RAM, and several others.
  12941. o Major features (security, backport from 0.2.5.4-alpha):
  12942. - Block authority signing keys that were used on authorities
  12943. vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
  12944. don't have any evidence that these keys _were_ compromised; we're
  12945. doing this to be prudent.) Resolves ticket 11464.
  12946. o Major bugfixes (security, OOM):
  12947. - Fix a memory leak that could occur if a microdescriptor parse
  12948. fails during the tokenizing step. This bug could enable a memory
  12949. exhaustion attack by directory servers. Fixes bug 11649; bugfix
  12950. on 0.2.2.6-alpha.
  12951. o Major bugfixes (TLS cipher selection, backport from 0.2.5.4-alpha):
  12952. - The relay ciphersuite list is now generated automatically based on
  12953. uniform criteria, and includes all OpenSSL ciphersuites with
  12954. acceptable strength and forward secrecy. Previously, we had left
  12955. some perfectly fine ciphersuites unsupported due to omission or
  12956. typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
  12957. 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
  12958. - Relays now trust themselves to have a better view than clients of
  12959. which TLS ciphersuites are better than others. (Thanks to bug
  12960. 11513, the relay list is now well-considered, whereas the client
  12961. list has been chosen mainly for anti-fingerprinting purposes.)
  12962. Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
  12963. CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
  12964. AES128. Resolves ticket 11528.
  12965. - Clients now try to advertise the same list of ciphersuites as
  12966. Firefox 28. This change enables selection of (fast) GCM
  12967. ciphersuites, disables some strange old ciphers, and stops
  12968. advertising the ECDH (not to be confused with ECDHE) ciphersuites.
  12969. Resolves ticket 11438.
  12970. o Minor bugfixes (configuration, security):
  12971. - When running a hidden service, do not allow TunneledDirConns 0:
  12972. trying to set that option together with a hidden service would
  12973. otherwise prevent the hidden service from running, and also make
  12974. it publish its descriptors directly over HTTP. Fixes bug 10849;
  12975. bugfix on 0.2.1.1-alpha.
  12976. o Minor bugfixes (controller, backport from 0.2.5.4-alpha):
  12977. - Avoid sending a garbage value to the controller when a circuit is
  12978. cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
  12979. o Minor bugfixes (exit relay, backport from 0.2.5.4-alpha):
  12980. - Stop leaking memory when we successfully resolve a PTR record.
  12981. Fixes bug 11437; bugfix on 0.2.4.7-alpha.
  12982. o Minor bugfixes (bridge client, backport from 0.2.5.4-alpha):
  12983. - Avoid 60-second delays in the bootstrapping process when Tor is
  12984. launching for a second time while using bridges. Fixes bug 9229;
  12985. bugfix on 0.2.0.3-alpha.
  12986. o Minor bugfixes (relays and bridges, backport from 0.2.5.4-alpha):
  12987. - Give the correct URL in the warning message when trying to run a
  12988. relay on an ancient version of Windows. Fixes bug 9393.
  12989. o Minor bugfixes (compilation):
  12990. - Fix a compilation error when compiling with --disable-curve25519.
  12991. Fixes bug 9700; bugfix on 0.2.4.17-rc.
  12992. o Minor bugfixes:
  12993. - Downgrade the warning severity for the the "md was still
  12994. referenced 1 node(s)" warning. Tor 0.2.5.4-alpha has better code
  12995. for trying to diagnose this bug, and the current warning in
  12996. earlier versions of tor achieves nothing useful. Addresses warning
  12997. from bug 7164.
  12998. o Minor features (log verbosity, backport from 0.2.5.4-alpha):
  12999. - When we run out of usable circuit IDs on a channel, log only one
  13000. warning for the whole channel, and describe how many circuits
  13001. there were on the channel. Fixes part of ticket 11553.
  13002. o Minor features (security, backport from 0.2.5.4-alpha):
  13003. - Decrease the lower limit of MaxMemInCellQueues to 256 MBytes (but
  13004. leave the default at 8GBytes), to better support Raspberry Pi
  13005. users. Fixes bug 9686; bugfix on 0.2.4.14-alpha.
  13006. o Documentation (backport from 0.2.5.4-alpha):
  13007. - Correctly document that we search for a system torrc file before
  13008. looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
  13009. 0.2.3.18-rc.
  13010. Changes in version 0.2.5.4-alpha - 2014-04-25
  13011. Tor 0.2.5.4-alpha includes several security and performance
  13012. improvements for clients and relays, including blacklisting authority
  13013. signing keys that were used while susceptible to the OpenSSL
  13014. "heartbleed" bug, fixing two expensive functions on busy relays,
  13015. improved TLS ciphersuite preference lists, support for run-time
  13016. hardening on compilers that support AddressSanitizer, and more work on
  13017. the Linux sandbox code.
  13018. There are also several usability fixes for clients (especially clients
  13019. that use bridges), two new TransPort protocols supported (one on
  13020. OpenBSD, one on FreeBSD), and various other bugfixes.
  13021. This release marks end-of-life for Tor 0.2.2.x; those Tor versions
  13022. have accumulated many known flaws; everyone should upgrade.
  13023. o Major features (security):
  13024. - If you don't specify MaxMemInQueues yourself, Tor now tries to
  13025. pick a good value based on your total system memory. Previously,
  13026. the default was always 8 GB. You can still override the default by
  13027. setting MaxMemInQueues yourself. Resolves ticket 11396.
  13028. - Block authority signing keys that were used on authorities
  13029. vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
  13030. don't have any evidence that these keys _were_ compromised; we're
  13031. doing this to be prudent.) Resolves ticket 11464.
  13032. o Major features (relay performance):
  13033. - Speed up server-side lookups of rendezvous and introduction point
  13034. circuits by using hashtables instead of linear searches. These
  13035. functions previously accounted between 3 and 7% of CPU usage on
  13036. some busy relays. Resolves ticket 9841.
  13037. - Avoid wasting CPU when extending a circuit over a channel that is
  13038. nearly out of circuit IDs. Previously, we would do a linear scan
  13039. over possible circuit IDs before finding one or deciding that we
  13040. had exhausted our possibilities. Now, we try at most 64 random
  13041. circuit IDs before deciding that we probably won't succeed. Fixes
  13042. a possible root cause of ticket 11553.
  13043. o Major features (seccomp2 sandbox, Linux only):
  13044. - The seccomp2 sandbox can now run a test network for multiple hours
  13045. without crashing. The sandbox is still experimental, and more bugs
  13046. will probably turn up. To try it, enable "Sandbox 1" on a Linux
  13047. host. Resolves ticket 11351.
  13048. - Strengthen sandbox code: the sandbox can now test the arguments
  13049. for rename(), and blocks _sysctl() entirely. Resolves another part
  13050. of ticket 11351.
  13051. - When the sandbox blocks a system call, it now tries to log a stack
  13052. trace before exiting. Resolves ticket 11465.
  13053. o Major bugfixes (TLS cipher selection):
  13054. - The relay ciphersuite list is now generated automatically based on
  13055. uniform criteria, and includes all OpenSSL ciphersuites with
  13056. acceptable strength and forward secrecy. Previously, we had left
  13057. some perfectly fine ciphersuites unsupported due to omission or
  13058. typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
  13059. 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
  13060. - Relays now trust themselves to have a better view than clients of
  13061. which TLS ciphersuites are better than others. (Thanks to bug
  13062. 11513, the relay list is now well-considered, whereas the client
  13063. list has been chosen mainly for anti-fingerprinting purposes.)
  13064. Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
  13065. CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
  13066. AES128. Resolves ticket 11528.
  13067. - Clients now try to advertise the same list of ciphersuites as
  13068. Firefox 28. This change enables selection of (fast) GCM
  13069. ciphersuites, disables some strange old ciphers, and stops
  13070. advertising the ECDH (not to be confused with ECDHE) ciphersuites.
  13071. Resolves ticket 11438.
  13072. o Major bugfixes (bridge client):
  13073. - Avoid 60-second delays in the bootstrapping process when Tor is
  13074. launching for a second time while using bridges. Fixes bug 9229;
  13075. bugfix on 0.2.0.3-alpha.
  13076. o Minor features (transparent proxy, *BSD):
  13077. - Support FreeBSD's ipfw firewall interface for TransPort ports on
  13078. FreeBSD. To enable it, set "TransProxyType ipfw". Resolves ticket
  13079. 10267; patch from "yurivict".
  13080. - Support OpenBSD's divert-to rules with the pf firewall for
  13081. transparent proxy ports. To enable it, set "TransProxyType
  13082. pf-divert". This allows Tor to run a TransPort transparent proxy
  13083. port on OpenBSD 4.4 or later without root privileges. See the
  13084. pf.conf(5) manual page for information on configuring pf to use
  13085. divert-to rules. Closes ticket 10896; patch from Dana Koch.
  13086. o Minor features (security):
  13087. - New --enable-expensive-hardening option to enable security
  13088. hardening options that consume nontrivial amounts of CPU and
  13089. memory. Right now, this includes AddressSanitizer and UbSan, which
  13090. are supported in newer versions of GCC and Clang. Closes ticket
  13091. 11477.
  13092. o Minor features (log verbosity):
  13093. - Demote the message that we give when a flushing connection times
  13094. out for too long from NOTICE to INFO. It was usually meaningless.
  13095. Resolves ticket 5286.
  13096. - Don't log so many notice-level bootstrapping messages at startup
  13097. about downloading descriptors. Previously, we'd log a notice
  13098. whenever we learned about more routers. Now, we only log a notice
  13099. at every 5% of progress. Fixes bug 9963.
  13100. - Warn less verbosely when receiving a malformed
  13101. ESTABLISH_RENDEZVOUS cell. Fixes ticket 11279.
  13102. - When we run out of usable circuit IDs on a channel, log only one
  13103. warning for the whole channel, and describe how many circuits
  13104. there were on the channel. Fixes part of ticket 11553.
  13105. o Minor features (relay):
  13106. - If a circuit timed out for at least 3 minutes, check if we have a
  13107. new external IP address, and publish a new descriptor with the new
  13108. IP address if it changed. Resolves ticket 2454.
  13109. o Minor features (controller):
  13110. - Make the entire exit policy available from the control port via
  13111. GETINFO exit-policy/*. Implements enhancement 7952. Patch from
  13112. "rl1987".
  13113. - Because of the fix for ticket 11396, the real limit for memory
  13114. usage may no longer match the configured MaxMemInQueues value. The
  13115. real limit is now exposed via GETINFO limits/max-mem-in-queues.
  13116. o Minor features (bridge client):
  13117. - Report a more useful failure message when we can't connect to a
  13118. bridge because we don't have the right pluggable transport
  13119. configured. Resolves ticket 9665. Patch from Fábio J. Bertinatto.
  13120. o Minor features (diagnostic):
  13121. - Add more log messages to diagnose bug 7164, which causes
  13122. intermittent "microdesc_free() called but md was still referenced"
  13123. warnings. We now include more information, to figure out why we
  13124. might be cleaning a microdescriptor for being too old if it's
  13125. still referenced by a live node_t object.
  13126. o Minor bugfixes (client, DNSPort):
  13127. - When using DNSPort, try to respond to AAAA requests with AAAA
  13128. answers. Previously, we hadn't looked at the request type when
  13129. deciding which answer type to prefer. Fixes bug 10468; bugfix on
  13130. 0.2.4.7-alpha.
  13131. - When receiving a DNS query for an unsupported record type, reply
  13132. with no answer rather than with a NOTIMPL error. This behavior
  13133. isn't correct either, but it will break fewer client programs, we
  13134. hope. Fixes bug 10268; bugfix on 0.2.0.1-alpha. Original patch
  13135. from "epoch".
  13136. o Minor bugfixes (exit relay):
  13137. - Stop leaking memory when we successfully resolve a PTR record.
  13138. Fixes bug 11437; bugfix on 0.2.4.7-alpha.
  13139. o Minor bugfixes (bridge client):
  13140. - Stop accepting bridge lines containing hostnames. Doing so would
  13141. cause clients to perform DNS requests on the hostnames, which was
  13142. not sensible behavior. Fixes bug 10801; bugfix on 0.2.0.1-alpha.
  13143. - Avoid a 60-second delay in the bootstrapping process when a Tor
  13144. client with pluggable transports re-reads its configuration at
  13145. just the wrong time. Re-fixes bug 11156; bugfix on 0.2.5.3-alpha.
  13146. o Minor bugfixes (client, logging during bootstrap):
  13147. - Warn only once if we start logging in an unsafe way. Previously,
  13148. we complain as many times as we had problems. Fixes bug 9870;
  13149. bugfix on 0.2.5.1-alpha.
  13150. - Only report the first fatal bootstrap error on a given OR
  13151. connection. This stops us from telling the controller bogus error
  13152. messages like "DONE". Fixes bug 10431; bugfix on 0.2.1.1-alpha.
  13153. - Be more helpful when trying to run sandboxed on Linux without
  13154. libseccomp. Instead of saying "Sandbox is not implemented on this
  13155. platform", we now explain that we need to be built with
  13156. libseccomp. Fixes bug 11543; bugfix on 0.2.5.1-alpha.
  13157. - Avoid generating spurious warnings when starting with
  13158. DisableNetwork enabled. Fixes bug 11200 and bug 10405; bugfix on
  13159. 0.2.3.9-alpha.
  13160. o Minor bugfixes (closing OR connections):
  13161. - If write_to_buf() in connection_write_to_buf_impl_() ever fails,
  13162. check if it's an or_connection_t and correctly call
  13163. connection_or_close_for_error() rather than
  13164. connection_mark_for_close() directly. Fixes bug 11304; bugfix on
  13165. 0.2.4.4-alpha.
  13166. - When closing all connections on setting DisableNetwork to 1, use
  13167. connection_or_close_normally() rather than closing OR connections
  13168. out from under the channel layer. Fixes bug 11306; bugfix on
  13169. 0.2.4.4-alpha.
  13170. o Minor bugfixes (controller):
  13171. - Avoid sending a garbage value to the controller when a circuit is
  13172. cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
  13173. o Minor bugfixes (tor-fw-helper):
  13174. - Allow tor-fw-helper to build again by adding src/ext to its
  13175. CPPFLAGS. Fixes bug 11296; bugfix on 0.2.5.3-alpha.
  13176. o Minor bugfixes (bridges):
  13177. - Avoid potential crashes or bad behavior when launching a
  13178. server-side managed proxy with ORPort or ExtORPort temporarily
  13179. disabled. Fixes bug 9650; bugfix on 0.2.3.16-alpha.
  13180. o Minor bugfixes (platform-specific):
  13181. - Fix compilation on Solaris, which does not have <endian.h>. Fixes
  13182. bug 11426; bugfix on 0.2.5.3-alpha.
  13183. - When dumping a malformed directory object to disk, save it in
  13184. binary mode on Windows, not text mode. Fixes bug 11342; bugfix on
  13185. 0.2.2.1-alpha.
  13186. - Don't report failures from make_socket_reuseable() on incoming
  13187. sockets on OSX: this can happen when incoming connections close
  13188. early. Fixes bug 10081.
  13189. o Minor bugfixes (trivial memory leaks):
  13190. - Fix a small memory leak when signing a directory object. Fixes bug
  13191. 11275; bugfix on 0.2.4.13-alpha.
  13192. - Free placeholder entries in our circuit table at exit; fixes a
  13193. harmless memory leak. Fixes bug 11278; bugfix on 0.2.5.1-alpha.
  13194. - Don't re-initialize a second set of OpenSSL mutexes when starting
  13195. up. Previously, we'd make one set of mutexes, and then immediately
  13196. replace them with another. Fixes bug 11726; bugfix on
  13197. 0.2.5.3-alpha.
  13198. - Resolve some memory leaks found by coverity in the unit tests, on
  13199. exit in tor-gencert, and on a failure to compute digests for our
  13200. own keys when generating a v3 networkstatus vote. These leaks
  13201. should never have affected anyone in practice.
  13202. o Minor bugfixes (hidden service):
  13203. - Only retry attempts to connect to a chosen rendezvous point 8
  13204. times, not 30. Fixes bug 4241; bugfix on 0.1.0.1-rc.
  13205. o Minor bugfixes (misc code correctness):
  13206. - Fix various instances of undefined behavior in channeltls.c,
  13207. tor_memmem(), and eventdns.c that would cause us to construct
  13208. pointers to memory outside an allocated object. (These invalid
  13209. pointers were not accessed, but C does not even allow them to
  13210. exist.) Fixes bug 10363; bugfixes on 0.1.1.1-alpha, 0.1.2.1-alpha,
  13211. 0.2.0.10-alpha, and 0.2.3.6-alpha. Reported by "bobnomnom".
  13212. - Use the AddressSanitizer and Ubsan sanitizers (in clang-3.4) to
  13213. fix some miscellaneous errors in our tests and codebase. Fixes bug
  13214. 11232. Bugfixes on versions back as far as 0.2.1.11-alpha.
  13215. - Always check return values for unlink, munmap, UnmapViewOfFile;
  13216. check strftime return values more often. In some cases all we can
  13217. do is report a warning, but this may help prevent deeper bugs from
  13218. going unnoticed. Closes ticket 8787; bugfixes on many, many tor
  13219. versions.
  13220. - Fix numerous warnings from the clang "scan-build" static analyzer.
  13221. Some of these are programming style issues; some of them are false
  13222. positives that indicated awkward code; some are undefined behavior
  13223. cases related to constructing (but not using) invalid pointers;
  13224. some are assumptions about API behavior; some are (harmlessly)
  13225. logging sizeof(ptr) bytes from a token when sizeof(*ptr) would be
  13226. correct; and one or two are genuine bugs that weren't reachable
  13227. from the rest of the program. Fixes bug 8793; bugfixes on many,
  13228. many tor versions.
  13229. o Documentation:
  13230. - Build the torify.1 manpage again. Previously, we were only trying
  13231. to build it when also building tor-fw-helper. That's why we didn't
  13232. notice that we'd broken the ability to build it. Fixes bug 11321;
  13233. bugfix on 0.2.5.1-alpha.
  13234. - Fix the layout of the SOCKSPort flags in the manpage. Fixes bug
  13235. 11061; bugfix on 0.2.4.7-alpha.
  13236. - Correctly document that we search for a system torrc file before
  13237. looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
  13238. 0.2.3.18-rc.
  13239. - Resolve warnings from Doxygen.
  13240. o Code simplifications and refactoring:
  13241. - Remove is_internal_IP() function. Resolves ticket 4645.
  13242. - Remove unused function circuit_dump_by_chan from circuitlist.c.
  13243. Closes issue 9107; patch from "marek".
  13244. - Change our use of the ENUM_BF macro to avoid declarations that
  13245. confuse Doxygen.
  13246. o Deprecated versions:
  13247. - Tor 0.2.2.x has reached end-of-life; it has received no patches or
  13248. attention for some while. Directory authorities no longer accept
  13249. descriptors from relays running any version of Tor prior to Tor
  13250. 0.2.3.16-alpha. Resolves ticket 11149.
  13251. o Testing:
  13252. - New macros in test.h to simplify writing mock-functions for unit
  13253. tests. Part of ticket 11507. Patch from Dana Koch.
  13254. - Complete tests for the status.c module. Resolves ticket 11507.
  13255. Patch from Dana Koch.
  13256. o Removed code:
  13257. - Remove all code for the long unused v1 directory protocol.
  13258. Resolves ticket 11070.
  13259. Changes in version 0.2.5.3-alpha - 2014-03-22
  13260. Tor 0.2.5.3-alpha includes all the fixes from 0.2.4.21. It contains
  13261. two new anti-DoS features for Tor relays, resolves a bug that kept
  13262. SOCKS5 support for IPv6 from working, fixes several annoying usability
  13263. issues for bridge users, and removes more old code for unused
  13264. directory formats.
  13265. The Tor 0.2.5.x release series is now in patch-freeze: no feature
  13266. patches not already written will be considered for inclusion in 0.2.5.x.
  13267. o Major features (relay security, DoS-resistance):
  13268. - When deciding whether we have run out of memory and we need to
  13269. close circuits, also consider memory allocated in buffers for
  13270. streams attached to each circuit.
  13271. This change, which extends an anti-DoS feature introduced in
  13272. 0.2.4.13-alpha and improved in 0.2.4.14-alpha, lets Tor exit relays
  13273. better resist more memory-based DoS attacks than before. Since the
  13274. MaxMemInCellQueues option now applies to all queues, it is renamed
  13275. to MaxMemInQueues. This feature fixes bug 10169.
  13276. - Avoid hash-flooding denial-of-service attacks by using the secure
  13277. SipHash-2-4 hash function for our hashtables. Without this
  13278. feature, an attacker could degrade performance of a targeted
  13279. client or server by flooding their data structures with a large
  13280. number of entries to be stored at the same hash table position,
  13281. thereby slowing down the Tor instance. With this feature, hash
  13282. table positions are derived from a randomized cryptographic key,
  13283. and an attacker cannot predict which entries will collide. Closes
  13284. ticket 4900.
  13285. - Decrease the lower limit of MaxMemInQueues to 256 MBytes (but leave
  13286. the default at 8GBytes), to better support Raspberry Pi users. Fixes
  13287. bug 9686; bugfix on 0.2.4.14-alpha.
  13288. o Minor features (bridges, pluggable transports):
  13289. - Bridges now write the SHA1 digest of their identity key
  13290. fingerprint (that is, a hash of a hash of their public key) to
  13291. notice-level logs, and to a new hashed-fingerprint file. This
  13292. information will help bridge operators look up their bridge in
  13293. Globe and similar tools. Resolves ticket 10884.
  13294. - Improve the message that Tor displays when running as a bridge
  13295. using pluggable transports without an Extended ORPort listener.
  13296. Also, log the message in the log file too. Resolves ticket 11043.
  13297. o Minor features (other):
  13298. - Add a new option, PredictedPortsRelevanceTime, to control how long
  13299. after having received a request to connect to a given port Tor
  13300. will try to keep circuits ready in anticipation of future requests
  13301. for that port. Patch from "unixninja92"; implements ticket 9176.
  13302. - Generate a warning if any ports are listed in the SocksPolicy,
  13303. DirPolicy, AuthDirReject, AuthDirInvalid, AuthDirBadDir, or
  13304. AuthDirBadExit options. (These options only support address
  13305. ranges.) Fixes part of ticket 11108.
  13306. - Update geoip and geoip6 to the February 7 2014 Maxmind GeoLite2
  13307. Country database.
  13308. o Minor bugfixes (new since 0.2.5.2-alpha, also in 0.2.4.21):
  13309. - Build without warnings under clang 3.4. (We have some macros that
  13310. define static functions only some of which will get used later in
  13311. the module. Starting with clang 3.4, these give a warning unless the
  13312. unused attribute is set on them.) Resolves ticket 10904.
  13313. - Fix build warnings about missing "a2x" comment when building the
  13314. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  13315. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  13316. o Minor bugfixes (client):
  13317. - Improve the log message when we can't connect to a hidden service
  13318. because all of the hidden service directory nodes hosting its
  13319. descriptor are excluded. Improves on our fix for bug 10722, which
  13320. was a bugfix on 0.2.0.10-alpha.
  13321. - Raise a control port warning when we fail to connect to all of
  13322. our bridges. Previously, we didn't inform the controller, and
  13323. the bootstrap process would stall. Fixes bug 11069; bugfix on
  13324. 0.2.1.2-alpha.
  13325. - Exit immediately when a process-owning controller exits.
  13326. Previously, tor relays would wait for a little while after their
  13327. controller exited, as if they had gotten an INT signal -- but this
  13328. was problematic, since there was no feedback for the user. To do a
  13329. clean shutdown, controllers should send an INT signal and give Tor
  13330. a chance to clean up. Fixes bug 10449; bugfix on 0.2.2.28-beta.
  13331. - Stop attempting to connect to bridges before our pluggable
  13332. transports are configured (harmless but resulted in some erroneous
  13333. log messages). Fixes bug 11156; bugfix on 0.2.3.2-alpha.
  13334. - Fix connections to IPv6 addresses over SOCKS5. Previously, we were
  13335. generating incorrect SOCKS5 responses, and confusing client
  13336. applications. Fixes bug 10987; bugfix on 0.2.4.7-alpha.
  13337. o Minor bugfixes (relays and bridges):
  13338. - Avoid crashing on a malformed resolv.conf file when running a
  13339. relay using Libevent 1. Fixes bug 8788; bugfix on 0.1.1.23.
  13340. - Non-exit relays no longer launch mock DNS requests to check for
  13341. DNS hijacking. This has been unnecessary since 0.2.1.7-alpha, when
  13342. non-exit relays stopped servicing DNS requests. Fixes bug 965;
  13343. bugfix on 0.2.1.7-alpha. Patch from Matt Pagan.
  13344. - Bridges now report complete directory request statistics. Related
  13345. to bug 5824; bugfix on 0.2.2.1-alpha.
  13346. - Bridges now never collect statistics that were designed for
  13347. relays. Fixes bug 5824; bugfix on 0.2.3.8-alpha.
  13348. - Stop giving annoying warning messages when we decide not to launch
  13349. a pluggable transport proxy that we don't need (because there are
  13350. no bridges configured to use it). Resolves ticket 5018; bugfix
  13351. on 0.2.5.2-alpha.
  13352. - Give the correct URL in the warning message when trying to run a
  13353. relay on an ancient version of Windows. Fixes bug 9393.
  13354. o Minor bugfixes (backtrace support):
  13355. - Support automatic backtraces on more platforms by using the
  13356. "-fasynchronous-unwind-tables" compiler option. This option is
  13357. needed for platforms like 32-bit Intel where "-fomit-frame-pointer"
  13358. is on by default and table generation is not. This doesn't yet
  13359. add Windows support; only Linux, OSX, and some BSDs are affected.
  13360. Reported by 'cypherpunks'; fixes bug 11047; bugfix on 0.2.5.2-alpha.
  13361. - Avoid strange behavior if two threads hit failed assertions at the
  13362. same time and both try to log backtraces at once. (Previously, if
  13363. this had happened, both threads would have stored their intermediate
  13364. results in the same buffer, and generated junk outputs.) Reported by
  13365. "cypherpunks". Fixes bug 11048; bugfix on 0.2.5.2-alpha.
  13366. - Fix a compiler warning in format_number_sigsafe(). Bugfix on
  13367. 0.2.5.2-alpha; patch from Nick Hopper.
  13368. o Minor bugfixes (unit tests):
  13369. - Fix a small bug in the unit tests that might have made the tests
  13370. call 'chmod' with an uninitialized bitmask. Fixes bug 10928;
  13371. bugfix on 0.2.5.1-alpha. Patch from Dana Koch.
  13372. o Removed code:
  13373. - Remove all remaining code related to version-0 hidden service
  13374. descriptors: they have not been in use since 0.2.2.1-alpha. Fixes
  13375. the rest of bug 10841.
  13376. o Documentation:
  13377. - Document in the manpage that "KBytes" may also be written as
  13378. "kilobytes" or "KB", that "Kbits" may also be written as
  13379. "kilobits", and so forth. Closes ticket 9222.
  13380. - Document that the ClientOnly config option overrides ORPort.
  13381. Our old explanation made ClientOnly sound as though it did
  13382. nothing at all. Resolves bug 9059.
  13383. - Explain that SocksPolicy, DirPolicy, and similar options don't
  13384. take port arguments. Fixes the other part of ticket 11108.
  13385. - Fix a comment about the rend_server_descriptor_t.protocols field
  13386. to more accurately describe its range. Also, make that field
  13387. unsigned, to more accurately reflect its usage. Fixes bug 9099;
  13388. bugfix on 0.2.1.5-alpha.
  13389. - Fix the manpage's description of HiddenServiceAuthorizeClient:
  13390. the maximum client name length is 16, not 19. Fixes bug 11118;
  13391. bugfix on 0.2.1.6-alpha.
  13392. o Code simplifications and refactoring:
  13393. - Get rid of router->address, since in all cases it was just the
  13394. string representation of router->addr. Resolves ticket 5528.
  13395. o Test infrastructure:
  13396. - Update to the latest version of tinytest.
  13397. - Improve the tinytest implementation of string operation tests so
  13398. that comparisons with NULL strings no longer crash the tests; they
  13399. now just fail, normally. Fixes bug 9004; bugfix on 0.2.2.4-alpha.
  13400. Changes in version 0.2.4.21 - 2014-02-28
  13401. Tor 0.2.4.21 further improves security against potential adversaries who
  13402. find breaking 1024-bit crypto doable, and backports several stability
  13403. and robustness patches from the 0.2.5 branch.
  13404. o Major features (client security):
  13405. - When we choose a path for a 3-hop circuit, make sure it contains
  13406. at least one relay that supports the NTor circuit extension
  13407. handshake. Otherwise, there is a chance that we're building
  13408. a circuit that's worth attacking by an adversary who finds
  13409. breaking 1024-bit crypto doable, and that chance changes the game
  13410. theory. Implements ticket 9777.
  13411. o Major bugfixes:
  13412. - Do not treat streams that fail with reason
  13413. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  13414. since it could also indicate an ENETUNREACH connection error. Fixes
  13415. part of bug 10777; bugfix on 0.2.4.8-alpha.
  13416. o Code simplification and refactoring:
  13417. - Remove data structures which were introduced to implement the
  13418. CellStatistics option: they are now redundant with the new timestamp
  13419. field in the regular packed_cell_t data structure, which we did
  13420. in 0.2.4.18-rc in order to resolve bug 9093. Resolves ticket 10870.
  13421. o Minor features:
  13422. - Always clear OpenSSL bignums before freeing them -- even bignums
  13423. that don't contain secrets. Resolves ticket 10793. Patch by
  13424. Florent Daigniere.
  13425. - Build without warnings under clang 3.4. (We have some macros that
  13426. define static functions only some of which will get used later in
  13427. the module. Starting with clang 3.4, these give a warning unless the
  13428. unused attribute is set on them.) Resolves ticket 10904.
  13429. - Update geoip and geoip6 files to the February 7 2014 Maxmind
  13430. GeoLite2 Country database.
  13431. o Minor bugfixes:
  13432. - Set the listen() backlog limit to the largest actually supported
  13433. on the system, not to the value in a header file. Fixes bug 9716;
  13434. bugfix on every released Tor.
  13435. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  13436. exit node as a NOROUTE error, not an INTERNAL error, since they
  13437. can apparently happen when trying to connect to the wrong sort
  13438. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  13439. - Fix build warnings about missing "a2x" comment when building the
  13440. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  13441. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  13442. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  13443. not entirely remove it from the connection lists. Fixes bug 9602;
  13444. bugfix on 0.2.4.4-alpha.
  13445. - Fix a segmentation fault in our benchmark code when running with
  13446. Fedora's OpenSSL package, or any other OpenSSL that provides
  13447. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  13448. - Turn "circuit handshake stats since last time" log messages into a
  13449. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  13450. o Documentation fixes:
  13451. - Document that all but one DirPort entry must have the NoAdvertise
  13452. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  13453. Changes in version 0.2.5.2-alpha - 2014-02-13
  13454. Tor 0.2.5.2-alpha includes all the fixes from 0.2.4.18-rc and 0.2.4.20,
  13455. like the "poor random number generation" fix and the "building too many
  13456. circuits" fix. It also further improves security against potential
  13457. adversaries who find breaking 1024-bit crypto doable, and launches
  13458. pluggable transports on demand (which gets us closer to integrating
  13459. pluggable transport support by default -- not to be confused with Tor
  13460. bundles enabling pluggable transports and bridges by default).
  13461. o Major features (client security):
  13462. - When we choose a path for a 3-hop circuit, make sure it contains
  13463. at least one relay that supports the NTor circuit extension
  13464. handshake. Otherwise, there is a chance that we're building
  13465. a circuit that's worth attacking by an adversary who finds
  13466. breaking 1024-bit crypto doable, and that chance changes the game
  13467. theory. Implements ticket 9777.
  13468. - Clients now look at the "usecreatefast" consensus parameter to
  13469. decide whether to use CREATE_FAST or CREATE cells for the first hop
  13470. of their circuit. This approach can improve security on connections
  13471. where Tor's circuit handshake is stronger than the available TLS
  13472. connection security levels, but the tradeoff is more computational
  13473. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  13474. o Major features (bridges):
  13475. - Don't launch pluggable transport proxies if we don't have any
  13476. bridges configured that would use them. Now we can list many
  13477. pluggable transports, and Tor will dynamically start one when it
  13478. hears a bridge address that needs it. Resolves ticket 5018.
  13479. - The bridge directory authority now assigns status flags (Stable,
  13480. Guard, etc) to bridges based on thresholds calculated over all
  13481. Running bridges. Now bridgedb can finally make use of its features
  13482. to e.g. include at least one Stable bridge in its answers. Fixes
  13483. bug 9859.
  13484. o Major features (other):
  13485. - Extend ORCONN controller event to include an "ID" parameter,
  13486. and add four new controller event types CONN_BW, CIRC_BW,
  13487. CELL_STATS, and TB_EMPTY that show connection and circuit usage.
  13488. The new events are emitted in private Tor networks only, with the
  13489. goal of being able to better track performance and load during
  13490. full-network simulations. Implements proposal 218 and ticket 7359.
  13491. - On some platforms (currently: recent OSX versions, glibc-based
  13492. platforms that support the ELF format, and a few other
  13493. Unix-like operating systems), Tor can now dump stack traces
  13494. when a crash occurs or an assertion fails. By default, traces
  13495. are dumped to stderr (if possible) and to any logs that are
  13496. reporting errors. Implements ticket 9299.
  13497. o Major bugfixes:
  13498. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  13499. not entirely remove it from the connection lists. Fixes bug 9602;
  13500. bugfix on 0.2.4.4-alpha.
  13501. - Do not treat streams that fail with reason
  13502. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  13503. since it could also indicate an ENETUNREACH connection error. Fixes
  13504. part of bug 10777; bugfix on 0.2.4.8-alpha.
  13505. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  13506. - Do not allow OpenSSL engines to replace the PRNG, even when
  13507. HardwareAccel is set. The only default builtin PRNG engine uses
  13508. the Intel RDRAND instruction to replace the entire PRNG, and
  13509. ignores all attempts to seed it with more entropy. That's
  13510. cryptographically stupid: the right response to a new alleged
  13511. entropy source is never to discard all previously used entropy
  13512. sources. Fixes bug 10402; works around behavior introduced in
  13513. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  13514. and "rl1987".
  13515. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  13516. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  13517. - Avoid launching spurious extra circuits when a stream is pending.
  13518. This fixes a bug where any circuit that _wasn't_ unusable for new
  13519. streams would be treated as if it were, causing extra circuits to
  13520. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  13521. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  13522. - No longer stop reading or writing on cpuworker connections when
  13523. our rate limiting buckets go empty. Now we should handle circuit
  13524. handshake requests more promptly. Resolves bug 9731.
  13525. - Stop trying to bootstrap all our directory information from
  13526. only our first guard. Discovered while fixing bug 9946; bugfix
  13527. on 0.2.4.8-alpha.
  13528. o Minor features (bridges, pluggable transports):
  13529. - Add threshold cutoffs to the networkstatus document created by
  13530. the Bridge Authority. Fixes bug 1117.
  13531. - On Windows, spawn background processes using the CREATE_NO_WINDOW
  13532. flag. Now Tor Browser Bundle 3.5 with pluggable transports enabled
  13533. doesn't pop up a blank console window. (In Tor Browser Bundle 2.x,
  13534. Vidalia set this option for us.) Implements ticket 10297.
  13535. o Minor features (security):
  13536. - Always clear OpenSSL bignums before freeing them -- even bignums
  13537. that don't contain secrets. Resolves ticket 10793. Patch by
  13538. Florent Daignière.
  13539. o Minor features (config options and command line):
  13540. - Add an --allow-missing-torrc commandline option that tells Tor to
  13541. run even if the configuration file specified by -f is not available.
  13542. Implements ticket 10060.
  13543. - Add support for the TPROXY transparent proxying facility on Linux.
  13544. See documentation for the new TransProxyType option for more
  13545. details. Implementation by "thomo". Closes ticket 10582.
  13546. o Minor features (controller):
  13547. - Add a new "HS_DESC" controller event that reports activities
  13548. related to hidden service descriptors. Resolves ticket 8510.
  13549. - New "DROPGUARDS" controller command to forget all current entry
  13550. guards. Not recommended for ordinary use, since replacing guards
  13551. too frequently makes several attacks easier. Resolves ticket 9934;
  13552. patch from "ra".
  13553. o Minor features (build):
  13554. - Assume that a user using ./configure --host wants to cross-compile,
  13555. and give an error if we cannot find a properly named
  13556. tool-chain. Add a --disable-tool-name-check option to proceed
  13557. nevertheless. Addresses ticket 9869. Patch by Benedikt Gollatz.
  13558. - If we run ./configure and the compiler recognizes -fstack-protector
  13559. but the linker rejects it, warn the user about a potentially missing
  13560. libssp package. Addresses ticket 9948. Patch from Benedikt Gollatz.
  13561. o Minor features (testing):
  13562. - If Python is installed, "make check" now runs extra tests beyond
  13563. the unit test scripts.
  13564. - When bootstrapping a test network, sometimes very few relays get
  13565. the Guard flag. Now a new option "TestingDirAuthVoteGuard" can
  13566. specify a set of relays which should be voted Guard regardless of
  13567. their uptime or bandwidth. Addresses ticket 9206.
  13568. o Minor features (log messages):
  13569. - When ServerTransportPlugin is set on a bridge, Tor can write more
  13570. useful statistics about bridge use in its extrainfo descriptors,
  13571. but only if the Extended ORPort ("ExtORPort") is set too. Add a
  13572. log message to inform the user in this case. Resolves ticket 9651.
  13573. - When receiving a new controller connection, log the origin address.
  13574. Resolves ticket 9698; patch from "sigpipe".
  13575. - When logging OpenSSL engine status at startup, log the status of
  13576. more engines. Fixes ticket 10043; patch from Joshua Datko.
  13577. - Turn "circuit handshake stats since last time" log messages into a
  13578. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  13579. o Minor features (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  13580. - Improve the circuit queue out-of-memory handler. Previously, when
  13581. we ran low on memory, we'd close whichever circuits had the most
  13582. queued cells. Now, we close those that have the *oldest* queued
  13583. cells, on the theory that those are most responsible for us
  13584. running low on memory. Based on analysis from a forthcoming paper
  13585. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  13586. - Generate bootstrapping status update events correctly when fetching
  13587. microdescriptors. Fixes bug 9927.
  13588. - Update to the October 2 2013 Maxmind GeoLite Country database.
  13589. o Minor bugfixes (clients):
  13590. - When closing a channel that has already been open, do not close
  13591. pending circuits that were waiting to connect to the same relay.
  13592. Fixes bug 9880; bugfix on 0.2.5.1-alpha. Thanks to skruffy for
  13593. finding this bug.
  13594. o Minor bugfixes (relays):
  13595. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  13596. exit node as a NOROUTE error, not an INTERNAL error, since they
  13597. can apparently happen when trying to connect to the wrong sort
  13598. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  13599. o Minor bugfixes (bridges):
  13600. - Fix a bug where the first connection works to a bridge that uses a
  13601. pluggable transport with client-side parameters, but we don't send
  13602. the client-side parameters on subsequent connections. (We don't
  13603. use any pluggable transports with client-side parameters yet,
  13604. but ScrambleSuit will soon become the first one.) Fixes bug 9162;
  13605. bugfix on 0.2.0.3-alpha. Based on a patch from "rl1987".
  13606. o Minor bugfixes (node selection):
  13607. - If ExcludeNodes is set, consider non-excluded hidden service
  13608. directory servers before excluded ones. Do not consider excluded
  13609. hidden service directory servers at all if StrictNodes is
  13610. set. (Previously, we would sometimes decide to connect to those
  13611. servers, and then realize before we initiated a connection that
  13612. we had excluded them.) Fixes bug 10722; bugfix on 0.2.0.10-alpha.
  13613. Reported by "mr-4".
  13614. - If we set the ExitNodes option but it doesn't include any nodes
  13615. that have the Exit flag, we would choose not to bootstrap. Now we
  13616. bootstrap so long as ExitNodes includes nodes which can exit to
  13617. some port. Fixes bug 10543; bugfix on 0.2.4.10-alpha.
  13618. o Minor bugfixes (controller and command-line):
  13619. - If changing a config option via "setconf" fails in a recoverable
  13620. way, we used to nonetheless write our new control ports to the
  13621. file described by the "ControlPortWriteToFile" option. Now we only
  13622. write out that file if we successfully switch to the new config
  13623. option. Fixes bug 5605; bugfix on 0.2.2.26-beta. Patch from "Ryman".
  13624. - When a command-line option such as --version or --help that
  13625. ordinarily implies --hush appears on the command line along with
  13626. --quiet, then actually obey --quiet. Previously, we obeyed --quiet
  13627. only if it appeared later on the command line. Fixes bug 9578;
  13628. bugfix on 0.2.5.1-alpha.
  13629. o Minor bugfixes (code correctness):
  13630. - Previously we used two temporary files when writing descriptors to
  13631. disk; now we only use one. Fixes bug 1376.
  13632. - Remove an erroneous (but impossible and thus harmless) pointer
  13633. comparison that would have allowed compilers to skip a bounds
  13634. check in channeltls.c. Fixes bugs 10313 and 9980; bugfix on
  13635. 0.2.0.10-alpha. Noticed by Jared L Wong and David Fifield.
  13636. - Fix an always-true assertion in pluggable transports code so it
  13637. actually checks what it was trying to check. Fixes bug 10046;
  13638. bugfix on 0.2.3.9-alpha. Found by "dcb".
  13639. o Minor bugfixes (protocol correctness):
  13640. - When receiving a VERSIONS cell with an odd number of bytes, close
  13641. the connection immediately since the cell is malformed. Fixes bug
  13642. 10365; bugfix on 0.2.0.10-alpha. Spotted by "bobnomnom"; fix by
  13643. "rl1987".
  13644. o Minor bugfixes (build):
  13645. - Restore the ability to compile Tor with V2_HANDSHAKE_SERVER
  13646. turned off (that is, without support for v2 link handshakes). Fixes
  13647. bug 4677; bugfix on 0.2.3.2-alpha. Patch from "piet".
  13648. - Fix compilation warnings and startup issues when running with
  13649. "Sandbox 1" and libseccomp-2.1.0. Fixes bug 10563; bugfix on
  13650. 0.2.5.1-alpha.
  13651. - Fix compilation on Solaris 9, which didn't like us having an
  13652. identifier named "sun". Fixes bug 10565; bugfix in 0.2.5.1-alpha.
  13653. o Minor bugfixes (testing):
  13654. - Fix a segmentation fault in our benchmark code when running with
  13655. Fedora's OpenSSL package, or any other OpenSSL that provides
  13656. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  13657. o Minor bugfixes (log messages):
  13658. - Fix a bug where clients using bridges would report themselves
  13659. as 50% bootstrapped even without a live consensus document.
  13660. Fixes bug 9922; bugfix on 0.2.1.1-alpha.
  13661. - Suppress a warning where, if there's only one directory authority
  13662. in the network, we would complain that votes and signatures cannot
  13663. be uploaded to other directory authorities. Fixes bug 10842;
  13664. bugfix on 0.2.2.26-beta.
  13665. - Report bootstrapping progress correctly when we're downloading
  13666. microdescriptors. We had updated our "do we have enough microdescs
  13667. to begin building circuits?" logic most recently in 0.2.4.10-alpha
  13668. (see bug 5956), but we left the bootstrap status event logic at
  13669. "how far through getting 1/4 of them are we?" Fixes bug 9958;
  13670. bugfix on 0.2.2.36, which is where they diverged (see bug 5343).
  13671. o Minor bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  13672. - Avoid a crash bug when starting with a corrupted microdescriptor
  13673. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  13674. - If we fail to dump a previously cached microdescriptor to disk, avoid
  13675. freeing duplicate data later on. Fixes bug 10423; bugfix on
  13676. 0.2.4.13-alpha. Spotted by "bobnomnom".
  13677. o Minor bugfixes on 0.2.4.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  13678. - Correctly log long IPv6 exit policies, instead of truncating them
  13679. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  13680. - Our default TLS ecdhe groups were backwards: we meant to be using
  13681. P224 for relays (for performance win) and P256 for bridges (since
  13682. it is more common in the wild). Instead we had it backwards. After
  13683. reconsideration, we decided that the default should be P256 on all
  13684. hosts, since its security is probably better, and since P224 is
  13685. reportedly used quite little in the wild. Found by "skruffy" on
  13686. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  13687. - Free directory authority certificate download statuses on exit
  13688. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  13689. o Minor bugfixes on 0.2.3.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  13690. - If the guard we choose first doesn't answer, we would try the
  13691. second guard, but once we connected to the second guard we would
  13692. abandon it and retry the first one, slowing down bootstrapping.
  13693. The fix is to treat all our initially chosen guards as acceptable
  13694. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  13695. - Fix an assertion failure that would occur when disabling the
  13696. ORPort setting on a running Tor process while accounting was
  13697. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  13698. - When examining the list of network interfaces to find our address,
  13699. do not consider non-running or disabled network interfaces. Fixes
  13700. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  13701. - Avoid an off-by-one error when checking buffer boundaries when
  13702. formatting the exit status of a pluggable transport helper.
  13703. This is probably not an exploitable bug, but better safe than
  13704. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  13705. Pedro Ribeiro.
  13706. o Removed code and features:
  13707. - Clients now reject any directory authority certificates lacking
  13708. a dir-key-crosscert element. These have been included since
  13709. 0.2.1.9-alpha, so there's no real reason for them to be optional
  13710. any longer. Completes proposal 157. Resolves ticket 10162.
  13711. - Remove all code that existed to support the v2 directory system,
  13712. since there are no longer any v2 directory authorities. Resolves
  13713. ticket 10758.
  13714. - Remove the HSAuthoritativeDir and AlternateHSAuthority torrc
  13715. options, which were used for designating authorities as "Hidden
  13716. service authorities". There has been no use of hidden service
  13717. authorities since 0.2.2.1-alpha, when we stopped uploading or
  13718. downloading v0 hidden service descriptors. Fixes bug 10881; also
  13719. part of a fix for bug 10841.
  13720. o Code simplification and refactoring:
  13721. - Remove some old fallback code designed to keep Tor clients working
  13722. in a network with only two working relays. Elsewhere in the code we
  13723. have long since stopped supporting such networks, so there wasn't
  13724. much point in keeping it around. Addresses ticket 9926.
  13725. - Reject 0-length EXTEND2 cells more explicitly. Fixes bug 10536;
  13726. bugfix on 0.2.4.8-alpha. Reported by "cypherpunks".
  13727. - Remove data structures which were introduced to implement the
  13728. CellStatistics option: they are now redundant with the addition
  13729. of a timestamp to the regular packed_cell_t data structure, which
  13730. we did in 0.2.4.18-rc in order to resolve ticket 9093. Implements
  13731. ticket 10870.
  13732. o Documentation (man page) fixes:
  13733. - Update manpage to describe some of the files you can expect to
  13734. find in Tor's DataDirectory. Addresses ticket 9839.
  13735. - Document that all but one DirPort entry must have the NoAdvertise
  13736. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  13737. o Documentation fixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  13738. - Clarify the usage and risks of setting the ContactInfo torrc line
  13739. for your relay or bridge. Resolves ticket 9854.
  13740. - Add anchors to the manpage so we can link to the html version of
  13741. the documentation for specific options. Resolves ticket 9866.
  13742. - Replace remaining references to DirServer in man page and
  13743. log entries. Resolves ticket 10124.
  13744. o Tool changes:
  13745. - Make the "tor-gencert" tool used by directory authority operators
  13746. create 2048-bit signing keys by default (rather than 1024-bit, since
  13747. 1024-bit is uncomfortably small these days). Addresses ticket 10324.
  13748. Changes in version 0.2.4.20 - 2013-12-22
  13749. Tor 0.2.4.20 fixes potentially poor random number generation for users
  13750. who 1) use OpenSSL 1.0.0 or later, 2) set "HardwareAccel 1" in their
  13751. torrc file, 3) have "Sandy Bridge" or "Ivy Bridge" Intel processors,
  13752. and 4) have no state file in their DataDirectory (as would happen on
  13753. first start). Users who generated relay or hidden service identity
  13754. keys in such a situation should discard them and generate new ones.
  13755. This release also fixes a logic error that caused Tor clients to build
  13756. many more preemptive circuits than they actually need.
  13757. o Major bugfixes:
  13758. - Do not allow OpenSSL engines to replace the PRNG, even when
  13759. HardwareAccel is set. The only default builtin PRNG engine uses
  13760. the Intel RDRAND instruction to replace the entire PRNG, and
  13761. ignores all attempts to seed it with more entropy. That's
  13762. cryptographically stupid: the right response to a new alleged
  13763. entropy source is never to discard all previously used entropy
  13764. sources. Fixes bug 10402; works around behavior introduced in
  13765. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  13766. and "rl1987".
  13767. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  13768. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  13769. - Avoid launching spurious extra circuits when a stream is pending.
  13770. This fixes a bug where any circuit that _wasn't_ unusable for new
  13771. streams would be treated as if it were, causing extra circuits to
  13772. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  13773. o Minor bugfixes:
  13774. - Avoid a crash bug when starting with a corrupted microdescriptor
  13775. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  13776. - If we fail to dump a previously cached microdescriptor to disk, avoid
  13777. freeing duplicate data later on. Fixes bug 10423; bugfix on
  13778. 0.2.4.13-alpha. Spotted by "bobnomnom".
  13779. Changes in version 0.2.4.19 - 2013-12-11
  13780. The Tor 0.2.4 release series is dedicated to the memory of Aaron Swartz
  13781. (1986-2013). Aaron worked on diverse projects including helping to guide
  13782. Creative Commons, playing a key role in stopping SOPA/PIPA, bringing
  13783. transparency to the U.S government's PACER documents, and contributing
  13784. design and development for Tor and Tor2Web. Aaron was one of the latest
  13785. martyrs in our collective fight for civil liberties and human rights,
  13786. and his death is all the more painful because he was one of us.
  13787. Tor 0.2.4.19, the first stable release in the 0.2.4 branch, features
  13788. a new circuit handshake and link encryption that use ECC to provide
  13789. better security and efficiency; makes relays better manage circuit
  13790. creation requests; uses "directory guards" to reduce client enumeration
  13791. risks; makes bridges collect and report statistics about the pluggable
  13792. transports they support; cleans up and improves our geoip database;
  13793. gets much closer to IPv6 support for clients, bridges, and relays; makes
  13794. directory authorities use measured bandwidths rather than advertised
  13795. ones when computing flags and thresholds; disables client-side DNS
  13796. caching to reduce tracking risks; and fixes a big bug in bridge
  13797. reachability testing. This release introduces two new design
  13798. abstractions in the code: a new "channel" abstraction between circuits
  13799. and or_connections to allow for implementing alternate relay-to-relay
  13800. transports, and a new "circuitmux" abstraction storing the queue of
  13801. circuits for a channel. The release also includes many stability,
  13802. security, and privacy fixes.
  13803. Changes in version 0.2.4.18-rc - 2013-11-16
  13804. Tor 0.2.4.18-rc is the fourth release candidate for the Tor 0.2.4.x
  13805. series. It takes a variety of fixes from the 0.2.5.x branch to improve
  13806. stability, performance, and better handling of edge cases.
  13807. o Major features:
  13808. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  13809. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  13810. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  13811. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  13812. them to solve bug 6033.)
  13813. o Major bugfixes:
  13814. - No longer stop reading or writing on cpuworker connections when
  13815. our rate limiting buckets go empty. Now we should handle circuit
  13816. handshake requests more promptly. Resolves bug 9731.
  13817. - If we are unable to save a microdescriptor to the journal, do not
  13818. drop it from memory and then reattempt downloading it. Fixes bug
  13819. 9645; bugfix on 0.2.2.6-alpha.
  13820. - Stop trying to bootstrap all our directory information from
  13821. only our first guard. Discovered while fixing bug 9946; bugfix
  13822. on 0.2.4.8-alpha.
  13823. - The new channel code sometimes lost track of in-progress circuits,
  13824. causing long-running clients to stop building new circuits. The
  13825. fix is to always call circuit_n_chan_done(chan, 0) from
  13826. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  13827. o Minor bugfixes (on 0.2.4.x):
  13828. - Correctly log long IPv6 exit policies, instead of truncating them
  13829. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  13830. - Our default TLS ecdhe groups were backwards: we meant to be using
  13831. P224 for relays (for performance win) and P256 for bridges (since
  13832. it is more common in the wild). Instead we had it backwards. After
  13833. reconsideration, we decided that the default should be P256 on all
  13834. hosts, since its security is probably better, and since P224 is
  13835. reportedly used quite little in the wild. Found by "skruffy" on
  13836. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  13837. - Free directory authority certificate download statuses on exit
  13838. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  13839. o Minor bugfixes (on 0.2.3.x and earlier):
  13840. - If the guard we choose first doesn't answer, we would try the
  13841. second guard, but once we connected to the second guard we would
  13842. abandon it and retry the first one, slowing down bootstrapping.
  13843. The fix is to treat all our initially chosen guards as acceptable
  13844. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  13845. - Fix an assertion failure that would occur when disabling the
  13846. ORPort setting on a running Tor process while accounting was
  13847. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  13848. - When examining the list of network interfaces to find our address,
  13849. do not consider non-running or disabled network interfaces. Fixes
  13850. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  13851. - Avoid an off-by-one error when checking buffer boundaries when
  13852. formatting the exit status of a pluggable transport helper.
  13853. This is probably not an exploitable bug, but better safe than
  13854. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  13855. Pedro Ribeiro.
  13856. o Minor features (protecting client timestamps):
  13857. - Clients no longer send timestamps in their NETINFO cells. These were
  13858. not used for anything, and they provided one small way for clients
  13859. to be distinguished from each other as they moved from network to
  13860. network or behind NAT. Implements part of proposal 222.
  13861. - Clients now round timestamps in INTRODUCE cells down to the nearest
  13862. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  13863. if it's set to "auto" and the feature is disabled in the consensus,
  13864. the timestamp is sent as 0 instead. Implements part of proposal 222.
  13865. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  13866. a big deal from a security point of view, but it achieves no actual
  13867. good purpose, and isn't needed. Implements part of proposal 222.
  13868. - Reduce down accuracy of timestamps in hidden service descriptors.
  13869. Implements part of proposal 222.
  13870. o Minor features (other):
  13871. - Improve the circuit queue out-of-memory handler. Previously, when
  13872. we ran low on memory, we'd close whichever circuits had the most
  13873. queued cells. Now, we close those that have the *oldest* queued
  13874. cells, on the theory that those are most responsible for us
  13875. running low on memory. Based on analysis from a forthcoming paper
  13876. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  13877. - Generate bootstrapping status update events correctly when fetching
  13878. microdescriptors. Fixes bug 9927.
  13879. - Update to the October 2 2013 Maxmind GeoLite Country database.
  13880. o Documentation fixes:
  13881. - Clarify the usage and risks of setting the ContactInfo torrc line
  13882. for your relay or bridge. Resolves ticket 9854.
  13883. - Add anchors to the manpage so we can link to the html version of
  13884. the documentation for specific options. Resolves ticket 9866.
  13885. - Replace remaining references to DirServer in man page and
  13886. log entries. Resolves ticket 10124.
  13887. Changes in version 0.2.5.1-alpha - 2013-10-02
  13888. Tor 0.2.5.1-alpha introduces experimental support for syscall sandboxing
  13889. on Linux, allows bridges that offer pluggable transports to report usage
  13890. statistics, fixes many issues to make testing easier, and provides
  13891. a pile of minor features and bugfixes that have been waiting for a
  13892. release of the new branch.
  13893. This is the first alpha release in a new series, so expect there to
  13894. be bugs. Users who would rather test out a more stable branch should
  13895. stay with 0.2.4.x for now.
  13896. o Major features (security):
  13897. - Use the seccomp2 syscall filtering facility on Linux to limit
  13898. which system calls Tor can invoke. This is an experimental,
  13899. Linux-only feature to provide defense-in-depth against unknown
  13900. attacks. To try turning it on, set "Sandbox 1" in your torrc
  13901. file. Please be ready to report bugs. We hope to add support
  13902. for better sandboxing in the future, including more fine-grained
  13903. filters, better division of responsibility, and support for more
  13904. platforms. This work has been done by Cristian-Matei Toader for
  13905. Google Summer of Code.
  13906. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  13907. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  13908. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  13909. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  13910. them to solve bug 6033.)
  13911. o Major features (other):
  13912. - Add support for passing arguments to managed pluggable transport
  13913. proxies. Implements ticket 3594.
  13914. - Bridges now track GeoIP information and the number of their users
  13915. even when pluggable transports are in use, and report usage
  13916. statistics in their extra-info descriptors. Resolves tickets 4773
  13917. and 5040.
  13918. - Make testing Tor networks bootstrap better: lower directory fetch
  13919. retry schedules and maximum interval without directory requests,
  13920. and raise maximum download tries. Implements ticket 6752.
  13921. - Add make target 'test-network' to run tests on a Chutney network.
  13922. Implements ticket 8530.
  13923. - The ntor handshake is now on-by-default, no matter what the
  13924. directory authorities recommend. Implements ticket 8561.
  13925. o Major bugfixes:
  13926. - Instead of writing destroy cells directly to outgoing connection
  13927. buffers, queue them and intersperse them with other outgoing cells.
  13928. This can prevent a set of resource starvation conditions where too
  13929. many pending destroy cells prevent data cells from actually getting
  13930. delivered. Reported by "oftc_must_be_destroyed". Fixes bug 7912;
  13931. bugfix on 0.2.0.1-alpha.
  13932. - If we are unable to save a microdescriptor to the journal, do not
  13933. drop it from memory and then reattempt downloading it. Fixes bug
  13934. 9645; bugfix on 0.2.2.6-alpha.
  13935. - The new channel code sometimes lost track of in-progress circuits,
  13936. causing long-running clients to stop building new circuits. The
  13937. fix is to always call circuit_n_chan_done(chan, 0) from
  13938. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  13939. o Build features:
  13940. - Tor now builds each source file in two modes: a mode that avoids
  13941. exposing identifiers needlessly, and another mode that exposes
  13942. more identifiers for testing. This lets the compiler do better at
  13943. optimizing the production code, while enabling us to take more
  13944. radical measures to let the unit tests test things.
  13945. - The production builds no longer include functions used only in
  13946. the unit tests; all functions exposed from a module only for
  13947. unit-testing are now static in production builds.
  13948. - Add an --enable-coverage configuration option to make the unit
  13949. tests (and a new src/or/tor-cov target) to build with gcov test
  13950. coverage support.
  13951. o Testing:
  13952. - We now have rudimentary function mocking support that our unit
  13953. tests can use to test functions in isolation. Function mocking
  13954. lets the tests temporarily replace a function's dependencies with
  13955. stub functions, so that the tests can check the function without
  13956. invoking the other functions it calls.
  13957. - Add more unit tests for the <circid,channel>->circuit map, and
  13958. the destroy-cell-tracking code to fix bug 7912.
  13959. - Unit tests for failing cases of the TAP onion handshake.
  13960. - More unit tests for address-manipulation functions.
  13961. o Minor features (protecting client timestamps):
  13962. - Clients no longer send timestamps in their NETINFO cells. These were
  13963. not used for anything, and they provided one small way for clients
  13964. to be distinguished from each other as they moved from network to
  13965. network or behind NAT. Implements part of proposal 222.
  13966. - Clients now round timestamps in INTRODUCE cells down to the nearest
  13967. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  13968. if it's set to "auto" and the feature is disabled in the consensus,
  13969. the timestamp is sent as 0 instead. Implements part of proposal 222.
  13970. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  13971. a big deal from a security point of view, but it achieves no actual
  13972. good purpose, and isn't needed. Implements part of proposal 222.
  13973. - Reduce down accuracy of timestamps in hidden service descriptors.
  13974. Implements part of proposal 222.
  13975. o Minor features (config options):
  13976. - Config (torrc) lines now handle fingerprints which are missing
  13977. their initial '$'. Resolves ticket 4341; improvement over 0.0.9pre5.
  13978. - Support a --dump-config option to print some or all of the
  13979. configured options. Mainly useful for debugging the command-line
  13980. option parsing code. Helps resolve ticket 4647.
  13981. - Raise awareness of safer logging: notify user of potentially
  13982. unsafe config options, like logging more verbosely than severity
  13983. "notice" or setting SafeLogging to 0. Resolves ticket 5584.
  13984. - Add a new configuration option TestingV3AuthVotingStartOffset
  13985. that bootstraps a network faster by changing the timing for
  13986. consensus votes. Addresses ticket 8532.
  13987. - Add a new torrc option "ServerTransportOptions" that allows
  13988. bridge operators to pass configuration parameters to their
  13989. pluggable transports. Resolves ticket 8929.
  13990. - The config (torrc) file now accepts bandwidth and space limits in
  13991. bits as well as bytes. (Anywhere that you can say "2 Kilobytes",
  13992. you can now say "16 kilobits", and so on.) Resolves ticket 9214.
  13993. Patch by CharlieB.
  13994. o Minor features (build):
  13995. - Add support for `--library-versions` flag. Implements ticket 6384.
  13996. - Return the "unexpected sendme" warnings to a warn severity, but make
  13997. them rate limited, to help diagnose ticket 8093.
  13998. - Detect a missing asciidoc, and warn the user about it, during
  13999. configure rather than at build time. Fixes issue 6506. Patch from
  14000. Arlo Breault.
  14001. o Minor features (other):
  14002. - Use the SOCK_NONBLOCK socket type, if supported, to open nonblocking
  14003. sockets in a single system call. Implements ticket 5129.
  14004. - Log current accounting state (bytes sent and received + remaining
  14005. time for the current accounting period) in the relay's heartbeat
  14006. message. Implements ticket 5526; patch from Peter Retzlaff.
  14007. - Implement the TRANSPORT_LAUNCHED control port event that
  14008. notifies controllers about new launched pluggable
  14009. transports. Resolves ticket 5609.
  14010. - If we're using the pure-C 32-bit curve25519_donna implementation
  14011. of curve25519, build it with the -fomit-frame-pointer option to
  14012. make it go faster on register-starved hosts. This improves our
  14013. handshake performance by about 6% on i386 hosts without nacl.
  14014. Closes ticket 8109.
  14015. - Update to the September 4 2013 Maxmind GeoLite Country database.
  14016. o Minor bugfixes:
  14017. - Set the listen() backlog limit to the largest actually supported
  14018. on the system, not to the value in a header file. Fixes bug 9716;
  14019. bugfix on every released Tor.
  14020. - No longer accept malformed http headers when parsing urls from
  14021. headers. Now we reply with Bad Request ("400"). Fixes bug 2767;
  14022. bugfix on 0.0.6pre1.
  14023. - In munge_extrainfo_into_routerinfo(), check the return value of
  14024. memchr(). This would have been a serious issue if we ever passed
  14025. it a non-extrainfo. Fixes bug 8791; bugfix on 0.2.0.6-alpha. Patch
  14026. from Arlo Breault.
  14027. - On the chance that somebody manages to build Tor on a
  14028. platform where time_t is unsigned, correct the way that
  14029. microdesc_add_to_cache() handles negative time arguments.
  14030. Fixes bug 8042; bugfix on 0.2.3.1-alpha.
  14031. - Reject relative control socket paths and emit a warning. Previously,
  14032. single-component control socket paths would be rejected, but Tor
  14033. would not log why it could not validate the config. Fixes bug 9258;
  14034. bugfix on 0.2.3.16-alpha.
  14035. o Minor bugfixes (command line):
  14036. - Use a single command-line parser for parsing torrc options on the
  14037. command line and for finding special command-line options to avoid
  14038. inconsistent behavior for torrc option arguments that have the same
  14039. names as command-line options. Fixes bugs 4647 and 9578; bugfix on
  14040. 0.0.9pre5.
  14041. - No longer allow 'tor --hash-password' with no arguments. Fixes bug
  14042. 9573; bugfix on 0.0.9pre5.
  14043. o Minor fixes (build, auxiliary programs):
  14044. - Stop preprocessing the "torify" script with autoconf, since
  14045. it no longer refers to LOCALSTATEDIR. Fixes bug 5505; patch
  14046. from Guilhem.
  14047. - The tor-fw-helper program now follows the standard convention and
  14048. exits with status code "0" on success. Fixes bug 9030; bugfix on
  14049. 0.2.3.1-alpha. Patch by Arlo Breault.
  14050. - Corrected ./configure advice for what openssl dev package you should
  14051. install on Debian. Fixes bug 9207; bugfix on 0.2.0.1-alpha.
  14052. o Minor code improvements:
  14053. - Remove constants and tests for PKCS1 padding; it's insecure and
  14054. shouldn't be used for anything new. Fixes bug 8792; patch
  14055. from Arlo Breault.
  14056. - Remove instances of strcpy() from the unit tests. They weren't
  14057. hurting anything, since they were only in the unit tests, but it's
  14058. embarrassing to have strcpy() in the code at all, and some analysis
  14059. tools don't like it. Fixes bug 8790; bugfix on 0.2.3.6-alpha and
  14060. 0.2.3.8-alpha. Patch from Arlo Breault.
  14061. o Removed features:
  14062. - Remove migration code from when we renamed the "cached-routers"
  14063. file to "cached-descriptors" back in 0.2.0.8-alpha. This
  14064. incidentally resolves ticket 6502 by cleaning up the related code
  14065. a bit. Patch from Akshay Hebbar.
  14066. o Code simplification and refactoring:
  14067. - Extract the common duplicated code for creating a subdirectory
  14068. of the data directory and writing to a file in it. Fixes ticket
  14069. 4282; patch from Peter Retzlaff.
  14070. - Since OpenSSL 0.9.7, the i2d_*() functions support allocating output
  14071. buffer. Avoid calling twice: i2d_RSAPublicKey(), i2d_DHparams(),
  14072. i2d_X509(), and i2d_PublicKey(). Resolves ticket 5170.
  14073. - Add a set of accessor functions for the circuit timeout data
  14074. structure. Fixes ticket 6153; patch from "piet".
  14075. - Clean up exit paths from connection_listener_new(). Closes ticket
  14076. 8789. Patch from Arlo Breault.
  14077. - Since we rely on OpenSSL 0.9.8 now, we can use EVP_PKEY_cmp()
  14078. and drop our own custom pkey_eq() implementation. Fixes bug 9043.
  14079. - Use a doubly-linked list to implement the global circuit list.
  14080. Resolves ticket 9108. Patch from Marek Majkowski.
  14081. - Remove contrib/id_to_fp.c since it wasn't used anywhere.
  14082. Changes in version 0.2.4.17-rc - 2013-09-05
  14083. Tor 0.2.4.17-rc is the third release candidate for the Tor 0.2.4.x
  14084. series. It adds an emergency step to help us tolerate the massive
  14085. influx of users: 0.2.4 clients using the new (faster and safer) "NTor"
  14086. circuit-level handshakes now effectively jump the queue compared to
  14087. the 0.2.3 clients using "TAP" handshakes. This release also fixes a
  14088. big bug hindering bridge reachability tests.
  14089. o Major features:
  14090. - Relays now process the new "NTor" circuit-level handshake requests
  14091. with higher priority than the old "TAP" circuit-level handshake
  14092. requests. We still process some TAP requests to not totally starve
  14093. 0.2.3 clients when NTor becomes popular. A new consensus parameter
  14094. "NumNTorsPerTAP" lets us tune the balance later if we need to.
  14095. Implements ticket 9574.
  14096. o Major bugfixes:
  14097. - If the circuit build timeout logic is disabled (via the consensus,
  14098. or because we are an authority), then don't build testing circuits.
  14099. Fixes bug 9657; bugfix on 0.2.2.14-alpha.
  14100. - Bridges now send AUTH_CHALLENGE cells during their v3 handshakes;
  14101. previously they did not, which prevented them from receiving
  14102. successful connections from relays for self-test or bandwidth
  14103. testing. Also, when a relay is extending a circuit to a bridge,
  14104. it needs to send a NETINFO cell, even when the bridge hasn't sent
  14105. an AUTH_CHALLENGE cell. Fixes bug 9546; bugfix on 0.2.3.6-alpha.
  14106. - If the time to download the next old-style networkstatus is in
  14107. the future, do not decline to consider whether to download the
  14108. next microdescriptor networkstatus. Fixes bug 9564; bugfix on
  14109. 0.2.3.14-alpha.
  14110. o Minor bugfixes:
  14111. - Avoid double-closing the listener socket in our socketpair()
  14112. replacement (used on Windows) in the case where the addresses on
  14113. our opened sockets don't match what we expected. Fixes bug 9400;
  14114. bugfix on 0.0.2pre7. Found by Coverity.
  14115. o Minor fixes (config options):
  14116. - Avoid overflows when the user sets MaxCircuitDirtiness to a
  14117. ridiculously high value, by imposing a (ridiculously high) 30-day
  14118. maximum on MaxCircuitDirtiness.
  14119. - Fix the documentation of HeartbeatPeriod to say that the heartbeat
  14120. message is logged at notice, not at info.
  14121. - Warn and fail if a server is configured not to advertise any
  14122. ORPorts at all. (We need *something* to put in our descriptor,
  14123. or we just won't work.)
  14124. o Minor features:
  14125. - Track how many "TAP" and "NTor" circuit handshake requests we get,
  14126. and how many we complete, and log it every hour to help relay
  14127. operators follow trends in network load. Addresses ticket 9658.
  14128. - Update to the August 7 2013 Maxmind GeoLite Country database.
  14129. Changes in version 0.2.4.16-rc - 2013-08-10
  14130. Tor 0.2.4.16-rc is the second release candidate for the Tor 0.2.4.x
  14131. series. It fixes several crash bugs in the 0.2.4 branch.
  14132. o Major bugfixes:
  14133. - Fix a bug in the voting algorithm that could yield incorrect results
  14134. when a non-naming authority declared too many flags. Fixes bug 9200;
  14135. bugfix on 0.2.0.3-alpha.
  14136. - Fix an uninitialized read that could in some cases lead to a remote
  14137. crash while parsing INTRODUCE2 cells. Bugfix on 0.2.4.1-alpha.
  14138. Anybody running a hidden service on the experimental 0.2.4.x
  14139. branch should upgrade. (This is, so far as we know, unrelated to
  14140. the recent news.)
  14141. - Avoid an assertion failure when processing DNS replies without the
  14142. answer types we expected. Fixes bug 9337; bugfix on 0.2.4.7-alpha.
  14143. - Avoid a crash when using --hash-password. Fixes bug 9295; bugfix on
  14144. 0.2.4.15-rc. Found by stem integration tests.
  14145. o Minor bugfixes:
  14146. - Fix an invalid memory read that occurred when a pluggable
  14147. transport proxy failed its configuration protocol.
  14148. Fixes bug 9288; bugfix on 0.2.4.1-alpha.
  14149. - When evaluating whether to use a connection that we haven't
  14150. decided is canonical using a recent link protocol version,
  14151. decide that it's canonical only if it used address _does_
  14152. match the desired address. Fixes bug 9309; bugfix on
  14153. 0.2.4.4-alpha. Reported by skruffy.
  14154. - Make the default behavior of NumDirectoryGuards be to track
  14155. NumEntryGuards. Now a user who changes only NumEntryGuards will get
  14156. the behavior she expects. Fixes bug 9354; bugfix on 0.2.4.8-alpha.
  14157. - Fix a spurious compilation warning with some older versions of
  14158. GCC on FreeBSD. Fixes bug 9254; bugfix on 0.2.4.14-alpha.
  14159. o Minor features:
  14160. - Update to the July 3 2013 Maxmind GeoLite Country database.
  14161. Changes in version 0.2.4.15-rc - 2013-07-01
  14162. Tor 0.2.4.15-rc is the first release candidate for the Tor 0.2.4.x
  14163. series. It fixes a few smaller bugs, but generally appears stable.
  14164. Please test it and let us know whether it is!
  14165. o Major bugfixes:
  14166. - When receiving a new configuration file via the control port's
  14167. LOADCONF command, do not treat the defaults file as absent.
  14168. Fixes bug 9122; bugfix on 0.2.3.9-alpha.
  14169. o Minor features:
  14170. - Issue a warning when running with the bufferevents backend enabled.
  14171. It's still not stable, and people should know that they're likely
  14172. to hit unexpected problems. Closes ticket 9147.
  14173. Changes in version 0.2.4.14-alpha - 2013-06-18
  14174. Tor 0.2.4.14-alpha fixes a pair of client guard enumeration problems
  14175. present in 0.2.4.13-alpha.
  14176. o Major bugfixes:
  14177. - When we have too much memory queued in circuits (according to a new
  14178. MaxMemInCellQueues option), close the circuits consuming the most
  14179. memory. This prevents us from running out of memory as a relay if
  14180. circuits fill up faster than they can be drained. Fixes bug 9063;
  14181. bugfix on the 54th commit of Tor. This bug is a further fix beyond
  14182. bug 6252, whose fix was merged into 0.2.3.21-rc.
  14183. This change also fixes an earlier approach taken in 0.2.4.13-alpha,
  14184. where we tried to solve this issue simply by imposing an upper limit
  14185. on the number of queued cells for a single circuit. That approach
  14186. proved to be problematic, since there are ways to provoke clients to
  14187. send a number of cells in excess of any such reasonable limit. Fixes
  14188. bug 9072; bugfix on 0.2.4.13-alpha.
  14189. - Limit hidden service descriptors to at most ten introduction
  14190. points, to slow one kind of guard enumeration. Fixes bug 9002;
  14191. bugfix on 0.1.1.11-alpha.
  14192. Changes in version 0.2.4.13-alpha - 2013-06-14
  14193. Tor 0.2.4.13-alpha fixes a variety of potential remote crash
  14194. vulnerabilities, makes socks5 username/password circuit isolation
  14195. actually actually work (this time for sure!), and cleans up a bunch
  14196. of other issues in preparation for a release candidate.
  14197. o Major bugfixes (robustness):
  14198. - Close any circuit that has too many cells queued on it. Fixes
  14199. bug 9063; bugfix on the 54th commit of Tor. This bug is a further
  14200. fix beyond bug 6252, whose fix was merged into 0.2.3.21-rc.
  14201. - Prevent the get_freelists() function from running off the end of
  14202. the list of freelists if it somehow gets an unrecognized
  14203. allocation. Fixes bug 8844; bugfix on 0.2.0.16-alpha. Reported by
  14204. eugenis.
  14205. - Avoid an assertion failure on OpenBSD (and perhaps other BSDs)
  14206. when an exit connection with optimistic data succeeds immediately
  14207. rather than returning EINPROGRESS. Fixes bug 9017; bugfix on
  14208. 0.2.3.1-alpha.
  14209. - Fix a directory authority crash bug when building a consensus
  14210. using an older consensus as its basis. Fixes bug 8833. Bugfix
  14211. on 0.2.4.12-alpha.
  14212. o Major bugfixes:
  14213. - Avoid a memory leak where we would leak a consensus body when we
  14214. find that a consensus which we couldn't previously verify due to
  14215. missing certificates is now verifiable. Fixes bug 8719; bugfix
  14216. on 0.2.0.10-alpha.
  14217. - We used to always request authority certificates by identity digest,
  14218. meaning we'd get the newest one even when we wanted one with a
  14219. different signing key. Then we would complain about being given
  14220. a certificate we already had, and never get the one we really
  14221. wanted. Now we use the "fp-sk/" resource as well as the "fp/"
  14222. resource to request the one we want. Fixes bug 5595; bugfix on
  14223. 0.2.0.8-alpha.
  14224. - Follow the socks5 protocol when offering username/password
  14225. authentication. The fix for bug 8117 exposed this bug, and it
  14226. turns out real-world applications like Pidgin do care. Bugfix on
  14227. 0.2.3.2-alpha; fixes bug 8879.
  14228. - Prevent failures on Windows Vista and later when rebuilding the
  14229. microdescriptor cache. Diagnosed by Robert Ransom. Fixes bug 8822;
  14230. bugfix on 0.2.4.12-alpha.
  14231. o Minor bugfixes:
  14232. - Fix an impossible buffer overrun in the AES unit tests. Fixes
  14233. bug 8845; bugfix on 0.2.0.7-alpha. Found by eugenis.
  14234. - If for some reason we fail to write a microdescriptor while
  14235. rebuilding the cache, do not let the annotations from that
  14236. microdescriptor linger in the cache file, and do not let the
  14237. microdescriptor stay recorded as present in its old location.
  14238. Fixes bug 9047; bugfix on 0.2.2.6-alpha.
  14239. - Fix a memory leak that would occur whenever a configuration
  14240. option changed. Fixes bug 8718; bugfix on 0.2.3.3-alpha.
  14241. - Paste the description for PathBias parameters from the man
  14242. page into or.h, so the code documents them too. Fixes bug 7982;
  14243. bugfix on 0.2.3.17-beta and 0.2.4.8-alpha.
  14244. - Relays now treat a changed IPv6 ORPort as sufficient reason to
  14245. publish an updated descriptor. Fixes bug 6026; bugfix on
  14246. 0.2.4.1-alpha.
  14247. - When launching a resolve request on behalf of an AF_UNIX control
  14248. socket, omit the address field of the new entry connection, used in
  14249. subsequent controller events, rather than letting tor_dup_addr()
  14250. set it to "<unknown address type>". Fixes bug 8639; bugfix on
  14251. 0.2.4.12-alpha.
  14252. o Minor bugfixes (log messages):
  14253. - Fix a scaling issue in the path bias accounting code that
  14254. resulted in "Bug:" log messages from either
  14255. pathbias_scale_close_rates() or pathbias_count_build_success().
  14256. This represents a bugfix on a previous bugfix: the original fix
  14257. attempted in 0.2.4.10-alpha was incomplete. Fixes bug 8235; bugfix
  14258. on 0.2.4.1-alpha.
  14259. - Give a less useless error message when the user asks for an IPv4
  14260. address on an IPv6-only port, or vice versa. Fixes bug 8846; bugfix
  14261. on 0.2.4.7-alpha.
  14262. o Minor features:
  14263. - Downgrade "unexpected SENDME" warnings to protocol-warn for 0.2.4.x,
  14264. to tolerate bug 8093 for now.
  14265. - Add an "ignoring-advertised-bws" boolean to the flag-threshold lines
  14266. in directory authority votes to describe whether they have enough
  14267. measured bandwidths to ignore advertised (relay descriptor)
  14268. bandwidth claims. Resolves ticket 8711.
  14269. - Update to the June 5 2013 Maxmind GeoLite Country database.
  14270. o Removed documentation:
  14271. - Remove some of the older contents of doc/ as obsolete; move others
  14272. to torspec.git. Fixes bug 8965.
  14273. o Code simplification and refactoring:
  14274. - Avoid using character buffers when constructing most directory
  14275. objects: this approach was unwieldy and error-prone. Instead,
  14276. build smartlists of strings, and concatenate them when done.
  14277. Changes in version 0.2.4.12-alpha - 2013-04-18
  14278. Tor 0.2.4.12-alpha moves Tor forward on several fronts: it starts the
  14279. process for lengthening the guard rotation period, makes directory
  14280. authority opinions in the consensus a bit less gameable, makes socks5
  14281. username/password circuit isolation actually work, and fixes a wide
  14282. variety of other issues.
  14283. o Major features:
  14284. - Raise the default time that a client keeps an entry guard from
  14285. "1-2 months" to "2-3 months", as suggested by Tariq Elahi's WPES
  14286. 2012 paper. (We would make it even longer, but we need better client
  14287. load balancing first.) Also, make the guard lifetime controllable
  14288. via a new GuardLifetime torrc option and a GuardLifetime consensus
  14289. parameter. Start of a fix for bug 8240; bugfix on 0.1.1.11-alpha.
  14290. - Directory authorities now prefer using measured bandwidths to
  14291. advertised ones when computing flags and thresholds. Resolves
  14292. ticket 8273.
  14293. - Directory authorities that have more than a threshold number
  14294. of relays with measured bandwidths now treat relays with unmeasured
  14295. bandwidths as having bandwidth 0. Resolves ticket 8435.
  14296. o Major bugfixes (assert / resource use):
  14297. - Avoid a bug where our response to TLS renegotiation under certain
  14298. network conditions could lead to a busy-loop, with 100% CPU
  14299. consumption. Fixes bug 5650; bugfix on 0.2.0.16-alpha.
  14300. - Avoid an assertion when we discover that we'd like to write a cell
  14301. onto a closing connection: just discard the cell. Fixes another
  14302. case of bug 7350; bugfix on 0.2.4.4-alpha.
  14303. o Major bugfixes (client-side privacy):
  14304. - When we mark a circuit as unusable for new circuits, have it
  14305. continue to be unusable for new circuits even if MaxCircuitDirtiness
  14306. is increased too much at the wrong time, or the system clock jumps
  14307. backwards. Fixes bug 6174; bugfix on 0.0.2pre26.
  14308. - If ClientDNSRejectInternalAddresses ("do not believe DNS queries
  14309. which have resolved to internal addresses") is set, apply that
  14310. rule to IPv6 as well. Fixes bug 8475; bugfix on 0.2.0.7-alpha.
  14311. - When an exit relay rejects a stream with reason "exit policy", but
  14312. we only know an exit policy summary (e.g. from the microdesc
  14313. consensus) for it, do not mark the relay as useless for all exiting.
  14314. Instead, mark just the circuit as unsuitable for that particular
  14315. address. Fixes part of bug 7582; bugfix on 0.2.3.2-alpha.
  14316. - Allow applications to get proper stream isolation with
  14317. IsolateSOCKSAuth. Many SOCKS5 clients that want to offer
  14318. username/password authentication also offer "no authentication". Tor
  14319. had previously preferred "no authentication", so the applications
  14320. never actually sent Tor their auth details. Now Tor selects
  14321. username/password authentication if it's offered. You can disable
  14322. this behavior on a per-SOCKSPort basis via PreferSOCKSNoAuth. Fixes
  14323. bug 8117; bugfix on 0.2.3.3-alpha.
  14324. o Major bugfixes (other):
  14325. - When unable to find any working directory nodes to use as a
  14326. directory guard, give up rather than adding the same non-working
  14327. nodes to the directory guard list over and over. Fixes bug 8231;
  14328. bugfix on 0.2.4.8-alpha.
  14329. o Minor features:
  14330. - Reject as invalid most directory objects containing a NUL.
  14331. Belt-and-suspender fix for bug 8037.
  14332. - In our testsuite, create temporary directories with a bit more
  14333. entropy in their name to make name collisions less likely. Fixes
  14334. bug 8638.
  14335. - Add CACHED keyword to ADDRMAP events in the control protocol
  14336. to indicate whether a DNS result will be cached or not. Resolves
  14337. ticket 8596.
  14338. - Update to the April 3 2013 Maxmind GeoLite Country database.
  14339. o Minor features (build):
  14340. - Detect and reject attempts to build Tor with threading support
  14341. when OpenSSL has been compiled without threading support.
  14342. Fixes bug 6673.
  14343. - Clarify that when autoconf is checking for nacl, it is checking
  14344. specifically for nacl with a fast curve25519 implementation.
  14345. Fixes bug 8014.
  14346. - Warn if building on a platform with an unsigned time_t: there
  14347. are too many places where Tor currently assumes that time_t can
  14348. hold negative values. We'd like to fix them all, but probably
  14349. some will remain.
  14350. o Minor bugfixes (build):
  14351. - Fix some bugs in tor-fw-helper-natpmp when trying to build and
  14352. run it on Windows. More bugs likely remain. Patch from Gisle Vanem.
  14353. Fixes bug 7280; bugfix on 0.2.3.1-alpha.
  14354. - Add the old src/or/micro-revision.i filename to CLEANFILES.
  14355. On the off chance that somebody has one, it will go away as soon
  14356. as they run "make clean". Fix for bug 7143; bugfix on 0.2.4.1-alpha.
  14357. - Build Tor correctly on 32-bit platforms where the compiler can build
  14358. but not run code using the "uint128_t" construction. Fixes bug 8587;
  14359. bugfix on 0.2.4.8-alpha.
  14360. - Fix compilation warning with some versions of clang that would
  14361. prefer the -Wswitch-enum compiler flag to warn about switch
  14362. statements with missing enum values, even if those switch
  14363. statements have a "default:" statement. Fixes bug 8598; bugfix
  14364. on 0.2.4.10-alpha.
  14365. o Minor bugfixes (protocol):
  14366. - Fix the handling of a TRUNCATE cell when it arrives while the
  14367. circuit extension is in progress. Fixes bug 7947; bugfix on 0.0.7.1.
  14368. - Fix a misframing issue when reading the version numbers in a
  14369. VERSIONS cell. Previously we would recognize [00 01 00 02] as
  14370. 'version 1, version 2, and version 0x100', when it should have
  14371. only included versions 1 and 2. Fixes bug 8059; bugfix on
  14372. 0.2.0.10-alpha. Reported pseudonymously.
  14373. - Make the format and order of STREAM events for DNS lookups
  14374. consistent among the various ways to launch DNS lookups. Fixes
  14375. bug 8203; bugfix on 0.2.0.24-rc. Patch by "Desoxy".
  14376. - Correct our check for which versions of Tor support the EXTEND2
  14377. cell. We had been willing to send it to Tor 0.2.4.7-alpha and
  14378. later, when support was really added in version 0.2.4.8-alpha.
  14379. Fixes bug 8464; bugfix on 0.2.4.8-alpha.
  14380. o Minor bugfixes (other):
  14381. - Correctly store microdescriptors and extrainfo descriptors with
  14382. an internal NUL byte. Fixes bug 8037; bugfix on 0.2.0.1-alpha.
  14383. Bug reported by "cypherpunks".
  14384. - Increase the width of the field used to remember a connection's
  14385. link protocol version to two bytes. Harmless for now, since the
  14386. only currently recognized versions are one byte long. Reported
  14387. pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha.
  14388. - If the state file's path bias counts are invalid (presumably from a
  14389. buggy Tor prior to 0.2.4.10-alpha), make them correct. Also add
  14390. additional checks and log messages to the scaling of Path Bias
  14391. counts, in case there still are remaining issues with scaling.
  14392. Should help resolve bug 8235.
  14393. - Eliminate several instances where we use "Nickname=ID" to refer to
  14394. nodes in logs. Use "Nickname (ID)" instead. (Elsewhere, we still use
  14395. "$ID=Nickname", which is also acceptable.) Fixes bug 7065. Bugfix
  14396. on 0.2.3.21-rc, 0.2.4.5-alpha, 0.2.4.8-alpha, and 0.2.4.10-alpha.
  14397. o Minor bugfixes (syscalls):
  14398. - Always check the return values of functions fcntl() and
  14399. setsockopt(). We don't believe these are ever actually failing in
  14400. practice, but better safe than sorry. Also, checking these return
  14401. values should please analysis tools like Coverity. Patch from
  14402. 'flupzor'. Fixes bug 8206; bugfix on all versions of Tor.
  14403. - Use direct writes rather than stdio when building microdescriptor
  14404. caches, in an attempt to mitigate bug 8031, or at least make it
  14405. less common.
  14406. o Minor bugfixes (config):
  14407. - When rejecting a configuration because we were unable to parse a
  14408. quoted string, log an actual error message. Fixes bug 7950; bugfix
  14409. on 0.2.0.16-alpha.
  14410. - Behave correctly when the user disables LearnCircuitBuildTimeout
  14411. but doesn't tell us what they would like the timeout to be. Fixes
  14412. bug 6304; bugfix on 0.2.2.14-alpha.
  14413. - When autodetecting the number of CPUs, use the number of available
  14414. CPUs in preference to the number of configured CPUs. Inform the
  14415. user if this reduces the number of available CPUs. Fixes bug 8002;
  14416. bugfix on 0.2.3.1-alpha.
  14417. - Make it an error when you set EntryNodes but disable UseGuardNodes,
  14418. since it will (surprisingly to some users) ignore EntryNodes. Fixes
  14419. bug 8180; bugfix on 0.2.3.11-alpha.
  14420. - Allow TestingTorNetworks to override the 4096-byte minimum for
  14421. the Fast threshold. Otherwise they can't bootstrap until they've
  14422. observed more traffic. Fixes bug 8508; bugfix on 0.2.4.10-alpha.
  14423. - Fix some logic errors when the user manually overrides the
  14424. PathsNeededToBuildCircuits option in torrc. Fixes bug 8599; bugfix
  14425. on 0.2.4.10-alpha.
  14426. o Minor bugfixes (log messages to help diagnose bugs):
  14427. - If we fail to free a microdescriptor because of bug 7164, log
  14428. the filename and line number from which we tried to free it.
  14429. - Add another diagnostic to the heartbeat message: track and log
  14430. overhead that TLS is adding to the data we write. If this is
  14431. high, we are sending too little data to SSL_write at a time.
  14432. Diagnostic for bug 7707.
  14433. - Add more detail to a log message about relaxed timeouts, to help
  14434. track bug 7799.
  14435. - Warn more aggressively when flushing microdescriptors to a
  14436. microdescriptor cache fails, in an attempt to mitigate bug 8031,
  14437. or at least make it more diagnosable.
  14438. - Improve debugging output to help track down bug 8185 ("Bug:
  14439. outgoing relay cell has n_chan==NULL. Dropping.")
  14440. - Log the purpose of a path-bias testing circuit correctly.
  14441. Improves a log message from bug 8477; bugfix on 0.2.4.8-alpha.
  14442. o Minor bugfixes (0.2.4.x log messages that were too noisy):
  14443. - Don't attempt to relax the timeout of already opened 1-hop circuits.
  14444. They might never timeout. This should eliminate some/all cases of
  14445. the relaxed timeout log message.
  14446. - Use circuit creation time for network liveness evaluation. This
  14447. should eliminate warning log messages about liveness caused
  14448. by changes in timeout evaluation. Fixes bug 6572; bugfix on
  14449. 0.2.4.8-alpha.
  14450. - Reduce a path bias length check from notice to info. The message
  14451. is triggered when creating controller circuits. Fixes bug 8196;
  14452. bugfix on 0.2.4.8-alpha.
  14453. - Fix a path state issue that triggered a notice during relay startup.
  14454. Fixes bug 8320; bugfix on 0.2.4.10-alpha.
  14455. - Reduce occurrences of warns about circuit purpose in
  14456. connection_ap_expire_building(). Fixes bug 8477; bugfix on
  14457. 0.2.4.11-alpha.
  14458. o Minor bugfixes (pre-0.2.4.x log messages that were too noisy):
  14459. - If we encounter a write failure on a SOCKS connection before we
  14460. finish our SOCKS handshake, don't warn that we closed the
  14461. connection before we could send a SOCKS reply. Fixes bug 8427;
  14462. bugfix on 0.1.0.1-rc.
  14463. - Correctly recognize that [::1] is a loopback address. Fixes
  14464. bug 8377; bugfix on 0.2.1.3-alpha.
  14465. - Fix a directory authority warn caused when we have a large amount
  14466. of badexit bandwidth. Fixes bug 8419; bugfix on 0.2.2.10-alpha.
  14467. - Don't log inappropriate heartbeat messages when hibernating: a
  14468. hibernating node is _expected_ to drop out of the consensus,
  14469. decide it isn't bootstrapped, and so forth. Fixes bug 7302;
  14470. bugfix on 0.2.3.1-alpha.
  14471. - Don't complain about bootstrapping problems while hibernating.
  14472. These complaints reflect a general code problem, but not one
  14473. with any problematic effects (no connections are actually
  14474. opened). Fixes part of bug 7302; bugfix on 0.2.3.2-alpha.
  14475. o Documentation fixes:
  14476. - Update tor-fw-helper.1.txt and tor-fw-helper.c to make option
  14477. names match. Fixes bug 7768.
  14478. - Make the torify manpage no longer refer to tsocks; torify hasn't
  14479. supported tsocks since 0.2.3.14-alpha.
  14480. - Make the tor manpage no longer reference tsocks.
  14481. - Fix the GeoIPExcludeUnknown documentation to refer to
  14482. ExcludeExitNodes rather than the currently nonexistent
  14483. ExcludeEntryNodes. Spotted by "hamahangi" on tor-talk.
  14484. o Removed files:
  14485. - The tor-tsocks.conf is no longer distributed or installed. We
  14486. recommend that tsocks users use torsocks instead. Resolves
  14487. ticket 8290.
  14488. Changes in version 0.2.4.11-alpha - 2013-03-11
  14489. Tor 0.2.4.11-alpha makes relay measurement by directory authorities
  14490. more robust, makes hidden service authentication work again, and
  14491. resolves a DPI fingerprint for Tor's SSL transport.
  14492. o Major features (directory authorities):
  14493. - Directory authorities now support a new consensus method (17)
  14494. where they cap the published bandwidth of servers for which
  14495. insufficient bandwidth measurements exist. Fixes part of bug 2286.
  14496. - Directory authorities that set "DisableV2DirectoryInfo_ 1" no longer
  14497. serve any v2 directory information. Now we can test disabling the
  14498. old deprecated v2 directory format, and see whether doing so has
  14499. any effect on network load. Begins to fix bug 6783.
  14500. - Directory authorities now include inside each vote a statement of
  14501. the performance thresholds they used when assigning flags.
  14502. Implements ticket 8151.
  14503. o Major bugfixes (directory authorities):
  14504. - Stop marking every relay as having been down for one hour every
  14505. time we restart a directory authority. These artificial downtimes
  14506. were messing with our Stable and Guard flag calculations. Fixes
  14507. bug 8218 (introduced by the fix for 1035). Bugfix on 0.2.2.23-alpha.
  14508. o Major bugfixes (hidden services):
  14509. - Allow hidden service authentication to succeed again. When we
  14510. refactored the hidden service introduction code back
  14511. in 0.2.4.1-alpha, we didn't update the code that checks
  14512. whether authentication information is present, causing all
  14513. authentication checks to return "false". Fix for bug 8207; bugfix
  14514. on 0.2.4.1-alpha. Found by Coverity; this is CID 718615.
  14515. o Minor features (relays, bridges):
  14516. - Make bridge relays check once a minute for whether their IP
  14517. address has changed, rather than only every 15 minutes. Resolves
  14518. bugs 1913 and 1992.
  14519. - Refactor resolve_my_address() so it returns the method by which we
  14520. decided our public IP address (explicitly configured, resolved from
  14521. explicit hostname, guessed from interfaces, learned by gethostname).
  14522. Now we can provide more helpful log messages when a relay guesses
  14523. its IP address incorrectly (e.g. due to unexpected lines in
  14524. /etc/hosts). Resolves ticket 2267.
  14525. - Teach bridge-using clients to avoid 0.2.2 bridges when making
  14526. microdescriptor-related dir requests, and only fall back to normal
  14527. descriptors if none of their bridges can handle microdescriptors
  14528. (as opposed to the fix in ticket 4013, which caused them to fall
  14529. back to normal descriptors if *any* of their bridges preferred
  14530. them). Resolves ticket 4994.
  14531. - Randomize the lifetime of our SSL link certificate, so censors can't
  14532. use the static value for filtering Tor flows. Resolves ticket 8443;
  14533. related to ticket 4014 which was included in 0.2.2.33.
  14534. - Support a new version of the link protocol that allows 4-byte circuit
  14535. IDs. Previously, circuit IDs were limited to 2 bytes, which presented
  14536. a possible resource exhaustion issue. Closes ticket 7351; implements
  14537. proposal 214.
  14538. o Minor features (portability):
  14539. - Tweak the curve25519-donna*.c implementations to tolerate systems
  14540. that lack stdint.h. Fixes bug 3894; bugfix on 0.2.4.8-alpha.
  14541. - Use Ville Laurikari's implementation of AX_CHECK_SIGN() to determine
  14542. the signs of types during autoconf. This is better than our old
  14543. approach, which didn't work when cross-compiling.
  14544. - Detect the sign of enum values, rather than assuming that MSC is the
  14545. only compiler where enum types are all signed. Fixes bug 7727;
  14546. bugfix on 0.2.4.10-alpha.
  14547. o Minor features (other):
  14548. - Say "KBytes" rather than "KB" in the man page (for various values
  14549. of K), to further reduce confusion about whether Tor counts in
  14550. units of memory or fractions of units of memory. Resolves ticket 7054.
  14551. - Clear the high bit on curve25519 public keys before passing them to
  14552. our backend, in case we ever wind up using a backend that doesn't do
  14553. so itself. If we used such a backend, and *didn't* clear the high bit,
  14554. we could wind up in a situation where users with such backends would
  14555. be distinguishable from users without. Fixes bug 8121; bugfix on
  14556. 0.2.4.8-alpha.
  14557. - Update to the March 6 2013 Maxmind GeoLite Country database.
  14558. o Minor bugfixes (clients):
  14559. - When we receive a RELAY_END cell with the reason DONE, or with no
  14560. reason, before receiving a RELAY_CONNECTED cell, report the SOCKS
  14561. status as "connection refused". Previously we reported these cases
  14562. as success but then immediately closed the connection. Fixes bug
  14563. 7902; bugfix on 0.1.0.1-rc. Reported by "oftc_must_be_destroyed".
  14564. - Downgrade an assertion in connection_ap_expire_beginning to an
  14565. LD_BUG message. The fix for bug 8024 should prevent this message
  14566. from displaying, but just in case, a warn that we can diagnose
  14567. is better than more assert crashes. Fixes bug 8065; bugfix on
  14568. 0.2.4.8-alpha.
  14569. - Lower path use bias thresholds to .80 for notice and .60 for warn.
  14570. Also make the rate limiting flags for the path use bias log messages
  14571. independent from the original path bias flags. Fixes bug 8161;
  14572. bugfix on 0.2.4.10-alpha.
  14573. o Minor bugfixes (relays):
  14574. - Stop trying to resolve our hostname so often (e.g. every time we
  14575. think about doing a directory fetch). Now we reuse the cached
  14576. answer in some cases. Fixes bugs 1992 (bugfix on 0.2.0.20-rc)
  14577. and 2410 (bugfix on 0.1.2.2-alpha).
  14578. - Stop sending a stray "(null)" in some cases for the server status
  14579. "EXTERNAL_ADDRESS" controller event. Resolves bug 8200; bugfix
  14580. on 0.1.2.6-alpha.
  14581. - When choosing which stream on a formerly stalled circuit to wake
  14582. first, make better use of the platform's weak RNG. Previously,
  14583. we had been using the % ("modulo") operator to try to generate a
  14584. 1/N chance of picking each stream, but this behaves badly with
  14585. many platforms' choice of weak RNG. Fixes bug 7801; bugfix on
  14586. 0.2.2.20-alpha.
  14587. - Use our own weak RNG when we need a weak RNG. Windows's rand() and
  14588. Irix's random() only return 15 bits; Solaris's random() returns more
  14589. bits but its RAND_MAX says it only returns 15, and so on. Motivated
  14590. by the fix for bug 7801; bugfix on 0.2.2.20-alpha.
  14591. o Minor bugfixes (directory authorities):
  14592. - Directory authorities now use less space when formatting identical
  14593. microdescriptor lines in directory votes. Fixes bug 8158; bugfix
  14594. on 0.2.4.1-alpha.
  14595. o Minor bugfixes (memory leaks spotted by Coverity -- bug 7816):
  14596. - Avoid leaking memory if we fail to compute a consensus signature
  14597. or we generate a consensus we can't parse. Bugfix on 0.2.0.5-alpha.
  14598. - Fix a memory leak when receiving headers from an HTTPS proxy. Bugfix
  14599. on 0.2.1.1-alpha.
  14600. - Fix a memory leak during safe-cookie controller authentication.
  14601. Bugfix on 0.2.3.13-alpha.
  14602. - Avoid memory leak of IPv6 policy content if we fail to format it into
  14603. a router descriptor. Bugfix on 0.2.4.7-alpha.
  14604. o Minor bugfixes (other code correctness issues):
  14605. - Avoid a crash if we fail to generate an extrainfo descriptor.
  14606. Fixes bug 8208; bugfix on 0.2.3.16-alpha. Found by Coverity;
  14607. this is CID 718634.
  14608. - When detecting the largest possible file descriptor (in order to
  14609. close all file descriptors when launching a new program), actually
  14610. use _SC_OPEN_MAX. The old code for doing this was very, very broken.
  14611. Fixes bug 8209; bugfix on 0.2.3.1-alpha. Found by Coverity; this
  14612. is CID 743383.
  14613. - Fix a copy-and-paste error when adding a missing A1 to a routerset
  14614. because of GeoIPExcludeUnknown. Fix for Coverity CID 980650.
  14615. Bugfix on 0.2.4.10-alpha.
  14616. - Fix an impossible-to-trigger integer overflow when estimating how
  14617. long our onionskin queue would take. (This overflow would require us
  14618. to accept 4 million onionskins before processing 100 of them.) Fixes
  14619. bug 8210; bugfix on 0.2.4.10-alpha.
  14620. o Code simplification and refactoring:
  14621. - Add a wrapper function for the common "log a message with a
  14622. rate-limit" case.
  14623. Changes in version 0.2.4.10-alpha - 2013-02-04
  14624. Tor 0.2.4.10-alpha adds defenses at the directory authority level from
  14625. certain attacks that flood the network with relays; changes the queue
  14626. for circuit create requests from a sized-based limit to a time-based
  14627. limit; resumes building with MSVC on Windows; and fixes a wide variety
  14628. of other issues.
  14629. o Major bugfixes (directory authority):
  14630. - When computing directory thresholds, ignore any rejected-as-sybil
  14631. nodes during the computation so that they can't influence Fast,
  14632. Guard, etc. (We should have done this for proposal 109.) Fixes
  14633. bug 8146.
  14634. - When marking a node as a likely sybil, reset its uptime metrics
  14635. to zero, so that it cannot time towards getting marked as Guard,
  14636. Stable, or HSDir. (We should have done this for proposal 109.) Fixes
  14637. bug 8147.
  14638. o Major bugfixes:
  14639. - When a TLS write is partially successful but incomplete, remember
  14640. that the flushed part has been flushed, and notice that bytes were
  14641. actually written. Reported and fixed pseudonymously. Fixes bug
  14642. 7708; bugfix on Tor 0.1.0.5-rc.
  14643. - Reject bogus create and relay cells with 0 circuit ID or 0 stream
  14644. ID: these could be used to create unexpected streams and circuits
  14645. which would count as "present" to some parts of Tor but "absent"
  14646. to others, leading to zombie circuits and streams or to a bandwidth
  14647. denial-of-service. Fixes bug 7889; bugfix on every released version
  14648. of Tor. Reported by "oftc_must_be_destroyed".
  14649. - Rename all macros in our local copy of queue.h to begin with "TOR_".
  14650. This change seems the only good way to permanently prevent conflicts
  14651. with queue.h on various operating systems. Fixes bug 8107; bugfix
  14652. on 0.2.4.6-alpha.
  14653. o Major features (relay):
  14654. - Instead of limiting the number of queued onionskins (aka circuit
  14655. create requests) to a fixed, hard-to-configure number, we limit
  14656. the size of the queue based on how many we expect to be able to
  14657. process in a given amount of time. We estimate the time it will
  14658. take to process an onionskin based on average processing time
  14659. of previous onionskins. Closes ticket 7291. You'll never have to
  14660. configure MaxOnionsPending again.
  14661. o Major features (portability):
  14662. - Resume building correctly with MSVC and Makefile.nmake. This patch
  14663. resolves numerous bugs and fixes reported by ultramage, including
  14664. 7305, 7308, 7309, 7310, 7312, 7313, 7315, 7316, and 7669.
  14665. - Make the ntor and curve25519 code build correctly with MSVC.
  14666. Fix on 0.2.4.8-alpha.
  14667. o Minor features:
  14668. - When directory authorities are computing thresholds for flags,
  14669. never let the threshold for the Fast flag fall below 4096
  14670. bytes. Also, do not consider nodes with extremely low bandwidths
  14671. when deciding thresholds for various directory flags. This change
  14672. should raise our threshold for Fast relays, possibly in turn
  14673. improving overall network performance; see ticket 1854. Resolves
  14674. ticket 8145.
  14675. - The Tor client now ignores sub-domain components of a .onion
  14676. address. This change makes HTTP "virtual" hosting
  14677. possible: http://foo.aaaaaaaaaaaaaaaa.onion/ and
  14678. http://bar.aaaaaaaaaaaaaaaa.onion/ can be two different websites
  14679. hosted on the same hidden service. Implements proposal 204.
  14680. - We compute the overhead from passing onionskins back and forth to
  14681. cpuworkers, and report it when dumping statistics in response to
  14682. SIGUSR1. Supports ticket 7291.
  14683. o Minor features (path selection):
  14684. - When deciding whether we have enough descriptors to build circuits,
  14685. instead of looking at raw relay counts, look at which fraction
  14686. of (bandwidth-weighted) paths we're able to build. This approach
  14687. keeps clients from building circuits if their paths are likely to
  14688. stand out statistically. The default fraction of paths needed is
  14689. taken from the consensus directory; you can override it with the
  14690. new PathsNeededToBuildCircuits option. Fixes ticket 5956.
  14691. - When any country code is listed in ExcludeNodes or ExcludeExitNodes,
  14692. and we have GeoIP information, also exclude all nodes with unknown
  14693. countries "??" and "A1". This behavior is controlled by the
  14694. new GeoIPExcludeUnknown option: you can make such nodes always
  14695. excluded with "GeoIPExcludeUnknown 1", and disable the feature
  14696. with "GeoIPExcludeUnknown 0". Setting "GeoIPExcludeUnknown auto"
  14697. gets you the default behavior. Implements feature 7706.
  14698. - Path Use Bias: Perform separate accounting for successful circuit
  14699. use. Keep separate statistics on stream attempt rates versus stream
  14700. success rates for each guard. Provide configurable thresholds to
  14701. determine when to emit log messages or disable use of guards that
  14702. fail too many stream attempts. Resolves ticket 7802.
  14703. o Minor features (log messages):
  14704. - When learning a fingerprint for a bridge, log its corresponding
  14705. transport type. Implements ticket 7896.
  14706. - Improve the log message when "Bug/attack: unexpected sendme cell
  14707. from client" occurs, to help us track bug 8093.
  14708. o Minor bugfixes:
  14709. - Remove a couple of extraneous semicolons that were upsetting the
  14710. cparser library. Patch by Christian Grothoff. Fixes bug 7115;
  14711. bugfix on 0.2.2.1-alpha.
  14712. - Remove a source of rounding error during path bias count scaling;
  14713. don't count cannibalized circuits as used for path bias until we
  14714. actually try to use them; and fix a circuit_package_relay_cell()
  14715. warning message about n_chan==NULL. Fixes bug 7802.
  14716. - Detect nacl when its headers are in a nacl/ subdirectory. Also,
  14717. actually link against nacl when we're configured to use it. Fixes
  14718. bug 7972; bugfix on 0.2.4.8-alpha.
  14719. - Compile correctly with the --disable-curve25519 option. Fixes
  14720. bug 8153; bugfix on 0.2.4.8-alpha.
  14721. o Build improvements:
  14722. - Do not report status verbosely from autogen.sh unless the -v flag
  14723. is specified. Fixes issue 4664. Patch from Onizuka.
  14724. - Replace all calls to snprintf() outside of src/ext with
  14725. tor_snprintf(). Also remove the #define to replace snprintf with
  14726. _snprintf on Windows; they have different semantics, and all of
  14727. our callers should be using tor_snprintf() anyway. Fixes bug 7304.
  14728. - Try to detect if we are ever building on a platform where
  14729. memset(...,0,...) does not set the value of a double to 0.0. Such
  14730. platforms are permitted by the C standard, though in practice
  14731. they're pretty rare (since IEEE 754 is nigh-ubiquitous). We don't
  14732. currently support them, but it's better to detect them and fail
  14733. than to perform erroneously.
  14734. o Removed features:
  14735. - Stop exporting estimates of v2 and v3 directory traffic shares
  14736. in extrainfo documents. They were unneeded and sometimes inaccurate.
  14737. Also stop exporting any v2 directory request statistics. Resolves
  14738. ticket 5823.
  14739. - Drop support for detecting and warning about versions of Libevent
  14740. before 1.3e. Nothing reasonable ships with them any longer;
  14741. warning the user about them shouldn't be needed. Resolves ticket
  14742. 6826.
  14743. o Code simplifications and refactoring:
  14744. - Rename "isin" functions to "contains", for grammar. Resolves
  14745. ticket 5285.
  14746. - Rename Tor's logging function log() to tor_log(), to avoid conflicts
  14747. with the natural logarithm function from the system libm. Resolves
  14748. ticket 7599.
  14749. Changes in version 0.2.4.9-alpha - 2013-01-15
  14750. Tor 0.2.4.9-alpha provides a quick fix to make the new ntor handshake
  14751. work more robustly.
  14752. o Major bugfixes:
  14753. - Fix backward compatibility logic when receiving an embedded ntor
  14754. handshake tunneled in a CREATE cell. This clears up the "Bug:
  14755. couldn't format CREATED cell" warning. Fixes bug 7959; bugfix
  14756. on 0.2.4.8-alpha.
  14757. Changes in version 0.2.4.8-alpha - 2013-01-14
  14758. Tor 0.2.4.8-alpha introduces directory guards to reduce user enumeration
  14759. risks, adds a new stronger and faster circuit handshake, and offers
  14760. stronger and faster link encryption when both sides support it.
  14761. o Major features:
  14762. - Preliminary support for directory guards (proposal 207): when
  14763. possible, clients now use their entry guards for non-anonymous
  14764. directory requests. This can help prevent client enumeration. Note
  14765. that this behavior only works when we have a usable consensus
  14766. directory, and when options about what to download are more or less
  14767. standard. In the future we should re-bootstrap from our guards,
  14768. rather than re-bootstrapping from the preconfigured list of
  14769. directory sources that ships with Tor. Resolves ticket 6526.
  14770. - Tor relays and clients now support a better CREATE/EXTEND cell
  14771. format, allowing the sender to specify multiple address, identity,
  14772. and handshake types. Implements Robert Ransom's proposal 200;
  14773. closes ticket 7199.
  14774. o Major features (new circuit handshake):
  14775. - Tor now supports a new circuit extension handshake designed by Ian
  14776. Goldberg, Douglas Stebila, and Berkant Ustaoglu. Our original
  14777. circuit extension handshake, later called "TAP", was a bit slow
  14778. (especially on the relay side), had a fragile security proof, and
  14779. used weaker keys than we'd now prefer. The new circuit handshake
  14780. uses Dan Bernstein's "curve25519" elliptic-curve Diffie-Hellman
  14781. function, making it significantly more secure than the older
  14782. handshake, and significantly faster. Tor can use one of two built-in
  14783. pure-C curve25519-donna implementations by Adam Langley, or it
  14784. can link against the "nacl" library for a tuned version if present.
  14785. The built-in version is very fast for 64-bit systems when building
  14786. with GCC. The built-in 32-bit version is still faster than the
  14787. old TAP protocol, but using libnacl is better on most such hosts.
  14788. Clients don't currently use this protocol by default, since
  14789. comparatively few clients support it so far. To try it, set
  14790. UseNTorHandshake to 1.
  14791. Implements proposal 216; closes ticket 7202.
  14792. o Major features (better link encryption):
  14793. - Relays can now enable the ECDHE TLS ciphersuites when available
  14794. and appropriate. These ciphersuites let us negotiate forward-secure
  14795. TLS secret keys more safely and more efficiently than with our
  14796. previous use of Diffie-Hellman modulo a 1024-bit prime. By default,
  14797. public relays prefer the (faster) P224 group, and bridges prefer
  14798. the (more common) P256 group; you can override this with the
  14799. TLSECGroup option.
  14800. Enabling these ciphers was a little tricky, since for a long time,
  14801. clients had been claiming to support them without actually doing
  14802. so, in order to foil fingerprinting. But with the client-side
  14803. implementation of proposal 198 in 0.2.3.17-beta, clients can now
  14804. match the ciphers from recent Firefox versions *and* list the
  14805. ciphers they actually mean, so relays can believe such clients
  14806. when they advertise ECDHE support in their TLS ClientHello messages.
  14807. This feature requires clients running 0.2.3.17-beta or later,
  14808. and requires both sides to be running OpenSSL 1.0.0 or later
  14809. with ECC support. OpenSSL 1.0.1, with the compile-time option
  14810. "enable-ec_nistp_64_gcc_128", is highly recommended.
  14811. Implements the relay side of proposal 198; closes ticket 7200.
  14812. o Major bugfixes:
  14813. - Avoid crashing when, as a relay without IPv6-exit support, a
  14814. client insists on getting an IPv6 address or nothing. Fixes bug
  14815. 7814; bugfix on 0.2.4.7-alpha.
  14816. o Minor features:
  14817. - Improve circuit build timeout handling for hidden services.
  14818. In particular: adjust build timeouts more accurately depending
  14819. upon the number of hop-RTTs that a particular circuit type
  14820. undergoes. Additionally, launch intro circuits in parallel
  14821. if they timeout, and take the first one to reply as valid.
  14822. - Work correctly on Unix systems where EAGAIN and EWOULDBLOCK are
  14823. separate error codes; or at least, don't break for that reason.
  14824. Fixes bug 7935. Reported by "oftc_must_be_destroyed".
  14825. - Update to the January 2 2013 Maxmind GeoLite Country database.
  14826. o Minor features (testing):
  14827. - Add benchmarks for DH (1024-bit multiplicative group) and ECDH
  14828. (P-256) Diffie-Hellman handshakes to src/or/bench.
  14829. - Add benchmark functions to test onion handshake performance.
  14830. o Minor features (path bias detection):
  14831. - Alter the Path Bias log messages to be more descriptive in terms
  14832. of reporting timeouts and other statistics.
  14833. - Create three levels of Path Bias log messages, as opposed to just
  14834. two. These are configurable via consensus as well as via the torrc
  14835. options PathBiasNoticeRate, PathBiasWarnRate, PathBiasExtremeRate.
  14836. The default values are 0.70, 0.50, and 0.30 respectively.
  14837. - Separate the log message levels from the decision to drop guards,
  14838. which also is available via torrc option PathBiasDropGuards.
  14839. PathBiasDropGuards still defaults to 0 (off).
  14840. - Deprecate PathBiasDisableRate in favor of PathBiasDropGuards
  14841. in combination with PathBiasExtremeRate.
  14842. - Increase the default values for PathBiasScaleThreshold and
  14843. PathBiasCircThreshold from (200, 20) to (300, 150).
  14844. - Add in circuit usage accounting to path bias. If we try to use a
  14845. built circuit but fail for any reason, it counts as path bias.
  14846. Certain classes of circuits where the adversary gets to pick your
  14847. destination node are exempt from this accounting. Usage accounting
  14848. can be specifically disabled via consensus parameter or torrc.
  14849. - Convert all internal path bias state to double-precision floating
  14850. point, to avoid roundoff error and other issues.
  14851. - Only record path bias information for circuits that have completed
  14852. *two* hops. Assuming end-to-end tagging is the attack vector, this
  14853. makes us more resilient to ambient circuit failure without any
  14854. detection capability loss.
  14855. o Minor bugfixes (log messages):
  14856. - Rate-limit the "No circuits are opened. Relaxed timeout for a
  14857. circuit with channel state open..." message to once per hour to
  14858. keep it from filling the notice logs. Mitigates bug 7799 but does
  14859. not fix the underlying cause. Bugfix on 0.2.4.7-alpha.
  14860. - Avoid spurious warnings when configuring multiple client ports of
  14861. which only some are nonlocal. Previously, we had claimed that some
  14862. were nonlocal when in fact they weren't. Fixes bug 7836; bugfix on
  14863. 0.2.3.3-alpha.
  14864. o Code simplifications and refactoring:
  14865. - Get rid of a couple of harmless clang warnings, where we compared
  14866. enums to ints. These warnings are newly introduced in clang 3.2.
  14867. - Split the onion.c file into separate modules for the onion queue
  14868. and the different handshakes it supports.
  14869. - Remove the marshalling/unmarshalling code for sending requests to
  14870. cpuworkers over a socket, and instead just send structs. The
  14871. recipient will always be the same Tor binary as the sender, so
  14872. any encoding is overkill.
  14873. Changes in version 0.2.4.7-alpha - 2012-12-24
  14874. Tor 0.2.4.7-alpha introduces a new approach to providing fallback
  14875. directory mirrors for more robust bootstrapping; fixes more issues where
  14876. clients with changing network conditions refuse to make any circuits;
  14877. adds initial support for exiting to IPv6 addresses; resumes being able
  14878. to update our GeoIP database, and includes the geoip6 file this time;
  14879. turns off the client-side DNS cache by default due to privacy risks;
  14880. and fixes a variety of other issues.
  14881. o Major features (client resilience):
  14882. - Add a new "FallbackDir" torrc option to use when we can't use
  14883. a directory mirror from the consensus (either because we lack a
  14884. consensus, or because they're all down). Currently, all authorities
  14885. are fallbacks by default, and there are no other default fallbacks,
  14886. but that will change. This option will allow us to give clients a
  14887. longer list of servers to try to get a consensus from when first
  14888. connecting to the Tor network, and thereby reduce load on the
  14889. directory authorities. Implements proposal 206, "Preconfigured
  14890. directory sources for bootstrapping". We also removed the old
  14891. "FallbackNetworkstatus" option, since we never got it working well
  14892. enough to use it. Closes bug 572.
  14893. - If we have no circuits open, use a relaxed timeout (the
  14894. 95-percentile cutoff) until a circuit succeeds. This heuristic
  14895. should allow Tor to succeed at building circuits even when the
  14896. network connection drastically changes. Should help with bug 3443.
  14897. o Major features (IPv6):
  14898. - Relays can now exit to IPv6 addresses: make sure that you have IPv6
  14899. connectivity, then set the IPv6Exit flag to 1. Also make sure your
  14900. exit policy reads as you would like: the address * applies to all
  14901. address families, whereas *4 is IPv4 address only, and *6 is IPv6
  14902. addresses only. On the client side, you'll need to wait until the
  14903. authorities have upgraded, wait for enough exits to support IPv6,
  14904. apply the "IPv6Traffic" flag to a SocksPort, and use Socks5. Closes
  14905. ticket 5547, implements proposal 117 as revised in proposal 208.
  14906. We DO NOT recommend that clients with actual anonymity needs start
  14907. using IPv6 over Tor yet, since not enough exits support it yet.
  14908. o Major features (geoip database):
  14909. - Maxmind began labelling Tor relays as being in country "A1",
  14910. which breaks by-country node selection inside Tor. Now we use a
  14911. script to replace "A1" ("Anonymous Proxy") entries in our geoip
  14912. file with real country codes. This script fixes about 90% of "A1"
  14913. entries automatically and uses manual country code assignments to
  14914. fix the remaining 10%. See src/config/README.geoip for details.
  14915. Fixes bug 6266. Also update to the December 5 2012 Maxmind GeoLite
  14916. Country database, as modified above.
  14917. o Major bugfixes (client-side DNS):
  14918. - Turn off the client-side DNS cache by default. Updating and using
  14919. the DNS cache is now configurable on a per-client-port
  14920. level. SOCKSPort, DNSPort, etc lines may now contain
  14921. {No,}Cache{IPv4,IPv6,}DNS lines to indicate that we shouldn't
  14922. cache these types of DNS answers when we receive them from an
  14923. exit node in response to an application request on this port, and
  14924. {No,}UseCached{IPv4,IPv6,DNS} lines to indicate that if we have
  14925. cached DNS answers of these types, we shouldn't use them. It's
  14926. potentially risky to use cached DNS answers at the client, since
  14927. doing so can indicate to one exit what answers we've gotten
  14928. for DNS lookups in the past. With IPv6, this becomes especially
  14929. problematic. Using cached DNS answers for requests on the same
  14930. circuit would present less linkability risk, since all traffic
  14931. on a circuit is already linkable, but it would also provide
  14932. little performance benefit: the exit node caches DNS replies
  14933. too. Implements a simplified version of Proposal 205. Implements
  14934. ticket 7570.
  14935. o Major bugfixes (other):
  14936. - Alter circuit build timeout measurement to start at the point
  14937. where we begin the CREATE/CREATE_FAST step (as opposed to circuit
  14938. initialization). This should make our timeout measurements more
  14939. uniform. Previously, we were sometimes including ORconn setup time
  14940. in our circuit build time measurements. Should resolve bug 3443.
  14941. - Fix an assertion that could trigger in hibernate_go_dormant() when
  14942. closing an or_connection_t: call channel_mark_for_close() rather
  14943. than connection_mark_for_close(). Fixes bug 7267. Bugfix on
  14944. 0.2.4.4-alpha.
  14945. - Include the geoip6 IPv6 GeoIP database in the tarball. Fixes bug
  14946. 7655; bugfix on 0.2.4.6-alpha.
  14947. o Minor features:
  14948. - Add a new torrc option "ServerTransportListenAddr" to let bridge
  14949. operators select the address where their pluggable transports will
  14950. listen for connections. Resolves ticket 7013.
  14951. - Allow an optional $ before the node identity digest in the
  14952. controller command GETINFO ns/id/<identity>, for consistency with
  14953. md/id/<identity> and desc/id/<identity>. Resolves ticket 7059.
  14954. - Log packaged cell fullness as part of the heartbeat message.
  14955. Diagnosis to try to determine the extent of bug 7743.
  14956. o Minor features (IPv6):
  14957. - AutomapHostsOnResolve now supports IPv6 addresses. By default, we
  14958. prefer to hand out virtual IPv6 addresses, since there are more of
  14959. them and we can't run out. To override this behavior and make IPv4
  14960. addresses preferred, set NoPreferIPv6Automap on whatever SOCKSPort
  14961. or DNSPort you're using for resolving. Implements ticket 7571.
  14962. - AutomapHostsOnResolve responses are now randomized, to avoid
  14963. annoying situations where Tor is restarted and applications
  14964. connect to the wrong addresses.
  14965. - Never try more than 1000 times to pick a new virtual address when
  14966. AutomapHostsOnResolve is set. That's good enough so long as we
  14967. aren't close to handing out our entire virtual address space;
  14968. if you're getting there, it's best to switch to IPv6 virtual
  14969. addresses anyway.
  14970. o Minor bugfixes:
  14971. - The ADDRMAP command can no longer generate an ill-formed error
  14972. code on a failed MAPADDRESS. It now says "internal" rather than
  14973. an English sentence fragment with spaces in the middle. Bugfix on
  14974. Tor 0.2.0.19-alpha.
  14975. - Fix log messages and comments to avoid saying "GMT" when we mean
  14976. "UTC". Fixes bug 6113.
  14977. - Compile on win64 using mingw64. Fixes bug 7260; patches from
  14978. "yayooo".
  14979. - Fix a crash when debugging unit tests on Windows: deallocate a
  14980. shared library with FreeLibrary, not CloseHandle. Fixes bug 7306;
  14981. bugfix on 0.2.2.17-alpha. Reported by "ultramage".
  14982. o Renamed options:
  14983. - The DirServer option is now DirAuthority, for consistency with
  14984. current naming patterns. You can still use the old DirServer form.
  14985. o Code simplification and refactoring:
  14986. - Move the client-side address-map/virtual-address/DNS-cache code
  14987. out of connection_edge.c into a new addressmap.c module.
  14988. - Remove unused code for parsing v1 directories and "running routers"
  14989. documents. Fixes bug 6887.
  14990. Changes in version 0.2.3.25 - 2012-11-19
  14991. The Tor 0.2.3 release series is dedicated to the memory of Len "rabbi"
  14992. Sassaman (1980-2011), a long-time cypherpunk, anonymity researcher,
  14993. Mixmaster maintainer, Pynchon Gate co-designer, CodeCon organizer,
  14994. programmer, and friend. Unstinting in his dedication to the cause of
  14995. freedom, he inspired and helped many of us as we began our work on
  14996. anonymity, and inspires us still. Please honor his memory by writing
  14997. software to protect people's freedoms, and by helping others to do so.
  14998. Tor 0.2.3.25, the first stable release in the 0.2.3 branch, features
  14999. significantly reduced directory overhead (via microdescriptors),
  15000. enormous crypto performance improvements for fast relays on new
  15001. enough hardware, a new v3 TLS handshake protocol that can better
  15002. resist fingerprinting, support for protocol obfuscation plugins (aka
  15003. pluggable transports), better scalability for hidden services, IPv6
  15004. support for bridges, performance improvements like allowing clients
  15005. to skip the first round-trip on the circuit ("optimistic data") and
  15006. refilling token buckets more often, a new "stream isolation" design
  15007. to isolate different applications on different circuits, and many
  15008. stability, security, and privacy fixes.
  15009. o Major bugfixes:
  15010. - Tor tries to wipe potentially sensitive data after using it, so
  15011. that if some subsequent security failure exposes Tor's memory,
  15012. the damage will be limited. But we had a bug where the compiler
  15013. was eliminating these wipe operations when it decided that the
  15014. memory was no longer visible to a (correctly running) program,
  15015. hence defeating our attempt at defense in depth. We fix that
  15016. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  15017. is unlikely to optimize away. Future versions of Tor may use
  15018. a less ridiculously heavy approach for this. Fixes bug 7352.
  15019. Reported in an article by Andrey Karpov.
  15020. o Minor bugfixes:
  15021. - Fix a harmless bug when opting against publishing a relay descriptor
  15022. because DisableNetwork is set. Fixes bug 7464; bugfix on
  15023. 0.2.3.9-alpha.
  15024. Changes in version 0.2.4.6-alpha - 2012-11-13
  15025. Tor 0.2.4.6-alpha fixes an assert bug that has been plaguing relays,
  15026. makes our defense-in-depth memory wiping more reliable, and begins to
  15027. count IPv6 addresses in bridge statistics,
  15028. o Major bugfixes:
  15029. - Fix an assertion failure that could occur when closing a connection
  15030. with a spliced rendezvous circuit. Fix for bug 7212; bugfix on
  15031. Tor 0.2.4.4-alpha.
  15032. - Tor tries to wipe potentially sensitive data after using it, so
  15033. that if some subsequent security failure exposes Tor's memory,
  15034. the damage will be limited. But we had a bug where the compiler
  15035. was eliminating these wipe operations when it decided that the
  15036. memory was no longer visible to a (correctly running) program,
  15037. hence defeating our attempt at defense in depth. We fix that
  15038. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  15039. is unlikely to optimize away. Future versions of Tor may use
  15040. a less ridiculously heavy approach for this. Fixes bug 7352.
  15041. Reported in an article by Andrey Karpov.
  15042. o Minor features:
  15043. - Add GeoIP database for IPv6 addresses. The new config option
  15044. is GeoIPv6File.
  15045. - Bridge statistics now count bridge clients connecting over IPv6:
  15046. bridge statistics files now list "bridge-ip-versions" and
  15047. extra-info documents list "geoip6-db-digest". The control protocol
  15048. "CLIENTS_SEEN" and "ip-to-country" queries now support IPv6. Initial
  15049. implementation by "shkoo", addressing ticket 5055.
  15050. o Minor bugfixes:
  15051. - Warn when we are binding low ports when hibernation is enabled;
  15052. previously we had warned when we were _advertising_ low ports with
  15053. hibernation enabled. Fixes bug 7285; bugfix on 0.2.3.9-alpha.
  15054. - Fix a harmless bug when opting against publishing a relay descriptor
  15055. because DisableNetwork is set. Fixes bug 7464; bugfix on
  15056. 0.2.3.9-alpha.
  15057. - Add warning message when a managed proxy dies during configuration.
  15058. Fixes bug 7195; bugfix on 0.2.4.2-alpha.
  15059. - Fix a linking error when building tor-fw-helper without miniupnp.
  15060. Fixes bug 7235; bugfix on 0.2.4.2-alpha. Fix by Anthony G. Basile.
  15061. - Check for closing an or_connection_t without going through correct
  15062. channel functions; emit a warning and then call
  15063. connection_or_close_for_error() so we don't assert as in bugs 7212
  15064. and 7267.
  15065. - Compile correctly on compilers without C99 designated initializer
  15066. support. Fixes bug 7286; bugfix on 0.2.4.4-alpha.
  15067. - Avoid a possible assert that can occur when channel_send_destroy() is
  15068. called on a channel in CHANNEL_STATE_CLOSING, CHANNEL_STATE_CLOSED,
  15069. or CHANNEL_STATE_ERROR when the Tor process is resumed after being
  15070. blocked for a long interval. Fixes bug 7350; bugfix on 0.2.4.4-alpha.
  15071. - Fix a memory leak on failing cases of channel_tls_process_certs_cell.
  15072. Fixes bug 7422; bugfix on 0.2.4.4-alpha.
  15073. o Code simplification and refactoring:
  15074. - Start using OpenBSD's implementation of queue.h, so that we don't
  15075. need to hand-roll our own pointer and list structures whenever we
  15076. need them. (We can't rely on a sys/queue.h, since some operating
  15077. systems don't have them, and the ones that do have them don't all
  15078. present the same extensions.)
  15079. Changes in version 0.2.4.5-alpha - 2012-10-25
  15080. Tor 0.2.4.5-alpha comes hard at the heels of 0.2.4.4-alpha, to fix
  15081. two important security vulnerabilities that could lead to remotely
  15082. triggerable relay crashes, fix a major bug that was preventing clients
  15083. from choosing suitable exit nodes, and refactor some of our code.
  15084. o Major bugfixes (security, also in 0.2.3.24-rc):
  15085. - Fix a group of remotely triggerable assertion failures related to
  15086. incorrect link protocol negotiation. Found, diagnosed, and fixed
  15087. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  15088. 0.2.3.6-alpha.
  15089. - Fix a denial of service attack by which any directory authority
  15090. could crash all the others, or by which a single v2 directory
  15091. authority could crash everybody downloading v2 directory
  15092. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  15093. o Major bugfixes (also in 0.2.3.24-rc):
  15094. - When parsing exit policy summaries from microdescriptors, we had
  15095. previously been ignoring the last character in each one, so that
  15096. "accept 80,443,8080" would be treated by clients as indicating
  15097. a node that allows access to ports 80, 443, and 808. That would
  15098. lead to clients attempting connections that could never work,
  15099. and ignoring exit nodes that would support their connections. Now
  15100. clients parse these exit policy summaries correctly. Fixes bug 7192;
  15101. bugfix on 0.2.3.1-alpha.
  15102. o Minor bugfixes (also in 0.2.3.24-rc):
  15103. - Clients now consider the ClientRejectInternalAddresses config option
  15104. when using a microdescriptor consensus stanza to decide whether
  15105. an exit relay would allow exiting to an internal address. Fixes
  15106. bug 7190; bugfix on 0.2.3.1-alpha.
  15107. o Minor bugfixes:
  15108. - Only disable TLS session ticket support when running as a TLS
  15109. server. Now clients will blend better with regular Firefox
  15110. connections. Fixes bug 7189; bugfix on Tor 0.2.3.23-rc.
  15111. o Code simplification and refactoring:
  15112. - Start using OpenBSD's implementation of queue.h (originally by
  15113. Niels Provos).
  15114. - Move the entry node code from circuitbuild.c to its own file.
  15115. - Move the circuit build timeout tracking code from circuitbuild.c
  15116. to its own file.
  15117. Changes in version 0.2.3.24-rc - 2012-10-25
  15118. Tor 0.2.3.24-rc fixes two important security vulnerabilities that
  15119. could lead to remotely triggerable relay crashes, and fixes
  15120. a major bug that was preventing clients from choosing suitable exit
  15121. nodes.
  15122. o Major bugfixes (security):
  15123. - Fix a group of remotely triggerable assertion failures related to
  15124. incorrect link protocol negotiation. Found, diagnosed, and fixed
  15125. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  15126. 0.2.3.6-alpha.
  15127. - Fix a denial of service attack by which any directory authority
  15128. could crash all the others, or by which a single v2 directory
  15129. authority could crash everybody downloading v2 directory
  15130. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  15131. o Major bugfixes:
  15132. - When parsing exit policy summaries from microdescriptors, we had
  15133. previously been ignoring the last character in each one, so that
  15134. "accept 80,443,8080" would be treated by clients as indicating
  15135. a node that allows access to ports 80, 443, and 808. That would
  15136. lead to clients attempting connections that could never work,
  15137. and ignoring exit nodes that would support their connections. Now
  15138. clients parse these exit policy summaries correctly. Fixes bug 7192;
  15139. bugfix on 0.2.3.1-alpha.
  15140. o Minor bugfixes:
  15141. - Clients now consider the ClientRejectInternalAddresses config option
  15142. when using a microdescriptor consensus stanza to decide whether
  15143. an exit relay would allow exiting to an internal address. Fixes
  15144. bug 7190; bugfix on 0.2.3.1-alpha.
  15145. Changes in version 0.2.4.4-alpha - 2012-10-20
  15146. Tor 0.2.4.4-alpha adds a new v3 directory authority, fixes a privacy
  15147. vulnerability introduced by a change in OpenSSL, fixes a remotely
  15148. triggerable assert, and adds new channel_t and circuitmux_t abstractions
  15149. that will make it easier to test new connection transport and cell
  15150. scheduling algorithms.
  15151. o New directory authorities (also in 0.2.3.23-rc):
  15152. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  15153. authority. Closes ticket 5749.
  15154. o Major bugfixes (security/privacy, also in 0.2.3.23-rc):
  15155. - Disable TLS session tickets. OpenSSL's implementation was giving
  15156. our TLS session keys the lifetime of our TLS context objects, when
  15157. perfect forward secrecy would want us to discard anything that
  15158. could decrypt a link connection as soon as the link connection
  15159. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  15160. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  15161. - Discard extraneous renegotiation attempts once the V3 link
  15162. protocol has been initiated. Failure to do so left us open to
  15163. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  15164. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  15165. o Internal abstraction features:
  15166. - Introduce new channel_t abstraction between circuits and
  15167. or_connection_t to allow for implementing alternate OR-to-OR
  15168. transports. A channel_t is an abstract object which can either be a
  15169. cell-bearing channel, which is responsible for authenticating and
  15170. handshaking with the remote OR and transmitting cells to and from
  15171. it, or a listening channel, which spawns new cell-bearing channels
  15172. at the request of remote ORs. Implements part of ticket 6465.
  15173. - Also new is the channel_tls_t subclass of channel_t, adapting it
  15174. to the existing or_connection_t code. The V2/V3 protocol handshaking
  15175. code which formerly resided in command.c has been moved below the
  15176. channel_t abstraction layer and may be found in channeltls.c now.
  15177. Implements the rest of ticket 6465.
  15178. - Introduce new circuitmux_t storing the queue of circuits for
  15179. a channel; this encapsulates and abstracts the queue logic and
  15180. circuit selection policy, and allows the latter to be overridden
  15181. easily by switching out a policy object. The existing EWMA behavior
  15182. is now implemented as a circuitmux_policy_t. Resolves ticket 6816.
  15183. o Required libraries:
  15184. - Tor now requires OpenSSL 0.9.8 or later. OpenSSL 1.0.0 or later is
  15185. strongly recommended.
  15186. o Minor features:
  15187. - Warn users who run hidden services on a Tor client with
  15188. UseEntryGuards disabled that their hidden services will be
  15189. vulnerable to http://freehaven.net/anonbib/#hs-attack06 (the
  15190. attack which motivated Tor to support entry guards in the first
  15191. place). Resolves ticket 6889.
  15192. - Tor now builds correctly on Bitrig, an OpenBSD fork. Patch from
  15193. dhill. Resolves ticket 6982.
  15194. - Option OutboundBindAddress can be specified multiple times and
  15195. accepts IPv6 addresses. Resolves ticket 6876.
  15196. o Minor bugfixes (also in 0.2.3.23-rc):
  15197. - Don't serve or accept v2 hidden service descriptors over a
  15198. relay's DirPort. It's never correct to do so, and disabling it
  15199. might make it more annoying to exploit any bugs that turn up in the
  15200. descriptor-parsing code. Fixes bug 7149.
  15201. - Fix two cases in src/or/transports.c where we were calling
  15202. fmt_addr() twice in a parameter list. Bug found by David
  15203. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  15204. - Fix memory leaks whenever we logged any message about the "path
  15205. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  15206. - When relays refuse a "create" cell because their queue of pending
  15207. create cells is too big (typically because their cpu can't keep up
  15208. with the arrival rate), send back reason "resource limit" rather
  15209. than reason "internal", so network measurement scripts can get a
  15210. more accurate picture. Fixes bug 7037; bugfix on 0.1.1.11-alpha.
  15211. o Minor bugfixes:
  15212. - Command-line option "--version" implies "--quiet". Fixes bug 6997.
  15213. - Free some more still-in-use memory at exit, to make hunting for
  15214. memory leaks easier. Resolves bug 7029.
  15215. - When a Tor client gets a "truncated" relay cell, the first byte of
  15216. its payload specifies why the circuit was truncated. We were
  15217. ignoring this 'reason' byte when tearing down the circuit, resulting
  15218. in the controller not being told why the circuit closed. Now we
  15219. pass the reason from the truncated cell to the controller. Bugfix
  15220. on 0.1.2.3-alpha; fixes bug 7039.
  15221. - Downgrade "Failed to hand off onionskin" messages to "debug"
  15222. severity, since they're typically redundant with the "Your computer
  15223. is too slow" messages. Fixes bug 7038; bugfix on 0.2.2.16-alpha.
  15224. - Make clients running with IPv6 bridges connect over IPv6 again,
  15225. even without setting new config options ClientUseIPv6 and
  15226. ClientPreferIPv6ORPort. Fixes bug 6757; bugfix on 0.2.4.1-alpha.
  15227. - Use square brackets around IPv6 addresses in numerous places
  15228. that needed them, including log messages, HTTPS CONNECT proxy
  15229. requests, TransportProxy statefile entries, and pluggable transport
  15230. extra-info lines. Fixes bug 7011; patch by David Fifield.
  15231. o Code refactoring and cleanup:
  15232. - Source files taken from other packages now reside in src/ext;
  15233. previously they were scattered around the rest of Tor.
  15234. - Avoid use of reserved identifiers in our C code. The C standard
  15235. doesn't like us declaring anything that starts with an
  15236. underscore, so let's knock it off before we get in trouble. Fix
  15237. for bug 1031; bugfix on the first Tor commit.
  15238. Changes in version 0.2.3.23-rc - 2012-10-20
  15239. Tor 0.2.3.23-rc adds a new v3 directory authority, fixes a privacy
  15240. vulnerability introduced by a change in OpenSSL, and fixes a variety
  15241. of smaller bugs in preparation for the release.
  15242. o New directory authorities:
  15243. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  15244. authority. Closes ticket 5749.
  15245. o Major bugfixes (security/privacy):
  15246. - Disable TLS session tickets. OpenSSL's implementation was giving
  15247. our TLS session keys the lifetime of our TLS context objects, when
  15248. perfect forward secrecy would want us to discard anything that
  15249. could decrypt a link connection as soon as the link connection
  15250. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  15251. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  15252. - Discard extraneous renegotiation attempts once the V3 link
  15253. protocol has been initiated. Failure to do so left us open to
  15254. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  15255. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  15256. o Major bugfixes:
  15257. - Fix a possible crash bug when checking for deactivated circuits
  15258. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  15259. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  15260. o Minor bugfixes (on 0.2.3.x):
  15261. - Fix two cases in src/or/transports.c where we were calling
  15262. fmt_addr() twice in a parameter list. Bug found by David
  15263. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  15264. - Convert an assert in the pathbias code to a log message. The assert
  15265. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  15266. bugfix on 0.2.3.17-beta.
  15267. - Fix memory leaks whenever we logged any message about the "path
  15268. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  15269. o Minor bugfixes (on 0.2.2.x and earlier):
  15270. - Don't serve or accept v2 hidden service descriptors over a relay's
  15271. DirPort. It's never correct to do so, and disabling it might
  15272. make it more annoying to exploit any bugs that turn up in the
  15273. descriptor-parsing code. Fixes bug 7149.
  15274. - When relays refuse a "create" cell because their queue of pending
  15275. create cells is too big (typically because their cpu can't keep up
  15276. with the arrival rate), send back reason "resource limit" rather
  15277. than reason "internal", so network measurement scripts can get a
  15278. more accurate picture. Bugfix on 0.1.1.11-alpha; fixes bug 7037.
  15279. - Correct file sizes when reading binary files on Cygwin, to avoid
  15280. a bug where Tor would fail to read its state file. Fixes bug 6844;
  15281. bugfix on 0.1.2.7-alpha.
  15282. - Avoid undefined behavior when parsing the list of supported
  15283. rendezvous/introduction protocols in a hidden service descriptor.
  15284. Previously, Tor would have confused (as-yet-unused) protocol version
  15285. numbers greater than 32 with lower ones on many platforms. Fixes
  15286. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  15287. o Documentation fixes:
  15288. - Clarify that hidden services are TCP only. Fixes bug 6024.
  15289. Changes in version 0.2.4.3-alpha - 2012-09-22
  15290. Tor 0.2.4.3-alpha fixes another opportunity for a remotely triggerable
  15291. assertion, resumes letting relays test reachability of their DirPort,
  15292. and cleans up a bunch of smaller bugs.
  15293. o Security fixes:
  15294. - Fix an assertion failure in tor_timegm() that could be triggered
  15295. by a badly formatted directory object. Bug found by fuzzing with
  15296. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  15297. o Major bugfixes:
  15298. - Fix a possible crash bug when checking for deactivated circuits
  15299. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  15300. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  15301. - Allow routers to detect that their own DirPorts are running. When
  15302. we removed support for versions_supports_begindir, we also
  15303. accidentally removed the mechanism we used to self-test our
  15304. DirPort. Diagnosed with help from kargig. Fixes bugs 6814 and 6815;
  15305. bugfix on 0.2.4.2-alpha.
  15306. o Security features:
  15307. - Switch to a completely time-invariant approach for picking nodes
  15308. weighted by bandwidth. Our old approach would run through the
  15309. part of the loop after it had made its choice slightly slower
  15310. than it ran through the part of the loop before it had made its
  15311. choice. Addresses ticket 6538.
  15312. - Disable the use of Guard nodes when in Tor2WebMode. Guard usage
  15313. by tor2web clients allows hidden services to identify tor2web
  15314. clients through their repeated selection of the same rendezvous
  15315. and introduction point circuit endpoints (their guards). Resolves
  15316. ticket 6888.
  15317. o Minor features:
  15318. - Enable Tor to read configuration, state, and key information from
  15319. a FIFO. Previously Tor would only read from files with a positive
  15320. stat.st_size. Code from meejah; fixes bug 6044.
  15321. o Minor bugfixes:
  15322. - Correct file sizes when reading binary files on Cygwin, to avoid
  15323. a bug where Tor would fail to read its state file. Fixes bug 6844;
  15324. bugfix on 0.1.2.7-alpha.
  15325. - Correctly handle votes with more than 31 flags. Fixes bug 6853;
  15326. bugfix on 0.2.0.3-alpha.
  15327. - When complaining about a client port on a public address, log
  15328. which address we're complaining about. Fixes bug 4020; bugfix on
  15329. 0.2.3.3-alpha. Patch by Tom Fitzhenry.
  15330. - Convert an assert in the pathbias code to a log message. The assert
  15331. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  15332. bugfix on 0.2.3.17-beta.
  15333. - Our new buildsystem was overzealous about rebuilding manpages: it
  15334. would rebuild them all whenever any one of them changed. Now our
  15335. dependency checking should be correct. Fixes bug 6843; bugfix on
  15336. 0.2.4.1-alpha.
  15337. - Don't do reachability testing over IPv6 unless AuthDirPublishIPv6
  15338. is set. Fixes bug 6880. Bugfix on 0.2.4.1-alpha.
  15339. - Correct log printout about which address family is preferred
  15340. when connecting to a bridge with both an IPv4 and IPv6 OR port.
  15341. Fixes bug 6884; bugfix on 0.2.4.1-alpha.
  15342. o Minor bugfixes (code cleanliness):
  15343. - Fix round_to_power_of_2() so it doesn't invoke undefined behavior
  15344. with large values. This situation was untriggered, but nevertheless
  15345. incorrect. Fixes bug 6831; bugfix on 0.2.0.1-alpha.
  15346. - Reject consensus votes with more than 64 known-flags. We aren't even
  15347. close to that limit yet, and our code doesn't handle it correctly.
  15348. Fixes bug 6833; bugfix on 0.2.0.1-alpha.
  15349. - Avoid undefined behavior when parsing the list of supported
  15350. rendezvous/introduction protocols in a hidden service descriptor.
  15351. Previously, Tor would have confused (as-yet-unused) protocol version
  15352. numbers greater than 32 with lower ones on many platforms. Fixes
  15353. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  15354. - Fix handling of rendezvous client authorization types over 8.
  15355. Fixes bug 6861; bugfix on 0.2.1.5-alpha.
  15356. - Fix building with older versions of GCC (2.95, for one) that don't
  15357. like preprocessor directives inside macro arguments. Found by
  15358. grarpamp. Fixes bug 6842; bugfix on 0.2.4.2-alpha.
  15359. - Switch weighted node selection rule from using a list of doubles
  15360. to using a list of int64_t. This change should make the process
  15361. slightly easier to debug and maintain. Needed to finish ticket 6538.
  15362. o Code simplification and refactoring:
  15363. - Move the generic "config" code into a new file, and have "config.c"
  15364. hold only torrc- and state-related code. Resolves ticket 6823.
  15365. - Move the core of our "choose a weighted element at random" logic
  15366. into its own function, and give it unit tests. Now the logic is
  15367. testable, and a little less fragile too.
  15368. - Removed the testing_since field of node_t, which hasn't been used
  15369. for anything since 0.2.0.9-alpha.
  15370. o Documentation fixes:
  15371. - Clarify that hidden services are TCP only. Fixes bug 6024.
  15372. - Resolve a typo in torrc.sample.in. Fixes bug 6819; bugfix on
  15373. 0.2.3.14-alpha.
  15374. Changes in version 0.2.3.22-rc - 2012-09-11
  15375. Tor 0.2.3.22-rc fixes another opportunity for a remotely triggerable
  15376. assertion.
  15377. o Security fixes:
  15378. - Fix an assertion failure in tor_timegm() that could be triggered
  15379. by a badly formatted directory object. Bug found by fuzzing with
  15380. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  15381. o Minor bugfixes:
  15382. - Avoid segfault when starting up having run with an extremely old
  15383. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  15384. on 0.2.2.23-alpha.
  15385. Changes in version 0.2.2.39 - 2012-09-11
  15386. Tor 0.2.2.39 fixes two more opportunities for remotely triggerable
  15387. assertions.
  15388. o Security fixes:
  15389. - Fix an assertion failure in tor_timegm() that could be triggered
  15390. by a badly formatted directory object. Bug found by fuzzing with
  15391. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  15392. - Do not crash when comparing an address with port value 0 to an
  15393. address policy. This bug could have been used to cause a remote
  15394. assertion failure by or against directory authorities, or to
  15395. allow some applications to crash clients. Fixes bug 6690; bugfix
  15396. on 0.2.1.10-alpha.
  15397. Changes in version 0.2.4.2-alpha - 2012-09-10
  15398. Tor 0.2.4.2-alpha enables port forwarding for pluggable transports,
  15399. raises the default rate limiting even more, and makes the bootstrapping
  15400. log messages less noisy.
  15401. o Major features:
  15402. - Automatically forward the TCP ports of pluggable transport
  15403. proxies using tor-fw-helper if PortForwarding is enabled. Implements
  15404. ticket 4567.
  15405. o Major bugfixes:
  15406. - Raise the default BandwidthRate/BandwidthBurst values from 5MB/10MB
  15407. to 1GB/1GB. The previous defaults were intended to be "basically
  15408. infinite", but it turns out they're now limiting our 100mbit+
  15409. relays and bridges. Fixes bug 6605; bugfix on 0.2.0.10-alpha (the
  15410. last time we raised it).
  15411. o Minor features:
  15412. - Detect when we're running with a version of OpenSSL other than the
  15413. one we compiled with. This has occasionally given people hard-to-
  15414. track-down errors.
  15415. - Log fewer lines at level "notice" about our OpenSSL and Libevent
  15416. versions and capabilities when everything is going right. Resolves
  15417. part of ticket 6736.
  15418. - Directory authorities no long accept descriptors for any version of
  15419. Tor before 0.2.2.35, or for any 0.2.3 release before 0.2.3.10-alpha.
  15420. These versions are insecure, unsupported, or both. Implements
  15421. ticket 6789.
  15422. o Minor bugfixes:
  15423. - Rename the (internal-use-only) UsingTestingNetworkDefaults option
  15424. to start with a triple-underscore so the controller won't touch it.
  15425. Patch by Meejah. Fixes bug 3155. Bugfix on 0.2.2.23-alpha.
  15426. - Avoid segfault when starting up having run with an extremely old
  15427. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  15428. on 0.2.2.23-alpha.
  15429. - Rename the (testing-use-only) _UseFilteringSSLBufferevents option
  15430. so it doesn't start with _. Fixes bug 3155. Bugfix on 0.2.3.1-alpha.
  15431. - Don't follow the NULL pointer if microdescriptor generation fails.
  15432. (This does not appear to be triggerable, but it's best to be safe.)
  15433. Found by "f. tp.". Fixes bug 6797; bugfix on 0.2.4.1-alpha.
  15434. - Fix mis-declared dependencies on src/common/crypto.c and
  15435. src/or/tor_main.c that could break out-of-tree builds under some
  15436. circumstances. Fixes bug 6778; bugfix on 0.2.4.1-alpha.
  15437. - Avoid a warning when building common_sha1.i out of tree. Fixes bug
  15438. 6778; bugfix on 0.2.4.1-alpha.
  15439. - Fix a harmless (in this case) build warning for implicitly
  15440. converting a strlen() to an int. Bugfix on 0.2.4.1-alpha.
  15441. o Removed features:
  15442. - Now that all versions before 0.2.2.x are disallowed, we no longer
  15443. need to work around their missing features. Thus we can remove a
  15444. bunch of compatibility code.
  15445. o Code refactoring:
  15446. - Tweak tor-fw-helper to accept an arbitrary amount of arbitrary
  15447. TCP ports to forward. In the past it only accepted two ports:
  15448. the ORPort and the DirPort.
  15449. Changes in version 0.2.4.1-alpha - 2012-09-05
  15450. Tor 0.2.4.1-alpha lets bridges publish their pluggable transports to
  15451. bridgedb; lets relays use IPv6 addresses and directory authorities
  15452. advertise them; and switches to a cleaner build interface.
  15453. This is the first alpha release in a new series, so expect there to
  15454. be bugs. Users who would rather test out a more stable branch should
  15455. stay with 0.2.3.x for now.
  15456. o Major features (bridges):
  15457. - Bridges now report the pluggable transports they support to the
  15458. bridge authority, so it can pass the supported transports on to
  15459. bridgedb and/or eventually do reachability testing. Implements
  15460. ticket 3589.
  15461. o Major features (IPv6):
  15462. - Bridge authorities now accept IPv6 bridge addresses and include
  15463. them in network status documents. Implements ticket 5534.
  15464. - Clients who set "ClientUseIPv6 1" may connect to entry nodes over
  15465. IPv6. Set "ClientPreferIPv6ORPort 1" to make this even more likely
  15466. to happen. Implements ticket 5535.
  15467. - All kind of relays, not just bridges, can now advertise an IPv6
  15468. OR port. Implements ticket 6362.
  15469. - Directory authorities vote on IPv6 OR ports using the new consensus
  15470. method 14. Implements ticket 6363.
  15471. o Major features (build):
  15472. - Switch to a nonrecursive Makefile structure. Now instead of each
  15473. Makefile.am invoking other Makefile.am's, there is a master
  15474. Makefile.am that includes the others. This change makes our build
  15475. process slightly more maintainable, and improves parallelism for
  15476. building with make -j. Original patch by Stewart Smith; various
  15477. fixes by Jim Meyering.
  15478. - Where available, we now use automake's "silent" make rules by
  15479. default, so that warnings are easier to spot. You can get the old
  15480. behavior with "make V=1". Patch by Stewart Smith for ticket 6522.
  15481. o Minor features (code security and spec conformance):
  15482. - Clear keys and key-derived material left on the stack in
  15483. rendservice.c and rendclient.c. Check return value of
  15484. crypto_pk_write_private_key_to_string() in rend_service_load_keys().
  15485. These fixes should make us more forward-secure against cold-boot
  15486. attacks and the like. Fixes bug 2385.
  15487. - Reject EXTEND cells sent to nonexistent streams. According to the
  15488. spec, an EXTEND cell sent to _any_ nonzero stream ID is invalid, but
  15489. we were only checking for stream IDs that were currently in use.
  15490. Found while hunting for more instances of bug 6271. Bugfix on
  15491. 0.0.2pre8, which introduced incremental circuit construction.
  15492. o Minor features (streamlining);
  15493. - No longer include the "opt" prefix when generating routerinfos
  15494. or v2 directories: it has been needless since Tor 0.1.2. Closes
  15495. ticket 5124.
  15496. - Remove some now-needless code that tried to aggressively flush
  15497. OR connections as data was added to them. Since 0.2.0.1-alpha, our
  15498. cell queue logic has saved us from the failure mode that this code
  15499. was supposed to prevent. Removing this code will limit the number
  15500. of baroque control flow paths through Tor's network logic. Reported
  15501. pseudonymously on IRC. Fixes bug 6468; bugfix on 0.2.0.1-alpha.
  15502. o Minor features (controller):
  15503. - Add a "GETINFO signal/names" control port command. Implements
  15504. ticket 3842.
  15505. - Provide default values for all options via "GETINFO config/defaults".
  15506. Implements ticket 4971.
  15507. o Minor features (IPv6):
  15508. - New config option "AuthDirHasIPv6Connectivity 1" that directory
  15509. authorities should set if they have IPv6 connectivity and want to
  15510. do reachability tests for IPv6 relays. Implements feature 5974.
  15511. - A relay with an IPv6 OR port now sends that address in NETINFO
  15512. cells (in addition to its other address). Implements ticket 6364.
  15513. o Minor features (log messages):
  15514. - Omit the first heartbeat log message, because it never has anything
  15515. useful to say, and it clutters up the bootstrapping messages.
  15516. Resolves ticket 6758.
  15517. - Don't log about reloading the microdescriptor cache at startup. Our
  15518. bootstrap warnings are supposed to tell the user when there's a
  15519. problem, and our bootstrap notices say when there isn't. Resolves
  15520. ticket 6759; bugfix on 0.2.2.6-alpha.
  15521. - Don't log "I learned some more directory information" when we're
  15522. reading cached directory information. Reserve it for when new
  15523. directory information arrives in response to a fetch. Resolves
  15524. ticket 6760.
  15525. - Prevent rounding error in path bias counts when scaling
  15526. them down, and use the correct scale factor default. Also demote
  15527. some path bias related log messages down a level and make others
  15528. less scary sounding. Fixes bug 6647. Bugfix against 0.2.3.17-beta.
  15529. - We no longer warn so much when generating manpages from their
  15530. asciidoc source.
  15531. o Code simplifications and refactoring:
  15532. - Enhance our internal sscanf replacement so that we can eliminate
  15533. the last remaining uses of the system sscanf. (Though those uses
  15534. of sscanf were safe, sscanf itself is generally error prone, so
  15535. we want to eliminate when we can.) Fixes ticket 4195 and Coverity
  15536. CID 448.
  15537. - Move ipv6_preferred from routerinfo_t to node_t. Addresses bug 4620.
  15538. - Move last_reachable and testing_since from routerinfo_t to node_t.
  15539. Implements ticket 5529.
  15540. - Add replaycache_t structure, functions and unit tests, then refactor
  15541. rend_service_introduce() to be more clear to read, improve, debug,
  15542. and test. Resolves bug 6177.
  15543. - Finally remove support for malloc_good_size and malloc_usable_size.
  15544. We had hoped that these functions would let us eke a little more
  15545. memory out of our malloc implementation. Unfortunately, the only
  15546. implementations that provided these functions are also ones that
  15547. are already efficient about not overallocation: they never got us
  15548. more than 7 or so bytes per allocation. Removing them saves us a
  15549. little code complexity and a nontrivial amount of build complexity.
  15550. o New requirements:
  15551. - Tor maintainers now require Automake version 1.9 or later to build
  15552. Tor from the Git repository. (Automake is not required when building
  15553. from a source distribution.)
  15554. Changes in version 0.2.3.21-rc - 2012-09-05
  15555. Tor 0.2.3.21-rc is the fourth release candidate for the Tor 0.2.3.x
  15556. series. It fixes a trio of potential security bugs, fixes a bug where
  15557. we were leaving some of the fast relays out of the microdescriptor
  15558. consensus, resumes interpreting "ORPort 0" and "DirPort 0" correctly,
  15559. and cleans up other smaller issues.
  15560. o Major bugfixes (security):
  15561. - Tear down the circuit if we get an unexpected SENDME cell. Clients
  15562. could use this trick to make their circuits receive cells faster
  15563. than our flow control would have allowed, or to gum up the network,
  15564. or possibly to do targeted memory denial-of-service attacks on
  15565. entry nodes. Fixes bug 6252. Bugfix on the 54th commit on Tor --
  15566. from July 2002, before the release of Tor 0.0.0. We had committed
  15567. this patch previously, but we had to revert it because of bug 6271.
  15568. Now that 6271 is fixed, this patch appears to work.
  15569. - Reject any attempt to extend to an internal address. Without
  15570. this fix, a router could be used to probe addresses on an internal
  15571. network to see whether they were accepting connections. Fixes bug
  15572. 6710; bugfix on 0.0.8pre1.
  15573. - Do not crash when comparing an address with port value 0 to an
  15574. address policy. This bug could have been used to cause a remote
  15575. assertion failure by or against directory authorities, or to
  15576. allow some applications to crash clients. Fixes bug 6690; bugfix
  15577. on 0.2.1.10-alpha.
  15578. o Major bugfixes:
  15579. - Remove the upper bound on microdescriptor length. We were hitting
  15580. the limit for routers with complex exit policies or family
  15581. declarations, causing clients to not use them. Fixes the first
  15582. piece of bug 6404; fix on 0.2.2.6-alpha.
  15583. - Detect "ORPort 0" as meaning, uniformly, that we're not running
  15584. as a relay. Previously, some of our code would treat the presence
  15585. of any ORPort line as meaning that we should act like a relay,
  15586. even though our new listener code would correctly not open any
  15587. ORPorts for ORPort 0. Similar bugs in other Port options are also
  15588. fixed. Fixes the first half of bug 6507; bugfix on 0.2.3.3-alpha.
  15589. o Minor bugfixes:
  15590. - Avoid a pair of double-free and use-after-mark bugs that can
  15591. occur with certain timings in canceled and re-received DNS
  15592. requests. Fixes bug 6472; bugfix on 0.0.7rc1.
  15593. - Fix build and 64-bit compile warnings from --enable-openbsd-malloc.
  15594. Fixes bug 6379. Bugfix on 0.2.0.20-rc.
  15595. - Allow one-hop directory fetching circuits the full "circuit build
  15596. timeout" period, rather than just half of it, before failing them
  15597. and marking the relay down. This fix should help reduce cases where
  15598. clients declare relays (or worse, bridges) unreachable because
  15599. the TLS handshake takes a few seconds to complete. Fixes bug 6743;
  15600. bugfix on 0.2.2.2-alpha, where we changed the timeout from a static
  15601. 30 seconds.
  15602. - Authorities no longer include any router in their microdescriptor
  15603. consensuses for which they couldn't generate or agree on a
  15604. microdescriptor. Fixes the second piece of bug 6404; fix on
  15605. 0.2.2.6-alpha.
  15606. - Detect and reject attempts to specify both "FooPort" and
  15607. "FooPort 0" in the same configuration domain. (It's still okay
  15608. to have a FooPort in your configuration file, and use "FooPort 0"
  15609. on the command line to disable it.) Fixes the second half of bug
  15610. 6507; bugfix on 0.2.3.3-alpha.
  15611. - Make wildcarded addresses (that is, ones beginning with "*.") work
  15612. when provided via the controller's MapAddress command. Previously,
  15613. they were accepted, but we never actually noticed that they were
  15614. wildcards. Fixes bug 6244; bugfix on 0.2.3.9-alpha.
  15615. - Avoid crashing on a malformed state file where EntryGuardPathBias
  15616. precedes EntryGuard. Fix for bug 6774; bugfix on 0.2.3.17-beta.
  15617. - Add a (probably redundant) memory clear between iterations of
  15618. the router status voting loop, to prevent future coding errors
  15619. where data might leak between iterations of the loop. Resolves
  15620. ticket 6514.
  15621. o Minor bugfixes (log messages):
  15622. - Downgrade "set buildtimeout to low value" messages to "info"
  15623. severity; they were never an actual problem, there was never
  15624. anything reasonable to do about them, and they tended to spam logs
  15625. from time to time. Fixes bug 6251; bugfix on 0.2.2.2-alpha.
  15626. - Downgrade path-bias warning messages to "info". We'll try to get
  15627. them working better in 0.2.4. Add internal circuit construction
  15628. state to protect against the noisy warn message "Unexpectedly high
  15629. circuit_successes". Also add some additional rate-limited notice
  15630. messages to help determine the root cause of the warn. Fixes bug
  15631. 6475. Bugfix against 0.2.3.17-beta.
  15632. - Move log message when unable to find a microdesc in a routerstatus
  15633. entry to parse time. Previously we'd spam this warning every time
  15634. we tried to figure out which microdescriptors to download. Fixes
  15635. the third piece of bug 6404; fix on 0.2.3.18-rc.
  15636. o Minor features:
  15637. - Consider new, removed or changed IPv6 OR ports a non-cosmetic
  15638. change when the authority is deciding whether to accept a newly
  15639. uploaded descriptor. Implements ticket 6423.
  15640. - Add missing documentation for consensus and microdesc files.
  15641. Resolves ticket 6732.
  15642. Changes in version 0.2.2.38 - 2012-08-12
  15643. Tor 0.2.2.38 fixes a remotely triggerable crash bug, and fixes a timing
  15644. attack that could in theory leak path information.
  15645. o Security fixes:
  15646. - Avoid an uninitialized memory read when reading a vote or consensus
  15647. document that has an unrecognized flavor name. This read could
  15648. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  15649. - Try to leak less information about what relays a client is
  15650. choosing to a side-channel attacker. Previously, a Tor client would
  15651. stop iterating through the list of available relays as soon as it
  15652. had chosen one, thus finishing a little earlier when it picked
  15653. a router earlier in the list. If an attacker can recover this
  15654. timing information (nontrivial but not proven to be impossible),
  15655. they could learn some coarse-grained information about which relays
  15656. a client was picking (middle nodes in particular are likelier to
  15657. be affected than exits). The timing attack might be mitigated by
  15658. other factors (see bug 6537 for some discussion), but it's best
  15659. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  15660. Changes in version 0.2.3.20-rc - 2012-08-05
  15661. Tor 0.2.3.20-rc is the third release candidate for the Tor 0.2.3.x
  15662. series. It fixes a pair of code security bugs and a potential anonymity
  15663. issue, updates our RPM spec files, and cleans up other smaller issues.
  15664. o Security fixes:
  15665. - Avoid read-from-freed-memory and double-free bugs that could occur
  15666. when a DNS request fails while launching it. Fixes bug 6480;
  15667. bugfix on 0.2.0.1-alpha.
  15668. - Avoid an uninitialized memory read when reading a vote or consensus
  15669. document that has an unrecognized flavor name. This read could
  15670. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  15671. - Try to leak less information about what relays a client is
  15672. choosing to a side-channel attacker. Previously, a Tor client would
  15673. stop iterating through the list of available relays as soon as it
  15674. had chosen one, thus finishing a little earlier when it picked
  15675. a router earlier in the list. If an attacker can recover this
  15676. timing information (nontrivial but not proven to be impossible),
  15677. they could learn some coarse-grained information about which relays
  15678. a client was picking (middle nodes in particular are likelier to
  15679. be affected than exits). The timing attack might be mitigated by
  15680. other factors (see bug 6537 for some discussion), but it's best
  15681. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  15682. o Minor features:
  15683. - Try to make the warning when giving an obsolete SOCKSListenAddress
  15684. a little more useful.
  15685. - Terminate active server managed proxies if Tor stops being a
  15686. relay. Addresses parts of bug 6274; bugfix on 0.2.3.6-alpha.
  15687. - Provide a better error message about possible OSX Asciidoc failure
  15688. reasons. Fixes bug 6436.
  15689. - Warn when Tor is configured to use accounting in a way that can
  15690. link a hidden service to some other hidden service or public
  15691. address. Resolves ticket 6490.
  15692. o Minor bugfixes:
  15693. - Check return value of fputs() when writing authority certificate
  15694. file. Fixes Coverity issue 709056; bugfix on 0.2.0.1-alpha.
  15695. - Ignore ServerTransportPlugin lines when Tor is not configured as
  15696. a relay. Fixes bug 6274; bugfix on 0.2.3.6-alpha.
  15697. - When disabling guards for having too high a proportion of failed
  15698. circuits, make sure to look at each guard. Fixes bug 6397; bugfix
  15699. on 0.2.3.17-beta.
  15700. o Packaging (RPM):
  15701. - Update our default RPM spec files to work with mock and rpmbuild
  15702. on RHEL/Fedora. They have an updated set of dependencies and
  15703. conflicts, a fix for an ancient typo when creating the "_tor"
  15704. user, and better instructions. Thanks to Ondrej Mikle for the
  15705. patch series. Fixes bug 6043.
  15706. o Testing:
  15707. - Make it possible to set the TestingTorNetwork configuration
  15708. option using AlternateDirAuthority and AlternateBridgeAuthority
  15709. as an alternative to setting DirServer. Addresses ticket 6377.
  15710. o Documentation:
  15711. - Clarify the documentation for the Alternate*Authority options.
  15712. Fixes bug 6387.
  15713. - Fix some typos in the manpages. Patch from A. Costa. Fixes bug 6500.
  15714. o Code simplification and refactoring:
  15715. - Do not use SMARTLIST_FOREACH for any loop whose body exceeds
  15716. 10 lines. Also, don't nest them. Doing so in the past has
  15717. led to hard-to-debug code. The new style is to use the
  15718. SMARTLIST_FOREACH_{BEGIN,END} pair. Addresses issue 6400.
  15719. Changes in version 0.2.3.19-rc - 2012-07-06
  15720. Tor 0.2.3.19-rc is the second release candidate for the Tor 0.2.3.x
  15721. series. It fixes the compile on Windows, reverts to a GeoIP database
  15722. that isn't as broken, and fixes a flow control bug that has been around
  15723. since the beginning of Tor.
  15724. o Major bugfixes:
  15725. - Fix a bug handling SENDME cells on nonexistent streams that could
  15726. result in bizarre window values. Report and patch contributed
  15727. pseudonymously. Fixes part of bug 6271. This bug was introduced
  15728. before the first Tor release, in svn commit r152.
  15729. - Revert to the May 1 2012 Maxmind GeoLite Country database. In the
  15730. June 2012 database, Maxmind marked many Tor relays as country "A1",
  15731. which will cause risky behavior for clients that set EntryNodes
  15732. or ExitNodes. Addresses bug 6334; bugfix on 0.2.3.17-beta.
  15733. - Instead of ENOBUFS on Windows, say WSAENOBUFS. Fixes compilation
  15734. on Windows. Fixes bug 6296; bugfix on 0.2.3.18-rc.
  15735. o Minor bugfixes:
  15736. - Fix wrong TCP port range in parse_port_range(). Fixes bug 6218;
  15737. bugfix on 0.2.1.10-alpha.
  15738. Changes in version 0.2.3.18-rc - 2012-06-28
  15739. Tor 0.2.3.18-rc is the first release candidate for the Tor 0.2.3.x
  15740. series. It fixes a few smaller bugs, but generally appears stable.
  15741. Please test it and let us know whether it is!
  15742. o Major bugfixes:
  15743. - Allow wildcarded mapaddress targets to be specified on the
  15744. controlport. Partially fixes bug 6244; bugfix on 0.2.3.9-alpha.
  15745. - Make our linker option detection code more robust against linkers
  15746. such as on FreeBSD 8, where a bad combination of options completes
  15747. successfully but makes an unrunnable binary. Fixes bug 6173;
  15748. bugfix on 0.2.3.17-beta.
  15749. o Minor bugfixes (on 0.2.2.x and earlier):
  15750. - Avoid a false positive in the util/threads unit test by increasing
  15751. the maximum timeout time. Fixes bug 6227; bugfix on 0.2.0.4-alpha.
  15752. - Replace "Sending publish request" log messages with "Launching
  15753. upload", so that they no longer confusingly imply that we're
  15754. sending something to a directory we might not even be connected
  15755. to yet. Fixes bug 3311; bugfix on 0.2.0.10-alpha.
  15756. - Make sure to set *socket_error in all error cases in
  15757. connection_connect(), so it can't produce a warning about
  15758. errno being zero from errno_to_orconn_end_reason(). Bugfix on
  15759. 0.2.1.1-alpha; resolves ticket 6028.
  15760. - Downgrade "Got a certificate, but we already have it" log messages
  15761. from warning to info, except when we're a dirauth. Fixes bug 5238;
  15762. bugfix on 0.2.1.7-alpha.
  15763. - When checking for requested signatures on the latest consensus
  15764. before serving it to a client, make sure to check the right
  15765. consensus flavor. Bugfix on 0.2.2.6-alpha.
  15766. - Downgrade "eventdns rejected address" message to LOG_PROTOCOL_WARN.
  15767. Fixes bug 5932; bugfix on 0.2.2.7-alpha.
  15768. o Minor bugfixes (on 0.2.3.x):
  15769. - Make format_helper_exit_status() avoid unnecessary space padding
  15770. and stop confusing log_from_pipe(). Fixes ticket 5557; bugfix
  15771. on 0.2.3.1-alpha.
  15772. - Downgrade a message about cleaning the microdescriptor cache to
  15773. "info" from "notice". Fixes bug 6238; bugfix on 0.2.3.1-alpha.
  15774. - Log a BUG message at severity INFO if we have a networkstatus with
  15775. a missing entry for some microdescriptor. Continues on a patch
  15776. to 0.2.3.2-alpha.
  15777. - Improve the log message when a managed proxy fails to launch. Fixes
  15778. bug 5099; bugfix on 0.2.3.6-alpha.
  15779. - Don't do DNS lookups when parsing corrupted managed proxy protocol
  15780. messages. Fixes bug 6226; bugfix on 0.2.3.6-alpha.
  15781. - When formatting wildcarded address mappings for the controller,
  15782. be sure to include "*." as appropriate. Partially fixes bug 6244;
  15783. bugfix on 0.2.3.9-alpha.
  15784. - Avoid a warning caused by using strcspn() from glibc with clang 3.0.
  15785. Bugfix on 0.2.3.13-alpha.
  15786. - Stop logging messages about running with circuit timeout learning
  15787. enabled at severity LD_BUG. Fixes bug 6169; bugfix on 0.2.3.17-beta.
  15788. - Disable a spurious warning about reading on a marked and flushing
  15789. connection. We shouldn't be doing that, but apparently we
  15790. sometimes do. Fixes bug 6203; bugfix on 0.2.3.17-beta.
  15791. - Fix a bug that stopped AllowDotExit from working on addresses
  15792. that had an entry in the DNS cache. Fixes bug 6211; bugfix on
  15793. 0.2.3.17-beta.
  15794. o Code simplification, refactoring, unit tests:
  15795. - Move tor_gettimeofday_cached() into compat_libevent.c, and use
  15796. Libevent's notion of cached time when possible.
  15797. - Remove duplicate code for invoking getrlimit() from control.c.
  15798. - Add a unit test for the environment_variable_names_equal function.
  15799. o Documentation:
  15800. - Document the --defaults-torrc option, and the new (in 0.2.3)
  15801. semantics for overriding, extending, and clearing lists of
  15802. options. Closes bug 4748.
  15803. Changes in version 0.2.3.17-beta - 2012-06-15
  15804. Tor 0.2.3.17-beta enables compiler and linker hardening by default,
  15805. gets our TLS handshake back on track for being able to blend in with
  15806. Firefox, fixes a big bug in 0.2.3.16-alpha that broke Tor's interaction
  15807. with Vidalia, and otherwise continues to get us closer to a release
  15808. candidate.
  15809. o Major features:
  15810. - Enable gcc and ld hardening by default. Resolves ticket 5210.
  15811. - Update TLS cipher list to match Firefox 8 and later. Resolves
  15812. ticket 4744.
  15813. - Implement the client side of proposal 198: remove support for
  15814. clients falsely claiming to support standard ciphersuites that
  15815. they can actually provide. As of modern OpenSSL versions, it's not
  15816. necessary to fake any standard ciphersuite, and doing so prevents
  15817. us from using better ciphersuites in the future, since servers
  15818. can't know whether an advertised ciphersuite is really supported or
  15819. not. Some hosts -- notably, ones with very old versions of OpenSSL
  15820. or where OpenSSL has been built with ECC disabled -- will stand
  15821. out because of this change; TBB users should not be affected.
  15822. o Major bugfixes:
  15823. - Change the default value for DynamicDHGroups (introduced in
  15824. 0.2.3.9-alpha) to 0. This feature can make Tor relays less
  15825. identifiable by their use of the mod_ssl DH group, but at
  15826. the cost of some usability (#4721) and bridge tracing (#6087)
  15827. regressions. Resolves ticket 5598.
  15828. - Send a CRLF at the end of each STATUS_* control protocol event. This
  15829. bug tickled a bug in Vidalia which would make it freeze. Fixes
  15830. bug 6094; bugfix on 0.2.3.16-alpha.
  15831. o Minor bugfixes:
  15832. - Disable writing on marked-for-close connections when they are
  15833. blocked on bandwidth, to prevent busy-looping in Libevent. Fixes
  15834. bug 5263; bugfix on 0.0.2pre13, where we first added a special
  15835. case for flushing marked connections.
  15836. - Detect SSL handshake even when the initial attempt to write the
  15837. server hello fails. Fixes bug 4592; bugfix on 0.2.0.13-alpha.
  15838. - Change the AllowDotExit rules so they should actually work.
  15839. We now enforce AllowDotExit only immediately after receiving an
  15840. address via SOCKS or DNSPort: other sources are free to provide
  15841. .exit addresses after the resolution occurs. Fixes bug 3940;
  15842. bugfix on 0.2.2.1-alpha.
  15843. - Fix a (harmless) integer overflow in cell statistics reported by
  15844. some fast relays. Fixes bug 5849; bugfix on 0.2.2.1-alpha.
  15845. - Make sure circuitbuild.c checks LearnCircuitBuildTimeout in all the
  15846. right places and never depends on the consensus parameters or
  15847. computes adaptive timeouts when it is disabled. Fixes bug 5049;
  15848. bugfix on 0.2.2.14-alpha.
  15849. - When building Tor on Windows with -DUNICODE (not default), ensure
  15850. that error messages, filenames, and DNS server names are always
  15851. NUL-terminated when we convert them to a single-byte encoding.
  15852. Fixes bug 5909; bugfix on 0.2.2.16-alpha.
  15853. - Make Tor build correctly again with -DUNICODE -D_UNICODE defined.
  15854. Fixes bug 6097; bugfix on 0.2.2.16-alpha.
  15855. - Fix an edge case where TestingTorNetwork is set but the authorities
  15856. and relays all have an uptime of zero, where the private Tor network
  15857. could briefly lack support for hidden services. Fixes bug 3886;
  15858. bugfix on 0.2.2.18-alpha.
  15859. - Correct the manpage's descriptions for the default values of
  15860. DirReqStatistics and ExtraInfoStatistics. Fixes bug 2865; bugfix
  15861. on 0.2.3.1-alpha.
  15862. - Fix the documentation for the --hush and --quiet command line
  15863. options, which changed their behavior back in 0.2.3.3-alpha.
  15864. - Fix compilation warning with clang 3.1. Fixes bug 6141; bugfix on
  15865. 0.2.3.11-alpha.
  15866. o Minor features:
  15867. - Rate-limit the "Weighted bandwidth is 0.000000" message, and add
  15868. more information to it, so that we can track it down in case it
  15869. returns again. Mitigates bug 5235.
  15870. - Check CircuitBuildTimeout and LearnCircuitBuildTimeout in
  15871. options_validate(); warn if LearnCircuitBuildTimeout is disabled and
  15872. CircuitBuildTimeout is set unreasonably low. Resolves ticket 5452.
  15873. - Warn the user when HTTPProxy, but no other proxy type, is
  15874. configured. This can cause surprising behavior: it doesn't send
  15875. all of Tor's traffic over the HTTPProxy -- it sends unencrypted
  15876. directory traffic only. Resolves ticket 4663.
  15877. - Issue a notice if a guard completes less than 40% of your circuits.
  15878. Threshold is configurable by torrc option PathBiasNoticeRate and
  15879. consensus parameter pb_noticepct. There is additional, off-by-
  15880. default code to disable guards which fail too many circuits.
  15881. Addresses ticket 5458.
  15882. - Update to the June 6 2012 Maxmind GeoLite Country database.
  15883. o Code simplifications and refactoring:
  15884. - Remove validate_pluggable_transports_config(): its warning
  15885. message is now handled by connection_or_connect().
  15886. Changes in version 0.2.2.37 - 2012-06-06
  15887. Tor 0.2.2.37 introduces a workaround for a critical renegotiation
  15888. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  15889. currently).
  15890. o Major bugfixes:
  15891. - Work around a bug in OpenSSL that broke renegotiation with TLS
  15892. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  15893. the v2 Tor connection protocol when both sides were using OpenSSL
  15894. 1.0.1 would fail. Resolves ticket 6033.
  15895. - When waiting for a client to renegotiate, don't allow it to add
  15896. any bytes to the input buffer. This fixes a potential DoS issue.
  15897. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  15898. - Fix an edge case where if we fetch or publish a hidden service
  15899. descriptor, we might build a 4-hop circuit and then use that circuit
  15900. for exiting afterwards -- even if the new last hop doesn't obey our
  15901. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  15902. o Minor bugfixes:
  15903. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  15904. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  15905. o Minor features:
  15906. - Tell GCC and Clang to check for any errors in format strings passed
  15907. to the tor_v*(print|scan)f functions.
  15908. Changes in version 0.2.3.16-alpha - 2012-06-05
  15909. Tor 0.2.3.16-alpha introduces a workaround for a critical renegotiation
  15910. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  15911. currently). It also fixes a variety of smaller bugs and other cleanups
  15912. that get us closer to a release candidate.
  15913. o Major bugfixes (general):
  15914. - Work around a bug in OpenSSL that broke renegotiation with TLS
  15915. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  15916. the v2 Tor connection protocol when both sides were using OpenSSL
  15917. 1.0.1 would fail. Resolves ticket 6033.
  15918. - When waiting for a client to renegotiate, don't allow it to add
  15919. any bytes to the input buffer. This fixes a potential DoS issue.
  15920. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  15921. - Pass correct OR address to managed proxies (like obfsproxy),
  15922. even when ORListenAddress is used. Fixes bug 4865; bugfix on
  15923. 0.2.3.9-alpha.
  15924. - The advertised platform of a router now includes only its operating
  15925. system's name (e.g., "Linux", "Darwin", "Windows 7"), and not its
  15926. service pack level (for Windows) or its CPU architecture (for Unix).
  15927. We also no longer include the "git-XYZ" tag in the version. Resolves
  15928. part of bug 2988.
  15929. o Major bugfixes (clients):
  15930. - If we are unable to find any exit that supports our predicted ports,
  15931. stop calling them predicted, so that we don't loop and build
  15932. hopeless circuits indefinitely. Fixes bug 3296; bugfix on 0.0.9pre6,
  15933. which introduced predicted ports.
  15934. - Fix an edge case where if we fetch or publish a hidden service
  15935. descriptor, we might build a 4-hop circuit and then use that circuit
  15936. for exiting afterwards -- even if the new last hop doesn't obey our
  15937. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  15938. - Check at each new consensus whether our entry guards were picked
  15939. long enough ago that we should rotate them. Previously, we only
  15940. did this check at startup, which could lead to us holding a guard
  15941. indefinitely. Fixes bug 5380; bugfix on 0.2.1.14-rc.
  15942. - When fetching a bridge descriptor from a bridge authority,
  15943. always do so anonymously, whether we have been able to open
  15944. circuits or not. Partial fix for bug 1938; bugfix on 0.2.0.7-alpha.
  15945. This behavior makes it *safer* to use UpdateBridgesFromAuthority,
  15946. but we'll need to wait for bug 6010 before it's actually usable.
  15947. o Major bugfixes (directory authorities):
  15948. - When computing weight parameters, behave more robustly in the
  15949. presence of a bad bwweightscale value. Previously, the authorities
  15950. would crash if they agreed on a sufficiently broken weight_scale
  15951. value: now, they use a reasonable default and carry on. Partial
  15952. fix for 5786; bugfix on 0.2.2.17-alpha.
  15953. - Check more thoroughly to prevent a rogue authority from
  15954. double-voting on any consensus directory parameter. Previously,
  15955. authorities would crash in this case if the total number of
  15956. votes for any parameter exceeded the number of active voters,
  15957. but would let it pass otherwise. Partial fix for bug 5786; bugfix
  15958. on 0.2.2.2-alpha.
  15959. o Minor features:
  15960. - Rate-limit log messages when asked to connect anonymously to
  15961. a private address. When these hit, they tended to hit fast and
  15962. often. Also, don't bother trying to connect to addresses that we
  15963. are sure will resolve to 127.0.0.1: getting 127.0.0.1 in a directory
  15964. reply makes us think we have been lied to, even when the address the
  15965. client tried to connect to was "localhost." Resolves ticket 2822.
  15966. - Allow packagers to insert an extra string in server descriptor
  15967. platform lines by setting the preprocessor variable TOR_BUILD_TAG.
  15968. Resolves the rest of ticket 2988.
  15969. - Raise the threshold of server descriptors needed (75%) and exit
  15970. server descriptors needed (50%) before we will declare ourselves
  15971. bootstrapped. This will make clients start building circuits a
  15972. little later, but makes the initially constructed circuits less
  15973. skewed and less in conflict with further directory fetches. Fixes
  15974. ticket 3196.
  15975. - Close any connection that sends unrecognized junk before the
  15976. handshake. Solves an issue noted in bug 4369.
  15977. - Improve log messages about managed transports. Resolves ticket 5070.
  15978. - Tag a bridge's descriptor as "never to be sent unencrypted".
  15979. This shouldn't matter, since bridges don't open non-anonymous
  15980. connections to the bridge authority and don't allow unencrypted
  15981. directory connections from clients, but we might as well make
  15982. sure. Closes bug 5139.
  15983. - Expose our view of whether we have gone dormant to the controller,
  15984. via a new "GETINFO dormant" value. Torbutton and other controllers
  15985. can use this to avoid doing periodic requests through Tor while
  15986. it's dormant (bug 4718). Fixes bug 5954.
  15987. - Tell GCC and Clang to check for any errors in format strings passed
  15988. to the tor_v*(print|scan)f functions.
  15989. - Update to the May 1 2012 Maxmind GeoLite Country database.
  15990. o Minor bugfixes (already included in 0.2.2.36):
  15991. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  15992. Fixes bug 5346; bugfix on 0.0.8pre3.
  15993. - Correct parsing of certain date types in parse_http_time().
  15994. Without this patch, If-Modified-Since would behave
  15995. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  15996. Esteban Manchado Velázques.
  15997. - Make our number-parsing functions always treat too-large values
  15998. as an error, even when those values exceed the width of the
  15999. underlying type. Previously, if the caller provided these
  16000. functions with minima or maxima set to the extreme values of the
  16001. underlying integer type, these functions would return those
  16002. values on overflow rather than treating overflow as an error.
  16003. Fixes part of bug 5786; bugfix on 0.0.9.
  16004. - If we hit the error case where routerlist_insert() replaces an
  16005. existing (old) server descriptor, make sure to remove that
  16006. server descriptor from the old_routers list. Fix related to bug
  16007. 1776. Bugfix on 0.2.2.18-alpha.
  16008. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  16009. circuits. Fixes issue 5259.
  16010. o Minor bugfixes (coding cleanup, on 0.2.2.x and earlier):
  16011. - Prevent a null-pointer dereference when receiving a data cell
  16012. for a nonexistent stream when the circuit in question has an
  16013. empty deliver window. We don't believe this is triggerable,
  16014. since we don't currently allow deliver windows to become empty,
  16015. but the logic is tricky enough that it's better to make the code
  16016. robust. Fixes bug 5541; bugfix on 0.0.2pre14.
  16017. - Fix a memory leak when trying to launch a DNS request when the
  16018. network is disabled or the nameservers are unconfigurable. Fixes
  16019. bug 5916; bugfix on Tor 0.1.2.1-alpha (for the unconfigurable
  16020. nameserver case) and on 0.2.3.9-alpha (for the DisableNetwork case).
  16021. - Don't hold a Windows file handle open for every file mapping;
  16022. the file mapping handle is sufficient. Fixes bug 5951; bugfix on
  16023. 0.1.2.1-alpha.
  16024. - Avoid O(n^2) performance characteristics when parsing a large
  16025. extrainfo cache. Fixes bug 5828; bugfix on 0.2.0.1-alpha.
  16026. - Format more doubles with %f, not %lf. Patch from grarpamp to make
  16027. Tor build correctly on older BSDs again. Fixes bug 3894; bugfix on
  16028. Tor 0.2.0.8-alpha.
  16029. - Make our replacement implementation of strtok_r() compatible with
  16030. the standard behavior of strtok_r(). Patch by nils. Fixes bug 5091;
  16031. bugfix on 0.2.2.1-alpha.
  16032. - Fix a NULL-pointer dereference on a badly formed
  16033. SETCIRCUITPURPOSE command. Found by mikeyc. Fixes bug 5796;
  16034. bugfix on 0.2.2.9-alpha.
  16035. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  16036. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  16037. - Defensively refactor rend_mid_rendezvous() so that protocol
  16038. violations and length checks happen in the beginning. Fixes
  16039. bug 5645.
  16040. - Set _WIN32_WINNT to 0x0501 consistently throughout the code, so
  16041. that IPv6 stuff will compile on MSVC, and compilation issues
  16042. will be easier to track down. Fixes bug 5861.
  16043. o Minor bugfixes (correctness, on 0.2.2.x and earlier):
  16044. - Exit nodes now correctly report EADDRINUSE and EADDRNOTAVAIL as
  16045. resource exhaustion, so that clients can adjust their load to
  16046. try other exits. Fixes bug 4710; bugfix on 0.1.0.1-rc, which
  16047. started using END_STREAM_REASON_RESOURCELIMIT.
  16048. - Don't check for whether the address we're using for outbound
  16049. connections has changed until after the outbound connection has
  16050. completed. On Windows, getsockname() doesn't succeed until the
  16051. connection is finished. Fixes bug 5374; bugfix on 0.1.1.14-alpha.
  16052. - If the configuration tries to set MyFamily on a bridge, refuse to
  16053. do so, and warn about the security implications. Fixes bug 4657;
  16054. bugfix on 0.2.0.3-alpha.
  16055. - If the client fails to set a reasonable set of ciphersuites
  16056. during its v2 handshake renegotiation, allow the renegotiation to
  16057. continue nevertheless (i.e. send all the required certificates).
  16058. Fixes bug 4591; bugfix on 0.2.0.20-rc.
  16059. - When we receive a SIGHUP and the controller __ReloadTorrcOnSIGHUP
  16060. option is set to 0 (which Vidalia version 0.2.16 now does when
  16061. a SAVECONF attempt fails), perform other actions that SIGHUP
  16062. usually causes (like reopening the logs). Fixes bug 5095; bugfix
  16063. on 0.2.1.9-alpha.
  16064. - If we fail to write a microdescriptor to the disk cache, do not
  16065. continue replacing the old microdescriptor file. Fixes bug 2954;
  16066. bugfix on 0.2.2.6-alpha.
  16067. - Exit nodes don't need to fetch certificates for authorities that
  16068. they don't recognize; only directory authorities, bridges,
  16069. and caches need to do that. Fixes part of bug 2297; bugfix on
  16070. 0.2.2.11-alpha.
  16071. - Correctly handle checking the permissions on the parent
  16072. directory of a control socket in the root directory. Bug found
  16073. by Esteban Manchado Velázquez. Fixes bug 5089; bugfix on Tor
  16074. 0.2.2.26-beta.
  16075. - When told to add a bridge with the same digest as a preexisting
  16076. bridge but a different addr:port, change the addr:port as
  16077. requested. Previously we would not notice the change. Fixes half
  16078. of bug 5603; fix on 0.2.2.26-beta.
  16079. - End AUTHCHALLENGE error messages (in the control protocol) with
  16080. a CRLF. Fixes bug 5760; bugfix on 0.2.2.36 and 0.2.3.13-alpha.
  16081. o Minor bugfixes (on 0.2.3.x):
  16082. - Turn an assertion (that the number of handshakes received as a
  16083. server is not < 1) into a warning. Fixes bug 4873; bugfix on
  16084. 0.2.3.1-alpha.
  16085. - Format IPv4 addresses correctly in ADDRMAP events. (Previously,
  16086. we had reversed them when the answer was cached.) Fixes bug
  16087. 5723; bugfix on 0.2.3.1-alpha.
  16088. - Work correctly on Linux systems with accept4 support advertised in
  16089. their headers, but without accept4 support in the kernel. Fix
  16090. by murb. Fixes bug 5762; bugfix on 0.2.3.1-alpha.
  16091. - When told to add a bridge with the same addr:port as a preexisting
  16092. bridge but a different transport, change the transport as
  16093. requested. Previously we would not notice the change. Fixes half
  16094. of bug 5603; fix on 0.2.3.2-alpha.
  16095. - Avoid a "double-reply" warning when replying to a SOCKS request
  16096. with a parse error. Patch from Fabian Keil. Fixes bug 4108;
  16097. bugfix on 0.2.3.4-alpha.
  16098. - Fix a bug where a bridge authority crashes if it has seen no
  16099. directory requests when it's time to write statistics to disk.
  16100. Fixes bug 5891; bugfix on 0.2.3.6-alpha. Also fixes bug 5508 in
  16101. a better way.
  16102. - Don't try to open non-control listeners when DisableNetwork is set.
  16103. Previously, we'd open all listeners, then immediately close them.
  16104. Fixes bug 5604; bugfix on 0.2.3.9-alpha.
  16105. - Don't abort the managed proxy protocol if the managed proxy
  16106. sends us an unrecognized line; ignore it instead. Fixes bug
  16107. 5910; bugfix on 0.2.3.9-alpha.
  16108. - Fix a compile warning in crypto.c when compiling with clang 3.1.
  16109. Fixes bug 5969, bugfix on 0.2.3.9-alpha.
  16110. - Fix a compilation issue on GNU Hurd, which doesn't have PATH_MAX.
  16111. Fixes bug 5355; bugfix on 0.2.3.11-alpha.
  16112. - Remove bogus definition of "_WIN32" from src/win32/orconfig.h, to
  16113. unbreak the MSVC build. Fixes bug 5858; bugfix on 0.2.3.12-alpha.
  16114. - Resolve numerous small warnings and build issues with MSVC. Resolves
  16115. bug 5859.
  16116. o Documentation fixes:
  16117. - Improve the manual's documentation for the NT Service command-line
  16118. options. Addresses ticket 3964.
  16119. - Clarify SessionGroup documentation slightly; resolves ticket 5437.
  16120. - Document the changes to the ORPort and DirPort options, and the
  16121. fact that {OR/Dir}ListenAddress is now unnecessary (and
  16122. therefore deprecated). Resolves ticket 5597.
  16123. o Removed files:
  16124. - Remove the torrc.bridge file: we don't use it for anything, and
  16125. it had become badly desynchronized from torrc.sample. Resolves
  16126. bug 5622.
  16127. Changes in version 0.2.2.36 - 2012-05-24
  16128. Tor 0.2.2.36 updates the addresses for two of the eight directory
  16129. authorities, fixes some potential anonymity and security issues,
  16130. and fixes several crash bugs.
  16131. Tor 0.2.1.x has reached its end-of-life. Those Tor versions have many
  16132. known flaws, and nobody should be using them. You should upgrade. If
  16133. you're using a Linux or BSD and its packages are obsolete, stop using
  16134. those packages and upgrade anyway.
  16135. o Directory authority changes:
  16136. - Change IP address for maatuska (v3 directory authority).
  16137. - Change IP address for ides (v3 directory authority), and rename
  16138. it to turtles.
  16139. o Security fixes:
  16140. - When building or running with any version of OpenSSL earlier
  16141. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  16142. versions have a bug (CVE-2011-4576) in which their block cipher
  16143. padding includes uninitialized data, potentially leaking sensitive
  16144. information to any peer with whom they make a SSLv3 connection. Tor
  16145. does not use SSL v3 by default, but a hostile client or server
  16146. could force an SSLv3 connection in order to gain information that
  16147. they shouldn't have been able to get. The best solution here is to
  16148. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  16149. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  16150. to make sure that the bug can't happen.
  16151. - Never use a bridge or a controller-supplied node as an exit, even
  16152. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  16153. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  16154. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  16155. - Only build circuits if we have a sufficient threshold of the total
  16156. descriptors that are marked in the consensus with the "Exit"
  16157. flag. This mitigates an attack proposed by wanoskarnet, in which
  16158. all of a client's bridges collude to restrict the exit nodes that
  16159. the client knows about. Fixes bug 5343.
  16160. - Provide controllers with a safer way to implement the cookie
  16161. authentication mechanism. With the old method, if another locally
  16162. running program could convince a controller that it was the Tor
  16163. process, then that program could trick the controller into telling
  16164. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  16165. authentication method uses a challenge-response approach to prevent
  16166. this attack. Fixes bug 5185; implements proposal 193.
  16167. o Major bugfixes:
  16168. - Avoid logging uninitialized data when unable to decode a hidden
  16169. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  16170. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  16171. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  16172. 0.2.1.6-alpha.
  16173. - Fix builds when the path to sed, openssl, or sha1sum contains
  16174. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  16175. on 0.2.2.1-alpha.
  16176. - Correct our replacements for the timeradd() and timersub() functions
  16177. on platforms that lack them (for example, Windows). The timersub()
  16178. function is used when expiring circuits, while timeradd() is
  16179. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  16180. bugfix on 0.2.2.24-alpha.
  16181. - Fix the SOCKET_OK test that we use to tell when socket
  16182. creation fails so that it works on Win64. Fixes part of bug 4533;
  16183. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  16184. o Minor bugfixes:
  16185. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  16186. Fixes bug 5346; bugfix on 0.0.8pre3.
  16187. - Make our number-parsing functions always treat too-large values
  16188. as an error, even when those values exceed the width of the
  16189. underlying type. Previously, if the caller provided these
  16190. functions with minima or maxima set to the extreme values of the
  16191. underlying integer type, these functions would return those
  16192. values on overflow rather than treating overflow as an error.
  16193. Fixes part of bug 5786; bugfix on 0.0.9.
  16194. - Older Linux kernels erroneously respond to strange nmap behavior
  16195. by having accept() return successfully with a zero-length
  16196. socket. When this happens, just close the connection. Previously,
  16197. we would try harder to learn the remote address: but there was
  16198. no such remote address to learn, and our method for trying to
  16199. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  16200. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  16201. - Correct parsing of certain date types in parse_http_time().
  16202. Without this patch, If-Modified-Since would behave
  16203. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  16204. Esteban Manchado Velázques.
  16205. - Change the BridgePassword feature (part of the "bridge community"
  16206. design, which is not yet implemented) to use a time-independent
  16207. comparison. The old behavior might have allowed an adversary
  16208. to use timing to guess the BridgePassword value. Fixes bug 5543;
  16209. bugfix on 0.2.0.14-alpha.
  16210. - Detect and reject certain misformed escape sequences in
  16211. configuration values. Previously, these values would cause us
  16212. to crash if received in a torrc file or over an authenticated
  16213. control port. Bug found by Esteban Manchado Velázquez, and
  16214. independently by Robert Connolly from Matta Consulting who further
  16215. noted that it allows a post-authentication heap overflow. Patch
  16216. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  16217. bugfix on 0.2.0.16-alpha.
  16218. - Fix a compile warning when using the --enable-openbsd-malloc
  16219. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  16220. - During configure, detect when we're building with clang version
  16221. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  16222. CFLAGS. clang doesn't support them yet.
  16223. - When sending an HTTP/1.1 proxy request, include a Host header.
  16224. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  16225. - Fix a NULL-pointer dereference on a badly formed SETCIRCUITPURPOSE
  16226. command. Found by mikeyc. Fixes bug 5796; bugfix on 0.2.2.9-alpha.
  16227. - If we hit the error case where routerlist_insert() replaces an
  16228. existing (old) server descriptor, make sure to remove that
  16229. server descriptor from the old_routers list. Fix related to bug
  16230. 1776. Bugfix on 0.2.2.18-alpha.
  16231. o Minor bugfixes (documentation and log messages):
  16232. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  16233. Fixes bug 4856; bugfix on Tor 0.0.6.
  16234. - Update "ClientOnly" man page entry to explain that there isn't
  16235. really any point to messing with it. Resolves ticket 5005.
  16236. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  16237. directory authority option (introduced in Tor 0.2.2.34).
  16238. - Downgrade the "We're missing a certificate" message from notice
  16239. to info: people kept mistaking it for a real problem, whereas it
  16240. is seldom the problem even when we are failing to bootstrap. Fixes
  16241. bug 5067; bugfix on 0.2.0.10-alpha.
  16242. - Correctly spell "connect" in a log message on failure to create a
  16243. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta.
  16244. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  16245. circuits. Fixes issue 5259.
  16246. o Minor features:
  16247. - Directory authorities now reject versions of Tor older than
  16248. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  16249. inclusive. These versions accounted for only a small fraction of
  16250. the Tor network, and have numerous known security issues. Resolves
  16251. issue 4788.
  16252. - Update to the May 1 2012 Maxmind GeoLite Country database.
  16253. o Feature removal:
  16254. - When sending or relaying a RELAY_EARLY cell, we used to convert
  16255. it to a RELAY cell if the connection was using the v1 link
  16256. protocol. This was a workaround for older versions of Tor, which
  16257. didn't handle RELAY_EARLY cells properly. Now that all supported
  16258. versions can handle RELAY_EARLY cells, and now that we're enforcing
  16259. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  16260. remove this workaround. Addresses bug 4786.
  16261. Changes in version 0.2.3.15-alpha - 2012-04-30
  16262. Tor 0.2.3.15-alpha fixes a variety of smaller bugs, including making
  16263. the development branch build on Windows again.
  16264. o Minor bugfixes (on 0.2.2.x and earlier):
  16265. - Make sure that there are no unhandled pending TLS errors before
  16266. reading from a TLS stream. We had checks in 0.1.0.3-rc, but
  16267. lost them in 0.1.0.5-rc when we refactored read_to_buf_tls().
  16268. Bugfix on 0.1.0.5-rc; fixes bug 4528.
  16269. - Fix an assert that directory authorities could trigger on sighup
  16270. during some configuration state transitions. We now don't treat
  16271. it as a fatal error when the new descriptor we just generated in
  16272. init_keys() isn't accepted. Fixes bug 4438; bugfix on 0.2.1.9-alpha.
  16273. - After we pick a directory mirror, we would refuse to use it if
  16274. it's in our ExcludeExitNodes list, resulting in mysterious failures
  16275. to bootstrap for people who just wanted to avoid exiting from
  16276. certain locations. Fixes bug 5623; bugfix on 0.2.2.25-alpha.
  16277. - When building with --enable-static-tor on OpenBSD, do not
  16278. erroneously attempt to link -lrt. Fixes bug 5103.
  16279. o Minor bugfixes (on 0.2.3.x):
  16280. - When Tor is built with kernel headers from a recent (last few
  16281. years) Linux kernel, do not fail to run on older (pre-2.6.28
  16282. Linux kernels). Fixes bug 5112; bugfix on 0.2.3.1-alpha.
  16283. - Fix cross-compilation issues with mingw. Bugfixes on 0.2.3.6-alpha
  16284. and 0.2.3.12-alpha.
  16285. - Fix compilation with miniupnpc version 1.6; patch from
  16286. Anthony G. Basile. Fixes bug 5434; bugfix on 0.2.3.12-alpha.
  16287. - Fix compilation with MSVC, which had defined MS_WINDOWS. Bugfix
  16288. on 0.2.3.13-alpha; found and fixed by Gisle Vanem.
  16289. - Fix compilation on platforms without unistd.h, or where environ
  16290. is defined in stdlib.h. Fixes bug 5704; bugfix on 0.2.3.13-alpha.
  16291. o Minor features:
  16292. - Directory authorities are now a little more lenient at accepting
  16293. older router descriptors, or newer router descriptors that don't
  16294. make big changes. This should help ameliorate past and future
  16295. issues where routers think they have uploaded valid descriptors,
  16296. but the authorities don't think so. Fix for ticket 2479.
  16297. - Make the code that clients use to detect an address change be
  16298. IPv6-aware, so that it won't fill clients' logs with error
  16299. messages when trying to get the IPv4 address of an IPv6
  16300. connection. Implements ticket 5537.
  16301. o Removed features:
  16302. - Remove the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays option;
  16303. authorities needed to use it for a while to keep the network working
  16304. as people upgraded to 0.2.1.31, 0.2.2.34, or 0.2.3.6-alpha, but
  16305. that was six months ago. As of now, it should no longer be needed
  16306. or used.
  16307. Changes in version 0.2.3.14-alpha - 2012-04-23
  16308. Tor 0.2.3.14-alpha fixes yet more bugs to get us closer to a release
  16309. candidate. It also dramatically speeds up AES: fast relays should
  16310. consider switching to the newer OpenSSL library.
  16311. o Directory authority changes:
  16312. - Change IP address for ides (v3 directory authority), and rename
  16313. it to turtles.
  16314. o Major bugfixes:
  16315. - Avoid logging uninitialized data when unable to decode a hidden
  16316. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  16317. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  16318. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  16319. 0.2.1.6-alpha.
  16320. - If authorities are unable to get a v2 consensus document from other
  16321. directory authorities, they no longer fall back to fetching
  16322. them from regular directory caches. Fixes bug 5635; bugfix on
  16323. 0.2.2.26-beta, where routers stopped downloading v2 consensus
  16324. documents entirely.
  16325. - When we start a Tor client with a normal consensus already cached,
  16326. be willing to download a microdescriptor consensus. Fixes bug 4011;
  16327. fix on 0.2.3.1-alpha.
  16328. o Major features (performance):
  16329. - When built to use OpenSSL 1.0.1, and built for an x86 or x86_64
  16330. instruction set, take advantage of OpenSSL's AESNI, bitsliced, or
  16331. vectorized AES implementations as appropriate. These can be much,
  16332. much faster than other AES implementations.
  16333. o Minor bugfixes (0.2.2.x and earlier):
  16334. - Don't launch more than 10 service-side introduction-point circuits
  16335. for a hidden service in five minutes. Previously, we would consider
  16336. launching more introduction-point circuits if at least one second
  16337. had passed without any introduction-point circuits failing. Fixes
  16338. bug 4607; bugfix on 0.0.7pre1.
  16339. - Change the BridgePassword feature (part of the "bridge community"
  16340. design, which is not yet implemented) to use a time-independent
  16341. comparison. The old behavior might have allowed an adversary
  16342. to use timing to guess the BridgePassword value. Fixes bug 5543;
  16343. bugfix on 0.2.0.14-alpha.
  16344. - Enforce correct return behavior of tor_vsscanf() when the '%%'
  16345. pattern is used. Fixes bug 5558. Bugfix on 0.2.1.13.
  16346. - When sending an HTTP/1.1 proxy request, include a Host header.
  16347. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  16348. - Don't log that we have "decided to publish new relay descriptor"
  16349. unless we are actually publishing a descriptor. Fixes bug 3942;
  16350. bugfix on 0.2.2.28-beta.
  16351. o Minor bugfixes (0.2.3.x):
  16352. - Fix a bug where a bridge authority crashes (on a failed assert)
  16353. if it has seen no directory requests when it's time to write
  16354. statistics to disk. Fixes bug 5508. Bugfix on 0.2.3.6-alpha.
  16355. - Fix bug stomping on ORPort option NoListen and ignoring option
  16356. NoAdvertise. Fixes bug 5151; bugfix on 0.2.3.9-alpha.
  16357. - In the testsuite, provide a large enough buffer in the tor_sscanf
  16358. unit test. Otherwise we'd overrun that buffer and crash during
  16359. the unit tests. Found by weasel. Fixes bug 5449; bugfix on
  16360. 0.2.3.12-alpha.
  16361. - Make sure we create the keys directory if it doesn't exist and we're
  16362. about to store the dynamic Diffie-Hellman parameters. Fixes bug
  16363. 5572; bugfix on 0.2.3.13-alpha.
  16364. - Fix a small memory leak when trying to decode incorrect base16
  16365. authenticator during SAFECOOKIE authentication. Found by
  16366. Coverity Scan. Fixes CID 507. Bugfix on 0.2.3.13-alpha.
  16367. o Minor features:
  16368. - Add more information to a log statement that might help track down
  16369. bug 4091. If you're seeing "Bug: tor_addr_is_internal() called with a
  16370. non-IP address" messages (or any Bug messages, for that matter!),
  16371. please let us know about it.
  16372. - Relays now understand an IPv6 address when they get one from a
  16373. directory server. Resolves ticket 4875.
  16374. - Resolve IPv6 addresses in bridge and entry statistics to country
  16375. code "??" which means we at least count them. Resolves ticket 5053;
  16376. improves on 0.2.3.9-alpha.
  16377. - Update to the April 3 2012 Maxmind GeoLite Country database.
  16378. - Begin a doc/state-contents.txt file to explain the contents of
  16379. the Tor state file. Fixes bug 2987.
  16380. o Default torrc changes:
  16381. - Stop listing "socksport 9050" in torrc.sample. We open a socks
  16382. port on 9050 by default anyway, so this should not change anything
  16383. in practice.
  16384. - Stop mentioning the deprecated *ListenAddress options in
  16385. torrc.sample. Fixes bug 5438.
  16386. - Document unit of bandwidth related options in sample torrc.
  16387. Fixes bug 5621.
  16388. o Removed features:
  16389. - The "torify" script no longer supports the "tsocks" socksifier
  16390. tool, since tsocks doesn't support DNS and UDP right for Tor.
  16391. Everyone should be using torsocks instead. Fixes bugs 3530 and
  16392. 5180. Based on a patch by "ugh".
  16393. o Code refactoring:
  16394. - Change the symmetric cipher interface so that creating and
  16395. initializing a stream cipher are no longer separate functions.
  16396. - Remove all internal support for unpadded RSA. We never used it, and
  16397. it would be a bad idea to start.
  16398. Changes in version 0.2.3.13-alpha - 2012-03-26
  16399. Tor 0.2.3.13-alpha fixes a variety of stability and correctness bugs
  16400. in managed pluggable transports, as well as providing other cleanups
  16401. that get us closer to a release candidate.
  16402. o Directory authority changes:
  16403. - Change IP address for maatuska (v3 directory authority).
  16404. o Security fixes:
  16405. - Provide controllers with a safer way to implement the cookie
  16406. authentication mechanism. With the old method, if another locally
  16407. running program could convince a controller that it was the Tor
  16408. process, then that program could trick the controller into telling
  16409. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  16410. authentication method uses a challenge-response approach to prevent
  16411. this attack. Fixes bug 5185, implements proposal 193.
  16412. - Never use a bridge or a controller-supplied node as an exit, even
  16413. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  16414. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  16415. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  16416. - Only build circuits if we have a sufficient threshold of the total
  16417. descriptors that are marked in the consensus with the "Exit"
  16418. flag. This mitigates an attack proposed by wanoskarnet, in which
  16419. all of a client's bridges collude to restrict the exit nodes that
  16420. the client knows about. Fixes bug 5343.
  16421. o Major bugfixes (on Tor 0.2.3.x):
  16422. - Avoid an assert when managed proxies like obfsproxy are configured,
  16423. and we receive HUP signals or setconf attempts too rapidly. This
  16424. situation happens most commonly when Vidalia tries to attach to
  16425. Tor or tries to configure the Tor it's attached to. Fixes bug 5084;
  16426. bugfix on 0.2.3.6-alpha.
  16427. - Fix a relay-side pluggable transports bug where managed proxies were
  16428. unreachable from the Internet, because Tor asked them to bind on
  16429. localhost. Fixes bug 4725; bugfix on 0.2.3.9-alpha.
  16430. - Stop discarding command-line arguments when TestingTorNetwork
  16431. is set. Discovered by Kevin Bauer. Fixes bug 5373; bugfix on
  16432. 0.2.3.9-alpha, where task 4552 added support for two layers of
  16433. torrc files.
  16434. - Resume allowing the unit tests to run in gdb. This was accidentally
  16435. made impossible when the DisableDebuggerAttachment option was
  16436. introduced. Fixes bug 5448; bugfix on 0.2.3.9-alpha.
  16437. - Resume building with nat-pmp support. Fixes bug 4955; bugfix on
  16438. 0.2.3.11-alpha. Reported by Anthony G. Basile.
  16439. o Minor bugfixes (on 0.2.2.x and earlier):
  16440. - Ensure we don't cannibalize circuits that are longer than three hops
  16441. already, so we don't end up making circuits with 5 or more
  16442. hops. Patch contributed by wanoskarnet. Fixes bug 5231; bugfix on
  16443. 0.1.0.1-rc which introduced cannibalization.
  16444. - Detect and reject certain misformed escape sequences in
  16445. configuration values. Previously, these values would cause us
  16446. to crash if received in a torrc file or over an authenticated
  16447. control port. Bug found by Esteban Manchado Velázquez, and
  16448. independently by Robert Connolly from Matta Consulting who further
  16449. noted that it allows a post-authentication heap overflow. Patch
  16450. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  16451. bugfix on 0.2.0.16-alpha.
  16452. - Fix a compile warning when using the --enable-openbsd-malloc
  16453. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  16454. - Directory caches no longer refuse to clean out descriptors because
  16455. of missing v2 networkstatus documents, unless they're configured
  16456. to retrieve v2 networkstatus documents. Fixes bug 4838; bugfix on
  16457. 0.2.2.26-beta. Patch by Daniel Bryg.
  16458. - Update to the latest version of the tinytest unit testing framework.
  16459. This includes a couple of bugfixes that can be relevant for
  16460. running forked unit tests on Windows, and removes all reserved
  16461. identifiers.
  16462. o Minor bugfixes (on 0.2.3.x):
  16463. - On a failed pipe() call, don't leak file descriptors. Fixes bug
  16464. 4296; bugfix on 0.2.3.1-alpha.
  16465. - Spec conformance: on a v3 handshake, do not send a NETINFO cell
  16466. until after we have received a CERTS cell. Fixes bug 4361; bugfix
  16467. on 0.2.3.6-alpha. Patch by "frosty".
  16468. - When binding to an IPv6 address, set the IPV6_V6ONLY socket
  16469. option, so that the IP stack doesn't decide to use it for IPv4
  16470. too. Fixes bug 4760; bugfix on 0.2.3.9-alpha.
  16471. - Ensure that variables set in Tor's environment cannot override
  16472. environment variables that Tor passes to a managed
  16473. pluggable-transport proxy. Previously, Tor would pass every
  16474. variable in its environment to managed proxies along with the new
  16475. ones, in such a way that on many operating systems, the inherited
  16476. environment variables would override those which Tor tried to
  16477. explicitly set. Bugfix on 0.2.3.12-alpha for most Unixoid systems;
  16478. bugfix on 0.2.3.9-alpha for Windows.
  16479. o Minor features:
  16480. - A wide variety of new unit tests by Esteban Manchado Velázquez.
  16481. - Shorten links in the tor-exit-notice file. Patch by Christian Kujau.
  16482. - Update to the March 6 2012 Maxmind GeoLite Country database.
  16483. Changes in version 0.2.3.12-alpha - 2012-02-13
  16484. Tor 0.2.3.12-alpha lets fast exit relays scale better, allows clients
  16485. to use bridges that run Tor 0.2.2.x, and resolves several big bugs
  16486. when Tor is configured to use a pluggable transport like obfsproxy.
  16487. o Major bugfixes:
  16488. - Fix builds when the path to sed, openssl, or sha1sum contains
  16489. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  16490. on 0.2.2.1-alpha.
  16491. - Set the SO_REUSEADDR socket option before we call bind() on outgoing
  16492. connections. This change should allow busy exit relays to stop
  16493. running out of available sockets as quickly. Fixes bug 4950;
  16494. bugfix on 0.2.2.26-beta.
  16495. - Allow 0.2.3.x clients to use 0.2.2.x bridges. Previously the client
  16496. would ask the bridge for microdescriptors, which are only supported
  16497. in 0.2.3.x, and then fail to bootstrap when it didn't get the
  16498. answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha.
  16499. - Properly set up obfsproxy's environment when in managed mode. The
  16500. Tor Browser Bundle needs LD_LIBRARY_PATH to be passed to obfsproxy,
  16501. and when you run your Tor as a daemon, there's no HOME. Fixes bugs
  16502. 5076 and 5082; bugfix on 0.2.3.6-alpha.
  16503. o Minor features:
  16504. - Use the dead_strip option when building Tor on OS X. This reduces
  16505. binary size by almost 19% when linking openssl and libevent
  16506. statically, which we do for Tor Browser Bundle.
  16507. - Fix broken URLs in the sample torrc file, and tell readers about
  16508. the OutboundBindAddress, ExitPolicyRejectPrivate, and
  16509. PublishServerDescriptor options. Addresses bug 4652.
  16510. - Update to the February 7 2012 Maxmind GeoLite Country database.
  16511. o Minor bugfixes:
  16512. - Downgrade the "We're missing a certificate" message from notice
  16513. to info: people kept mistaking it for a real problem, whereas it
  16514. is seldom the problem even when we are failing to bootstrap. Fixes
  16515. bug 5067; bugfix on 0.2.0.10-alpha.
  16516. - Don't put "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200" in a
  16517. managed pluggable transport server proxy's environment.
  16518. Previously, we would put it there, even though Tor doesn't
  16519. implement an 'extended server port' yet, and even though Tor
  16520. almost certainly isn't listening at that address. For now, we set
  16521. it to an empty string to avoid crashing older obfsproxies. Bugfix
  16522. on 0.2.3.6-alpha.
  16523. - Log the heartbeat message every HeartbeatPeriod seconds, not every
  16524. HeartbeatPeriod + 1 seconds. Fixes bug 4942; bugfix on
  16525. 0.2.3.1-alpha. Bug reported by Scott Bennett.
  16526. - Calculate absolute paths correctly on Windows. Fixes bug 4973;
  16527. bugfix on 0.2.3.11-alpha.
  16528. - Update "ClientOnly" man page entry to explain that there isn't
  16529. really any point to messing with it. Resolves ticket 5005.
  16530. - Use the correct CVE number for CVE-2011-4576 in our comments and
  16531. log messages. Found by "fermenthor". Resolves bug 5066; bugfix on
  16532. 0.2.3.11-alpha.
  16533. o Code simplifications and refactoring:
  16534. - Use the _WIN32 macro throughout our code to detect Windows.
  16535. (Previously we had used the obsolete 'WIN32' and the idiosyncratic
  16536. 'MS_WINDOWS'.)
  16537. Changes in version 0.2.3.11-alpha - 2012-01-22
  16538. Tor 0.2.3.11-alpha marks feature-freeze for the 0.2.3 tree. It deploys
  16539. the last step of the plan to limit maximum circuit length, includes
  16540. a wide variety of hidden service performance and correctness fixes,
  16541. works around an OpenSSL security flaw if your distro is too stubborn
  16542. to upgrade, and fixes a bunch of smaller issues.
  16543. o Major features:
  16544. - Now that Tor 0.2.0.x is completely deprecated, enable the final
  16545. part of "Proposal 110: Avoiding infinite length circuits" by
  16546. refusing all circuit-extend requests that do not use a relay_early
  16547. cell. This change helps Tor resist a class of denial-of-service
  16548. attacks by limiting the maximum circuit length.
  16549. - Adjust the number of introduction points that a hidden service
  16550. will try to maintain based on how long its introduction points
  16551. remain in use and how many introductions they handle. Fixes
  16552. part of bug 3825.
  16553. - Try to use system facilities for enumerating local interface
  16554. addresses, before falling back to our old approach (which was
  16555. binding a UDP socket, and calling getsockname() on it). That
  16556. approach was scaring OS X users whose draconian firewall
  16557. software warned about binding to UDP sockets, regardless of
  16558. whether packets were sent. Now we try to use getifaddrs(),
  16559. SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
  16560. system supports. Resolves ticket 1827.
  16561. o Major security workaround:
  16562. - When building or running with any version of OpenSSL earlier
  16563. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  16564. versions have a bug (CVE-2011-4576) in which their block cipher
  16565. padding includes uninitialized data, potentially leaking sensitive
  16566. information to any peer with whom they make a SSLv3 connection. Tor
  16567. does not use SSL v3 by default, but a hostile client or server
  16568. could force an SSLv3 connection in order to gain information that
  16569. they shouldn't have been able to get. The best solution here is to
  16570. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  16571. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  16572. to make sure that the bug can't happen.
  16573. o Major bugfixes:
  16574. - Fix the SOCKET_OK test that we use to tell when socket
  16575. creation fails so that it works on Win64. Fixes part of bug 4533;
  16576. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  16577. - Correct our replacements for the timeradd() and timersub() functions
  16578. on platforms that lack them (for example, Windows). The timersub()
  16579. function is used when expiring circuits, while timeradd() is
  16580. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  16581. bugfix on 0.2.2.24-alpha and 0.2.3.1-alpha.
  16582. - Do not use OpenSSL 1.0.0's counter mode: it has a critical bug
  16583. that was fixed in OpenSSL 1.0.0a. We test for the counter mode
  16584. bug at runtime, not compile time, because some distributions hack
  16585. their OpenSSL to mis-report its version. Fixes bug 4779; bugfix
  16586. on 0.2.3.9-alpha. Found by Pascal.
  16587. o Minor features (controller):
  16588. - Use absolute path names when reporting the torrc filename in the
  16589. control protocol, so a controller can more easily find the torrc
  16590. file. Resolves bug 1101.
  16591. - Extend the control protocol to report flags that control a circuit's
  16592. path selection in CIRC events and in replies to 'GETINFO
  16593. circuit-status'. Implements part of ticket 2411.
  16594. - Extend the control protocol to report the hidden service address
  16595. and current state of a hidden-service-related circuit in CIRC
  16596. events and in replies to 'GETINFO circuit-status'. Implements part
  16597. of ticket 2411.
  16598. - When reporting the path to the cookie file to the controller,
  16599. give an absolute path. Resolves ticket 4881.
  16600. - Allow controllers to request an event notification whenever a
  16601. circuit is cannibalized or its purpose is changed. Implements
  16602. part of ticket 3457.
  16603. - Include the creation time of a circuit in CIRC and CIRC2
  16604. control-port events and the list produced by the 'GETINFO
  16605. circuit-status' control-port command.
  16606. o Minor features (directory authorities):
  16607. - Directory authorities now reject versions of Tor older than
  16608. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  16609. inclusive. These versions accounted for only a small fraction of
  16610. the Tor network, and have numerous known security issues. Resolves
  16611. issue 4788.
  16612. - Authority operators can now vote for all relays in a given
  16613. set of countries to be BadDir/BadExit/Invalid/Rejected.
  16614. - Provide two consensus parameters (FastFlagMinThreshold and
  16615. FastFlagMaxThreshold) to control the range of allowable bandwidths
  16616. for the Fast directory flag. These allow authorities to run
  16617. experiments on appropriate requirements for being a "Fast" node.
  16618. The AuthDirFastGuarantee config value still applies. Implements
  16619. ticket 3946.
  16620. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  16621. directory authority option (introduced in Tor 0.2.2.34).
  16622. o Minor features (other):
  16623. - Don't disable the DirPort when we cannot exceed our AccountingMax
  16624. limit during this interval because the effective bandwidthrate is
  16625. low enough. This is useful in a situation where AccountMax is only
  16626. used as an additional safeguard or to provide statistics.
  16627. - Prepend an informative header to generated dynamic_dh_params files.
  16628. - If EntryNodes are given, but UseEntryGuards is set to 0, warn that
  16629. EntryNodes will have no effect. Resolves issue 2571.
  16630. - Log more useful messages when we fail to disable debugger
  16631. attachment.
  16632. - Log which authority we're missing votes from when we go to fetch
  16633. them from the other auths.
  16634. - Log (at debug level) whenever a circuit's purpose is changed.
  16635. - Add missing documentation for the MaxClientCircuitsPending,
  16636. UseMicrodescriptors, UserspaceIOCPBuffers, and
  16637. _UseFilteringSSLBufferevents options, all introduced during
  16638. the 0.2.3.x series.
  16639. - Update to the January 3 2012 Maxmind GeoLite Country database.
  16640. o Minor bugfixes (hidden services):
  16641. - Don't close hidden service client circuits which have almost
  16642. finished connecting to their destination when they reach
  16643. the normal circuit-build timeout. Previously, we would close
  16644. introduction circuits which are waiting for an acknowledgement
  16645. from the introduction point, and rendezvous circuits which have
  16646. been specified in an INTRODUCE1 cell sent to a hidden service,
  16647. after the normal CBT. Now, we mark them as 'timed out', and launch
  16648. another rendezvous attempt in parallel. This behavior change can
  16649. be disabled using the new CloseHSClientCircuitsImmediatelyOnTimeout
  16650. option. Fixes part of bug 1297; bugfix on 0.2.2.2-alpha.
  16651. - Don't close hidden-service-side rendezvous circuits when they
  16652. reach the normal circuit-build timeout. This behavior change can
  16653. be disabled using the new
  16654. CloseHSServiceRendCircuitsImmediatelyOnTimeout option. Fixes the
  16655. remaining part of bug 1297; bugfix on 0.2.2.2-alpha.
  16656. - Make sure we never mark the wrong rendezvous circuit as having
  16657. had its introduction cell acknowledged by the introduction-point
  16658. relay. Previously, when we received an INTRODUCE_ACK cell on a
  16659. client-side hidden-service introduction circuit, we might have
  16660. marked a rendezvous circuit other than the one we specified in
  16661. the INTRODUCE1 cell as INTRO_ACKED, which would have produced
  16662. a warning message and interfered with the hidden service
  16663. connection-establishment process. Fixes bug 4759; bugfix on
  16664. 0.2.3.3-alpha, when we added the stream-isolation feature which
  16665. might cause Tor to open multiple rendezvous circuits for the same
  16666. hidden service.
  16667. - Don't trigger an assertion failure when we mark a new client-side
  16668. hidden-service introduction circuit for close during the process
  16669. of creating it. Fixes bug 4796; bugfix on 0.2.3.6-alpha. Reported
  16670. by murb.
  16671. o Minor bugfixes (log messages):
  16672. - Correctly spell "connect" in a log message on failure to create a
  16673. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta and
  16674. 0.2.3.2-alpha.
  16675. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  16676. Fixes bug 4856; bugfix on Tor 0.0.6.
  16677. - Fix the log message describing how we work around discovering
  16678. that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
  16679. 4837; bugfix on 0.2.2.9-alpha.
  16680. - When logging about a disallowed .exit name, do not also call it
  16681. an "invalid onion address". Fixes bug 3325; bugfix on 0.2.2.9-alpha.
  16682. o Minor bugfixes (build fixes):
  16683. - During configure, detect when we're building with clang version
  16684. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  16685. CFLAGS. clang doesn't support them yet.
  16686. - During configure, search for library containing cos function as
  16687. libm lives in libcore on some platforms (BeOS/Haiku). Linking
  16688. against libm was hard-coded before. Fixes the first part of bug
  16689. 4727; bugfix on 0.2.2.2-alpha. Patch and analysis by Martin Hebnes
  16690. Pedersen.
  16691. - Detect attempts to build Tor on (as yet hypothetical) versions
  16692. of Windows where sizeof(intptr_t) != sizeof(SOCKET). Partial
  16693. fix for bug 4533. Bugfix on 0.2.2.28-beta.
  16694. - Preprocessor directives should not be put inside the arguments
  16695. of a macro. This would break compilation with GCC releases prior
  16696. to version 3.3. We would never recommend such an old GCC version,
  16697. but it is apparently required for binary compatibility on some
  16698. platforms (namely, certain builds of Haiku). Fixes the other part
  16699. of bug 4727; bugfix on 0.2.3.3-alpha. Patch and analysis by Martin
  16700. Hebnes Pedersen.
  16701. o Minor bugfixes (other):
  16702. - Older Linux kernels erroneously respond to strange nmap behavior
  16703. by having accept() return successfully with a zero-length
  16704. socket. When this happens, just close the connection. Previously,
  16705. we would try harder to learn the remote address: but there was
  16706. no such remote address to learn, and our method for trying to
  16707. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  16708. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  16709. - Fix null-pointer access that could occur if TLS allocation failed.
  16710. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un". This was
  16711. erroneously listed as fixed in 0.2.3.9-alpha, but the fix had
  16712. accidentally been reverted.
  16713. - Fix our implementation of crypto_random_hostname() so it can't
  16714. overflow on ridiculously large inputs. (No Tor version has ever
  16715. provided this kind of bad inputs, but let's be correct in depth.)
  16716. Fixes bug 4413; bugfix on 0.2.2.9-alpha. Fix by Stephen Palmateer.
  16717. - Find more places in the code that should have been testing for
  16718. invalid sockets using the SOCKET_OK macro. Required for a fix
  16719. for bug 4533. Bugfix on 0.2.2.28-beta.
  16720. - Fix an assertion failure when, while running with bufferevents, a
  16721. connection finishes connecting after it is marked for close, but
  16722. before it is closed. Fixes bug 4697; bugfix on 0.2.3.1-alpha.
  16723. - test_util_spawn_background_ok() hardcoded the expected value
  16724. for ENOENT to 2. This isn't portable as error numbers are
  16725. platform specific, and particularly the hurd has ENOENT at
  16726. 0x40000002. Construct expected string at runtime, using the correct
  16727. value for ENOENT. Fixes bug 4733; bugfix on 0.2.3.1-alpha.
  16728. - Reject attempts to disable DisableDebuggerAttachment while Tor is
  16729. running. Fixes bug 4650; bugfix on 0.2.3.9-alpha.
  16730. - Use an appropriate-width type for sockets in tor-fw-helper on
  16731. win64. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
  16732. o Feature removal:
  16733. - When sending or relaying a RELAY_EARLY cell, we used to convert
  16734. it to a RELAY cell if the connection was using the v1 link
  16735. protocol. This was a workaround for older versions of Tor, which
  16736. didn't handle RELAY_EARLY cells properly. Now that all supported
  16737. versions can handle RELAY_EARLY cells, and now that we're enforcing
  16738. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  16739. remove this workaround. Addresses bug 4786.
  16740. o Code simplifications and refactoring:
  16741. - Use OpenSSL's built-in SSL_state_string_long() instead of our
  16742. own homebrewed ssl_state_to_string() replacement. Patch from
  16743. Emile Snyder. Fixes bug 4653.
  16744. - Use macros to indicate OpenSSL versions, so we don't need to worry
  16745. about accidental hexadecimal bit shifts.
  16746. - Remove some workaround code for OpenSSL 0.9.6 (which is no longer
  16747. supported).
  16748. - Convert more instances of tor_snprintf+tor_strdup into tor_asprintf.
  16749. - Use the smartlist_add_asprintf() alias more consistently.
  16750. - Use a TOR_INVALID_SOCKET macro when initializing a socket to an
  16751. invalid value, rather than just -1.
  16752. - Rename a handful of old identifiers, mostly related to crypto
  16753. structures and crypto functions. By convention, our "create an
  16754. object" functions are called "type_new()", our "free an object"
  16755. functions are called "type_free()", and our types indicate that
  16756. they are types only with a final "_t". But a handful of older
  16757. types and functions broke these rules, with function names like
  16758. "type_create" or "subsystem_op_type", or with type names like
  16759. type_env_t.
  16760. Changes in version 0.2.3.10-alpha - 2011-12-16
  16761. Tor 0.2.3.10-alpha fixes a critical heap-overflow security issue in
  16762. Tor's buffers code. Absolutely everybody should upgrade.
  16763. The bug relied on an incorrect calculation when making data continuous
  16764. in one of our IO buffers, if the first chunk of the buffer was
  16765. misaligned by just the wrong amount. The miscalculation would allow an
  16766. attacker to overflow a piece of heap-allocated memory. To mount this
  16767. attack, the attacker would need to either open a SOCKS connection to
  16768. Tor's SocksPort (usually restricted to localhost), or target a Tor
  16769. instance configured to make its connections through a SOCKS proxy
  16770. (which Tor does not do by default).
  16771. Good security practice requires that all heap-overflow bugs should be
  16772. presumed to be exploitable until proven otherwise, so we are treating
  16773. this as a potential code execution attack. Please upgrade immediately!
  16774. This bug does not affect bufferevents-based builds of Tor. Special
  16775. thanks to "Vektor" for reporting this issue to us!
  16776. This release also contains a few minor bugfixes for issues discovered
  16777. in 0.2.3.9-alpha.
  16778. o Major bugfixes:
  16779. - Fix a heap overflow bug that could occur when trying to pull
  16780. data into the first chunk of a buffer, when that chunk had
  16781. already had some data drained from it. Fixes CVE-2011-2778;
  16782. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  16783. o Minor bugfixes:
  16784. - If we can't attach streams to a rendezvous circuit when we
  16785. finish connecting to a hidden service, clear the rendezvous
  16786. circuit's stream-isolation state and try to attach streams
  16787. again. Previously, we cleared rendezvous circuits' isolation
  16788. state either too early (if they were freshly built) or not at all
  16789. (if they had been built earlier and were cannibalized). Bugfix on
  16790. 0.2.3.3-alpha; fixes bug 4655.
  16791. - Fix compilation of the libnatpmp helper on non-Windows. Bugfix on
  16792. 0.2.3.9-alpha; fixes bug 4691. Reported by Anthony G. Basile.
  16793. - Fix an assertion failure when a relay with accounting enabled
  16794. starts up while dormant. Fixes bug 4702; bugfix on 0.2.3.9-alpha.
  16795. o Minor features:
  16796. - Update to the December 6 2011 Maxmind GeoLite Country database.
  16797. Changes in version 0.2.2.35 - 2011-12-16
  16798. Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
  16799. buffers code. Absolutely everybody should upgrade.
  16800. The bug relied on an incorrect calculation when making data continuous
  16801. in one of our IO buffers, if the first chunk of the buffer was
  16802. misaligned by just the wrong amount. The miscalculation would allow an
  16803. attacker to overflow a piece of heap-allocated memory. To mount this
  16804. attack, the attacker would need to either open a SOCKS connection to
  16805. Tor's SocksPort (usually restricted to localhost), or target a Tor
  16806. instance configured to make its connections through a SOCKS proxy
  16807. (which Tor does not do by default).
  16808. Good security practice requires that all heap-overflow bugs should be
  16809. presumed to be exploitable until proven otherwise, so we are treating
  16810. this as a potential code execution attack. Please upgrade immediately!
  16811. This bug does not affect bufferevents-based builds of Tor. Special
  16812. thanks to "Vektor" for reporting this issue to us!
  16813. Tor 0.2.2.35 also fixes several bugs in previous versions, including
  16814. crash bugs for unusual configurations, and a long-term bug that
  16815. would prevent Tor from starting on Windows machines with draconian
  16816. AV software.
  16817. With this release, we remind everyone that 0.2.0.x has reached its
  16818. formal end-of-life. Those Tor versions have many known flaws, and
  16819. nobody should be using them. You should upgrade -- ideally to the
  16820. 0.2.2.x series. If you're using a Linux or BSD and its packages are
  16821. obsolete, stop using those packages and upgrade anyway.
  16822. The Tor 0.2.1.x series is also approaching its end-of-life: it will no
  16823. longer receive support after some time in early 2012.
  16824. o Major bugfixes:
  16825. - Fix a heap overflow bug that could occur when trying to pull
  16826. data into the first chunk of a buffer, when that chunk had
  16827. already had some data drained from it. Fixes CVE-2011-2778;
  16828. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  16829. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  16830. that it doesn't attempt to allocate a socketpair. This could cause
  16831. some problems on Windows systems with overzealous firewalls. Fix for
  16832. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  16833. 2.0.15-stable.
  16834. - If we mark an OR connection for close based on a cell we process,
  16835. don't process any further cells on it. We already avoid further
  16836. reads on marked-for-close connections, but now we also discard the
  16837. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  16838. which was the first version where we might mark a connection for
  16839. close based on processing a cell on it.
  16840. - Correctly sanity-check that we don't underflow on a memory
  16841. allocation (and then assert) for hidden service introduction
  16842. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  16843. bugfix on 0.2.1.5-alpha.
  16844. - Fix a memory leak when we check whether a hidden service
  16845. descriptor has any usable introduction points left. Fixes bug
  16846. 4424. Bugfix on 0.2.2.25-alpha.
  16847. - Don't crash when we're running as a relay and don't have a GeoIP
  16848. file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
  16849. we've had in the 0.2.3.x branch already.
  16850. - When running as a client, do not print a misleading (and plain
  16851. wrong) log message that we're collecting "directory request"
  16852. statistics: clients don't collect statistics. Also don't create a
  16853. useless (because empty) stats file in the stats/ directory. Fixes
  16854. bug 4353; bugfix on 0.2.2.34.
  16855. o Minor bugfixes:
  16856. - Detect failure to initialize Libevent. This fix provides better
  16857. detection for future instances of bug 4457.
  16858. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  16859. function. This was eating up hideously large amounts of time on some
  16860. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  16861. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  16862. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  16863. Mansour Moufid.
  16864. - Don't warn about unused log_mutex in log.c when building with
  16865. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  16866. 0.1.0.6-rc which introduced --disable-threads.
  16867. - When configuring, starting, or stopping an NT service, stop
  16868. immediately after the service configuration attempt has succeeded
  16869. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  16870. - When sending a NETINFO cell, include the original address
  16871. received for the other side, not its canonical address. Found
  16872. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  16873. - Fix a typo in a hibernation-related log message. Fixes bug 4331;
  16874. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  16875. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  16876. occurred when a client tried to fetch a descriptor for a bridge
  16877. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  16878. - Backport fixes for a pair of compilation warnings on Windows.
  16879. Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
  16880. - If we had ever tried to call tor_addr_to_str on an address of
  16881. unknown type, we would have done a strdup on an uninitialized
  16882. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  16883. Reported by "troll_un".
  16884. - Correctly detect and handle transient lookup failures from
  16885. tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  16886. Reported by "troll_un".
  16887. - Fix null-pointer access that could occur if TLS allocation failed.
  16888. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  16889. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  16890. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  16891. o Minor features:
  16892. - Add two new config options for directory authorities:
  16893. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  16894. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  16895. that is always sufficient to satisfy the bandwidth requirement for
  16896. the Guard flag. Now it will be easier for researchers to simulate
  16897. Tor networks with different values. Resolves ticket 4484.
  16898. - When Tor ignores a hidden service specified in its configuration,
  16899. include the hidden service's directory in the warning message.
  16900. Previously, we would only tell the user that some hidden service
  16901. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  16902. - Update to the December 6 2011 Maxmind GeoLite Country database.
  16903. o Packaging changes:
  16904. - Make it easier to automate expert package builds on Windows,
  16905. by removing an absolute path from makensis.exe command.
  16906. Changes in version 0.2.1.32 - 2011-12-16
  16907. Tor 0.2.1.32 backports important security and privacy fixes for
  16908. oldstable. This release is intended only for package maintainers and
  16909. others who cannot use the 0.2.2 stable series. All others should be
  16910. using Tor 0.2.2.x or newer.
  16911. The Tor 0.2.1.x series will reach formal end-of-life some time in
  16912. early 2012; we will stop releasing patches for it then.
  16913. o Major bugfixes (also included in 0.2.2.x):
  16914. - Correctly sanity-check that we don't underflow on a memory
  16915. allocation (and then assert) for hidden service introduction
  16916. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  16917. bugfix on 0.2.1.5-alpha.
  16918. - Fix a heap overflow bug that could occur when trying to pull
  16919. data into the first chunk of a buffer, when that chunk had
  16920. already had some data drained from it. Fixes CVE-2011-2778;
  16921. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  16922. o Minor features:
  16923. - Update to the December 6 2011 Maxmind GeoLite Country database.
  16924. Changes in version 0.2.3.9-alpha - 2011-12-08
  16925. Tor 0.2.3.9-alpha introduces initial IPv6 support for bridges, adds
  16926. a "DisableNetwork" security feature that bundles can use to avoid
  16927. touching the network until bridges are configured, moves forward on
  16928. the pluggable transport design, fixes a flaw in the hidden service
  16929. design that unnecessarily prevented clients with wrong clocks from
  16930. reaching hidden services, and fixes a wide variety of other issues.
  16931. o Major features:
  16932. - Clients can now connect to private bridges over IPv6. Bridges
  16933. still need at least one IPv4 address in order to connect to
  16934. other relays. Note that we don't yet handle the case where the
  16935. user has two bridge lines for the same bridge (one IPv4, one
  16936. IPv6). Implements parts of proposal 186.
  16937. - New "DisableNetwork" config option to prevent Tor from launching any
  16938. connections or accepting any connections except on a control port.
  16939. Bundles and controllers can set this option before letting Tor talk
  16940. to the rest of the network, for example to prevent any connections
  16941. to a non-bridge address. Packages like Orbot can also use this
  16942. option to instruct Tor to save power when the network is off.
  16943. - Clients and bridges can now be configured to use a separate
  16944. "transport" proxy. This approach makes the censorship arms race
  16945. easier by allowing bridges to use protocol obfuscation plugins. It
  16946. implements the "managed proxy" part of proposal 180 (ticket 3472).
  16947. - When using OpenSSL 1.0.0 or later, use OpenSSL's counter mode
  16948. implementation. It makes AES_CTR about 7% faster than our old one
  16949. (which was about 10% faster than the one OpenSSL used to provide).
  16950. Resolves ticket 4526.
  16951. - Add a "tor2web mode" for clients that want to connect to hidden
  16952. services non-anonymously (and possibly more quickly). As a safety
  16953. measure to try to keep users from turning this on without knowing
  16954. what they are doing, tor2web mode must be explicitly enabled at
  16955. compile time, and a copy of Tor compiled to run in tor2web mode
  16956. cannot be used as a normal Tor client. Implements feature 2553.
  16957. - Add experimental support for running on Windows with IOCP and no
  16958. kernel-space socket buffers. This feature is controlled by a new
  16959. "UserspaceIOCPBuffers" config option (off by default), which has
  16960. no effect unless Tor has been built with support for bufferevents,
  16961. is running on Windows, and has enabled IOCP. This may, in the long
  16962. run, help solve or mitigate bug 98.
  16963. - Use a more secure consensus parameter voting algorithm. Now at
  16964. least three directory authorities or a majority of them must
  16965. vote on a given parameter before it will be included in the
  16966. consensus. Implements proposal 178.
  16967. o Major bugfixes:
  16968. - Hidden services now ignore the timestamps on INTRODUCE2 cells.
  16969. They used to check that the timestamp was within 30 minutes
  16970. of their system clock, so they could cap the size of their
  16971. replay-detection cache, but that approach unnecessarily refused
  16972. service to clients with wrong clocks. Bugfix on 0.2.1.6-alpha, when
  16973. the v3 intro-point protocol (the first one which sent a timestamp
  16974. field in the INTRODUCE2 cell) was introduced; fixes bug 3460.
  16975. - Only use the EVP interface when AES acceleration is enabled,
  16976. to avoid a 5-7% performance regression. Resolves issue 4525;
  16977. bugfix on 0.2.3.8-alpha.
  16978. o Privacy/anonymity features (bridge detection):
  16979. - Make bridge SSL certificates a bit more stealthy by using random
  16980. serial numbers, in the same fashion as OpenSSL when generating
  16981. self-signed certificates. Implements ticket 4584.
  16982. - Introduce a new config option "DynamicDHGroups", enabled by
  16983. default, which provides each bridge with a unique prime DH modulus
  16984. to be used during SSL handshakes. This option attempts to help
  16985. against censors who might use the Apache DH modulus as a static
  16986. identifier for bridges. Addresses ticket 4548.
  16987. o Minor features (new/different config options):
  16988. - New configuration option "DisableDebuggerAttachment" (on by default)
  16989. to prevent basic debugging attachment attempts by other processes.
  16990. Supports Mac OS X and Gnu/Linux. Resolves ticket 3313.
  16991. - Allow MapAddress directives to specify matches against super-domains,
  16992. as in "MapAddress *.torproject.org *.torproject.org.torserver.exit".
  16993. Implements issue 933.
  16994. - Slightly change behavior of "list" options (that is, config
  16995. options that can appear more than once) when they appear both in
  16996. torrc and on the command line. Previously, the command-line options
  16997. would be appended to the ones from torrc. Now, the command-line
  16998. options override the torrc options entirely. This new behavior
  16999. allows the user to override list options (like exit policies and
  17000. ports to listen on) from the command line, rather than simply
  17001. appending to the list.
  17002. - You can get the old (appending) command-line behavior for "list"
  17003. options by prefixing the option name with a "+".
  17004. - You can remove all the values for a "list" option from the command
  17005. line without adding any new ones by prefixing the option name
  17006. with a "/".
  17007. - Add experimental support for a "defaults" torrc file to be parsed
  17008. before the regular torrc. Torrc options override the defaults file's
  17009. options in the same way that the command line overrides the torrc.
  17010. The SAVECONF controller command saves only those options which
  17011. differ between the current configuration and the defaults file. HUP
  17012. reloads both files. (Note: This is an experimental feature; its
  17013. behavior will probably be refined in future 0.2.3.x-alpha versions
  17014. to better meet packagers' needs.) Implements task 4552.
  17015. o Minor features:
  17016. - Try to make the introductory warning message that Tor prints on
  17017. startup more useful for actually finding help and information.
  17018. Resolves ticket 2474.
  17019. - Running "make version" now displays the version of Tor that
  17020. we're about to build. Idea from katmagic; resolves issue 4400.
  17021. - Expire old or over-used hidden service introduction points.
  17022. Required by fix for bug 3460.
  17023. - Move the replay-detection cache for the RSA-encrypted parts of
  17024. INTRODUCE2 cells to the introduction point data structures.
  17025. Previously, we would use one replay-detection cache per hidden
  17026. service. Required by fix for bug 3460.
  17027. - Reduce the lifetime of elements of hidden services' Diffie-Hellman
  17028. public key replay-detection cache from 60 minutes to 5 minutes. This
  17029. replay-detection cache is now used only to detect multiple
  17030. INTRODUCE2 cells specifying the same rendezvous point, so we can
  17031. avoid launching multiple simultaneous attempts to connect to it.
  17032. o Minor bugfixes (on Tor 0.2.2.x and earlier):
  17033. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  17034. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  17035. Mansour Moufid.
  17036. - Fix a minor formatting issue in one of tor-gencert's error messages.
  17037. Fixes bug 4574.
  17038. - Prevent a false positive from the check-spaces script, by disabling
  17039. the "whitespace between function name and (" check for functions
  17040. named 'op()'.
  17041. - Fix a log message suggesting that people contact a non-existent
  17042. email address. Fixes bug 3448.
  17043. - Fix null-pointer access that could occur if TLS allocation failed.
  17044. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  17045. - Report a real bootstrap problem to the controller on router
  17046. identity mismatch. Previously we just said "foo", which probably
  17047. made a lot of sense at the time. Fixes bug 4169; bugfix on
  17048. 0.2.1.1-alpha.
  17049. - If we had ever tried to call tor_addr_to_str() on an address of
  17050. unknown type, we would have done a strdup() on an uninitialized
  17051. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  17052. Reported by "troll_un".
  17053. - Correctly detect and handle transient lookup failures from
  17054. tor_addr_lookup(). Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  17055. Reported by "troll_un".
  17056. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  17057. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  17058. - Initialize conn->addr to a valid state in spawn_cpuworker(). Fixes
  17059. bug 4532; found by "troll_un".
  17060. o Minor bugfixes (on Tor 0.2.3.x):
  17061. - Fix a compile warning in tor_inet_pton(). Bugfix on 0.2.3.8-alpha;
  17062. fixes bug 4554.
  17063. - Don't send two ESTABLISH_RENDEZVOUS cells when opening a new
  17064. circuit for use as a hidden service client's rendezvous point.
  17065. Fixes bugs 4641 and 4171; bugfix on 0.2.3.3-alpha. Diagnosed
  17066. with help from wanoskarnet.
  17067. - Restore behavior of overriding SocksPort, ORPort, and similar
  17068. options from the command line. Bugfix on 0.2.3.3-alpha.
  17069. o Build fixes:
  17070. - Properly handle the case where the build-tree is not the same
  17071. as the source tree when generating src/common/common_sha1.i,
  17072. src/or/micro-revision.i, and src/or/or_sha1.i. Fixes bug 3953;
  17073. bugfix on 0.2.0.1-alpha.
  17074. o Code simplifications, cleanups, and refactorings:
  17075. - Remove the pure attribute from all functions that used it
  17076. previously. In many cases we assigned it incorrectly, because the
  17077. functions might assert or call impure functions, and we don't have
  17078. evidence that keeping the pure attribute is worthwhile. Implements
  17079. changes suggested in ticket 4421.
  17080. - Remove some dead code spotted by coverity. Fixes cid 432.
  17081. Bugfix on 0.2.3.1-alpha, closes bug 4637.
  17082. Changes in version 0.2.3.8-alpha - 2011-11-22
  17083. Tor 0.2.3.8-alpha fixes some crash and assert bugs, including a
  17084. socketpair-related bug that has been bothering Windows users. It adds
  17085. support to serve microdescriptors to controllers, so Vidalia's network
  17086. map can resume listing relays (once Vidalia implements its side),
  17087. and adds better support for hardware AES acceleration. Finally, it
  17088. starts the process of adjusting the bandwidth cutoff for getting the
  17089. "Fast" flag from 20KB to (currently) 32KB -- preliminary results show
  17090. that tiny relays harm performance more than they help network capacity.
  17091. o Major bugfixes:
  17092. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  17093. that it doesn't attempt to allocate a socketpair. This could cause
  17094. some problems on Windows systems with overzealous firewalls. Fix for
  17095. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  17096. 2.0.15-stable.
  17097. - Correctly sanity-check that we don't underflow on a memory
  17098. allocation (and then assert) for hidden service introduction
  17099. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  17100. bugfix on 0.2.1.5-alpha.
  17101. - Remove the artificially low cutoff of 20KB to guarantee the Fast
  17102. flag. In the past few years the average relay speed has picked
  17103. up, and while the "top 7/8 of the network get the Fast flag" and
  17104. "all relays with 20KB or more of capacity get the Fast flag" rules
  17105. used to have the same result, now the top 7/8 of the network has
  17106. a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
  17107. - Fix a rare assertion failure when checking whether a v0 hidden
  17108. service descriptor has any usable introduction points left, and
  17109. we don't have enough information to build a circuit to the first
  17110. intro point named in the descriptor. The HS client code in
  17111. 0.2.3.x no longer uses v0 HS descriptors, but this assertion can
  17112. trigger on (and crash) v0 HS authorities. Fixes bug 4411.
  17113. Bugfix on 0.2.3.1-alpha; diagnosed by frosty_un.
  17114. - Make bridge authorities not crash when they are asked for their own
  17115. descriptor. Bugfix on 0.2.3.7-alpha, reported by Lucky Green.
  17116. - When running as a client, do not print a misleading (and plain
  17117. wrong) log message that we're collecting "directory request"
  17118. statistics: clients don't collect statistics. Also don't create a
  17119. useless (because empty) stats file in the stats/ directory. Fixes
  17120. bug 4353; bugfix on 0.2.2.34 and 0.2.3.7-alpha.
  17121. o Major features:
  17122. - Allow Tor controllers like Vidalia to obtain the microdescriptor
  17123. for a relay by identity digest or nickname. Previously,
  17124. microdescriptors were only available by their own digests, so a
  17125. controller would have to ask for and parse the whole microdescriptor
  17126. consensus in order to look up a single relay's microdesc. Fixes
  17127. bug 3832; bugfix on 0.2.3.1-alpha.
  17128. - Use OpenSSL's EVP interface for AES encryption, so that all AES
  17129. operations can use hardware acceleration (if present). Resolves
  17130. ticket 4442.
  17131. o Minor bugfixes (on 0.2.2.x and earlier):
  17132. - Detect failure to initialize Libevent. This fix provides better
  17133. detection for future instances of bug 4457.
  17134. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  17135. function. This was eating up hideously large amounts of time on some
  17136. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  17137. - Don't warn about unused log_mutex in log.c when building with
  17138. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  17139. 0.1.0.6-rc which introduced --disable-threads.
  17140. - Allow manual 'authenticate' commands to the controller interface
  17141. from netcat (nc) as well as telnet. We were rejecting them because
  17142. they didn't come with the expected whitespace at the end of the
  17143. command. Bugfix on 0.1.1.1-alpha; fixes bug 2893.
  17144. - Fix some (not actually triggerable) buffer size checks in usage of
  17145. tor_inet_ntop. Fixes bug 4434; bugfix on Tor 0.2.0.1-alpha. Patch
  17146. by Anders Sundman.
  17147. - Fix parsing of some corner-cases with tor_inet_pton(). Fixes
  17148. bug 4515; bugfix on 0.2.0.1-alpha; fix by Anders Sundman.
  17149. - When configuring, starting, or stopping an NT service, stop
  17150. immediately after the service configuration attempt has succeeded
  17151. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  17152. - When sending a NETINFO cell, include the original address
  17153. received for the other side, not its canonical address. Found
  17154. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  17155. - Rename the bench_{aes,dmap} functions to test_*, so that tinytest
  17156. can pick them up when the tests aren't disabled. Bugfix on
  17157. 0.2.2.4-alpha which introduced tinytest.
  17158. - Fix a memory leak when we check whether a hidden service
  17159. descriptor has any usable introduction points left. Fixes bug
  17160. 4424. Bugfix on 0.2.2.25-alpha.
  17161. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  17162. occurred when a client tried to fetch a descriptor for a bridge
  17163. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  17164. o Minor bugfixes (on 0.2.3.x):
  17165. - Make util unit tests build correctly with MSVC. Bugfix on
  17166. 0.2.3.3-alpha. Patch by Gisle Vanem.
  17167. - Successfully detect AUTH_CHALLENGE cells with no recognized
  17168. authentication type listed. Fixes bug 4367; bugfix on 0.2.3.6-alpha.
  17169. Found by frosty_un.
  17170. - If a relay receives an AUTH_CHALLENGE cell it can't answer,
  17171. it should still send a NETINFO cell to allow the connection to
  17172. become open. Fixes bug 4368; fix on 0.2.3.6-alpha; bug found by
  17173. "frosty".
  17174. - Log less loudly when we get an invalid authentication certificate
  17175. from a source other than a directory authority: it's not unusual
  17176. to see invalid certs because of clock skew. Fixes bug 4370; bugfix
  17177. on 0.2.3.6-alpha.
  17178. - Tolerate servers with more clock skew in their authentication
  17179. certificates than previously. Fixes bug 4371; bugfix on
  17180. 0.2.3.6-alpha.
  17181. - Fix a couple of compile warnings on Windows. Fixes bug 4469; bugfix
  17182. on 0.2.3.4-alpha and 0.2.3.6-alpha.
  17183. o Minor features:
  17184. - Add two new config options for directory authorities:
  17185. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  17186. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  17187. that is always sufficient to satisfy the bandwidth requirement for
  17188. the Guard flag. Now it will be easier for researchers to simulate
  17189. Tor networks with different values. Resolves ticket 4484.
  17190. - When Tor ignores a hidden service specified in its configuration,
  17191. include the hidden service's directory in the warning message.
  17192. Previously, we would only tell the user that some hidden service
  17193. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  17194. - When we fail to initialize Libevent, retry with IOCP disabled so we
  17195. don't need to turn on multi-threading support in Libevent, which in
  17196. turn requires a working socketpair(). This is a workaround for bug
  17197. 4457, which affects Libevent versions from 2.0.1-alpha through
  17198. 2.0.15-stable.
  17199. - Detect when we try to build on a platform that doesn't define
  17200. AF_UNSPEC to 0. We don't work there, so refuse to compile.
  17201. - Update to the November 1 2011 Maxmind GeoLite Country database.
  17202. o Packaging changes:
  17203. - Make it easier to automate expert package builds on Windows,
  17204. by removing an absolute path from makensis.exe command.
  17205. o Code simplifications and refactoring:
  17206. - Remove some redundant #include directives throughout the code.
  17207. Patch from Andrea Gelmini.
  17208. - Unconditionally use OpenSSL's AES implementation instead of our
  17209. old built-in one. OpenSSL's AES has been better for a while, and
  17210. relatively few servers should still be on any version of OpenSSL
  17211. that doesn't have good optimized assembly AES.
  17212. - Use the name "CERTS" consistently to refer to the new cell type;
  17213. we were calling it CERT in some places and CERTS in others.
  17214. o Testing:
  17215. - Numerous new unit tests for functions in util.c and address.c by
  17216. Anders Sundman.
  17217. - The long-disabled benchmark tests are now split into their own
  17218. ./src/test/bench binary.
  17219. - The benchmark tests can now use more accurate timers than
  17220. gettimeofday() when such timers are available.
  17221. Changes in version 0.2.3.7-alpha - 2011-10-30
  17222. Tor 0.2.3.7-alpha fixes a crash bug in 0.2.3.6-alpha introduced by
  17223. the new v3 handshake. It also resolves yet another bridge address
  17224. enumeration issue.
  17225. o Major bugfixes:
  17226. - If we mark an OR connection for close based on a cell we process,
  17227. don't process any further cells on it. We already avoid further
  17228. reads on marked-for-close connections, but now we also discard the
  17229. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  17230. which was the first version where we might mark a connection for
  17231. close based on processing a cell on it.
  17232. - Fix a double-free bug that would occur when we received an invalid
  17233. certificate in a CERT cell in the new v3 handshake. Fixes bug 4343;
  17234. bugfix on 0.2.3.6-alpha.
  17235. - Bridges no longer include their address in NETINFO cells on outgoing
  17236. OR connections, to allow them to blend in better with clients.
  17237. Removes another avenue for enumerating bridges. Reported by
  17238. "troll_un". Fixes bug 4348; bugfix on 0.2.0.10-alpha, when NETINFO
  17239. cells were introduced.
  17240. o Trivial fixes:
  17241. - Fixed a typo in a hibernation-related log message. Fixes bug 4331;
  17242. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  17243. Changes in version 0.2.3.6-alpha - 2011-10-26
  17244. Tor 0.2.3.6-alpha includes the fix from 0.2.2.34 for a critical
  17245. anonymity vulnerability where an attacker can deanonymize Tor
  17246. users. Everybody should upgrade.
  17247. This release also features support for a new v3 connection handshake
  17248. protocol, and fixes to make hidden service connections more robust.
  17249. o Major features:
  17250. - Implement a new handshake protocol (v3) for authenticating Tors to
  17251. each other over TLS. It should be more resistant to fingerprinting
  17252. than previous protocols, and should require less TLS hacking for
  17253. future Tor implementations. Implements proposal 176.
  17254. - Allow variable-length padding cells to disguise the length of
  17255. Tor's TLS records. Implements part of proposal 184.
  17256. o Privacy/anonymity fixes (clients):
  17257. - Clients and bridges no longer send TLS certificate chains on
  17258. outgoing OR connections. Previously, each client or bridge would
  17259. use the same cert chain for all outgoing OR connections until
  17260. its IP address changes, which allowed any relay that the client
  17261. or bridge contacted to determine which entry guards it is using.
  17262. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  17263. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  17264. no longer considers that connection as suitable for satisfying a
  17265. circuit EXTEND request. Now relays can protect clients from the
  17266. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  17267. - Directory authorities no longer assign the Guard flag to relays
  17268. that haven't upgraded to the above "refuse EXTEND requests
  17269. to client connections" fix. Now directory authorities can
  17270. protect clients from the CVE-2011-2768 issue even if neither
  17271. the clients nor the relays have upgraded yet. There's a new
  17272. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  17273. to let us transition smoothly, else tomorrow there would be no
  17274. guard relays.
  17275. o Major bugfixes (hidden services):
  17276. - Improve hidden service robustness: when an attempt to connect to
  17277. a hidden service ends, be willing to refetch its hidden service
  17278. descriptors from each of the HSDir relays responsible for them
  17279. immediately. Previously, we would not consider refetching the
  17280. service's descriptors from each HSDir for 15 minutes after the last
  17281. fetch, which was inconvenient if the hidden service was not running
  17282. during the first attempt. Bugfix on 0.2.0.18-alpha; fixes bug 3335.
  17283. - When one of a hidden service's introduction points appears to be
  17284. unreachable, stop trying it. Previously, we would keep trying
  17285. to build circuits to the introduction point until we lost the
  17286. descriptor, usually because the user gave up and restarted Tor.
  17287. Partly fixes bug 3825.
  17288. - Don't launch a useless circuit after failing to use one of a
  17289. hidden service's introduction points. Previously, we would
  17290. launch a new introduction circuit, but not set the hidden service
  17291. which that circuit was intended to connect to, so it would never
  17292. actually be used. A different piece of code would then create a
  17293. new introduction circuit correctly. Bug reported by katmagic and
  17294. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  17295. o Major bugfixes (other):
  17296. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  17297. that they initiated. Relays could distinguish incoming bridge
  17298. connections from client connections, creating another avenue for
  17299. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  17300. Found by "frosty_un".
  17301. - Don't update the AccountingSoftLimitHitAt state file entry whenever
  17302. tor gets started. This prevents a wrong average bandwidth
  17303. estimate, which would cause relays to always start a new accounting
  17304. interval at the earliest possible moment. Fixes bug 2003; bugfix
  17305. on 0.2.2.7-alpha. Reported by BryonEldridge, who also helped
  17306. immensely in tracking this bug down.
  17307. - Fix a crash bug when changing node restrictions while a DNS lookup
  17308. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  17309. by "Tey'".
  17310. o Minor bugfixes (on 0.2.2.x and earlier):
  17311. - When a hidden service turns an extra service-side introduction
  17312. circuit into a general-purpose circuit, free the rend_data and
  17313. intro_key fields first, so we won't leak memory if the circuit
  17314. is cannibalized for use as another service-side introduction
  17315. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  17316. - Rephrase the log message emitted if the TestSocks check is
  17317. successful. Patch from Fabian Keil; fixes bug 4094.
  17318. - Bridges now skip DNS self-tests, to act a little more stealthily.
  17319. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  17320. bridges. Patch by "warms0x".
  17321. - Remove a confusing dollar sign from the example fingerprint in the
  17322. man page, and also make the example fingerprint a valid one. Fixes
  17323. bug 4309; bugfix on 0.2.1.3-alpha.
  17324. - Fix internal bug-checking logic that was supposed to catch
  17325. failures in digest generation so that it will fail more robustly
  17326. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  17327. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  17328. - Report any failure in init_keys() calls launched because our
  17329. IP address has changed. Spotted by Coverity Scan. Bugfix on
  17330. 0.1.1.4-alpha; fixes CID 484.
  17331. o Minor bugfixes (on 0.2.3.x):
  17332. - Fix a bug in configure.in that kept it from building a configure
  17333. script with autoconf versions earlier than 2.61. Fixes bug 2430;
  17334. bugfix on 0.2.3.1-alpha.
  17335. - Don't warn users that they are exposing a client port to the
  17336. Internet if they have specified an RFC1918 address. Previously,
  17337. we would warn if the user had specified any non-loopback
  17338. address. Bugfix on 0.2.3.3-alpha. Fixes bug 4018; reported by Tas.
  17339. - Fix memory leaks in the failing cases of the new SocksPort and
  17340. ControlPort code. Found by Coverity Scan. Bugfix on 0.2.3.3-alpha;
  17341. fixes coverity CIDs 485, 486, and 487.
  17342. o Minor features:
  17343. - When a hidden service's introduction point times out, consider
  17344. trying it again during the next attempt to connect to the
  17345. HS. Previously, we would not try it again unless a newly fetched
  17346. descriptor contained it. Required by fixes for bugs 1297 and 3825.
  17347. - The next version of Windows will be called Windows 8, and it has
  17348. a major version of 6, minor version of 2. Correctly identify that
  17349. version instead of calling it "Very recent version". Resolves
  17350. ticket 4153; reported by funkstar.
  17351. - The Bridge Authority now writes statistics on how many bridge
  17352. descriptors it gave out in total, and how many unique descriptors
  17353. it gave out. It also lists how often the most and least commonly
  17354. fetched descriptors were given out, as well as the median and
  17355. 25th/75th percentile. Implements tickets 4200 and 4294.
  17356. - Update to the October 4 2011 Maxmind GeoLite Country database.
  17357. o Code simplifications and refactoring:
  17358. - Remove some old code to remember statistics about which descriptors
  17359. we've served as a directory mirror. The feature wasn't used and
  17360. is outdated now that microdescriptors are around.
  17361. - Rename Tor functions that turn strings into addresses, so that
  17362. "parse" indicates that no hostname resolution occurs, and
  17363. "lookup" indicates that hostname resolution may occur. This
  17364. should help prevent mistakes in the future. Fixes bug 3512.
  17365. Changes in version 0.2.2.34 - 2011-10-26
  17366. Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
  17367. can deanonymize Tor users. Everybody should upgrade.
  17368. The attack relies on four components: 1) Clients reuse their TLS cert
  17369. when talking to different relays, so relays can recognize a user by
  17370. the identity key in her cert. 2) An attacker who knows the client's
  17371. identity key can probe each guard relay to see if that identity key
  17372. is connected to that guard relay right now. 3) A variety of active
  17373. attacks in the literature (starting from "Low-Cost Traffic Analysis
  17374. of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
  17375. discover the guard relays that a Tor user visiting the website is using.
  17376. 4) Clients typically pick three guards at random, so the set of guards
  17377. for a given user could well be a unique fingerprint for her. This
  17378. release fixes components #1 and #2, which is enough to block the attack;
  17379. the other two remain as open research problems. Special thanks to
  17380. "frosty_un" for reporting the issue to us!
  17381. Clients should upgrade so they are no longer recognizable by the TLS
  17382. certs they present. Relays should upgrade so they no longer allow a
  17383. remote attacker to probe them to test whether unpatched clients are
  17384. currently connected to them.
  17385. This release also fixes several vulnerabilities that allow an attacker
  17386. to enumerate bridge relays. Some bridge enumeration attacks still
  17387. remain; see for example proposal 188.
  17388. o Privacy/anonymity fixes (clients):
  17389. - Clients and bridges no longer send TLS certificate chains on
  17390. outgoing OR connections. Previously, each client or bridge would
  17391. use the same cert chain for all outgoing OR connections until
  17392. its IP address changes, which allowed any relay that the client
  17393. or bridge contacted to determine which entry guards it is using.
  17394. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  17395. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  17396. no longer considers that connection as suitable for satisfying a
  17397. circuit EXTEND request. Now relays can protect clients from the
  17398. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  17399. - Directory authorities no longer assign the Guard flag to relays
  17400. that haven't upgraded to the above "refuse EXTEND requests
  17401. to client connections" fix. Now directory authorities can
  17402. protect clients from the CVE-2011-2768 issue even if neither
  17403. the clients nor the relays have upgraded yet. There's a new
  17404. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  17405. to let us transition smoothly, else tomorrow there would be no
  17406. guard relays.
  17407. o Privacy/anonymity fixes (bridge enumeration):
  17408. - Bridge relays now do their directory fetches inside Tor TLS
  17409. connections, like all the other clients do, rather than connecting
  17410. directly to the DirPort like public relays do. Removes another
  17411. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  17412. - Bridges relays now build circuits for themselves in a more similar
  17413. way to how clients build them. Removes another avenue for
  17414. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  17415. when bridges were introduced.
  17416. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  17417. that they initiated. Relays could distinguish incoming bridge
  17418. connections from client connections, creating another avenue for
  17419. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  17420. Found by "frosty_un".
  17421. o Major bugfixes:
  17422. - Fix a crash bug when changing node restrictions while a DNS lookup
  17423. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  17424. by "Tey'".
  17425. - Don't launch a useless circuit after failing to use one of a
  17426. hidden service's introduction points. Previously, we would
  17427. launch a new introduction circuit, but not set the hidden service
  17428. which that circuit was intended to connect to, so it would never
  17429. actually be used. A different piece of code would then create a
  17430. new introduction circuit correctly. Bug reported by katmagic and
  17431. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  17432. o Minor bugfixes:
  17433. - Change an integer overflow check in the OpenBSD_Malloc code so
  17434. that GCC is less likely to eliminate it as impossible. Patch
  17435. from Mansour Moufid. Fixes bug 4059.
  17436. - When a hidden service turns an extra service-side introduction
  17437. circuit into a general-purpose circuit, free the rend_data and
  17438. intro_key fields first, so we won't leak memory if the circuit
  17439. is cannibalized for use as another service-side introduction
  17440. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  17441. - Bridges now skip DNS self-tests, to act a little more stealthily.
  17442. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  17443. bridges. Patch by "warms0x".
  17444. - Fix internal bug-checking logic that was supposed to catch
  17445. failures in digest generation so that it will fail more robustly
  17446. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  17447. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  17448. - Report any failure in init_keys() calls launched because our
  17449. IP address has changed. Spotted by Coverity Scan. Bugfix on
  17450. 0.1.1.4-alpha; fixes CID 484.
  17451. o Minor bugfixes (log messages and documentation):
  17452. - Remove a confusing dollar sign from the example fingerprint in the
  17453. man page, and also make the example fingerprint a valid one. Fixes
  17454. bug 4309; bugfix on 0.2.1.3-alpha.
  17455. - The next version of Windows will be called Windows 8, and it has
  17456. a major version of 6, minor version of 2. Correctly identify that
  17457. version instead of calling it "Very recent version". Resolves
  17458. ticket 4153; reported by funkstar.
  17459. - Downgrade log messages about circuit timeout calibration from
  17460. "notice" to "info": they don't require or suggest any human
  17461. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  17462. bugfix on 0.2.2.14-alpha.
  17463. o Minor features:
  17464. - Turn on directory request statistics by default and include them in
  17465. extra-info descriptors. Don't break if we have no GeoIP database.
  17466. Backported from 0.2.3.1-alpha; implements ticket 3951.
  17467. - Update to the October 4 2011 Maxmind GeoLite Country database.
  17468. Changes in version 0.2.1.31 - 2011-10-26
  17469. Tor 0.2.1.31 backports important security and privacy fixes for
  17470. oldstable. This release is intended only for package maintainers and
  17471. others who cannot use the 0.2.2 stable series. All others should be
  17472. using Tor 0.2.2.x or newer.
  17473. o Security fixes (also included in 0.2.2.x):
  17474. - Replace all potentially sensitive memory comparison operations
  17475. with versions whose runtime does not depend on the data being
  17476. compared. This will help resist a class of attacks where an
  17477. adversary can use variations in timing information to learn
  17478. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  17479. implementation by Robert Ransom based partially on code by DJB.)
  17480. - Fix an assert in parsing router descriptors containing IPv6
  17481. addresses. This one took down the directory authorities when
  17482. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  17483. o Privacy/anonymity fixes (also included in 0.2.2.x):
  17484. - Clients and bridges no longer send TLS certificate chains on
  17485. outgoing OR connections. Previously, each client or bridge would
  17486. use the same cert chain for all outgoing OR connections until
  17487. its IP address changes, which allowed any relay that the client
  17488. or bridge contacted to determine which entry guards it is using.
  17489. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  17490. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  17491. no longer considers that connection as suitable for satisfying a
  17492. circuit EXTEND request. Now relays can protect clients from the
  17493. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  17494. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  17495. that they initiated. Relays could distinguish incoming bridge
  17496. connections from client connections, creating another avenue for
  17497. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  17498. Found by "frosty_un".
  17499. - When receiving a hidden service descriptor, check that it is for
  17500. the hidden service we wanted. Previously, Tor would store any
  17501. hidden service descriptors that a directory gave it, whether it
  17502. wanted them or not. This wouldn't have let an attacker impersonate
  17503. a hidden service, but it did let directories pre-seed a client
  17504. with descriptors that it didn't want. Bugfix on 0.0.6.
  17505. - Avoid linkability based on cached hidden service descriptors: forget
  17506. all hidden service descriptors cached as a client when processing a
  17507. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  17508. - Make the bridge directory authority refuse to answer directory
  17509. requests for "all" descriptors. It used to include bridge
  17510. descriptors in its answer, which was a major information leak.
  17511. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  17512. - Don't attach new streams to old rendezvous circuits after SIGNAL
  17513. NEWNYM. Previously, we would keep using an existing rendezvous
  17514. circuit if it remained open (i.e. if it were kept open by a
  17515. long-lived stream, or if a new stream were attached to it before
  17516. Tor could notice that it was old and no longer in use). Bugfix on
  17517. 0.1.1.15-rc; fixes bug 3375.
  17518. o Minor bugfixes (also included in 0.2.2.x):
  17519. - When we restart our relay, we might get a successful connection
  17520. from the outside before we've started our reachability tests,
  17521. triggering a warning: "ORPort found reachable, but I have no
  17522. routerinfo yet. Failing to inform controller of success." This
  17523. bug was harmless unless Tor is running under a controller
  17524. like Vidalia, in which case the controller would never get a
  17525. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  17526. fixes bug 1172.
  17527. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  17528. enabled. Fixes bug 1526.
  17529. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  17530. anything since 0.2.1.16-rc.
  17531. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  17532. None of the cases where we did this before were wrong, but by making
  17533. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  17534. - Fix a rare crash bug that could occur when a client was configured
  17535. with a large number of bridges. Fixes bug 2629; bugfix on
  17536. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  17537. - Correct the warning displayed when a rendezvous descriptor exceeds
  17538. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  17539. John Brooks.
  17540. - Fix an uncommon assertion failure when running with DNSPort under
  17541. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  17542. - When warning about missing zlib development packages during compile,
  17543. give the correct package names. Bugfix on 0.2.0.1-alpha.
  17544. - Require that introduction point keys and onion keys have public
  17545. exponent 65537. Bugfix on 0.2.0.10-alpha.
  17546. - Do not crash when our configuration file becomes unreadable, for
  17547. example due to a permissions change, between when we start up
  17548. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  17549. on 0.0.9pre6.
  17550. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  17551. Fixes bug 3208.
  17552. - Always NUL-terminate the sun_path field of a sockaddr_un before
  17553. passing it to the kernel. (Not a security issue: kernels are
  17554. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  17555. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  17556. - Don't stack-allocate the list of supplementary GIDs when we're
  17557. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  17558. could take up to 256K, which is way too much stack. Found by
  17559. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  17560. o Minor bugfixes (only in 0.2.1.x):
  17561. - Resume using micro-version numbers in 0.2.1.x: our Debian packages
  17562. rely on them. Bugfix on 0.2.1.30.
  17563. - Use git revisions instead of svn revisions when generating our
  17564. micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  17565. o Minor features (also included in 0.2.2.x):
  17566. - Adjust the expiration time on our SSL session certificates to
  17567. better match SSL certs seen in the wild. Resolves ticket 4014.
  17568. - Allow nameservers with IPv6 address. Resolves bug 2574.
  17569. - Update to the October 4 2011 Maxmind GeoLite Country database.
  17570. Changes in version 0.2.3.5-alpha - 2011-09-28
  17571. Tor 0.2.3.5-alpha fixes two bugs that make it possible to enumerate
  17572. bridge relays; fixes an assertion error that many users started hitting
  17573. today; and adds the ability to refill token buckets more often than
  17574. once per second, allowing significant performance improvements.
  17575. o Security fixes:
  17576. - Bridge relays now do their directory fetches inside Tor TLS
  17577. connections, like all the other clients do, rather than connecting
  17578. directly to the DirPort like public relays do. Removes another
  17579. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  17580. - Bridges relays now build circuits for themselves in a more similar
  17581. way to how clients build them. Removes another avenue for
  17582. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  17583. when bridges were introduced.
  17584. o Major bugfixes:
  17585. - Fix an "Assertion md->held_by_node == 1 failed" error that could
  17586. occur when the same microdescriptor was referenced by two node_t
  17587. objects at once. Fix for bug 4118; bugfix on Tor 0.2.3.1-alpha.
  17588. o Major features (networking):
  17589. - Add a new TokenBucketRefillInterval option to refill token buckets
  17590. more frequently than once per second. This should improve network
  17591. performance, alleviate queueing problems, and make traffic less
  17592. bursty. Implements proposal 183; closes ticket 3630. Design by
  17593. Florian Tschorsch and Björn Scheuermann; implementation by
  17594. Florian Tschorsch.
  17595. o Minor bugfixes:
  17596. - Change an integer overflow check in the OpenBSD_Malloc code so
  17597. that GCC is less likely to eliminate it as impossible. Patch
  17598. from Mansour Moufid. Fixes bug 4059.
  17599. o Minor bugfixes (usability):
  17600. - Downgrade log messages about circuit timeout calibration from
  17601. "notice" to "info": they don't require or suggest any human
  17602. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  17603. bugfix on 0.2.2.14-alpha.
  17604. o Minor features (diagnostics):
  17605. - When the system call to create a listener socket fails, log the
  17606. error message explaining why. This may help diagnose bug 4027.
  17607. Changes in version 0.2.3.4-alpha - 2011-09-13
  17608. Tor 0.2.3.4-alpha includes the fixes from 0.2.2.33, including a slight
  17609. tweak to Tor's TLS handshake that makes relays and bridges that run
  17610. this new version reachable from Iran again. It also fixes a few new
  17611. bugs in 0.2.3.x, and teaches relays to recognize when they're not
  17612. listed in the network consensus and republish.
  17613. o Major bugfixes (also part of 0.2.2.33):
  17614. - Avoid an assertion failure when reloading a configuration with
  17615. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  17616. 3923; bugfix on 0.2.2.25-alpha.
  17617. o Minor features (security, also part of 0.2.2.33):
  17618. - Check for replays of the public-key encrypted portion of an
  17619. INTRODUCE1 cell, in addition to the current check for replays of
  17620. the g^x value. This prevents a possible class of active attacks
  17621. by an attacker who controls both an introduction point and a
  17622. rendezvous point, and who uses the malleability of AES-CTR to
  17623. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  17624. that these attacks are infeasible (requiring the attacker to send
  17625. on the order of zettabytes of altered cells in a short interval),
  17626. but we'd rather block them off in case there are any classes of
  17627. this attack that we missed. Reported by Willem Pinckaers.
  17628. o Minor features (also part of 0.2.2.33):
  17629. - Adjust the expiration time on our SSL session certificates to
  17630. better match SSL certs seen in the wild. Resolves ticket 4014.
  17631. - Change the default required uptime for a relay to be accepted as
  17632. a HSDir (hidden service directory) from 24 hours to 25 hours.
  17633. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  17634. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  17635. authorities to abstain from voting on assignment of the HSDir
  17636. consensus flag. Related to bug 2649.
  17637. - Update to the September 6 2011 Maxmind GeoLite Country database.
  17638. o Minor bugfixes (also part of 0.2.2.33):
  17639. - Demote the 'replay detected' log message emitted when a hidden
  17640. service receives the same Diffie-Hellman public key in two different
  17641. INTRODUCE2 cells to info level. A normal Tor client can cause that
  17642. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  17643. fixes part of bug 2442.
  17644. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  17645. level. There is nothing that a hidden service's operator can do
  17646. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  17647. of bug 2442.
  17648. - Clarify a log message specifying the characters permitted in
  17649. HiddenServiceAuthorizeClient client names. Previously, the log
  17650. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  17651. given the impression that every ASCII character between "+" and "_"
  17652. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  17653. o Build fixes (also part of 0.2.2.33):
  17654. - Clean up some code issues that prevented Tor from building on older
  17655. BSDs. Fixes bug 3894; reported by "grarpamp".
  17656. - Search for a platform-specific version of "ar" when cross-compiling.
  17657. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  17658. o Major bugfixes:
  17659. - Fix a bug where the SocksPort option (for example) would get
  17660. ignored and replaced by the default if a SocksListenAddress
  17661. option was set. Bugfix on 0.2.3.3-alpha; fixes bug 3936. Fix by
  17662. Fabian Keil.
  17663. o Major features:
  17664. - Relays now try regenerating and uploading their descriptor more
  17665. frequently if they are not listed in the consensus, or if the
  17666. version of their descriptor listed in the consensus is too
  17667. old. This fix should prevent situations where a server declines
  17668. to re-publish itself because it has done so too recently, even
  17669. though the authorities decided not to list its recent-enough
  17670. descriptor. Fix for bug 3327.
  17671. o Minor features:
  17672. - Relays now include a reason for regenerating their descriptors
  17673. in an HTTP header when uploading to the authorities. This will
  17674. make it easier to debug descriptor-upload issues in the future.
  17675. - When starting as root and then changing our UID via the User
  17676. control option, and we have a ControlSocket configured, make sure
  17677. that the ControlSocket is owned by the same account that Tor will
  17678. run under. Implements ticket 3421; fix by Jérémy Bobbio.
  17679. o Minor bugfixes:
  17680. - Abort if tor_vasprintf fails in connection_printf_to_buf (a
  17681. utility function used in the control-port code). This shouldn't
  17682. ever happen unless Tor is completely out of memory, but if it did
  17683. happen and Tor somehow recovered from it, Tor could have sent a log
  17684. message to a control port in the middle of a reply to a controller
  17685. command. Fixes part of bug 3428; bugfix on 0.1.2.3-alpha.
  17686. - Make 'FetchUselessDescriptors' cause all descriptor types and
  17687. all consensus types (including microdescriptors) to get fetched.
  17688. Fixes bug 3851; bugfix on 0.2.3.1-alpha.
  17689. o Code refactoring:
  17690. - Make a new "entry connection" struct as an internal subtype of "edge
  17691. connection", to simplify the code and make exit connections smaller.
  17692. Changes in version 0.2.2.33 - 2011-09-13
  17693. Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
  17694. TLS handshake that makes relays and bridges that run this new version
  17695. reachable from Iran again.
  17696. o Major bugfixes:
  17697. - Avoid an assertion failure when reloading a configuration with
  17698. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  17699. 3923; bugfix on 0.2.2.25-alpha.
  17700. o Minor features (security):
  17701. - Check for replays of the public-key encrypted portion of an
  17702. INTRODUCE1 cell, in addition to the current check for replays of
  17703. the g^x value. This prevents a possible class of active attacks
  17704. by an attacker who controls both an introduction point and a
  17705. rendezvous point, and who uses the malleability of AES-CTR to
  17706. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  17707. that these attacks are infeasible (requiring the attacker to send
  17708. on the order of zettabytes of altered cells in a short interval),
  17709. but we'd rather block them off in case there are any classes of
  17710. this attack that we missed. Reported by Willem Pinckaers.
  17711. o Minor features:
  17712. - Adjust the expiration time on our SSL session certificates to
  17713. better match SSL certs seen in the wild. Resolves ticket 4014.
  17714. - Change the default required uptime for a relay to be accepted as
  17715. a HSDir (hidden service directory) from 24 hours to 25 hours.
  17716. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  17717. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  17718. authorities to abstain from voting on assignment of the HSDir
  17719. consensus flag. Related to bug 2649.
  17720. - Update to the September 6 2011 Maxmind GeoLite Country database.
  17721. o Minor bugfixes (documentation and log messages):
  17722. - Correct the man page to explain that HashedControlPassword and
  17723. CookieAuthentication can both be set, in which case either method
  17724. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  17725. when we decided to allow these config options to both be set. Issue
  17726. raised by bug 3898.
  17727. - Demote the 'replay detected' log message emitted when a hidden
  17728. service receives the same Diffie-Hellman public key in two different
  17729. INTRODUCE2 cells to info level. A normal Tor client can cause that
  17730. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  17731. fixes part of bug 2442.
  17732. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  17733. level. There is nothing that a hidden service's operator can do
  17734. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  17735. of bug 2442.
  17736. - Clarify a log message specifying the characters permitted in
  17737. HiddenServiceAuthorizeClient client names. Previously, the log
  17738. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  17739. given the impression that every ASCII character between "+" and "_"
  17740. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  17741. o Build fixes:
  17742. - Provide a substitute implementation of lround() for MSVC, which
  17743. apparently lacks it. Patch from Gisle Vanem.
  17744. - Clean up some code issues that prevented Tor from building on older
  17745. BSDs. Fixes bug 3894; reported by "grarpamp".
  17746. - Search for a platform-specific version of "ar" when cross-compiling.
  17747. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  17748. Changes in version 0.2.3.3-alpha - 2011-09-01
  17749. Tor 0.2.3.3-alpha adds a new "stream isolation" feature to improve Tor's
  17750. security, and provides client-side support for the microdescriptor
  17751. and optimistic data features introduced earlier in the 0.2.3.x
  17752. series. It also includes numerous critical bugfixes in the (optional)
  17753. bufferevent-based networking backend.
  17754. o Major features (stream isolation):
  17755. - You can now configure Tor so that streams from different
  17756. applications are isolated on different circuits, to prevent an
  17757. attacker who sees your streams as they leave an exit node from
  17758. linking your sessions to one another. To do this, choose some way
  17759. to distinguish the applications: have them connect to different
  17760. SocksPorts, or have one of them use SOCKS4 while the other uses
  17761. SOCKS5, or have them pass different authentication strings to the
  17762. SOCKS proxy. Then, use the new SocksPort syntax to configure the
  17763. degree of isolation you need. This implements Proposal 171.
  17764. - There's a new syntax for specifying multiple client ports (such as
  17765. SOCKSPort, TransPort, DNSPort, NATDPort): you can now just declare
  17766. multiple *Port entries with full addr:port syntax on each.
  17767. The old *ListenAddress format is still supported, but you can't
  17768. mix it with the new *Port syntax.
  17769. o Major features (other):
  17770. - Enable microdescriptor fetching by default for clients. This allows
  17771. clients to download a much smaller amount of directory information.
  17772. To disable it (and go back to the old-style consensus and
  17773. descriptors), set "UseMicrodescriptors 0" in your torrc file.
  17774. - Tor's firewall-helper feature, introduced in 0.2.3.1-alpha (see the
  17775. "PortForwarding" config option), now supports Windows.
  17776. - When using an exit relay running 0.2.3.x, clients can now
  17777. "optimistically" send data before the exit relay reports that
  17778. the stream has opened. This saves a round trip when starting
  17779. connections where the client speaks first (such as web browsing).
  17780. This behavior is controlled by a consensus parameter (currently
  17781. disabled). To turn it on or off manually, use the "OptimisticData"
  17782. torrc option. Implements proposal 181; code by Ian Goldberg.
  17783. o Major bugfixes (bufferevents, fixes on 0.2.3.1-alpha):
  17784. - When using IOCP on Windows, we need to enable Libevent windows
  17785. threading support.
  17786. - The IOCP backend now works even when the user has not specified
  17787. the (internal, debugging-only) _UseFilteringSSLBufferevents option.
  17788. Fixes part of bug 3752.
  17789. - Correctly record the bytes we've read and written when using
  17790. bufferevents, so that we can include them in our bandwidth history
  17791. and advertised bandwidth. Fixes bug 3803.
  17792. - Apply rate-limiting only at the bottom of a chain of filtering
  17793. bufferevents. This prevents us from filling up internal read
  17794. buffers and violating rate-limits when filtering bufferevents
  17795. are enabled. Fixes part of bug 3804.
  17796. - Add high-watermarks to the output buffers for filtered
  17797. bufferevents. This prevents us from filling up internal write
  17798. buffers and wasting CPU cycles when filtering bufferevents are
  17799. enabled. Fixes part of bug 3804.
  17800. - Correctly notice when data has been written from a bufferevent
  17801. without flushing it completely. Fixes bug 3805.
  17802. - Fix a bug where server-side tunneled bufferevent-based directory
  17803. streams would get closed prematurely. Fixes bug 3814.
  17804. - Fix a use-after-free error with per-connection rate-limiting
  17805. buckets. Fixes bug 3888.
  17806. o Major bugfixes (also part of 0.2.2.31-rc):
  17807. - If we're configured to write our ControlPorts to disk, only write
  17808. them after switching UID and creating the data directory. This way,
  17809. we don't fail when starting up with a nonexistent DataDirectory
  17810. and a ControlPortWriteToFile setting based on that directory. Fixes
  17811. bug 3747; bugfix on Tor 0.2.2.26-beta.
  17812. o Minor features:
  17813. - Added a new CONF_CHANGED event so that controllers can be notified
  17814. of any configuration changes made by other controllers, or by the
  17815. user. Implements ticket 1692.
  17816. - Use evbuffer_copyout() in inspect_evbuffer(). This fixes a memory
  17817. leak when using bufferevents, and lets Libevent worry about how to
  17818. best copy data out of a buffer.
  17819. - Replace files in stats/ rather than appending to them. Now that we
  17820. include statistics in extra-info descriptors, it makes no sense to
  17821. keep old statistics forever. Implements ticket 2930.
  17822. o Minor features (build compatibility):
  17823. - Limited, experimental support for building with nmake and MSVC.
  17824. - Provide a substitute implementation of lround() for MSVC, which
  17825. apparently lacks it. Patch from Gisle Vanem.
  17826. o Minor features (also part of 0.2.2.31-rc):
  17827. - Update to the August 2 2011 Maxmind GeoLite Country database.
  17828. o Minor bugfixes (on 0.2.3.x-alpha):
  17829. - Fix a spurious warning when parsing SOCKS requests with
  17830. bufferevents enabled. Fixes bug 3615; bugfix on 0.2.3.2-alpha.
  17831. - Get rid of a harmless warning that could happen on relays running
  17832. with bufferevents. The warning was caused by someone doing an http
  17833. request to a relay's orport. Also don't warn for a few related
  17834. non-errors. Fixes bug 3700; bugfix on 0.2.3.1-alpha.
  17835. o Minor bugfixes (on 2.2.x and earlier):
  17836. - Correct the man page to explain that HashedControlPassword and
  17837. CookieAuthentication can both be set, in which case either method
  17838. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  17839. when we decided to allow these config options to both be set. Issue
  17840. raised by bug 3898.
  17841. - The "--quiet" and "--hush" options now apply not only to Tor's
  17842. behavior before logs are configured, but also to Tor's behavior in
  17843. the absence of configured logs. Fixes bug 3550; bugfix on
  17844. 0.2.0.10-alpha.
  17845. o Minor bugfixes (also part of 0.2.2.31-rc):
  17846. - Write several files in text mode, on OSes that distinguish text
  17847. mode from binary mode (namely, Windows). These files are:
  17848. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  17849. that collect those statistics; 'client_keys' and 'hostname' for
  17850. hidden services that use authentication; and (in the tor-gencert
  17851. utility) newly generated identity and signing keys. Previously,
  17852. we wouldn't specify text mode or binary mode, leading to an
  17853. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  17854. the DirRecordUsageByCountry option which would have triggered
  17855. the assertion failure was added), although this assertion failure
  17856. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  17857. - Selectively disable deprecation warnings on OS X because Lion
  17858. started deprecating the shipped copy of openssl. Fixes bug 3643.
  17859. - Remove an extra pair of quotation marks around the error
  17860. message in control-port STATUS_GENERAL BUG events. Bugfix on
  17861. 0.1.2.6-alpha; fixes bug 3732.
  17862. - When unable to format an address as a string, report its value
  17863. as "???" rather than reusing the last formatted address. Bugfix
  17864. on 0.2.1.5-alpha.
  17865. o Code simplifications and refactoring:
  17866. - Rewrite the listener-selection logic so that parsing which ports
  17867. we want to listen on is now separate from binding to the ports
  17868. we want.
  17869. o Build changes:
  17870. - Building Tor with bufferevent support now requires Libevent
  17871. 2.0.13-stable or later. Previous versions of Libevent had bugs in
  17872. SSL-related bufferevents and related issues that would make Tor
  17873. work badly with bufferevents. Requiring 2.0.13-stable also allows
  17874. Tor with bufferevents to take advantage of Libevent APIs
  17875. introduced after 2.0.8-rc.
  17876. Changes in version 0.2.2.32 - 2011-08-27
  17877. The Tor 0.2.2 release series is dedicated to the memory of Andreas
  17878. Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
  17879. a founder of the PETS community, a leader in our field, a mentor,
  17880. and a friend. He left us with these words: "I had the possibility
  17881. to contribute to this world that is not as it should be. I hope I
  17882. could help in some areas to make the world a better place, and that
  17883. I could also encourage other people to be engaged in improving the
  17884. world. Please, stay engaged. This world needs you, your love, your
  17885. initiative -- now I cannot be part of that anymore."
  17886. Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
  17887. ready. More than two years in the making, this release features improved
  17888. client performance and hidden service reliability, better compatibility
  17889. for Android, correct behavior for bridges that listen on more than
  17890. one address, more extensible and flexible directory object handling,
  17891. better reporting of network statistics, improved code security, and
  17892. many many other features and bugfixes.
  17893. Changes in version 0.2.2.31-rc - 2011-08-17
  17894. Tor 0.2.2.31-rc is the second and hopefully final release candidate
  17895. for the Tor 0.2.2.x series.
  17896. o Major bugfixes:
  17897. - Remove an extra pair of quotation marks around the error
  17898. message in control-port STATUS_GENERAL BUG events. Bugfix on
  17899. 0.1.2.6-alpha; fixes bug 3732.
  17900. - If we're configured to write our ControlPorts to disk, only write
  17901. them after switching UID and creating the data directory. This way,
  17902. we don't fail when starting up with a nonexistent DataDirectory
  17903. and a ControlPortWriteToFile setting based on that directory. Fixes
  17904. bug 3747; bugfix on Tor 0.2.2.26-beta.
  17905. o Minor features:
  17906. - Update to the August 2 2011 Maxmind GeoLite Country database.
  17907. o Minor bugfixes:
  17908. - Allow GETINFO fingerprint to return a fingerprint even when
  17909. we have not yet built a router descriptor. Fixes bug 3577;
  17910. bugfix on 0.2.0.1-alpha.
  17911. - Write several files in text mode, on OSes that distinguish text
  17912. mode from binary mode (namely, Windows). These files are:
  17913. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  17914. that collect those statistics; 'client_keys' and 'hostname' for
  17915. hidden services that use authentication; and (in the tor-gencert
  17916. utility) newly generated identity and signing keys. Previously,
  17917. we wouldn't specify text mode or binary mode, leading to an
  17918. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  17919. the DirRecordUsageByCountry option which would have triggered
  17920. the assertion failure was added), although this assertion failure
  17921. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  17922. - Selectively disable deprecation warnings on OS X because Lion
  17923. started deprecating the shipped copy of openssl. Fixes bug 3643.
  17924. - When unable to format an address as a string, report its value
  17925. as "???" rather than reusing the last formatted address. Bugfix
  17926. on 0.2.1.5-alpha.
  17927. Changes in version 0.2.3.2-alpha - 2011-07-18
  17928. Tor 0.2.3.2-alpha introduces two new experimental features:
  17929. microdescriptors and pluggable transports. It also continues cleaning
  17930. up a variety of recently introduced features.
  17931. o Major features:
  17932. - Clients can now use microdescriptors instead of regular descriptors
  17933. to build circuits. Microdescriptors are authority-generated
  17934. summaries of regular descriptors' contents, designed to change
  17935. very rarely (see proposal 158 for details). This feature is
  17936. designed to save bandwidth, especially for clients on slow internet
  17937. connections. It's off by default for now, since nearly no caches
  17938. support it, but it will be on-by-default for clients in a future
  17939. version. You can use the UseMicrodescriptors option to turn it on.
  17940. - Tor clients using bridges can now be configured to use a separate
  17941. 'transport' proxy for each bridge. This approach helps to resist
  17942. censorship by allowing bridges to use protocol obfuscation
  17943. plugins. It implements part of proposal 180. Implements ticket 2841.
  17944. - While we're trying to bootstrap, record how many TLS connections
  17945. fail in each state, and report which states saw the most failures
  17946. in response to any bootstrap failures. This feature may speed up
  17947. diagnosis of censorship events. Implements ticket 3116.
  17948. o Major bugfixes (on 0.2.3.1-alpha):
  17949. - When configuring a large set of nodes in EntryNodes (as with
  17950. 'EntryNodes {cc}' or 'EntryNodes 1.1.1.1/16'), choose only a
  17951. random subset to be guards, and choose them in random
  17952. order. Fixes bug 2798.
  17953. - Tor could crash when remembering a consensus in a non-used consensus
  17954. flavor without having a current consensus set. Fixes bug 3361.
  17955. - Comparing an unknown address to a microdescriptor's shortened exit
  17956. policy would always give a "rejected" result. Fixes bug 3599.
  17957. - Using microdescriptors as a client no longer prevents Tor from
  17958. uploading and downloading hidden service descriptors. Fixes
  17959. bug 3601.
  17960. o Minor features:
  17961. - Allow nameservers with IPv6 address. Resolves bug 2574.
  17962. - Accept attempts to include a password authenticator in the
  17963. handshake, as supported by SOCKS5. This handles SOCKS clients that
  17964. don't know how to omit a password when authenticating. Resolves
  17965. bug 1666.
  17966. - When configuring a large set of nodes in EntryNodes, and there are
  17967. enough of them listed as Guard so that we don't need to consider
  17968. the non-guard entries, prefer the ones listed with the Guard flag.
  17969. - Check for and recover from inconsistency in the microdescriptor
  17970. cache. This will make it harder for us to accidentally free a
  17971. microdescriptor without removing it from the appropriate data
  17972. structures. Fixes issue 3135; issue noted by "wanoskarnet".
  17973. - Log SSL state transitions at log level DEBUG, log domain
  17974. HANDSHAKE. This can be useful for debugging censorship events.
  17975. Implements ticket 3264.
  17976. - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
  17977. implements ticket 3439.
  17978. o Minor bugfixes (on 0.2.3.1-alpha):
  17979. - Do not free all general-purpose regular descriptors just
  17980. because microdescriptor use is enabled. Fixes bug 3113.
  17981. - Correctly link libevent_openssl when --enable-static-libevent
  17982. is passed to configure. Fixes bug 3118.
  17983. - Bridges should not complain during their heartbeat log messages that
  17984. they are unlisted in the consensus: that's more or less the point
  17985. of being a bridge. Fixes bug 3183.
  17986. - Report a SIGNAL event to controllers when acting on a delayed
  17987. SIGNAL NEWNYM command. Previously, we would report a SIGNAL
  17988. event to the controller if we acted on a SIGNAL NEWNYM command
  17989. immediately, and otherwise not report a SIGNAL event for the
  17990. command at all. Fixes bug 3349.
  17991. - Fix a crash when handling the SIGNAL controller command or
  17992. reporting ERR-level status events with bufferevents enabled. Found
  17993. by Robert Ransom. Fixes bug 3367.
  17994. - Always ship the tor-fw-helper manpage in our release tarballs.
  17995. Fixes bug 3389. Reported by Stephen Walker.
  17996. - Fix a class of double-mark-for-close bugs when bufferevents
  17997. are enabled. Fixes bug 3403.
  17998. - Update tor-fw-helper to support libnatpmp-20110618. Fixes bug 3434.
  17999. - Add SIGNAL to the list returned by the 'GETINFO events/names'
  18000. control-port command. Fixes part of bug 3465.
  18001. - Prevent using negative indices during unit test runs when read_all()
  18002. fails. Spotted by coverity.
  18003. - Fix a rare memory leak when checking the nodelist without it being
  18004. present. Found by coverity.
  18005. - Only try to download a microdescriptor-flavored consensus from
  18006. a directory cache that provides them.
  18007. o Minor bugfixes (on 0.2.2.x and earlier):
  18008. - Assert that hidden-service-related operations are not performed
  18009. using single-hop circuits. Previously, Tor would assert that
  18010. client-side streams are not attached to single-hop circuits,
  18011. but not that other sensitive operations on the client and service
  18012. side are not performed using single-hop circuits. Fixes bug 3332;
  18013. bugfix on 0.0.6.
  18014. - Don't publish a new relay descriptor when we reload our onion key,
  18015. unless the onion key has actually changed. Fixes bug 3263 and
  18016. resolves another cause of bug 1810. Bugfix on 0.1.1.11-alpha.
  18017. - Allow GETINFO fingerprint to return a fingerprint even when
  18018. we have not yet built a router descriptor. Fixes bug 3577;
  18019. bugfix on 0.2.0.1-alpha.
  18020. - Make 'tor --digests' list hashes of all Tor source files. Bugfix
  18021. on 0.2.2.4-alpha; fixes bug 3427.
  18022. o Code simplification and refactoring:
  18023. - Use tor_sscanf() in place of scanf() in more places through the
  18024. code. This makes us a little more locale-independent, and
  18025. should help shut up code-analysis tools that can't tell
  18026. a safe sscanf string from a dangerous one.
  18027. - Use tt_assert(), not tor_assert(), for checking for test failures.
  18028. This makes the unit tests more able to go on in the event that
  18029. one of them fails.
  18030. - Split connection_about_to_close() into separate functions for each
  18031. connection type.
  18032. o Build changes:
  18033. - On Windows, we now define the _WIN32_WINNT macros only if they
  18034. are not already defined. This lets the person building Tor decide,
  18035. if they want, to require a later version of Windows.
  18036. Changes in version 0.2.2.30-rc - 2011-07-07
  18037. Tor 0.2.2.30-rc is the first release candidate for the Tor 0.2.2.x
  18038. series. It fixes a few smaller bugs, but generally appears stable.
  18039. Please test it and let us know whether it is!
  18040. o Minor bugfixes:
  18041. - Send a SUCCEEDED stream event to the controller when a reverse
  18042. resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
  18043. discovered by katmagic.
  18044. - Always NUL-terminate the sun_path field of a sockaddr_un before
  18045. passing it to the kernel. (Not a security issue: kernels are
  18046. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  18047. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  18048. - Don't stack-allocate the list of supplementary GIDs when we're
  18049. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  18050. could take up to 256K, which is way too much stack. Found by
  18051. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  18052. - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
  18053. events/names' control-port command. Bugfix on 0.2.2.9-alpha;
  18054. fixes part of bug 3465.
  18055. - Fix a memory leak when receiving a descriptor for a hidden
  18056. service we didn't ask for. Found by Coverity; CID #30. Bugfix
  18057. on 0.2.2.26-beta.
  18058. o Minor features:
  18059. - Update to the July 1 2011 Maxmind GeoLite Country database.
  18060. Changes in version 0.2.2.29-beta - 2011-06-20
  18061. Tor 0.2.2.29-beta reverts an accidental behavior change for users who
  18062. have bridge lines in their torrc but don't want to use them; gets
  18063. us closer to having the control socket feature working on Debian;
  18064. and fixes a variety of smaller bugs.
  18065. o Major bugfixes:
  18066. - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
  18067. When we changed the default behavior to "use bridges if any
  18068. are listed in the torrc", we surprised users who had bridges
  18069. in their torrc files but who didn't actually want to use them.
  18070. Partial resolution for bug 3354.
  18071. o Privacy fixes:
  18072. - Don't attach new streams to old rendezvous circuits after SIGNAL
  18073. NEWNYM. Previously, we would keep using an existing rendezvous
  18074. circuit if it remained open (i.e. if it were kept open by a
  18075. long-lived stream, or if a new stream were attached to it before
  18076. Tor could notice that it was old and no longer in use). Bugfix on
  18077. 0.1.1.15-rc; fixes bug 3375.
  18078. o Minor bugfixes:
  18079. - Fix a bug when using ControlSocketsGroupWritable with User. The
  18080. directory's group would be checked against the current group, not
  18081. the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
  18082. bugfix on 0.2.2.26-beta.
  18083. - Make connection_printf_to_buf()'s behavior sane. Its callers
  18084. expect it to emit a CRLF iff the format string ends with CRLF;
  18085. it actually emitted a CRLF iff (a) the format string ended with
  18086. CRLF or (b) the resulting string was over 1023 characters long or
  18087. (c) the format string did not end with CRLF *and* the resulting
  18088. string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
  18089. fixes part of bug 3407.
  18090. - Make send_control_event_impl()'s behavior sane. Its callers
  18091. expect it to always emit a CRLF at the end of the string; it
  18092. might have emitted extra control characters as well. Bugfix on
  18093. 0.1.1.9-alpha; fixes another part of bug 3407.
  18094. - Make crypto_rand_int() check the value of its input correctly.
  18095. Previously, it accepted values up to UINT_MAX, but could return a
  18096. negative number if given a value above INT_MAX+1. Found by George
  18097. Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
  18098. - Avoid a segfault when reading a malformed circuit build state
  18099. with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
  18100. 0.2.2.4-alpha.
  18101. - When asked about a DNS record type we don't support via a
  18102. client DNSPort, reply with NOTIMPL rather than an empty
  18103. reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
  18104. - Fix a rare memory leak during stats writing. Found by coverity.
  18105. o Minor features:
  18106. - Update to the June 1 2011 Maxmind GeoLite Country database.
  18107. o Code simplifications and refactoring:
  18108. - Remove some dead code as indicated by coverity.
  18109. - Remove a few dead assignments during router parsing. Found by
  18110. coverity.
  18111. - Add some forgotten return value checks during unit tests. Found
  18112. by coverity.
  18113. - Don't use 1-bit wide signed bit fields. Found by coverity.
  18114. Changes in version 0.2.2.28-beta - 2011-06-04
  18115. Tor 0.2.2.28-beta makes great progress towards a new stable release: we
  18116. fixed a big bug in whether relays stay in the consensus consistently,
  18117. we moved closer to handling bridges and hidden services correctly,
  18118. and we started the process of better handling the dreaded "my Vidalia
  18119. died, and now my Tor demands a password when I try to reconnect to it"
  18120. usability issue.
  18121. o Major bugfixes:
  18122. - Don't decide to make a new descriptor when receiving a HUP signal.
  18123. This bug has caused a lot of 0.2.2.x relays to disappear from the
  18124. consensus periodically. Fixes the most common case of triggering
  18125. bug 1810; bugfix on 0.2.2.7-alpha.
  18126. - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
  18127. - Don't try to build descriptors if "ORPort auto" is set and we
  18128. don't know our actual ORPort yet. Fix for bug 3216; bugfix on
  18129. 0.2.2.26-beta.
  18130. - Resolve a crash that occurred when setting BridgeRelay to 1 with
  18131. accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
  18132. - Apply circuit timeouts to opened hidden-service-related circuits
  18133. based on the correct start time. Previously, we would apply the
  18134. circuit build timeout based on time since the circuit's creation;
  18135. it was supposed to be applied based on time since the circuit
  18136. entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
  18137. - Use the same circuit timeout for client-side introduction
  18138. circuits as for other four-hop circuits, rather than the timeout
  18139. for single-hop directory-fetch circuits; the shorter timeout may
  18140. have been appropriate with the static circuit build timeout in
  18141. 0.2.1.x and earlier, but caused many hidden service access attempts
  18142. to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
  18143. on 0.2.2.2-alpha; fixes another part of bug 1297.
  18144. - In ticket 2511 we fixed a case where you could use an unconfigured
  18145. bridge if you had configured it as a bridge the last time you ran
  18146. Tor. Now fix another edge case: if you had configured it as a bridge
  18147. but then switched to a different bridge via the controller, you
  18148. would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
  18149. fixes bug 3321.
  18150. o Major features:
  18151. - Add an __OwningControllerProcess configuration option and a
  18152. TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
  18153. that when it exits, Tor will shut down. Implements feature 3049.
  18154. - If "UseBridges 1" is set and no bridges are configured, Tor will
  18155. now refuse to build any circuits until some bridges are set.
  18156. If "UseBridges auto" is set, Tor will use bridges if they are
  18157. configured and we are not running as a server, but otherwise will
  18158. make circuits as usual. The new default is "auto". Patch by anonym,
  18159. so the Tails LiveCD can stop automatically revealing you as a Tor
  18160. user on startup.
  18161. o Minor bugfixes:
  18162. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  18163. - Remove a trailing asterisk from "exit-policy/default" in the
  18164. output of the control port command "GETINFO info/names". Bugfix
  18165. on 0.1.2.5-alpha.
  18166. - Use a wide type to hold sockets when built for 64-bit Windows builds.
  18167. Fixes bug 3270.
  18168. - Warn when the user configures two HiddenServiceDir lines that point
  18169. to the same directory. Bugfix on 0.0.6 (the version introducing
  18170. HiddenServiceDir); fixes bug 3289.
  18171. - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
  18172. part of bug 2748; bugfix on 0.2.0.10-alpha.
  18173. - Log malformed requests for rendezvous descriptors as protocol
  18174. warnings, not warnings. Also, use a more informative log message
  18175. in case someone sees it at log level warning without prior
  18176. info-level messages. Fixes the other part of bug 2748; bugfix
  18177. on 0.2.0.10-alpha.
  18178. - Clear the table recording the time of the last request for each
  18179. hidden service descriptor from each HS directory on SIGNAL NEWNYM.
  18180. Previously, we would clear our HS descriptor cache on SIGNAL
  18181. NEWNYM, but if we had previously retrieved a descriptor (or tried
  18182. to) from every directory responsible for it, we would refuse to
  18183. fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
  18184. fixes bug 3309.
  18185. - Fix a log message that said "bits" while displaying a value in
  18186. bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
  18187. 0.2.0.1-alpha.
  18188. - When checking for 1024-bit keys, check for 1024 bits, not 128
  18189. bytes. This allows Tor to correctly discard keys of length 1017
  18190. through 1023. Bugfix on 0.0.9pre5.
  18191. o Minor features:
  18192. - Relays now log the reason for publishing a new relay descriptor,
  18193. so we have a better chance of hunting down instances of bug 1810.
  18194. Resolves ticket 3252.
  18195. - Revise most log messages that refer to nodes by nickname to
  18196. instead use the "$key=nickname at address" format. This should be
  18197. more useful, especially since nicknames are less and less likely
  18198. to be unique. Resolves ticket 3045.
  18199. - Log (at info level) when purging pieces of hidden-service-client
  18200. state because of SIGNAL NEWNYM.
  18201. o Removed options:
  18202. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  18203. anything since 0.2.1.16-rc.
  18204. Changes in version 0.2.2.27-beta - 2011-05-18
  18205. Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
  18206. release, and also adds a few more general bugfixes.
  18207. o Major bugfixes:
  18208. - Fix a crash bug when changing bridges in a running Tor process.
  18209. Fixes bug 3213; bugfix on 0.2.2.26-beta.
  18210. - When the controller configures a new bridge, don't wait 10 to 60
  18211. seconds before trying to fetch its descriptor. Bugfix on
  18212. 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
  18213. o Minor bugfixes:
  18214. - Require that onion keys have exponent 65537 in microdescriptors too.
  18215. Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
  18216. - Tor used to limit HttpProxyAuthenticator values to 48 characters.
  18217. Changed the limit to 512 characters by removing base64 newlines.
  18218. Fixes bug 2752. Fix by Michael Yakubovich.
  18219. - When a client starts or stops using bridges, never use a circuit
  18220. that was built before the configuration change. This behavior could
  18221. put at risk a user who uses bridges to ensure that her traffic
  18222. only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
  18223. bug 3200.
  18224. Changes in version 0.2.2.26-beta - 2011-05-17
  18225. Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
  18226. also introduces a new "socksport auto" approach that should make it
  18227. easier to run multiple Tors on the same system, and does a lot of
  18228. cleanup to get us closer to a release candidate.
  18229. o Security/privacy fixes:
  18230. - Replace all potentially sensitive memory comparison operations
  18231. with versions whose runtime does not depend on the data being
  18232. compared. This will help resist a class of attacks where an
  18233. adversary can use variations in timing information to learn
  18234. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  18235. implementation by Robert Ransom based partially on code by DJB.)
  18236. - When receiving a hidden service descriptor, check that it is for
  18237. the hidden service we wanted. Previously, Tor would store any
  18238. hidden service descriptors that a directory gave it, whether it
  18239. wanted them or not. This wouldn't have let an attacker impersonate
  18240. a hidden service, but it did let directories pre-seed a client
  18241. with descriptors that it didn't want. Bugfix on 0.0.6.
  18242. - On SIGHUP, do not clear out all TrackHostExits mappings, client
  18243. DNS cache entries, and virtual address mappings: that's what
  18244. NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
  18245. o Major features:
  18246. - The options SocksPort, ControlPort, and so on now all accept a
  18247. value "auto" that opens a socket on an OS-selected port. A
  18248. new ControlPortWriteToFile option tells Tor to write its
  18249. actual control port or ports to a chosen file. If the option
  18250. ControlPortFileGroupReadable is set, the file is created as
  18251. group-readable. Now users can run two Tor clients on the same
  18252. system without needing to manually mess with parameters. Resolves
  18253. part of ticket 3076.
  18254. - Set SO_REUSEADDR on all sockets, not just listeners. This should
  18255. help busy exit nodes avoid running out of useable ports just
  18256. because all the ports have been used in the near past. Resolves
  18257. issue 2850.
  18258. o Minor features:
  18259. - New "GETINFO net/listeners/(type)" controller command to return
  18260. a list of addresses and ports that are bound for listeners for a
  18261. given connection type. This is useful when the user has configured
  18262. "SocksPort auto" and the controller needs to know which port got
  18263. chosen. Resolves another part of ticket 3076.
  18264. - Add a new ControlSocketsGroupWritable configuration option: when
  18265. it is turned on, ControlSockets are group-writeable by the default
  18266. group of the current user. Patch by Jérémy Bobbio; implements
  18267. ticket 2972.
  18268. - Tor now refuses to create a ControlSocket in a directory that is
  18269. world-readable (or group-readable if ControlSocketsGroupWritable
  18270. is 0). This is necessary because some operating systems do not
  18271. enforce permissions on an AF_UNIX sockets. Permissions on the
  18272. directory holding the socket, however, seems to work everywhere.
  18273. - Rate-limit a warning about failures to download v2 networkstatus
  18274. documents. Resolves part of bug 1352.
  18275. - Backport code from 0.2.3.x that allows directory authorities to
  18276. clean their microdescriptor caches. Needed to resolve bug 2230.
  18277. - When an HTTPS proxy reports "403 Forbidden", we now explain
  18278. what it means rather than calling it an unexpected status code.
  18279. Closes bug 2503. Patch from Michael Yakubovich.
  18280. - Update to the May 1 2011 Maxmind GeoLite Country database.
  18281. o Minor bugfixes:
  18282. - Authorities now clean their microdesc cache periodically and when
  18283. reading from disk initially, not only when adding new descriptors.
  18284. This prevents a bug where we could lose microdescriptors. Bugfix
  18285. on 0.2.2.6-alpha. Fixes bug 2230.
  18286. - Do not crash when our configuration file becomes unreadable, for
  18287. example due to a permissions change, between when we start up
  18288. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  18289. on 0.0.9pre6.
  18290. - Avoid a bug that would keep us from replacing a microdescriptor
  18291. cache on Windows. (We would try to replace the file while still
  18292. holding it open. That's fine on Unix, but Windows doesn't let us
  18293. do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
  18294. - Add missing explanations for the authority-related torrc options
  18295. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
  18296. man page. Resolves issue 2379.
  18297. - As an authority, do not upload our own vote or signature set to
  18298. ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
  18299. it would get flagged as a duplicate. Resolves bug 3026.
  18300. - Accept hidden service descriptors if we think we might be a hidden
  18301. service directory, regardless of what our consensus says. This
  18302. helps robustness, since clients and hidden services can sometimes
  18303. have a more up-to-date view of the network consensus than we do,
  18304. and if they think that the directory authorities list us a HSDir,
  18305. we might actually be one. Related to bug 2732; bugfix on
  18306. 0.2.0.10-alpha.
  18307. - When a controller changes TrackHostExits, remove mappings for
  18308. hosts that should no longer have their exits tracked. Bugfix on
  18309. 0.1.0.1-rc.
  18310. - When a controller changes VirtualAddrNetwork, remove any mappings
  18311. for hosts that were automapped to the old network. Bugfix on
  18312. 0.1.1.19-rc.
  18313. - When a controller changes one of the AutomapHosts* options, remove
  18314. any mappings for hosts that should no longer be automapped. Bugfix
  18315. on 0.2.0.1-alpha.
  18316. - Do not reset the bridge descriptor download status every time we
  18317. re-parse our configuration or get a configuration change. Fixes
  18318. bug 3019; bugfix on 0.2.0.3-alpha.
  18319. o Minor bugfixes (code cleanup):
  18320. - When loading the microdesc journal, remember its current size.
  18321. In 0.2.2, this helps prevent the microdesc journal from growing
  18322. without limit on authorities (who are the only ones to use it in
  18323. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  18324. Fix posted by "cypherpunks."
  18325. - The microdesc journal is supposed to get rebuilt only if it is
  18326. at least _half_ the length of the store, not _twice_ the length
  18327. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  18328. - Fix a potential null-pointer dereference while computing a
  18329. consensus. Bugfix on 0.2.0.3-alpha, found with the help of
  18330. clang's analyzer.
  18331. - Avoid a possible null-pointer dereference when rebuilding the mdesc
  18332. cache without actually having any descriptors to cache. Bugfix on
  18333. 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
  18334. - If we fail to compute the identity digest of a v3 legacy keypair,
  18335. warn, and don't use a buffer-full of junk instead. Bugfix on
  18336. 0.2.1.1-alpha; fixes bug 3106.
  18337. - Resolve an untriggerable issue in smartlist_string_num_isin(),
  18338. where if the function had ever in the future been used to check
  18339. for the presence of a too-large number, it would have given an
  18340. incorrect result. (Fortunately, we only used it for 16-bit
  18341. values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
  18342. - Require that introduction point keys and onion handshake keys
  18343. have a public exponent of 65537. Starts to fix bug 3207; bugfix
  18344. on 0.2.0.10-alpha.
  18345. o Removed features:
  18346. - Caches no longer download and serve v2 networkstatus documents
  18347. unless FetchV2Networkstatus flag is set: these documents haven't
  18348. haven't been used by clients or relays since 0.2.0.x. Resolves
  18349. bug 3022.
  18350. Changes in version 0.2.3.1-alpha - 2011-05-05
  18351. Tor 0.2.3.1-alpha adds some new experimental features, including support
  18352. for an improved network IO backend, IOCP networking on Windows,
  18353. microdescriptor caching, "fast-start" support for streams, and automatic
  18354. home router configuration. There are also numerous internal improvements
  18355. to try to make the code easier for developers to work with.
  18356. This is the first alpha release in a new series, so expect there to be
  18357. bugs. Users who would rather test out a more stable branch should
  18358. stay with 0.2.2.x for now.
  18359. o Major features:
  18360. - Tor can now optionally build with the "bufferevents" buffered IO
  18361. backend provided by Libevent 2. To use this feature, make sure you
  18362. have the latest possible version of Libevent, and pass the
  18363. --enable-bufferevents flag to configure when building Tor from
  18364. source. This feature will make our networking code more flexible,
  18365. let us stack layers on each other, and let us use more efficient
  18366. zero-copy transports where available.
  18367. - As an experimental feature, Tor can use IOCP for networking on Windows.
  18368. Once this code is tuned and optimized, it promises much better
  18369. performance than the select-based backend we've used in the past. To
  18370. try this feature, you must build Tor with Libevent 2, configure Tor
  18371. with the "bufferevents" buffered IO backend, and add "DisableIOCP 0" to
  18372. your torrc. There are known bugs here: only try this if you can help
  18373. debug it as it breaks.
  18374. - The EntryNodes option can now include country codes like {de} or IP
  18375. addresses or network masks. Previously we had disallowed these options
  18376. because we didn't have an efficient way to keep the list up to
  18377. date. Fixes bug 1982, but see bug 2798 for an unresolved issue here.
  18378. - Exit nodes now accept and queue data on not-yet-connected streams.
  18379. Previously, the client wasn't allowed to send data until the stream was
  18380. connected, which slowed down all connections. This change will enable
  18381. clients to perform a "fast-start" on streams and send data without
  18382. having to wait for a confirmation that the stream has opened. (Patch
  18383. from Ian Goldberg; implements the server side of Proposal 174.)
  18384. - Tor now has initial support for automatic port mapping on the many
  18385. home routers that support NAT-PMP or UPnP. (Not yet supported on
  18386. Windows). To build the support code, you'll need to have libnatpnp
  18387. library and/or the libminiupnpc library, and you'll need to enable the
  18388. feature specifically by passing "--enable-upnp" and/or
  18389. "--enable-natpnp" to configure. To turn it on, use the new
  18390. PortForwarding option.
  18391. - Caches now download, cache, and serve multiple "flavors" of the
  18392. consensus, including a flavor that describes microdescriptors.
  18393. - Caches now download, cache, and serve microdescriptors -- small
  18394. summaries of router descriptors that are authenticated by all of the
  18395. directory authorities. Once enough caches are running this code,
  18396. clients will be able to save significant amounts of directory bandwidth
  18397. by downloading microdescriptors instead of router descriptors.
  18398. o Minor features:
  18399. - Make logging resolution configurable with a new LogTimeGranularity
  18400. option, and change the default from 1 millisecond to 1 second.
  18401. Implements enhancement 1668.
  18402. - We log which torrc file we're using on startup. Implements ticket
  18403. 2444.
  18404. - Ordinarily, Tor does not count traffic from private addresses (like
  18405. 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
  18406. There is now a new option, CountPrivateBandwidth, to disable this
  18407. behavior. Patch from Daniel Cagara.
  18408. - New --enable-static-tor configure option for building Tor as
  18409. statically as possible. Idea, general hackery and thoughts from
  18410. Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
  18411. 2702.
  18412. - If you set the NumCPUs option to 0, Tor will now try to detect how
  18413. many CPUs you have. This is the new default behavior.
  18414. - Turn on directory request statistics by default and include them in
  18415. extra-info descriptors. Don't break if we have no GeoIP database.
  18416. - Relays that set "ConnDirectionStatistics 1" write statistics on the
  18417. bidirectional use of connections to disk every 24 hours.
  18418. - Add a GeoIP file digest to the extra-info descriptor. Implements
  18419. enhancement 1883.
  18420. - The NodeFamily option -- which let you declare that you want to
  18421. consider nodes to be part of a family whether they list themselves
  18422. that way or not -- now allows IP address ranges and country codes.
  18423. - Add a new 'Heartbeat' log message type to periodically log a message
  18424. describing Tor's status at level Notice. This feature is meant for
  18425. operators who log at notice, and want to make sure that their Tor
  18426. server is still working. Implementation by George Kadianakis.
  18427. o Minor bugfixes (on 0.2.2.25-alpha):
  18428. - When loading the microdesc journal, remember its current size.
  18429. In 0.2.2, this helps prevent the microdesc journal from growing
  18430. without limit on authorities (who are the only ones to use it in
  18431. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  18432. Fix posted by "cypherpunks."
  18433. - The microdesc journal is supposed to get rebuilt only if it is
  18434. at least _half_ the length of the store, not _twice_ the length
  18435. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  18436. - If as an authority we fail to compute the identity digest of a v3
  18437. legacy keypair, warn, and don't use a buffer-full of junk instead.
  18438. Bugfix on 0.2.1.1-alpha; fixes bug 3106.
  18439. - Authorities now clean their microdesc cache periodically and when
  18440. reading from disk initially, not only when adding new descriptors.
  18441. This prevents a bug where we could lose microdescriptors. Bugfix
  18442. on 0.2.2.6-alpha.
  18443. o Minor features (controller):
  18444. - Add a new SIGNAL event to the controller interface so that
  18445. controllers can be notified when Tor handles a signal. Resolves
  18446. issue 1955. Patch by John Brooks.
  18447. - Add a new GETINFO option to get total bytes read and written. Patch
  18448. from pipe, revised by atagar. Resolves ticket 2345.
  18449. - Implement some GETINFO controller fields to provide information about
  18450. the Tor process's pid, euid, username, and resource limits.
  18451. o Build changes:
  18452. - Our build system requires automake 1.6 or later to create the
  18453. Makefile.in files. Previously, you could have used 1.4.
  18454. This only affects developers and people building Tor from git;
  18455. people who build Tor from the source distribution without changing
  18456. the Makefile.am files should be fine.
  18457. - Our autogen.sh script uses autoreconf to launch autoconf, automake, and
  18458. so on. This is more robust against some of the failure modes
  18459. associated with running the autotools pieces on their own.
  18460. o Minor packaging issues:
  18461. - On OpenSUSE, create the /var/run/tor directory on startup if it is not
  18462. already created. Patch from Andreas Stieger. Fixes bug 2573.
  18463. o Code simplifications and refactoring:
  18464. - A major revision to our internal node-selecting and listing logic.
  18465. Tor already had at least two major ways to look at the question of
  18466. "which Tor servers do we know about": a list of router descriptors,
  18467. and a list of entries in the current consensus. With
  18468. microdescriptors, we're adding a third. Having so many systems
  18469. without an abstraction layer over them was hurting the codebase.
  18470. Now, we have a new "node_t" abstraction that presents a consistent
  18471. interface to a client's view of a Tor node, and holds (nearly) all
  18472. of the mutable state formerly in routerinfo_t and routerstatus_t.
  18473. - The helper programs tor-gencert, tor-resolve, and tor-checkkey
  18474. no longer link against Libevent: they never used it, but
  18475. our library structure used to force them to link it.
  18476. o Removed features:
  18477. - Remove some old code to work around even older versions of Tor that
  18478. used forked processes to handle DNS requests. Such versions of Tor
  18479. are no longer in use as servers.
  18480. o Documentation fixes:
  18481. - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
  18482. - Add missing documentation for the authority-related torrc options
  18483. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey. Resolves
  18484. issue 2379.
  18485. Changes in version 0.2.2.25-alpha - 2011-04-29
  18486. Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
  18487. robust, routers no longer overreport their bandwidth, Win7 should crash
  18488. a little less, and NEWNYM (as used by Vidalia's "new identity" button)
  18489. now prevents hidden service-related activity from being linkable. It
  18490. provides more information to Vidalia so you can see if your bridge is
  18491. working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
  18492. StrictNodes configuration options to make them more reliable, more
  18493. understandable, and more regularly applied. If you use those options,
  18494. please see the revised documentation for them in the manual page.
  18495. o Major bugfixes:
  18496. - Relays were publishing grossly inflated bandwidth values because
  18497. they were writing their state files wrong--now they write the
  18498. correct value. Also, resume reading bandwidth history from the
  18499. state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
  18500. - Improve hidden service robustness: When we find that we have
  18501. extended a hidden service's introduction circuit to a relay not
  18502. listed as an introduction point in the HS descriptor we currently
  18503. have, retry with an introduction point from the current
  18504. descriptor. Previously we would just give up. Fixes bugs 1024 and
  18505. 1930; bugfix on 0.2.0.10-alpha.
  18506. - Clients now stop trying to use an exit node associated with a given
  18507. destination by TrackHostExits if they fail to reach that exit node.
  18508. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
  18509. - Fix crash bug on platforms where gmtime and localtime can return
  18510. NULL. Windows 7 users were running into this one. Fixes part of bug
  18511. 2077. Bugfix on all versions of Tor. Found by boboper.
  18512. o Security and stability fixes:
  18513. - Don't double-free a parsable, but invalid, microdescriptor, even if
  18514. it is followed in the blob we're parsing by an unparsable
  18515. microdescriptor. Fixes an issue reported in a comment on bug 2954.
  18516. Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
  18517. - If the Nickname configuration option isn't given, Tor would pick a
  18518. nickname based on the local hostname as the nickname for a relay.
  18519. Because nicknames are not very important in today's Tor and the
  18520. "Unnamed" nickname has been implemented, this is now problematic
  18521. behavior: It leaks information about the hostname without being
  18522. useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
  18523. introduced the Unnamed nickname. Reported by tagnaq.
  18524. - Fix an uncommon assertion failure when running with DNSPort under
  18525. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  18526. - Avoid linkability based on cached hidden service descriptors: forget
  18527. all hidden service descriptors cached as a client when processing a
  18528. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  18529. o Major features:
  18530. - Export GeoIP information on bridge usage to controllers even if we
  18531. have not yet been running for 24 hours. Now Vidalia bridge operators
  18532. can get more accurate and immediate feedback about their
  18533. contributions to the network.
  18534. o Major features and bugfixes (node selection):
  18535. - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
  18536. ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
  18537. options. Previously, we had been ambiguous in describing what
  18538. counted as an "exit" node, and what operations exactly "StrictNodes
  18539. 0" would permit. This created confusion when people saw nodes built
  18540. through unexpected circuits, and made it hard to tell real bugs from
  18541. surprises. Now the intended behavior is:
  18542. . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
  18543. a node that delivers user traffic outside the Tor network.
  18544. . "Entry", in the context of EntryNodes, means a node used as the
  18545. first hop of a multihop circuit. It doesn't include direct
  18546. connections to directory servers.
  18547. . "ExcludeNodes" applies to all nodes.
  18548. . "StrictNodes" changes the behavior of ExcludeNodes only. When
  18549. StrictNodes is set, Tor should avoid all nodes listed in
  18550. ExcludeNodes, even when it will make user requests fail. When
  18551. StrictNodes is *not* set, then Tor should follow ExcludeNodes
  18552. whenever it can, except when it must use an excluded node to
  18553. perform self-tests, connect to a hidden service, provide a
  18554. hidden service, fulfill a .exit request, upload directory
  18555. information, or fetch directory information.
  18556. Collectively, the changes to implement the behavior fix bug 1090.
  18557. - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
  18558. a node is listed in both, it's treated as excluded.
  18559. - ExcludeNodes now applies to directory nodes -- as a preference if
  18560. StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
  18561. Don't exclude all the directory authorities and set StrictNodes to 1
  18562. unless you really want your Tor to break.
  18563. - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
  18564. - ExcludeExitNodes now overrides .exit requests.
  18565. - We don't use bridges listed in ExcludeNodes.
  18566. - When StrictNodes is 1:
  18567. . We now apply ExcludeNodes to hidden service introduction points
  18568. and to rendezvous points selected by hidden service users. This
  18569. can make your hidden service less reliable: use it with caution!
  18570. . If we have used ExcludeNodes on ourself, do not try relay
  18571. reachability self-tests.
  18572. . If we have excluded all the directory authorities, we will not
  18573. even try to upload our descriptor if we're a relay.
  18574. . Do not honor .exit requests to an excluded node.
  18575. - Remove a misfeature that caused us to ignore the Fast/Stable flags
  18576. when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
  18577. - When the set of permitted nodes changes, we now remove any mappings
  18578. introduced via TrackExitHosts to now-excluded nodes. Bugfix on
  18579. 0.1.0.1-rc.
  18580. - We never cannibalize a circuit that had excluded nodes on it, even
  18581. if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
  18582. - Revert a change where we would be laxer about attaching streams to
  18583. circuits than when building the circuits. This was meant to prevent
  18584. a set of bugs where streams were never attachable, but our improved
  18585. code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
  18586. - Keep track of how many times we launch a new circuit to handle a
  18587. given stream. Too many launches could indicate an inconsistency
  18588. between our "launch a circuit to handle this stream" logic and our
  18589. "attach this stream to one of the available circuits" logic.
  18590. - Improve log messages related to excluded nodes.
  18591. o Minor bugfixes:
  18592. - Fix a spurious warning when moving from a short month to a long
  18593. month on relays with month-based BandwidthAccounting. Bugfix on
  18594. 0.2.2.17-alpha; fixes bug 3020.
  18595. - When a client finds that an origin circuit has run out of 16-bit
  18596. stream IDs, we now mark it as unusable for new streams. Previously,
  18597. we would try to close the entire circuit. Bugfix on 0.0.6.
  18598. - Add a forgotten cast that caused a compile warning on OS X 10.6.
  18599. Bugfix on 0.2.2.24-alpha.
  18600. - Be more careful about reporting the correct error from a failed
  18601. connect() system call. Under some circumstances, it was possible to
  18602. look at an incorrect value for errno when sending the end reason.
  18603. Bugfix on 0.1.0.1-rc.
  18604. - Correctly handle an "impossible" overflow cases in connection byte
  18605. counting, where we write or read more than 4GB on an edge connection
  18606. in a single second. Bugfix on 0.1.2.8-beta.
  18607. - Correct the warning displayed when a rendezvous descriptor exceeds
  18608. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  18609. John Brooks.
  18610. - Clients and hidden services now use HSDir-flagged relays for hidden
  18611. service descriptor downloads and uploads even if the relays have no
  18612. DirPort set and the client has disabled TunnelDirConns. This will
  18613. eventually allow us to give the HSDir flag to relays with no
  18614. DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
  18615. - Downgrade "no current certificates known for authority" message from
  18616. Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
  18617. - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
  18618. 2917. Bugfix on 0.1.1.1-alpha.
  18619. - Only limit the lengths of single HS descriptors, even when multiple
  18620. HS descriptors are published to an HSDir relay in a single POST
  18621. operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
  18622. - Write the current time into the LastWritten line in our state file,
  18623. rather than the time from the previous write attempt. Also, stop
  18624. trying to use a time of -1 in our log statements. Fixes bug 3039;
  18625. bugfix on 0.2.2.14-alpha.
  18626. - Be more consistent in our treatment of file system paths. "~" should
  18627. get expanded to the user's home directory in the Log config option.
  18628. Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
  18629. feature for the -f and --DataDirectory options.
  18630. o Minor features:
  18631. - Make sure every relay writes a state file at least every 12 hours.
  18632. Previously, a relay could go for weeks without writing its state
  18633. file, and on a crash could lose its bandwidth history, capacity
  18634. estimates, client country statistics, and so on. Addresses bug 3012.
  18635. - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
  18636. Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
  18637. clients are already deprecated because of security bugs.
  18638. - Don't allow v0 hidden service authorities to act as clients.
  18639. Required by fix for bug 3000.
  18640. - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
  18641. by fix for bug 3000.
  18642. - Ensure that no empty [dirreq-](read|write)-history lines are added
  18643. to an extrainfo document. Implements ticket 2497.
  18644. o Code simplification and refactoring:
  18645. - Remove workaround code to handle directory responses from servers
  18646. that had bug 539 (they would send HTTP status 503 responses _and_
  18647. send a body too). Since only server versions before
  18648. 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
  18649. keep the workaround in place.
  18650. - Remove the old 'fuzzy time' logic. It was supposed to be used for
  18651. handling calculations where we have a known amount of clock skew and
  18652. an allowed amount of unknown skew. But we only used it in three
  18653. places, and we never adjusted the known/unknown skew values. This is
  18654. still something we might want to do someday, but if we do, we'll
  18655. want to do it differently.
  18656. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  18657. None of the cases where we did this before were wrong, but by making
  18658. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  18659. - Use GetTempDir to find the proper temporary directory location on
  18660. Windows when generating temporary files for the unit tests. Patch by
  18661. Gisle Vanem.
  18662. Changes in version 0.2.2.24-alpha - 2011-04-08
  18663. Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
  18664. prevented Tor clients from effectively using "multihomed" bridges,
  18665. that is, bridges that listen on multiple ports or IP addresses so users
  18666. can continue to use some of their addresses even if others get blocked.
  18667. o Major bugfixes:
  18668. - Fix a bug where bridge users who configure the non-canonical
  18669. address of a bridge automatically switch to its canonical
  18670. address. If a bridge listens at more than one address, it should be
  18671. able to advertise those addresses independently and any non-blocked
  18672. addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
  18673. bug 2510.
  18674. - If you configured Tor to use bridge A, and then quit and
  18675. configured Tor to use bridge B instead, it would happily continue
  18676. to use bridge A if it's still reachable. While this behavior is
  18677. a feature if your goal is connectivity, in some scenarios it's a
  18678. dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
  18679. - Directory authorities now use data collected from their own
  18680. uptime observations when choosing whether to assign the HSDir flag
  18681. to relays, instead of trusting the uptime value the relay reports in
  18682. its descriptor. This change helps prevent an attack where a small
  18683. set of nodes with frequently-changing identity keys can blackhole
  18684. a hidden service. (Only authorities need upgrade; others will be
  18685. fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
  18686. o Minor bugfixes:
  18687. - When we restart our relay, we might get a successful connection
  18688. from the outside before we've started our reachability tests,
  18689. triggering a warning: "ORPort found reachable, but I have no
  18690. routerinfo yet. Failing to inform controller of success." This
  18691. bug was harmless unless Tor is running under a controller
  18692. like Vidalia, in which case the controller would never get a
  18693. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  18694. fixes bug 1172.
  18695. - Make directory authorities more accurate at recording when
  18696. relays that have failed several reachability tests became
  18697. unreachable, so we can provide more accuracy at assigning Stable,
  18698. Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
  18699. - Fix an issue that prevented static linking of libevent on
  18700. some platforms (notably Linux). Fixes bug 2698; bugfix on
  18701. versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
  18702. the --with-static-libevent configure option).
  18703. - We now ask the other side of a stream (the client or the exit)
  18704. for more data on that stream when the amount of queued data on
  18705. that stream dips low enough. Previously, we wouldn't ask the
  18706. other side for more data until either it sent us more data (which
  18707. it wasn't supposed to do if it had exhausted its window!) or we
  18708. had completely flushed all our queued data. This flow control fix
  18709. should improve throughput. Fixes bug 2756; bugfix on the earliest
  18710. released versions of Tor (svn commit r152).
  18711. - Avoid a double-mark-for-free warning when failing to attach a
  18712. transparent proxy connection. (We thought we had fixed this in
  18713. 0.2.2.23-alpha, but it turns out our fix was checking the wrong
  18714. connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
  18715. bug) and 0.2.2.23-alpha (the incorrect fix).
  18716. - When warning about missing zlib development packages during compile,
  18717. give the correct package names. Bugfix on 0.2.0.1-alpha.
  18718. o Minor features:
  18719. - Directory authorities now log the source of a rejected POSTed v3
  18720. networkstatus vote.
  18721. - Make compilation with clang possible when using
  18722. --enable-gcc-warnings by removing two warning options that clang
  18723. hasn't implemented yet and by fixing a few warnings. Implements
  18724. ticket 2696.
  18725. - When expiring circuits, use microsecond timers rather than
  18726. one-second timers. This can avoid an unpleasant situation where a
  18727. circuit is launched near the end of one second and expired right
  18728. near the beginning of the next, and prevent fluctuations in circuit
  18729. timeout values.
  18730. - Use computed circuit-build timeouts to decide when to launch
  18731. parallel introduction circuits for hidden services. (Previously,
  18732. we would retry after 15 seconds.)
  18733. - Update to the April 1 2011 Maxmind GeoLite Country database.
  18734. o Packaging fixes:
  18735. - Create the /var/run/tor directory on startup on OpenSUSE if it is
  18736. not already created. Patch from Andreas Stieger. Fixes bug 2573.
  18737. o Documentation changes:
  18738. - Modernize the doxygen configuration file slightly. Fixes bug 2707.
  18739. - Resolve all doxygen warnings except those for missing documentation.
  18740. Fixes bug 2705.
  18741. - Add doxygen documentation for more functions, fields, and types.
  18742. Changes in version 0.2.2.23-alpha - 2011-03-08
  18743. Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
  18744. they restart they don't lose their bandwidth capacity estimate. This
  18745. release also fixes a diverse set of user-facing bugs, ranging from
  18746. relays overrunning their rate limiting to clients falsely warning about
  18747. clock skew to bridge descriptor leaks by our bridge directory authority.
  18748. o Major bugfixes:
  18749. - Stop sending a CLOCK_SKEW controller status event whenever
  18750. we fetch directory information from a relay that has a wrong clock.
  18751. Instead, only inform the controller when it's a trusted authority
  18752. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  18753. the rest of bug 1074.
  18754. - Fix an assert in parsing router descriptors containing IPv6
  18755. addresses. This one took down the directory authorities when
  18756. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  18757. - Make the bridge directory authority refuse to answer directory
  18758. requests for "all" descriptors. It used to include bridge
  18759. descriptors in its answer, which was a major information leak.
  18760. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  18761. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  18762. Tor would ignore their RelayBandwidthBurst setting,
  18763. potentially using more bandwidth than expected. Bugfix on
  18764. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  18765. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  18766. hidserv" in her torrc. The 'hidserv' argument never controlled
  18767. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  18768. o Major features:
  18769. - Relays now save observed peak bandwidth throughput rates to their
  18770. state file (along with total usage, which was already saved)
  18771. so that they can determine their correct estimated bandwidth on
  18772. restart. Resolves bug 1863, where Tor relays would reset their
  18773. estimated bandwidth to 0 after restarting.
  18774. - Directory authorities now take changes in router IP address and
  18775. ORPort into account when determining router stability. Previously,
  18776. if a router changed its IP or ORPort, the authorities would not
  18777. treat it as having any downtime for the purposes of stability
  18778. calculation, whereas clients would experience downtime since the
  18779. change could take a while to propagate to them. Resolves issue 1035.
  18780. - Enable Address Space Layout Randomization (ASLR) and Data Execution
  18781. Prevention (DEP) by default on Windows to make it harder for
  18782. attackers to exploit vulnerabilities. Patch from John Brooks.
  18783. o Minor bugfixes (on 0.2.1.x and earlier):
  18784. - Fix a rare crash bug that could occur when a client was configured
  18785. with a large number of bridges. Fixes bug 2629; bugfix on
  18786. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  18787. - Avoid a double mark-for-free warning when failing to attach a
  18788. transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
  18789. bug 2279.
  18790. - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
  18791. found by "cypherpunks". This bug was introduced before the first
  18792. Tor release, in svn commit r110.
  18793. - Country codes aren't supported in EntryNodes until 0.2.3.x, so
  18794. don't mention them in the manpage. Fixes bug 2450; issue
  18795. spotted by keb and G-Lo.
  18796. - Fix a bug in bandwidth history state parsing that could have been
  18797. triggered if a future version of Tor ever changed the timing
  18798. granularity at which bandwidth history is measured. Bugfix on
  18799. Tor 0.1.1.11-alpha.
  18800. - When a relay decides that its DNS is too broken for it to serve
  18801. as an exit server, it advertised itself as a non-exit, but
  18802. continued to act as an exit. This could create accidental
  18803. partitioning opportunities for users. Instead, if a relay is
  18804. going to advertise reject *:* as its exit policy, it should
  18805. really act with exit policy "reject *:*". Fixes bug 2366.
  18806. Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
  18807. - In the special case where you configure a public exit relay as your
  18808. bridge, Tor would be willing to use that exit relay as the last
  18809. hop in your circuit as well. Now we fail that circuit instead.
  18810. Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
  18811. - Fix a bug with our locking implementation on Windows that couldn't
  18812. correctly detect when a file was already locked. Fixes bug 2504,
  18813. bugfix on 0.2.1.6-alpha.
  18814. - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
  18815. Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
  18816. "piebeer".
  18817. - Set target port in get_interface_address6() correctly. Bugfix
  18818. on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
  18819. - Directory authorities are now more robust to hops back in time
  18820. when calculating router stability. Previously, if a run of uptime
  18821. or downtime appeared to be negative, the calculation could give
  18822. incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
  18823. bug 1035.
  18824. - Fix an assert that got triggered when using the TestingTorNetwork
  18825. configuration option and then issuing a GETINFO config-text control
  18826. command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
  18827. o Minor bugfixes (on 0.2.2.x):
  18828. - Clients should not weight BadExit nodes as Exits in their node
  18829. selection. Similarly, directory authorities should not count BadExit
  18830. bandwidth as Exit bandwidth when computing bandwidth-weights.
  18831. Bugfix on 0.2.2.10-alpha; fixes bug 2203.
  18832. - Correctly clear our dir_read/dir_write history when there is an
  18833. error parsing any bw history value from the state file. Bugfix on
  18834. Tor 0.2.2.15-alpha.
  18835. - Resolve a bug in verifying signatures of directory objects
  18836. with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
  18837. Fixes bug 2409. Found by "piebeer".
  18838. - Bridge authorities no longer crash on SIGHUP when they try to
  18839. publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
  18840. on 0.2.2.22-alpha.
  18841. o Minor features:
  18842. - Log less aggressively about circuit timeout changes, and improve
  18843. some other circuit timeout messages. Resolves bug 2004.
  18844. - Log a little more clearly about the times at which we're no longer
  18845. accepting new connections. Resolves bug 2181.
  18846. - Reject attempts at the client side to open connections to private
  18847. IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
  18848. a randomly chosen exit node. Attempts to do so are always
  18849. ill-defined, generally prevented by exit policies, and usually
  18850. in error. This will also help to detect loops in transparent
  18851. proxy configurations. You can disable this feature by setting
  18852. "ClientRejectInternalAddresses 0" in your torrc.
  18853. - Always treat failure to allocate an RSA key as an unrecoverable
  18854. allocation error.
  18855. - Update to the March 1 2011 Maxmind GeoLite Country database.
  18856. o Minor features (log subsystem):
  18857. - Add documentation for configuring logging at different severities in
  18858. different log domains. We've had this feature since 0.2.1.1-alpha,
  18859. but for some reason it never made it into the manpage. Fixes
  18860. bug 2215.
  18861. - Make it simpler to specify "All log domains except for A and B".
  18862. Previously you needed to say "[*,~A,~B]". Now you can just say
  18863. "[~A,~B]".
  18864. - Add a "LogMessageDomains 1" option to include the domains of log
  18865. messages along with the messages. Without this, there's no way
  18866. to use log domains without reading the source or doing a lot
  18867. of guessing.
  18868. o Packaging changes:
  18869. - Stop shipping the Tor specs files and development proposal documents
  18870. in the tarball. They are now in a separate git repository at
  18871. git://git.torproject.org/torspec.git
  18872. Changes in version 0.2.1.30 - 2011-02-23
  18873. Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
  18874. change is a slight tweak to Tor's TLS handshake that makes relays
  18875. and bridges that run this new version reachable from Iran again.
  18876. We don't expect this tweak will win the arms race long-term, but it
  18877. buys us time until we roll out a better solution.
  18878. o Major bugfixes:
  18879. - Stop sending a CLOCK_SKEW controller status event whenever
  18880. we fetch directory information from a relay that has a wrong clock.
  18881. Instead, only inform the controller when it's a trusted authority
  18882. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  18883. the rest of bug 1074.
  18884. - Fix a bounds-checking error that could allow an attacker to
  18885. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  18886. Found by "piebeer".
  18887. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  18888. Tor would ignore their RelayBandwidthBurst setting,
  18889. potentially using more bandwidth than expected. Bugfix on
  18890. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  18891. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  18892. hidserv" in her torrc. The 'hidserv' argument never controlled
  18893. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  18894. o Minor features:
  18895. - Adjust our TLS Diffie-Hellman parameters to match those used by
  18896. Apache's mod_ssl.
  18897. - Update to the February 1 2011 Maxmind GeoLite Country database.
  18898. o Minor bugfixes:
  18899. - Check for and reject overly long directory certificates and
  18900. directory tokens before they have a chance to hit any assertions.
  18901. Bugfix on 0.2.1.28. Found by "doorss".
  18902. - Bring the logic that gathers routerinfos and assesses the
  18903. acceptability of circuits into line. This prevents a Tor OP from
  18904. getting locked in a cycle of choosing its local OR as an exit for a
  18905. path (due to a .exit request) and then rejecting the circuit because
  18906. its OR is not listed yet. It also prevents Tor clients from using an
  18907. OR running in the same instance as an exit (due to a .exit request)
  18908. if the OR does not meet the same requirements expected of an OR
  18909. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  18910. o Packaging changes:
  18911. - Stop shipping the Tor specs files and development proposal documents
  18912. in the tarball. They are now in a separate git repository at
  18913. git://git.torproject.org/torspec.git
  18914. - Do not include Git version tags as though they are SVN tags when
  18915. generating a tarball from inside a repository that has switched
  18916. between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  18917. Changes in version 0.2.2.22-alpha - 2011-01-25
  18918. Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
  18919. main other change is a slight tweak to Tor's TLS handshake that makes
  18920. relays and bridges that run this new version reachable from Iran again.
  18921. We don't expect this tweak will win the arms race long-term, but it
  18922. will buy us a bit more time until we roll out a better solution.
  18923. o Major bugfixes:
  18924. - Fix a bounds-checking error that could allow an attacker to
  18925. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  18926. Found by "piebeer".
  18927. - Don't assert when changing from bridge to relay or vice versa
  18928. via the controller. The assert happened because we didn't properly
  18929. initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
  18930. bug 2433. Reported by bastik.
  18931. o Minor features:
  18932. - Adjust our TLS Diffie-Hellman parameters to match those used by
  18933. Apache's mod_ssl.
  18934. - Provide a log message stating which geoip file we're parsing
  18935. instead of just stating that we're parsing the geoip file.
  18936. Implements ticket 2432.
  18937. o Minor bugfixes:
  18938. - Check for and reject overly long directory certificates and
  18939. directory tokens before they have a chance to hit any assertions.
  18940. Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
  18941. Changes in version 0.2.2.21-alpha - 2011-01-15
  18942. Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
  18943. continues our recent code security audit work. The main fix resolves
  18944. a remote heap overflow vulnerability that can allow remote code
  18945. execution (CVE-2011-0427). Other fixes address a variety of assert
  18946. and crash bugs, most of which we think are hard to exploit remotely.
  18947. o Major bugfixes (security), also included in 0.2.1.29:
  18948. - Fix a heap overflow bug where an adversary could cause heap
  18949. corruption. This bug probably allows remote code execution
  18950. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  18951. 0.1.2.10-rc.
  18952. - Prevent a denial-of-service attack by disallowing any
  18953. zlib-compressed data whose compression factor is implausibly
  18954. high. Fixes part of bug 2324; reported by "doorss".
  18955. - Zero out a few more keys in memory before freeing them. Fixes
  18956. bug 2384 and part of bug 2385. These key instances found by
  18957. "cypherpunks", based on Andrew Case's report about being able
  18958. to find sensitive data in Tor's memory space if you have enough
  18959. permissions. Bugfix on 0.0.2pre9.
  18960. o Major bugfixes (crashes), also included in 0.2.1.29:
  18961. - Prevent calls to Libevent from inside Libevent log handlers.
  18962. This had potential to cause a nasty set of crashes, especially
  18963. if running Libevent with debug logging enabled, and running
  18964. Tor with a controller watching for low-severity log messages.
  18965. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  18966. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  18967. underflow errors there too. Fixes the other part of bug 2324.
  18968. - Fix a bug where we would assert if we ever had a
  18969. cached-descriptors.new file (or another file read directly into
  18970. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  18971. on 0.2.1.25. Found by doorss.
  18972. - Fix some potential asserts and parsing issues with grossly
  18973. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  18974. Found by doorss.
  18975. o Minor bugfixes (other), also included in 0.2.1.29:
  18976. - Fix a bug with handling misformed replies to reverse DNS lookup
  18977. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  18978. bug reported by doorss.
  18979. - Fix compilation on mingw when a pthreads compatibility library
  18980. has been installed. (We don't want to use it, so we shouldn't
  18981. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  18982. - Fix a bug where we would declare that we had run out of virtual
  18983. addresses when the address space was only half-exhausted. Bugfix
  18984. on 0.1.2.1-alpha.
  18985. - Correctly handle the case where AutomapHostsOnResolve is set but
  18986. no virtual addresses are available. Fixes bug 2328; bugfix on
  18987. 0.1.2.1-alpha. Bug found by doorss.
  18988. - Correctly handle wrapping around when we run out of virtual
  18989. address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
  18990. o Minor features, also included in 0.2.1.29:
  18991. - Update to the January 1 2011 Maxmind GeoLite Country database.
  18992. - Introduce output size checks on all of our decryption functions.
  18993. o Build changes, also included in 0.2.1.29:
  18994. - Tor does not build packages correctly with Automake 1.6 and earlier;
  18995. added a check to Makefile.am to make sure that we're building with
  18996. Automake 1.7 or later.
  18997. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  18998. because we built it with a too-old version of automake. Thus that
  18999. release broke ./configure --enable-openbsd-malloc, which is popular
  19000. among really fast exit relays on Linux.
  19001. o Major bugfixes, new in 0.2.2.21-alpha:
  19002. - Prevent crash/heap corruption when the cbtnummodes consensus
  19003. parameter is set to 0 or large values. Fixes bug 2317; bugfix
  19004. on 0.2.2.14-alpha.
  19005. o Major features, new in 0.2.2.21-alpha:
  19006. - Introduce minimum/maximum values that clients will believe
  19007. from the consensus. Now we'll have a better chance to avoid crashes
  19008. or worse when a consensus param has a weird value.
  19009. o Minor features, new in 0.2.2.21-alpha:
  19010. - Make sure to disable DirPort if running as a bridge. DirPorts aren't
  19011. used on bridges, and it makes bridge scanning somewhat easier.
  19012. - If writing the state file to disk fails, wait up to an hour before
  19013. retrying again, rather than trying again each second. Fixes bug
  19014. 2346; bugfix on Tor 0.1.1.3-alpha.
  19015. - Make Libevent log messages get delivered to controllers later,
  19016. and not from inside the Libevent log handler. This prevents unsafe
  19017. reentrant Libevent calls while still letting the log messages
  19018. get through.
  19019. - Detect platforms that brokenly use a signed size_t, and refuse to
  19020. build there. Found and analyzed by doorss and rransom.
  19021. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
  19022. Resolves bug 2314.
  19023. o Minor bugfixes, new in 0.2.2.21-alpha:
  19024. - Handle SOCKS messages longer than 128 bytes long correctly, rather
  19025. than waiting forever for them to finish. Fixes bug 2330; bugfix
  19026. on 0.2.0.16-alpha. Found by doorss.
  19027. - Add assertions to check for overflow in arguments to
  19028. base32_encode() and base32_decode(); fix a signed-unsigned
  19029. comparison there too. These bugs are not actually reachable in Tor,
  19030. but it's good to prevent future errors too. Found by doorss.
  19031. - Correctly detect failures to create DNS requests when using Libevent
  19032. versions before v2. (Before Libevent 2, we used our own evdns
  19033. implementation. Its return values for Libevent's evdns_resolve_*()
  19034. functions are not consistent with those from Libevent.) Fixes bug
  19035. 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
  19036. o Documentation, new in 0.2.2.21-alpha:
  19037. - Document the default socks host and port (127.0.0.1:9050) for
  19038. tor-resolve.
  19039. Changes in version 0.2.1.29 - 2011-01-15
  19040. Tor 0.2.1.29 continues our recent code security audit work. The main
  19041. fix resolves a remote heap overflow vulnerability that can allow remote
  19042. code execution. Other fixes address a variety of assert and crash bugs,
  19043. most of which we think are hard to exploit remotely.
  19044. o Major bugfixes (security):
  19045. - Fix a heap overflow bug where an adversary could cause heap
  19046. corruption. This bug probably allows remote code execution
  19047. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  19048. 0.1.2.10-rc.
  19049. - Prevent a denial-of-service attack by disallowing any
  19050. zlib-compressed data whose compression factor is implausibly
  19051. high. Fixes part of bug 2324; reported by "doorss".
  19052. - Zero out a few more keys in memory before freeing them. Fixes
  19053. bug 2384 and part of bug 2385. These key instances found by
  19054. "cypherpunks", based on Andrew Case's report about being able
  19055. to find sensitive data in Tor's memory space if you have enough
  19056. permissions. Bugfix on 0.0.2pre9.
  19057. o Major bugfixes (crashes):
  19058. - Prevent calls to Libevent from inside Libevent log handlers.
  19059. This had potential to cause a nasty set of crashes, especially
  19060. if running Libevent with debug logging enabled, and running
  19061. Tor with a controller watching for low-severity log messages.
  19062. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  19063. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  19064. underflow errors there too. Fixes the other part of bug 2324.
  19065. - Fix a bug where we would assert if we ever had a
  19066. cached-descriptors.new file (or another file read directly into
  19067. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  19068. on 0.2.1.25. Found by doorss.
  19069. - Fix some potential asserts and parsing issues with grossly
  19070. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  19071. Found by doorss.
  19072. o Minor bugfixes (other):
  19073. - Fix a bug with handling misformed replies to reverse DNS lookup
  19074. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  19075. bug reported by doorss.
  19076. - Fix compilation on mingw when a pthreads compatibility library
  19077. has been installed. (We don't want to use it, so we shouldn't
  19078. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  19079. - Fix a bug where we would declare that we had run out of virtual
  19080. addresses when the address space was only half-exhausted. Bugfix
  19081. on 0.1.2.1-alpha.
  19082. - Correctly handle the case where AutomapHostsOnResolve is set but
  19083. no virtual addresses are available. Fixes bug 2328; bugfix on
  19084. 0.1.2.1-alpha. Bug found by doorss.
  19085. - Correctly handle wrapping around to when we run out of virtual
  19086. address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
  19087. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  19088. because we built it with a too-old version of automake. Thus that
  19089. release broke ./configure --enable-openbsd-malloc, which is popular
  19090. among really fast exit relays on Linux.
  19091. o Minor features:
  19092. - Update to the January 1 2011 Maxmind GeoLite Country database.
  19093. - Introduce output size checks on all of our decryption functions.
  19094. o Build changes:
  19095. - Tor does not build packages correctly with Automake 1.6 and earlier;
  19096. added a check to Makefile.am to make sure that we're building with
  19097. Automake 1.7 or later.
  19098. Changes in version 0.2.2.20-alpha - 2010-12-17
  19099. Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
  19100. exploitable bugs. We also fix a variety of other significant bugs,
  19101. change the IP address for one of our directory authorities, and update
  19102. the minimum version that Tor relays must run to join the network.
  19103. o Major bugfixes:
  19104. - Fix a remotely exploitable bug that could be used to crash instances
  19105. of Tor remotely by overflowing on the heap. Remote-code execution
  19106. hasn't been confirmed, but can't be ruled out. Everyone should
  19107. upgrade. Bugfix on the 0.1.1 series and later.
  19108. - Fix a bug that could break accounting on 64-bit systems with large
  19109. time_t values, making them hibernate for impossibly long intervals.
  19110. Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
  19111. - Fix a logic error in directory_fetches_from_authorities() that
  19112. would cause all _non_-exits refusing single-hop-like circuits
  19113. to fetch from authorities, when we wanted to have _exits_ fetch
  19114. from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
  19115. fix by boboper.
  19116. - Fix a stream fairness bug that would cause newer streams on a given
  19117. circuit to get preference when reading bytes from the origin or
  19118. destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
  19119. introduced before the first Tor release, in svn revision r152.
  19120. o Directory authority changes:
  19121. - Change IP address and ports for gabelmoo (v3 directory authority).
  19122. o Minor bugfixes:
  19123. - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
  19124. Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
  19125. - Fix an off-by-one error in calculating some controller command
  19126. argument lengths. Fortunately, this mistake is harmless since
  19127. the controller code does redundant NUL termination too. Found by
  19128. boboper. Bugfix on 0.1.1.1-alpha.
  19129. - Do not dereference NULL if a bridge fails to build its
  19130. extra-info descriptor. Found by an anonymous commenter on
  19131. Trac. Bugfix on 0.2.2.19-alpha.
  19132. o Minor features:
  19133. - Update to the December 1 2010 Maxmind GeoLite Country database.
  19134. - Directory authorities now reject relays running any versions of
  19135. Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
  19136. known bugs that keep RELAY_EARLY cells from working on rendezvous
  19137. circuits. Followup to fix for bug 2081.
  19138. - Directory authorities now reject relays running any version of Tor
  19139. older than 0.2.0.26-rc. That version is the earliest that fetches
  19140. current directory information correctly. Fixes bug 2156.
  19141. - Report only the top 10 ports in exit-port stats in order not to
  19142. exceed the maximum extra-info descriptor length of 50 KB. Implements
  19143. task 2196.
  19144. Changes in version 0.2.1.28 - 2010-12-17
  19145. Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
  19146. exploitable bugs. We also took this opportunity to change the IP address
  19147. for one of our directory authorities, and to update the geoip database
  19148. we ship.
  19149. o Major bugfixes:
  19150. - Fix a remotely exploitable bug that could be used to crash instances
  19151. of Tor remotely by overflowing on the heap. Remote-code execution
  19152. hasn't been confirmed, but can't be ruled out. Everyone should
  19153. upgrade. Bugfix on the 0.1.1 series and later.
  19154. o Directory authority changes:
  19155. - Change IP address and ports for gabelmoo (v3 directory authority).
  19156. o Minor features:
  19157. - Update to the December 1 2010 Maxmind GeoLite Country database.
  19158. Changes in version 0.2.1.27 - 2010-11-23
  19159. Yet another OpenSSL security patch broke its compatibility with Tor:
  19160. Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
  19161. also took this opportunity to fix several crash bugs, integrate a new
  19162. directory authority, and update the bundled GeoIP database.
  19163. o Major bugfixes:
  19164. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  19165. No longer set the tlsext_host_name extension on server SSL objects;
  19166. but continue to set it on client SSL objects. Our goal in setting
  19167. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  19168. bugfix on 0.2.1.1-alpha.
  19169. - Do not log messages to the controller while shrinking buffer
  19170. freelists. Doing so would sometimes make the controller connection
  19171. try to allocate a buffer chunk, which would mess up the internals
  19172. of the freelist and cause an assertion failure. Fixes bug 1125;
  19173. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  19174. - Learn our external IP address when we're a relay or bridge, even if
  19175. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  19176. where we introduced bridge relays that don't need to publish to
  19177. be useful. Fixes bug 2050.
  19178. - Do even more to reject (and not just ignore) annotations on
  19179. router descriptors received anywhere but from the cache. Previously
  19180. we would ignore such annotations at first, but cache them to disk
  19181. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  19182. - When you're using bridges and your network goes away and your
  19183. bridges get marked as down, recover when you attempt a new socks
  19184. connection (if the network is back), rather than waiting up to an
  19185. hour to try fetching new descriptors for your bridges. Bugfix on
  19186. 0.2.0.3-alpha; fixes bug 1981.
  19187. o Major features:
  19188. - Move to the November 2010 Maxmind GeoLite country db (rather
  19189. than the June 2009 ip-to-country GeoIP db) for our statistics that
  19190. count how many users relays are seeing from each country. Now we'll
  19191. have more accurate data, especially for many African countries.
  19192. o New directory authorities:
  19193. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  19194. authority.
  19195. o Minor bugfixes:
  19196. - Fix an assertion failure that could occur in directory caches or
  19197. bridge users when using a very short voting interval on a testing
  19198. network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
  19199. 0.2.0.8-alpha.
  19200. - Enforce multiplicity rules when parsing annotations. Bugfix on
  19201. 0.2.0.8-alpha. Found by piebeer.
  19202. - Allow handshaking OR connections to take a full KeepalivePeriod
  19203. seconds to handshake. Previously, we would close them after
  19204. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  19205. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  19206. for analysis help.
  19207. - When building with --enable-gcc-warnings on OpenBSD, disable
  19208. warnings in system headers. This makes --enable-gcc-warnings
  19209. pass on OpenBSD 4.8.
  19210. o Minor features:
  19211. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  19212. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  19213. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  19214. Servers can start sending this code when enough clients recognize
  19215. it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
  19216. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  19217. Patch from mingw-san.
  19218. o Removed files:
  19219. - Remove the old debian/ directory from the main Tor distribution.
  19220. The official Tor-for-debian git repository lives at the URL
  19221. https://git.torproject.org/debian/tor.git
  19222. - Stop shipping the old doc/website/ directory in the tarball. We
  19223. changed the website format in late 2010, and what we shipped in
  19224. 0.2.1.26 really wasn't that useful anyway.
  19225. Changes in version 0.2.2.19-alpha - 2010-11-22
  19226. Yet another OpenSSL security patch broke its compatibility with Tor:
  19227. Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
  19228. o Major bugfixes:
  19229. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  19230. No longer set the tlsext_host_name extension on server SSL objects;
  19231. but continue to set it on client SSL objects. Our goal in setting
  19232. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  19233. bugfix on 0.2.1.1-alpha.
  19234. o Minor bugfixes:
  19235. - Try harder not to exceed the maximum length of 50 KB when writing
  19236. statistics to extra-info descriptors. This bug was triggered by very
  19237. fast relays reporting exit-port, entry, and dirreq statistics.
  19238. Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
  19239. - Publish a router descriptor even if generating an extra-info
  19240. descriptor fails. Previously we would not publish a router
  19241. descriptor without an extra-info descriptor; this can cause fast
  19242. exit relays collecting exit-port statistics to drop from the
  19243. consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
  19244. Changes in version 0.2.2.18-alpha - 2010-11-16
  19245. Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
  19246. us lately, makes unpublished bridge relays able to detect their IP
  19247. address, and fixes a wide variety of other bugs to get us much closer
  19248. to a stable release.
  19249. o Major bugfixes:
  19250. - Do even more to reject (and not just ignore) annotations on
  19251. router descriptors received anywhere but from the cache. Previously
  19252. we would ignore such annotations at first, but cache them to disk
  19253. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  19254. - Do not log messages to the controller while shrinking buffer
  19255. freelists. Doing so would sometimes make the controller connection
  19256. try to allocate a buffer chunk, which would mess up the internals
  19257. of the freelist and cause an assertion failure. Fixes bug 1125;
  19258. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  19259. - Learn our external IP address when we're a relay or bridge, even if
  19260. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  19261. where we introduced bridge relays that don't need to publish to
  19262. be useful. Fixes bug 2050.
  19263. - Maintain separate TLS contexts and certificates for incoming and
  19264. outgoing connections in bridge relays. Previously we would use the
  19265. same TLS contexts and certs for incoming and outgoing connections.
  19266. Bugfix on 0.2.0.3-alpha; addresses bug 988.
  19267. - Maintain separate identity keys for incoming and outgoing TLS
  19268. contexts in bridge relays. Previously we would use the same
  19269. identity keys for incoming and outgoing TLS contexts. Bugfix on
  19270. 0.2.0.3-alpha; addresses the other half of bug 988.
  19271. - Avoid an assertion failure when we as an authority receive a
  19272. duplicate upload of a router descriptor that we already have,
  19273. but which we previously considered an obsolete descriptor.
  19274. Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
  19275. - Avoid a crash bug triggered by looking at a dangling pointer while
  19276. setting the network status consensus. Found by Robert Ransom.
  19277. Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
  19278. - Fix a logic error where servers that _didn't_ act as exits would
  19279. try to keep their server lists more aggressively up to date than
  19280. exits, when it was supposed to be the other way around. Bugfix
  19281. on 0.2.2.17-alpha.
  19282. o Minor bugfixes (on Tor 0.2.1.x and earlier):
  19283. - When we're trying to guess whether we know our IP address as
  19284. a relay, we would log various ways that we failed to guess
  19285. our address, but never log that we ended up guessing it
  19286. successfully. Now add a log line to help confused and anxious
  19287. relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
  19288. - Bring the logic that gathers routerinfos and assesses the
  19289. acceptability of circuits into line. This prevents a Tor OP from
  19290. getting locked in a cycle of choosing its local OR as an exit for a
  19291. path (due to a .exit request) and then rejecting the circuit because
  19292. its OR is not listed yet. It also prevents Tor clients from using an
  19293. OR running in the same instance as an exit (due to a .exit request)
  19294. if the OR does not meet the same requirements expected of an OR
  19295. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  19296. - Correctly describe errors that occur when generating a TLS object.
  19297. Previously we would attribute them to a failure while generating a
  19298. TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
  19299. bug 1994.
  19300. - Enforce multiplicity rules when parsing annotations. Bugfix on
  19301. 0.2.0.8-alpha. Found by piebeer.
  19302. - Fix warnings that newer versions of autoconf produced during
  19303. ./autogen.sh. These warnings appear to be harmless in our case,
  19304. but they were extremely verbose. Fixes bug 2020.
  19305. o Minor bugfixes (on Tor 0.2.2.x):
  19306. - Enable protection of small arrays whenever we build with gcc
  19307. hardening features, not only when also building with warnings
  19308. enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
  19309. o Minor features:
  19310. - Make hidden services work better in private Tor networks by not
  19311. requiring any uptime to join the hidden service descriptor
  19312. DHT. Implements ticket 2088.
  19313. - Rate-limit the "your application is giving Tor only an IP address"
  19314. warning. Addresses bug 2000; bugfix on 0.0.8pre2.
  19315. - When AllowSingleHopExits is set, print a warning to explain to the
  19316. relay operator why most clients are avoiding her relay.
  19317. - Update to the November 1 2010 Maxmind GeoLite Country database.
  19318. o Code simplifications and refactoring:
  19319. - When we fixed bug 1038 we had to put in a restriction not to send
  19320. RELAY_EARLY cells on rend circuits. This was necessary as long
  19321. as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
  19322. active. Now remove this obsolete check. Resolves bug 2081.
  19323. - Some options used different conventions for uppercasing of acronyms
  19324. when comparing manpage and source. Fix those in favor of the
  19325. manpage, as it makes sense to capitalize acronyms.
  19326. - Remove the torrc.complete file. It hasn't been kept up to date
  19327. and users will have better luck checking out the manpage.
  19328. - Remove the obsolete "NoPublish" option; it has been flagged
  19329. as obsolete and has produced a warning since 0.1.1.18-rc.
  19330. - Remove everything related to building the expert bundle for OS X.
  19331. It has confused many users, doesn't work right on OS X 10.6,
  19332. and is hard to get rid of once installed. Resolves bug 1274.
  19333. Changes in version 0.2.2.17-alpha - 2010-09-30
  19334. Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
  19335. to use one-hop circuits (which can put the exit relays at higher risk,
  19336. plus unbalance the network); fixes a big bug in bandwidth accounting
  19337. for relays that want to limit their monthly bandwidth use; fixes a
  19338. big pile of bugs in how clients tolerate temporary network failure;
  19339. and makes our adaptive circuit build timeout feature (which improves
  19340. client performance if your network is fast while not breaking things
  19341. if your network is slow) better handle bad networks.
  19342. o Major features:
  19343. - Exit relays now try harder to block exit attempts from unknown
  19344. relays, to make it harder for people to use them as one-hop proxies
  19345. a la tortunnel. Controlled by the refuseunknownexits consensus
  19346. parameter (currently enabled), or you can override it on your
  19347. relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
  19348. o Major bugfixes (0.2.1.x and earlier):
  19349. - Fix a bug in bandwidth accounting that could make us use twice
  19350. the intended bandwidth when our interval start changes due to
  19351. daylight saving time. Now we tolerate skew in stored vs computed
  19352. interval starts: if the start of the period changes by no more than
  19353. 50% of the period's duration, we remember bytes that we transferred
  19354. in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
  19355. - Always search the Windows system directory for system DLLs, and
  19356. nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
  19357. - When you're using bridges and your network goes away and your
  19358. bridges get marked as down, recover when you attempt a new socks
  19359. connection (if the network is back), rather than waiting up to an
  19360. hour to try fetching new descriptors for your bridges. Bugfix on
  19361. 0.2.0.3-alpha; fixes bug 1981.
  19362. o Major bugfixes (on 0.2.2.x):
  19363. - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
  19364. bug 1797.
  19365. - Fix a segfault that could happen when operating a bridge relay with
  19366. no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
  19367. - The consensus bandwidth-weights (used by clients to choose fast
  19368. relays) entered an unexpected edge case in September where
  19369. Exits were much scarcer than Guards, resulting in bad weight
  19370. recommendations. Now we compute them using new constraints that
  19371. should succeed in all cases. Also alter directory authorities to
  19372. not include the bandwidth-weights line if they fail to produce
  19373. valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
  19374. - When weighting bridges during path selection, we used to trust
  19375. the bandwidths they provided in their descriptor, only capping them
  19376. at 10MB/s. This turned out to be problematic for two reasons:
  19377. Bridges could claim to handle a lot more traffic then they
  19378. actually would, thus making more clients pick them and have a
  19379. pretty effective DoS attack. The other issue is that new bridges
  19380. that might not have a good estimate for their bw capacity yet
  19381. would not get used at all unless no other bridges are available
  19382. to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
  19383. o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
  19384. - Ignore cannibalized circuits when recording circuit build times.
  19385. This should provide for a minor performance improvement for hidden
  19386. service users using 0.2.2.14-alpha, and should remove two spurious
  19387. notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
  19388. - Simplify the logic that causes us to decide if the network is
  19389. unavailable for purposes of recording circuit build times. If we
  19390. receive no cells whatsoever for the entire duration of a circuit's
  19391. full measured lifetime, the network is probably down. Also ignore
  19392. one-hop directory fetching circuit timeouts when calculating our
  19393. circuit build times. These changes should hopefully reduce the
  19394. cases where we see ridiculous circuit build timeouts for people
  19395. with spotty wireless connections. Fixes part of bug 1772; bugfix
  19396. on 0.2.2.2-alpha.
  19397. - Prevent the circuit build timeout from becoming larger than
  19398. the maximum build time we have ever seen. Also, prevent the time
  19399. period for measurement circuits from becoming larger than twice that
  19400. value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
  19401. o Minor features:
  19402. - When we run out of directory information such that we can't build
  19403. circuits, but then get enough that we can build circuits, log when
  19404. we actually construct a circuit, so the user has a better chance of
  19405. knowing what's going on. Fixes bug 1362.
  19406. - Be more generous with how much bandwidth we'd use up (with
  19407. accounting enabled) before entering "soft hibernation". Previously,
  19408. we'd refuse new connections and circuits once we'd used up 95% of
  19409. our allotment. Now, we use up 95% of our allotment, AND make sure
  19410. that we have no more than 500MB (or 3 hours of expected traffic,
  19411. whichever is lower) remaining before we enter soft hibernation.
  19412. - If we've configured EntryNodes and our network goes away and/or all
  19413. our entrynodes get marked down, optimistically retry them all when
  19414. a new socks application request appears. Fixes bug 1882.
  19415. - Add some more defensive programming for architectures that can't
  19416. handle unaligned integer accesses. We don't know of any actual bugs
  19417. right now, but that's the best time to fix them. Fixes bug 1943.
  19418. - Support line continuations in the torrc config file. If a line
  19419. ends with a single backslash character, the newline is ignored, and
  19420. the configuration value is treated as continuing on the next line.
  19421. Resolves bug 1929.
  19422. o Minor bugfixes (on 0.2.1.x and earlier):
  19423. - For bandwidth accounting, calculate our expected bandwidth rate
  19424. based on the time during which we were active and not in
  19425. soft-hibernation during the last interval. Previously, we were
  19426. also considering the time spent in soft-hibernation. If this
  19427. was a long time, we would wind up underestimating our bandwidth
  19428. by a lot, and skewing our wakeup time towards the start of the
  19429. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
  19430. o Minor bugfixes (on 0.2.2.x):
  19431. - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
  19432. which were disabled by the circuit build timeout changes in
  19433. 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
  19434. - Make sure we don't warn about missing bandwidth weights when
  19435. choosing bridges or other relays not in the consensus. Bugfix on
  19436. 0.2.2.10-alpha; fixes bug 1805.
  19437. - In our logs, do not double-report signatures from unrecognized
  19438. authorities both as "from unknown authority" and "not
  19439. present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
  19440. Changes in version 0.2.2.16-alpha - 2010-09-17
  19441. Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
  19442. evident at exit relays), and also continues to resolve all the little
  19443. bugs that have been filling up trac lately.
  19444. o Major bugfixes (stream-level fairness):
  19445. - When receiving a circuit-level SENDME for a blocked circuit, try
  19446. to package cells fairly from all the streams that had previously
  19447. been blocked on that circuit. Previously, we had started with the
  19448. oldest stream, and allowed each stream to potentially exhaust
  19449. the circuit's package window. This gave older streams on any
  19450. given circuit priority over newer ones. Fixes bug 1937. Detected
  19451. originally by Camilo Viecco. This bug was introduced before the
  19452. first Tor release, in svn commit r152: it is the new winner of
  19453. the longest-lived bug prize.
  19454. - When the exit relay got a circuit-level sendme cell, it started
  19455. reading on the exit streams, even if had 500 cells queued in the
  19456. circuit queue already, so the circuit queue just grew and grew in
  19457. some cases. We fix this by not re-enabling reading on receipt of a
  19458. sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
  19459. on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
  19460. "yetonetime".
  19461. - Newly created streams were allowed to read cells onto circuits,
  19462. even if the circuit's cell queue was blocked and waiting to drain.
  19463. This created potential unfairness, as older streams would be
  19464. blocked, but newer streams would gladly fill the queue completely.
  19465. We add code to detect this situation and prevent any stream from
  19466. getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
  19467. fixes bug 1298.
  19468. o Minor features:
  19469. - Update to the September 1 2010 Maxmind GeoLite Country database.
  19470. - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
  19471. not. This would lead to a cookie that is still not group readable.
  19472. Closes bug 1843. Suggested by katmagic.
  19473. - When logging a rate-limited warning, we now mention how many messages
  19474. got suppressed since the last warning.
  19475. - Add new "perconnbwrate" and "perconnbwburst" consensus params to
  19476. do individual connection-level rate limiting of clients. The torrc
  19477. config options with the same names trump the consensus params, if
  19478. both are present. Replaces the old "bwconnrate" and "bwconnburst"
  19479. consensus params which were broken from 0.2.2.7-alpha through
  19480. 0.2.2.14-alpha. Closes bug 1947.
  19481. - When a router changes IP address or port, authorities now launch
  19482. a new reachability test for it. Implements ticket 1899.
  19483. - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
  19484. 2 no signature, 4 required" messages about consensus signatures
  19485. easier to read, and make sure they get logged at the same severity
  19486. as the messages explaining which keys are which. Fixes bug 1290.
  19487. - Don't warn when we have a consensus that we can't verify because
  19488. of missing certificates, unless those certificates are ones
  19489. that we have been trying and failing to download. Fixes bug 1145.
  19490. - If you configure your bridge with a known identity fingerprint,
  19491. and the bridge authority is unreachable (as it is in at least
  19492. one country now), fall back to directly requesting the descriptor
  19493. from the bridge. Finishes the feature started in 0.2.0.10-alpha;
  19494. closes bug 1138.
  19495. - When building with --enable-gcc-warnings on OpenBSD, disable
  19496. warnings in system headers. This makes --enable-gcc-warnings
  19497. pass on OpenBSD 4.8.
  19498. o Minor bugfixes (on 0.2.1.x and earlier):
  19499. - Authorities will now attempt to download consensuses if their
  19500. own efforts to make a live consensus have failed. This change
  19501. means authorities that restart will fetch a valid consensus, and
  19502. it means authorities that didn't agree with the current consensus
  19503. will still fetch and serve it if it has enough signatures. Bugfix
  19504. on 0.2.0.9-alpha; fixes bug 1300.
  19505. - Ensure DNS requests launched by "RESOLVE" commands from the
  19506. controller respect the __LeaveStreamsUnattached setconf options. The
  19507. same goes for requests launched via DNSPort or transparent
  19508. proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
  19509. - Allow handshaking OR connections to take a full KeepalivePeriod
  19510. seconds to handshake. Previously, we would close them after
  19511. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  19512. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  19513. for analysis help.
  19514. - Rate-limit "Failed to hand off onionskin" warnings.
  19515. - Never relay a cell for a circuit we have already destroyed.
  19516. Between marking a circuit as closeable and finally closing it,
  19517. it may have been possible for a few queued cells to get relayed,
  19518. even though they would have been immediately dropped by the next
  19519. OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
  19520. - Never queue a cell for a circuit that's already been marked
  19521. for close.
  19522. - Never vote for a server as "Running" if we have a descriptor for
  19523. it claiming to be hibernating, and that descriptor was published
  19524. more recently than our last contact with the server. Bugfix on
  19525. 0.2.0.3-alpha; fixes bug 911.
  19526. - Squash a compile warning on OpenBSD. Reported by Tas; fixes
  19527. bug 1848.
  19528. o Minor bugfixes (on 0.2.2.x):
  19529. - Fix a regression introduced in 0.2.2.7-alpha that marked relays
  19530. down if a directory fetch fails and you've configured either
  19531. bridges or EntryNodes. The intent was to mark the relay as down
  19532. _unless_ you're using bridges or EntryNodes, since if you are
  19533. then you could quickly run out of entry points.
  19534. - Fix the Windows directory-listing code. A bug introduced in
  19535. 0.2.2.14-alpha could make Windows directory servers forget to load
  19536. some of their cached v2 networkstatus files.
  19537. - Really allow clients to use relays as bridges. Fixes bug 1776;
  19538. bugfix on 0.2.2.15-alpha.
  19539. - Demote a warn to info that happens when the CellStatistics option
  19540. was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
  19541. Reported by Moritz Bartl.
  19542. - On Windows, build correctly either with or without Unicode support.
  19543. This is necessary so that Tor can support fringe platforms like
  19544. Windows 98 (which has no Unicode), or Windows CE (which has no
  19545. non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
  19546. o Testing
  19547. - Add a unit test for cross-platform directory-listing code.
  19548. Changes in version 0.2.2.15-alpha - 2010-08-18
  19549. Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
  19550. fixes a variety of other bugs that were preventing performance
  19551. experiments from moving forward, fixes several bothersome memory leaks,
  19552. and generally closes a lot of smaller bugs that have been filling up
  19553. trac lately.
  19554. o Major bugfixes:
  19555. - Stop assigning the HSDir flag to relays that disable their
  19556. DirPort (and thus will refuse to answer directory requests). This
  19557. fix should dramatically improve the reachability of hidden services:
  19558. hidden services and hidden service clients pick six HSDir relays
  19559. to store and retrieve the hidden service descriptor, and currently
  19560. about half of the HSDir relays will refuse to work. Bugfix on
  19561. 0.2.0.10-alpha; fixes part of bug 1693.
  19562. - The PerConnBWRate and Burst config options, along with the
  19563. bwconnrate and bwconnburst consensus params, initialized each conn's
  19564. token bucket values only when the connection is established. Now we
  19565. update them if the config options change, and update them every time
  19566. we get a new consensus. Otherwise we can encounter an ugly edge
  19567. case where we initialize an OR conn to client-level bandwidth,
  19568. but then later the relay joins the consensus and we leave it
  19569. throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
  19570. - Fix a regression that caused Tor to rebind its ports if it receives
  19571. SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
  19572. o Major features:
  19573. - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
  19574. should give us approximately 40-50% more Guard-flagged nodes,
  19575. improving the anonymity the Tor network can provide and also
  19576. decreasing the dropoff in throughput that relays experience when
  19577. they first get the Guard flag.
  19578. - Allow enabling or disabling the *Statistics config options while
  19579. Tor is running.
  19580. o Minor features:
  19581. - Update to the August 1 2010 Maxmind GeoLite Country database.
  19582. - Have the controller interface give a more useful message than
  19583. "Internal Error" in response to failed GETINFO requests.
  19584. - Warn when the same option is provided more than once in a torrc
  19585. file, on the command line, or in a single SETCONF statement, and
  19586. the option is one that only accepts a single line. Closes bug 1384.
  19587. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  19588. Patch from mingw-san.
  19589. - Add support for the country code "{??}" in torrc options like
  19590. ExcludeNodes, to indicate all routers of unknown country. Closes
  19591. bug 1094.
  19592. - Relays report the number of bytes spent on answering directory
  19593. requests in extra-info descriptors similar to {read,write}-history.
  19594. Implements enhancement 1790.
  19595. o Minor bugfixes (on 0.2.1.x and earlier):
  19596. - Complain if PublishServerDescriptor is given multiple arguments that
  19597. include 0 or 1. This configuration will be rejected in the future.
  19598. Bugfix on 0.2.0.1-alpha; closes bug 1107.
  19599. - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
  19600. Bugfix on 0.2.0.13-alpha; closes bug 928.
  19601. - Change "Application request when we're believed to be offline."
  19602. notice to "Application request when we haven't used client
  19603. functionality lately.", to clarify that it's not an error. Bugfix
  19604. on 0.0.9.3; fixes bug 1222.
  19605. - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
  19606. would return "551 Internal error" rather than "552 Unrecognized key
  19607. ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
  19608. - Users can't configure a regular relay to be their bridge. It didn't
  19609. work because when Tor fetched the bridge descriptor, it found
  19610. that it already had it, and didn't realize that the purpose of the
  19611. descriptor had changed. Now we replace routers with a purpose other
  19612. than bridge with bridge descriptors when fetching them. Bugfix on
  19613. 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
  19614. refetch the descriptor with router purpose 'general', disabling
  19615. it as a bridge.
  19616. - Fix a rare bug in rend_fn unit tests: we would fail a test when
  19617. a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
  19618. on 0.2.0.10-alpha; fixes bug 1808.
  19619. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  19620. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  19621. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  19622. Servers can start sending this code when enough clients recognize
  19623. it. Also update the spec to reflect this new reason. Bugfix on
  19624. 0.1.0.1-rc; fixes part of bug 1793.
  19625. - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
  19626. when we switch from being a public relay to a bridge. Otherwise
  19627. there will still be clients that see the relay in their consensus,
  19628. and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
  19629. 932 even more.
  19630. - Instead of giving an assertion failure on an internal mismatch
  19631. on estimated freelist size, just log a BUG warning and try later.
  19632. Mitigates but does not fix bug 1125.
  19633. - Fix an assertion failure that could occur in caches or bridge users
  19634. when using a very short voting interval on a testing network.
  19635. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
  19636. o Minor bugfixes (on 0.2.2.x):
  19637. - Alter directory authorities to always consider Exit-flagged nodes
  19638. as potential Guard nodes in their votes. The actual decision to
  19639. use Exits as Guards is done in the consensus bandwidth weights.
  19640. Fixes bug 1294; bugfix on 0.2.2.10-alpha.
  19641. - When the controller is reporting the purpose of circuits that
  19642. didn't finish building before the circuit build timeout, it was
  19643. printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
  19644. - Our libevent version parsing code couldn't handle versions like
  19645. 1.4.14b-stable and incorrectly warned the user about using an
  19646. old and broken version of libevent. Treat 1.4.14b-stable like
  19647. 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
  19648. on 0.2.2.1-alpha.
  19649. - Don't use substitution references like $(VAR:MOD) when
  19650. $(asciidoc_files) is empty -- make(1) on NetBSD transforms
  19651. '$(:x)' to 'x' rather than the empty string. This bites us in
  19652. doc/ when configured with --disable-asciidoc. Bugfix on
  19653. 0.2.2.9-alpha; fixes bug 1773.
  19654. - Remove a spurious hidden service server-side log notice about
  19655. "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
  19656. bug 1741.
  19657. - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
  19658. fixes bug 1832.
  19659. - Correctly report written bytes on linked connections. Found while
  19660. implementing 1790. Bugfix on 0.2.2.4-alpha.
  19661. - Fix three memory leaks: one in circuit_build_times_parse_state(),
  19662. one in dirvote_add_signatures_to_pending_consensus(), and one every
  19663. time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
  19664. 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
  19665. o Code simplifications and refactoring:
  19666. - Take a first step towards making or.h smaller by splitting out
  19667. function definitions for all source files in src/or/. Leave
  19668. structures and defines in or.h for now.
  19669. - Remove a bunch of unused function declarations as well as a block of
  19670. #if 0'd code from the unit tests. Closes bug 1824.
  19671. - New unit tests for exit-port history statistics; refactored exit
  19672. statistics code to be more easily tested.
  19673. - Remove the old debian/ directory from the main Tor distribution.
  19674. The official Tor-for-debian git repository lives at the URL
  19675. https://git.torproject.org/debian/tor.git
  19676. Changes in version 0.2.2.14-alpha - 2010-07-12
  19677. Tor 0.2.2.14-alpha greatly improves client-side handling of
  19678. circuit build timeouts, which are used to estimate speed and improve
  19679. performance. We also move to a much better GeoIP database, port Tor to
  19680. Windows CE, introduce new compile flags that improve code security,
  19681. add an eighth v3 directory authority, and address a lot of more
  19682. minor issues.
  19683. o Major bugfixes:
  19684. - Tor directory authorities no longer crash when started with a
  19685. cached-microdesc-consensus file in their data directory. Bugfix
  19686. on 0.2.2.6-alpha; fixes bug 1532.
  19687. - Treat an unset $HOME like an empty $HOME rather than triggering an
  19688. assert. Bugfix on 0.0.8pre1; fixes bug 1522.
  19689. - Ignore negative and large circuit build timeout values that can
  19690. happen during a suspend or hibernate. These values caused various
  19691. asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
  19692. - Alter calculation of Pareto distribution parameter 'Xm' for
  19693. Circuit Build Timeout learning to use the weighted average of the
  19694. top N=3 modes (because we have three entry guards). Considering
  19695. multiple modes should improve the timeout calculation in some cases,
  19696. and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
  19697. fixes bug 1335.
  19698. - Alter calculation of Pareto distribution parameter 'Alpha' to use a
  19699. right censored distribution model. This approach improves over the
  19700. synthetic timeout generation approach that was producing insanely
  19701. high timeout values. Now we calculate build timeouts using truncated
  19702. times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
  19703. - Do not close circuits that are under construction when they reach
  19704. the circuit build timeout. Instead, leave them building (but do not
  19705. use them) for up until the time corresponding to the 95th percentile
  19706. on the Pareto CDF or 60 seconds, whichever is greater. This is done
  19707. to provide better data for the new Pareto model. This percentile
  19708. can be controlled by the consensus.
  19709. o Major features:
  19710. - Move to the June 2010 Maxmind GeoLite country db (rather than the
  19711. June 2009 ip-to-country GeoIP db) for our statistics that count
  19712. how many users relays are seeing from each country. Now we have
  19713. more accurate data for many African countries.
  19714. - Port Tor to build and run correctly on Windows CE systems, using
  19715. the wcecompat library. Contributed by Valerio Lupi.
  19716. - New "--enable-gcc-hardening" ./configure flag (off by default)
  19717. to turn on gcc compile time hardening options. It ensures
  19718. that signed ints have defined behavior (-fwrapv), enables
  19719. -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
  19720. with canaries (-fstack-protector-all), turns on ASLR protection if
  19721. supported by the kernel (-fPIE, -pie), and adds additional security
  19722. related warnings. Verified to work on Mac OS X and Debian Lenny.
  19723. - New "--enable-linker-hardening" ./configure flag (off by default)
  19724. to turn on ELF specific hardening features (relro, now). This does
  19725. not work with Mac OS X or any other non-ELF binary format.
  19726. o New directory authorities:
  19727. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  19728. authority.
  19729. o Minor features:
  19730. - New config option "WarnUnsafeSocks 0" disables the warning that
  19731. occurs whenever Tor receives a socks handshake using a version of
  19732. the socks protocol that can only provide an IP address (rather
  19733. than a hostname). Setups that do DNS locally over Tor are fine,
  19734. and we shouldn't spam the logs in that case.
  19735. - Convert the HACKING file to asciidoc, and add a few new sections
  19736. to it, explaining how we use Git, how we make changelogs, and
  19737. what should go in a patch.
  19738. - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
  19739. event, to give information on the current rate of circuit timeouts
  19740. over our stored history.
  19741. - Add ability to disable circuit build time learning via consensus
  19742. parameter and via a LearnCircuitBuildTimeout config option. Also
  19743. automatically disable circuit build time calculation if we are
  19744. either a AuthoritativeDirectory, or if we fail to write our state
  19745. file. Fixes bug 1296.
  19746. - More gracefully handle corrupt state files, removing asserts
  19747. in favor of saving a backup and resetting state.
  19748. - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
  19749. system headers.
  19750. o Minor bugfixes:
  19751. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  19752. enabled.
  19753. - When a2x fails, mention that the user could disable manpages instead
  19754. of trying to fix their asciidoc installation.
  19755. - Where available, use Libevent 2.0's periodic timers so that our
  19756. once-per-second cleanup code gets called even more closely to
  19757. once per second than it would otherwise. Fixes bug 943.
  19758. - If you run a bridge that listens on multiple IP addresses, and
  19759. some user configures a bridge address that uses a different IP
  19760. address than your bridge writes in its router descriptor, and the
  19761. user doesn't specify an identity key, their Tor would discard the
  19762. descriptor because "it isn't one of our configured bridges", and
  19763. fail to bootstrap. Now believe the descriptor and bootstrap anyway.
  19764. Bugfix on 0.2.0.3-alpha.
  19765. - If OpenSSL fails to make a duplicate of a private or public key, log
  19766. an error message and try to exit cleanly. May help with debugging
  19767. if bug 1209 ever remanifests.
  19768. - Save a couple bytes in memory allocation every time we escape
  19769. certain characters in a string. Patch from Florian Zumbiehl.
  19770. - Make it explicit that we don't cannibalize one-hop circuits. This
  19771. happens in the wild, but doesn't turn out to be a problem because
  19772. we fortunately don't use those circuits. Many thanks to outofwords
  19773. for the initial analysis and to swissknife who confirmed that
  19774. two-hop circuits are actually created.
  19775. - Make directory mirrors report non-zero dirreq-v[23]-shares again.
  19776. Fixes bug 1564; bugfix on 0.2.2.9-alpha.
  19777. - Eliminate a case where a circuit build time warning was displayed
  19778. after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
  19779. Changes in version 0.2.1.26 - 2010-05-02
  19780. Tor 0.2.1.26 addresses the recent connection and memory overload
  19781. problems we've been seeing on relays, especially relays with their
  19782. DirPort open. If your relay has been crashing, or you turned it off
  19783. because it used too many resources, give this release a try.
  19784. This release also fixes yet another instance of broken OpenSSL libraries
  19785. that was causing some relays to drop out of the consensus.
  19786. o Major bugfixes:
  19787. - Teach relays to defend themselves from connection overload. Relays
  19788. now close idle circuits early if it looks like they were intended
  19789. for directory fetches. Relays are also more aggressive about closing
  19790. TLS connections that have no circuits on them. Such circuits are
  19791. unlikely to be re-used, and tens of thousands of them were piling
  19792. up at the fast relays, causing the relays to run out of sockets
  19793. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  19794. their directory fetches over TLS).
  19795. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  19796. that claim to be earlier than 0.9.8m, but which have in reality
  19797. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  19798. behavior. Possible fix for some cases of bug 1346.
  19799. - Directory mirrors were fetching relay descriptors only from v2
  19800. directory authorities, rather than v3 authorities like they should.
  19801. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  19802. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  19803. o Minor bugfixes:
  19804. - Finally get rid of the deprecated and now harmful notion of "clique
  19805. mode", where directory authorities maintain TLS connections to
  19806. every other relay.
  19807. o Testsuite fixes:
  19808. - In the util/threads test, no longer free the test_mutex before all
  19809. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  19810. - The master thread could starve the worker threads quite badly on
  19811. certain systems, causing them to run only partially in the allowed
  19812. window. This resulted in test failures. Now the master thread sleeps
  19813. occasionally for a few microseconds while the two worker-threads
  19814. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  19815. Changes in version 0.2.2.13-alpha - 2010-04-24
  19816. Tor 0.2.2.13-alpha addresses the recent connection and memory overload
  19817. problems we've been seeing on relays, especially relays with their
  19818. DirPort open. If your relay has been crashing, or you turned it off
  19819. because it used too many resources, give this release a try.
  19820. o Major bugfixes:
  19821. - Teach relays to defend themselves from connection overload. Relays
  19822. now close idle circuits early if it looks like they were intended
  19823. for directory fetches. Relays are also more aggressive about closing
  19824. TLS connections that have no circuits on them. Such circuits are
  19825. unlikely to be re-used, and tens of thousands of them were piling
  19826. up at the fast relays, causing the relays to run out of sockets
  19827. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  19828. their directory fetches over TLS).
  19829. o Minor features:
  19830. - Finally get rid of the deprecated and now harmful notion of "clique
  19831. mode", where directory authorities maintain TLS connections to
  19832. every other relay.
  19833. - Directory authorities now do an immediate reachability check as soon
  19834. as they hear about a new relay. This change should slightly reduce
  19835. the time between setting up a relay and getting listed as running
  19836. in the consensus. It should also improve the time between setting
  19837. up a bridge and seeing use by bridge users.
  19838. - Directory authorities no longer launch a TLS connection to every
  19839. relay as they startup. Now that we have 2k+ descriptors cached,
  19840. the resulting network hiccup is becoming a burden. Besides,
  19841. authorities already avoid voting about Running for the first half
  19842. hour of their uptime.
  19843. Changes in version 0.2.2.12-alpha - 2010-04-20
  19844. Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
  19845. handle and vote on descriptors. It was causing relays to drop out of
  19846. the consensus.
  19847. o Major bugfixes:
  19848. - Many relays have been falling out of the consensus lately because
  19849. not enough authorities know about their descriptor for them to get
  19850. a majority of votes. When we deprecated the v2 directory protocol,
  19851. we got rid of the only way that v3 authorities can hear from each
  19852. other about other descriptors. Now authorities examine every v3
  19853. vote for new descriptors, and fetch them from that authority. Bugfix
  19854. on 0.2.1.23.
  19855. - Fix two typos in tor_vasprintf() that broke the compile on Windows,
  19856. and a warning in or.h related to bandwidth_weight_rule_t that
  19857. prevented clean compile on OS X. Fixes bug 1363; bugfix on
  19858. 0.2.2.11-alpha.
  19859. - Fix a segfault on relays when DirReqStatistics is enabled
  19860. and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
  19861. 0.2.2.11-alpha.
  19862. o Minor bugfixes:
  19863. - Demote a confusing TLS warning that relay operators might get when
  19864. someone tries to talk to their OrPort. It is neither the operator's
  19865. fault nor can they do anything about it. Fixes bug 1364; bugfix
  19866. on 0.2.0.14-alpha.
  19867. Changes in version 0.2.2.11-alpha - 2010-04-15
  19868. Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
  19869. libraries that was causing some relays to drop out of the consensus.
  19870. o Major bugfixes:
  19871. - Directory mirrors were fetching relay descriptors only from v2
  19872. directory authorities, rather than v3 authorities like they should.
  19873. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  19874. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  19875. - Fix a parsing error that made every possible value of
  19876. CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
  19877. on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
  19878. CircuitPriorityHalflifeMsec, so authorities can tell newer relays
  19879. about the option without breaking older ones.
  19880. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  19881. that claim to be earlier than 0.9.8m, but which have in reality
  19882. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  19883. behavior. Possible fix for some cases of bug 1346.
  19884. o Minor features:
  19885. - Experiment with a more aggressive approach to preventing clients
  19886. from making one-hop exit streams. Exit relays who want to try it
  19887. out can set "RefuseUnknownExits 1" in their torrc, and then look
  19888. for "Attempt by %s to open a stream" log messages. Let us know
  19889. how it goes!
  19890. - Add support for statically linking zlib by specifying
  19891. --enable-static-zlib, to go with our support for statically linking
  19892. openssl and libevent. Resolves bug 1358.
  19893. o Minor bugfixes:
  19894. - Fix a segfault that happens whenever a Tor client that is using
  19895. libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
  19896. fixes bug 1341.
  19897. - When we cleaned up the contrib/tor-exit-notice.html file, we left
  19898. out the first line. Fixes bug 1295.
  19899. - When building the manpage from a tarball, we required asciidoc, but
  19900. the asciidoc -> roff/html conversion was already done for the
  19901. tarball. Make 'make' complain only when we need asciidoc (either
  19902. because we're compiling directly from git, or because we altered
  19903. the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
  19904. - When none of the directory authorities vote on any params, Tor
  19905. segfaulted when trying to make the consensus from the votes. We
  19906. didn't trigger the bug in practice, because authorities do include
  19907. params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
  19908. o Testsuite fixes:
  19909. - In the util/threads test, no longer free the test_mutex before all
  19910. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  19911. - The master thread could starve the worker threads quite badly on
  19912. certain systems, causing them to run only partially in the allowed
  19913. window. This resulted in test failures. Now the master thread sleeps
  19914. occasionally for a few microseconds while the two worker-threads
  19915. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  19916. Changes in version 0.2.2.10-alpha - 2010-03-07
  19917. Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
  19918. could prevent relays from guessing their IP address correctly. It also
  19919. starts the groundwork for another client-side performance boost, since
  19920. currently we're not making efficient use of relays that have both the
  19921. Guard flag and the Exit flag.
  19922. o Major bugfixes:
  19923. - Fix a regression from our patch for bug 1244 that caused relays
  19924. to guess their IP address incorrectly if they didn't set Address
  19925. in their torrc and/or their address fails to resolve. Bugfix on
  19926. 0.2.2.9-alpha; fixes bug 1269.
  19927. o Major features (performance):
  19928. - Directory authorities now compute consensus weightings that instruct
  19929. clients how to weight relays flagged as Guard, Exit, Guard+Exit,
  19930. and no flag. Clients that use these weightings will distribute
  19931. network load more evenly across these different relay types. The
  19932. weightings are in the consensus so we can change them globally in
  19933. the future. Extra thanks to "outofwords" for finding some nasty
  19934. security bugs in the first implementation of this feature.
  19935. o Minor features (performance):
  19936. - Always perform router selections using weighted relay bandwidth,
  19937. even if we don't need a high capacity circuit at the time. Non-fast
  19938. circuits now only differ from fast ones in that they can use relays
  19939. not marked with the Fast flag. This "feature" could turn out to
  19940. be a horrible bug; we should investigate more before it goes into
  19941. a stable release.
  19942. o Minor features:
  19943. - Allow disabling building of the manpages. Skipping the manpage
  19944. speeds up the build considerably.
  19945. o Minor bugfixes (on 0.2.2.x):
  19946. - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
  19947. Bugfix on 0.2.2.9-alpha.
  19948. - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
  19949. config option. Bugfix on 0.2.2.7-alpha.
  19950. - Ship the asciidoc-helper file in the tarball, so that people can
  19951. build from source if they want to, and touching the .1.txt files
  19952. doesn't break the build. Bugfix on 0.2.2.9-alpha.
  19953. o Minor bugfixes (on 0.2.1.x or earlier):
  19954. - Fix a dereference-then-NULL-check sequence when publishing
  19955. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  19956. bug 1255.
  19957. - Fix another dereference-then-NULL-check sequence. Bugfix on
  19958. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  19959. - Make sure we treat potentially not NUL-terminated strings correctly.
  19960. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  19961. o Code simplifications and refactoring:
  19962. - Fix some urls in the exit notice file and make it XHTML1.1 strict
  19963. compliant. Based on a patch from Christian Kujau.
  19964. - Don't use sed in asciidoc-helper anymore.
  19965. - Make the build process fail if asciidoc cannot be found and
  19966. building with asciidoc isn't disabled.
  19967. Changes in version 0.2.2.9-alpha - 2010-02-22
  19968. Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
  19969. location of a directory authority, and cleans up a bunch of small bugs.
  19970. o Directory authority changes:
  19971. - Change IP address for dannenberg (v3 directory authority), and
  19972. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  19973. service directory authority) from the list.
  19974. o Major bugfixes:
  19975. - Make Tor work again on the latest OS X: when deciding whether to
  19976. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  19977. version at run-time, not compile time. We need to do this because
  19978. Apple doesn't update its dev-tools headers when it updates its
  19979. libraries in a security patch.
  19980. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  19981. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  19982. a memory leak when requesting a hidden service descriptor we've
  19983. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  19984. by aakova.
  19985. - Authorities could be tricked into giving out the Exit flag to relays
  19986. that didn't allow exiting to any ports. This bug could screw
  19987. with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
  19988. 1238. Bug discovered by Martin Kowalczyk.
  19989. - When freeing a session key, zero it out completely. We only zeroed
  19990. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  19991. patched by ekir. Fixes bug 1254.
  19992. o Minor bugfixes:
  19993. - Fix static compilation by listing the openssl libraries in the right
  19994. order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
  19995. - Resume handling .exit hostnames in a special way: originally we
  19996. stripped the .exit part and used the requested exit relay. In
  19997. 0.2.2.1-alpha we stopped treating them in any special way, meaning
  19998. if you use a .exit address then Tor will pass it on to the exit
  19999. relay. Now we reject the .exit stream outright, since that behavior
  20000. might be more expected by the user. Found and diagnosed by Scott
  20001. Bennett and Downie on or-talk.
  20002. - Don't spam the controller with events when we have no file
  20003. descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
  20004. for log messages was already solved from bug 748.)
  20005. - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
  20006. "memcpyfail".
  20007. - Make the DNSPort option work with libevent 2.x. Don't alter the
  20008. behavior for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
  20009. - Emit a GUARD DROPPED controller event for a case we missed.
  20010. - Make more fields in the controller protocol case-insensitive, since
  20011. control-spec.txt said they were.
  20012. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  20013. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  20014. - Fix a spec conformance issue: the network-status-version token
  20015. must be the first token in a v3 consensus or vote. Discovered by
  20016. parakeep. Bugfix on 0.2.0.3-alpha.
  20017. o Code simplifications and refactoring:
  20018. - Generate our manpage and HTML documentation using Asciidoc. This
  20019. change should make it easier to maintain the documentation, and
  20020. produce nicer HTML.
  20021. - Remove the --enable-iphone option. According to reports from Marco
  20022. Bonetti, Tor builds fine without any special tweaking on recent
  20023. iPhone SDK versions.
  20024. - Removed some unnecessary files from the source distribution. The
  20025. AUTHORS file has now been merged into the people page on the
  20026. website. The roadmaps and design doc can now be found in the
  20027. projects directory in svn.
  20028. - Enabled various circuit build timeout constants to be controlled
  20029. by consensus parameters. Also set better defaults for these
  20030. parameters based on experimentation on broadband and simulated
  20031. high latency links.
  20032. o Minor features:
  20033. - The 'EXTENDCIRCUIT' control port command can now be used with
  20034. a circ id of 0 and no path. This feature will cause Tor to build
  20035. a new 'fast' general purpose circuit using its own path selection
  20036. algorithms.
  20037. - Added a BUILDTIMEOUT_SET controller event to describe changes
  20038. to the circuit build timeout.
  20039. - Future-proof the controller protocol a bit by ignoring keyword
  20040. arguments we do not recognize.
  20041. - Expand homedirs passed to tor-checkkey. This should silence a
  20042. coverity complaint about passing a user-supplied string into
  20043. open() without checking it.
  20044. Changes in version 0.2.1.25 - 2010-03-16
  20045. Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
  20046. prevent relays from guessing their IP address correctly. It also fixes
  20047. several minor potential security bugs.
  20048. o Major bugfixes:
  20049. - Fix a regression from our patch for bug 1244 that caused relays
  20050. to guess their IP address incorrectly if they didn't set Address
  20051. in their torrc and/or their address fails to resolve. Bugfix on
  20052. 0.2.1.23; fixes bug 1269.
  20053. - When freeing a session key, zero it out completely. We only zeroed
  20054. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  20055. patched by ekir. Fixes bug 1254.
  20056. o Minor bugfixes:
  20057. - Fix a dereference-then-NULL-check sequence when publishing
  20058. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  20059. bug 1255.
  20060. - Fix another dereference-then-NULL-check sequence. Bugfix on
  20061. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  20062. - Make sure we treat potentially not NUL-terminated strings correctly.
  20063. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  20064. Changes in version 0.2.1.24 - 2010-02-21
  20065. Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  20066. for sure!
  20067. o Minor bugfixes:
  20068. - Work correctly out-of-the-box with even more vendor-patched versions
  20069. of OpenSSL. In particular, make it so Debian and OS X don't need
  20070. customized patches to run/build.
  20071. Changes in version 0.2.1.23 - 2010-02-13
  20072. Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  20073. again on the latest OS X, and updates the location of a directory
  20074. authority.
  20075. o Major bugfixes (performance):
  20076. - We were selecting our guards uniformly at random, and then weighting
  20077. which of our guards we'd use uniformly at random. This imbalance
  20078. meant that Tor clients were severely limited on throughput (and
  20079. probably latency too) by the first hop in their circuit. Now we
  20080. select guards weighted by currently advertised bandwidth. We also
  20081. automatically discard guards picked using the old algorithm. Fixes
  20082. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  20083. o Major bugfixes:
  20084. - Make Tor work again on the latest OS X: when deciding whether to
  20085. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  20086. version at run-time, not compile time. We need to do this because
  20087. Apple doesn't update its dev-tools headers when it updates its
  20088. libraries in a security patch.
  20089. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  20090. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  20091. a memory leak when requesting a hidden service descriptor we've
  20092. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  20093. by aakova.
  20094. o Directory authority changes:
  20095. - Change IP address for dannenberg (v3 directory authority), and
  20096. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  20097. service directory authority) from the list.
  20098. o Minor bugfixes:
  20099. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  20100. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  20101. o Minor features:
  20102. - Avoid a mad rush at the beginning of each month when each client
  20103. rotates half of its guards. Instead we spread the rotation out
  20104. throughout the month, but we still avoid leaving a precise timestamp
  20105. in the state file about when we first picked the guard. Improves
  20106. over the behavior introduced in 0.1.2.17.
  20107. Changes in version 0.2.2.8-alpha - 2010-01-26
  20108. Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
  20109. causing bridge relays to disappear. If you're running a bridge,
  20110. please upgrade.
  20111. o Major bugfixes:
  20112. - Fix a memory corruption bug on bridges that occurred during the
  20113. inclusion of stats data in extra-info descriptors. Also fix the
  20114. interface for geoip_get_bridge_stats* to prevent similar bugs in
  20115. the future. Diagnosis by Tas, patch by Karsten and Sebastian.
  20116. Fixes bug 1208; bugfix on 0.2.2.7-alpha.
  20117. o Minor bugfixes:
  20118. - Ignore OutboundBindAddress when connecting to localhost.
  20119. Connections to localhost need to come _from_ localhost, or else
  20120. local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
  20121. refuse to listen.
  20122. Changes in version 0.2.2.7-alpha - 2010-01-19
  20123. Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
  20124. as laying the groundwork for further relay-side performance fixes. It
  20125. also starts cleaning up client behavior with respect to the EntryNodes,
  20126. ExitNodes, and StrictNodes config options.
  20127. This release also rotates two directory authority keys, due to a
  20128. security breach of some of the Torproject servers.
  20129. o Directory authority changes:
  20130. - Rotate keys (both v3 identity and relay identity) for moria1
  20131. and gabelmoo.
  20132. o Major features (performance):
  20133. - We were selecting our guards uniformly at random, and then weighting
  20134. which of our guards we'd use uniformly at random. This imbalance
  20135. meant that Tor clients were severely limited on throughput (and
  20136. probably latency too) by the first hop in their circuit. Now we
  20137. select guards weighted by currently advertised bandwidth. We also
  20138. automatically discard guards picked using the old algorithm. Fixes
  20139. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  20140. - When choosing which cells to relay first, relays can now favor
  20141. circuits that have been quiet recently, to provide lower latency
  20142. for low-volume circuits. By default, relays enable or disable this
  20143. feature based on a setting in the consensus. You can override
  20144. this default by using the new "CircuitPriorityHalflife" config
  20145. option. Design and code by Ian Goldberg, Can Tang, and Chris
  20146. Alexander.
  20147. - Add separate per-conn write limiting to go with the per-conn read
  20148. limiting. We added a global write limit in Tor 0.1.2.5-alpha,
  20149. but never per-conn write limits.
  20150. - New consensus params "bwconnrate" and "bwconnburst" to let us
  20151. rate-limit client connections as they enter the network. It's
  20152. controlled in the consensus so we can turn it on and off for
  20153. experiments. It's starting out off. Based on proposal 163.
  20154. o Major features (relay selection options):
  20155. - Switch to a StrictNodes config option, rather than the previous
  20156. "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
  20157. "StrictExcludeNodes" option.
  20158. - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
  20159. change during a config reload, mark and discard all our origin
  20160. circuits. This fix should address edge cases where we change the
  20161. config options and but then choose a circuit that we created before
  20162. the change.
  20163. - If EntryNodes or ExitNodes are set, be more willing to use an
  20164. unsuitable (e.g. slow or unstable) circuit. The user asked for it,
  20165. they get it.
  20166. - Make EntryNodes config option much more aggressive even when
  20167. StrictNodes is not set. Before it would prepend your requested
  20168. entrynodes to your list of guard nodes, but feel free to use others
  20169. after that. Now it chooses only from your EntryNodes if any of
  20170. those are available, and only falls back to others if a) they're
  20171. all down and b) StrictNodes is not set.
  20172. - Now we refresh your entry guards from EntryNodes at each consensus
  20173. fetch -- rather than just at startup and then they slowly rot as
  20174. the network changes.
  20175. o Major bugfixes:
  20176. - Stop bridge directory authorities from answering dbg-stability.txt
  20177. directory queries, which would let people fetch a list of all
  20178. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  20179. o Minor features:
  20180. - Log a notice when we get a new control connection. Now it's easier
  20181. for security-conscious users to recognize when a local application
  20182. is knocking on their controller door. Suggested by bug 1196.
  20183. - New config option "CircuitStreamTimeout" to override our internal
  20184. timeout schedule for how many seconds until we detach a stream from
  20185. a circuit and try a new circuit. If your network is particularly
  20186. slow, you might want to set this to a number like 60.
  20187. - New controller command "getinfo config-text". It returns the
  20188. contents that Tor would write if you send it a SAVECONF command,
  20189. so the controller can write the file to disk itself.
  20190. - New options for SafeLogging to allow scrubbing only log messages
  20191. generated while acting as a relay.
  20192. - Ship the bridges spec file in the tarball too.
  20193. - Avoid a mad rush at the beginning of each month when each client
  20194. rotates half of its guards. Instead we spread the rotation out
  20195. throughout the month, but we still avoid leaving a precise timestamp
  20196. in the state file about when we first picked the guard. Improves
  20197. over the behavior introduced in 0.1.2.17.
  20198. o Minor bugfixes (compiling):
  20199. - Fix compilation on OS X 10.3, which has a stub mlockall() but
  20200. hides it. Bugfix on 0.2.2.6-alpha.
  20201. - Fix compilation on Solaris by removing support for the
  20202. DisableAllSwap config option. Solaris doesn't have an rlimit for
  20203. mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
  20204. 0.2.2.6-alpha.
  20205. o Minor bugfixes (crashes):
  20206. - Do not segfault when writing buffer stats when we haven't observed
  20207. a single circuit to report about. Found by Fabian Lanze. Bugfix on
  20208. 0.2.2.1-alpha.
  20209. - If we're in the pathological case where there's no exit bandwidth
  20210. but there is non-exit bandwidth, or no guard bandwidth but there
  20211. is non-guard bandwidth, don't crash during path selection. Bugfix
  20212. on 0.2.0.3-alpha.
  20213. - Fix an impossible-to-actually-trigger buffer overflow in relay
  20214. descriptor generation. Bugfix on 0.1.0.15.
  20215. o Minor bugfixes (privacy):
  20216. - Fix an instance where a Tor directory mirror might accidentally
  20217. log the IP address of a misbehaving Tor client. Bugfix on
  20218. 0.1.0.1-rc.
  20219. - Don't list Windows capabilities in relay descriptors. We never made
  20220. use of them, and maybe it's a bad idea to publish them. Bugfix
  20221. on 0.1.1.8-alpha.
  20222. o Minor bugfixes (other):
  20223. - Resolve an edge case in path weighting that could make us misweight
  20224. our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
  20225. - Fix statistics on client numbers by country as seen by bridges that
  20226. were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
  20227. intervals instead of variable 12-to-48-hour intervals.
  20228. - After we free an internal connection structure, overwrite it
  20229. with a different memory value than we use for overwriting a freed
  20230. internal circuit structure. Should help with debugging. Suggested
  20231. by bug 1055.
  20232. - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
  20233. too.
  20234. o Removed features:
  20235. - Remove the HSAuthorityRecordStats option that version 0 hidden
  20236. service authorities could have used to track statistics of overall
  20237. hidden service usage.
  20238. Changes in version 0.2.1.22 - 2010-01-19
  20239. Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
  20240. authorities -- it would tell you its whole history of bridge descriptors
  20241. if you make the right directory request. This stable update also
  20242. rotates two of the seven v3 directory authority keys and locations.
  20243. o Directory authority changes:
  20244. - Rotate keys (both v3 identity and relay identity) for moria1
  20245. and gabelmoo.
  20246. o Major bugfixes:
  20247. - Stop bridge directory authorities from answering dbg-stability.txt
  20248. directory queries, which would let people fetch a list of all
  20249. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  20250. Changes in version 0.2.1.21 - 2009-12-21
  20251. Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
  20252. library. If you use Tor on Linux / Unix and you're getting SSL
  20253. renegotiation errors, upgrading should help. We also recommend an
  20254. upgrade if you're an exit relay.
  20255. o Major bugfixes:
  20256. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  20257. handshake from working unless we explicitly tell OpenSSL that we
  20258. are using SSL renegotiation safely. We are, of course, but OpenSSL
  20259. 0.9.8l won't work unless we say we are.
  20260. - Avoid crashing if the client is trying to upload many bytes and the
  20261. circuit gets torn down at the same time, or if the flip side
  20262. happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
  20263. o Minor bugfixes:
  20264. - Do not refuse to learn about authority certs and v2 networkstatus
  20265. documents that are older than the latest consensus. This bug might
  20266. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  20267. Spotted and fixed by xmux.
  20268. - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
  20269. trigger platform-specific option misparsing case found by Coverity
  20270. Scan.
  20271. - Fix a compilation warning on Fedora 12 by removing an impossible-to-
  20272. trigger assert. Fixes bug 1173.
  20273. Changes in version 0.2.2.6-alpha - 2009-11-19
  20274. Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
  20275. support for the new lower-footprint "microdescriptor" directory design,
  20276. future-proofing our consensus format against new hash functions or
  20277. other changes, and an Android port. It also makes Tor compatible with
  20278. the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
  20279. o Major features:
  20280. - Directory authorities can now create, vote on, and serve multiple
  20281. parallel formats of directory data as part of their voting process.
  20282. Partially implements Proposal 162: "Publish the consensus in
  20283. multiple flavors".
  20284. - Directory authorities can now agree on and publish small summaries
  20285. of router information that clients can use in place of regular
  20286. server descriptors. This transition will eventually allow clients
  20287. to use far less bandwidth for downloading information about the
  20288. network. Begins the implementation of Proposal 158: "Clients
  20289. download consensus + microdescriptors".
  20290. - The directory voting system is now extensible to use multiple hash
  20291. algorithms for signatures and resource selection. Newer formats
  20292. are signed with SHA256, with a possibility for moving to a better
  20293. hash algorithm in the future.
  20294. - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
  20295. current and future memory pages via mlockall(). On supported
  20296. platforms (modern Linux and probably BSD but not Windows or OS X),
  20297. this should effectively disable any and all attempts to page out
  20298. memory. This option requires that you start your Tor as root --
  20299. if you use DisableAllSwap, please consider using the User option
  20300. to properly reduce the privileges of your Tor.
  20301. - Numerous changes, bugfixes, and workarounds from Nathan Freitas
  20302. to help Tor build correctly for Android phones.
  20303. o Major bugfixes:
  20304. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  20305. handshake from working unless we explicitly tell OpenSSL that we
  20306. are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
  20307. won't work unless we say we are.
  20308. o Minor bugfixes:
  20309. - Fix a crash bug when trying to initialize the evdns module in
  20310. Libevent 2. Bugfix on 0.2.1.16-rc.
  20311. - Stop logging at severity 'warn' when some other Tor client tries
  20312. to establish a circuit with us using weak DH keys. It's a protocol
  20313. violation, but that doesn't mean ordinary users need to hear about
  20314. it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
  20315. - Do not refuse to learn about authority certs and v2 networkstatus
  20316. documents that are older than the latest consensus. This bug might
  20317. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  20318. Spotted and fixed by xmux.
  20319. - Fix numerous small code-flaws found by Coverity Scan Rung 3.
  20320. - If all authorities restart at once right before a consensus vote,
  20321. nobody will vote about "Running", and clients will get a consensus
  20322. with no usable relays. Instead, authorities refuse to build a
  20323. consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
  20324. - If your relay can't keep up with the number of incoming create
  20325. cells, it would log one warning per failure into your logs. Limit
  20326. warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
  20327. - Bridges now use "reject *:*" as their default exit policy. Bugfix
  20328. on 0.2.0.3-alpha; fixes bug 1113.
  20329. - Fix a memory leak on directory authorities during voting that was
  20330. introduced in 0.2.2.1-alpha. Found via valgrind.
  20331. Changes in version 0.2.1.20 - 2009-10-15
  20332. Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
  20333. services at once, prepares for more performance improvements, and
  20334. fixes a bunch of smaller bugs.
  20335. The Windows and OS X bundles also include a more recent Vidalia,
  20336. and switch from Privoxy to Polipo.
  20337. The OS X installers are now drag and drop. It's best to un-install
  20338. Tor/Vidalia and then install this new bundle, rather than upgrade. If
  20339. you want to upgrade, you'll need to update the paths for Tor and Polipo
  20340. in the Vidalia Settings window.
  20341. o Major bugfixes:
  20342. - Send circuit or stream sendme cells when our window has decreased
  20343. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  20344. by Karsten when testing the "reduce circuit window" performance
  20345. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  20346. before the release of Tor 0.0.0. This is the new winner of the
  20347. oldest-bug prize.
  20348. - Fix a remotely triggerable memory leak when a consensus document
  20349. contains more than one signature from the same voter. Bugfix on
  20350. 0.2.0.3-alpha.
  20351. - Avoid segfault in rare cases when finishing an introduction circuit
  20352. as a client and finding out that we don't have an introduction key
  20353. for it. Fixes bug 1073. Reported by Aaron Swartz.
  20354. o Major features:
  20355. - Tor now reads the "circwindow" parameter out of the consensus,
  20356. and uses that value for its circuit package window rather than the
  20357. default of 1000 cells. Begins the implementation of proposal 168.
  20358. o New directory authorities:
  20359. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  20360. authority.
  20361. - Move moria1 and tonga to alternate IP addresses.
  20362. o Minor bugfixes:
  20363. - Fix a signed/unsigned compile warning in 0.2.1.19.
  20364. - Fix possible segmentation fault on directory authorities. Bugfix on
  20365. 0.2.1.14-rc.
  20366. - Fix an extremely rare infinite recursion bug that could occur if
  20367. we tried to log a message after shutting down the log subsystem.
  20368. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  20369. - Fix an obscure bug where hidden services on 64-bit big-endian
  20370. systems might mis-read the timestamp in v3 introduce cells, and
  20371. refuse to connect back to the client. Discovered by "rotor".
  20372. Bugfix on 0.2.1.6-alpha.
  20373. - We were triggering a CLOCK_SKEW controller status event whenever
  20374. we connect via the v2 connection protocol to any relay that has
  20375. a wrong clock. Instead, we should only inform the controller when
  20376. it's a trusted authority that claims our clock is wrong. Bugfix
  20377. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  20378. - We were telling the controller about CHECKING_REACHABILITY and
  20379. REACHABILITY_FAILED status events whenever we launch a testing
  20380. circuit or notice that one has failed. Instead, only tell the
  20381. controller when we want to inform the user of overall success or
  20382. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  20383. by SwissTorExit.
  20384. - Don't warn when we're using a circuit that ends with a node
  20385. excluded in ExcludeExitNodes, but the circuit is not used to access
  20386. the outside world. This should help fix bug 1090. Bugfix on
  20387. 0.2.1.6-alpha.
  20388. - Work around a small memory leak in some versions of OpenSSL that
  20389. stopped the memory used by the hostname TLS extension from being
  20390. freed.
  20391. o Minor features:
  20392. - Add a "getinfo status/accepted-server-descriptor" controller
  20393. command, which is the recommended way for controllers to learn
  20394. whether our server descriptor has been successfully received by at
  20395. least on directory authority. Un-recommend good-server-descriptor
  20396. getinfo and status events until we have a better design for them.
  20397. Changes in version 0.2.2.5-alpha - 2009-10-11
  20398. Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
  20399. o Major bugfixes:
  20400. - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
  20401. o Directory authorities:
  20402. - Temporarily (just for this release) move dizum to an alternate
  20403. IP address.
  20404. Changes in version 0.2.2.4-alpha - 2009-10-10
  20405. Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
  20406. introduces a new unit test framework, shifts directry authority
  20407. addresses around to reduce the impact from recent blocking events,
  20408. and fixes a few smaller bugs.
  20409. o Major bugfixes:
  20410. - Fix several more asserts in the circuit_build_times code, for
  20411. example one that causes Tor to fail to start once we have
  20412. accumulated 5000 build times in the state file. Bugfixes on
  20413. 0.2.2.2-alpha; fixes bug 1108.
  20414. o New directory authorities:
  20415. - Move moria1 and Tonga to alternate IP addresses.
  20416. o Minor features:
  20417. - Log SSL state transitions at debug level during handshake, and
  20418. include SSL states in error messages. This may help debug future
  20419. SSL handshake issues.
  20420. - Add a new "Handshake" log domain for activities that happen
  20421. during the TLS handshake.
  20422. - Revert to the "June 3 2009" ip-to-country file. The September one
  20423. seems to have removed most US IP addresses.
  20424. - Directory authorities now reject Tor relays with versions less than
  20425. 0.1.2.14. This step cuts out four relays from the current network,
  20426. none of which are very big.
  20427. o Minor bugfixes:
  20428. - Fix a couple of smaller issues with gathering statistics. Bugfixes
  20429. on 0.2.2.1-alpha.
  20430. - Fix two memory leaks in the error case of
  20431. circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
  20432. - Don't count one-hop circuits when we're estimating how long it
  20433. takes circuits to build on average. Otherwise we'll set our circuit
  20434. build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
  20435. - Directory authorities no longer change their opinion of, or vote on,
  20436. whether a router is Running, unless they have themselves been
  20437. online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
  20438. Fixes bug 1023.
  20439. o Code simplifications and refactoring:
  20440. - Revise our unit tests to use the "tinytest" framework, so we
  20441. can run tests in their own processes, have smarter setup/teardown
  20442. code, and so on. The unit test code has moved to its own
  20443. subdirectory, and has been split into multiple modules.
  20444. Changes in version 0.2.2.3-alpha - 2009-09-23
  20445. Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
  20446. o Major bugfixes:
  20447. - Fix an overzealous assert in our new circuit build timeout code.
  20448. Bugfix on 0.2.2.2-alpha; fixes bug 1103.
  20449. o Minor bugfixes:
  20450. - If the networkstatus consensus tells us that we should use a
  20451. negative circuit package window, ignore it. Otherwise we'll
  20452. believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
  20453. Changes in version 0.2.2.2-alpha - 2009-09-21
  20454. Tor 0.2.2.2-alpha introduces our latest performance improvement for
  20455. clients: Tor tracks the average time it takes to build a circuit, and
  20456. avoids using circuits that take too long to build. For fast connections,
  20457. this feature can cut your expected latency in half. For slow or flaky
  20458. connections, it could ruin your Tor experience. Let us know if it does!
  20459. o Major features:
  20460. - Tor now tracks how long it takes to build client-side circuits
  20461. over time, and adapts its timeout to local network performance.
  20462. Since a circuit that takes a long time to build will also provide
  20463. bad performance, we get significant latency improvements by
  20464. discarding the slowest 20% of circuits. Specifically, Tor creates
  20465. circuits more aggressively than usual until it has enough data
  20466. points for a good timeout estimate. Implements proposal 151.
  20467. We are especially looking for reports (good and bad) from users with
  20468. both EDGE and broadband connections that can move from broadband
  20469. to EDGE and find out if the build-time data in the .tor/state gets
  20470. reset without loss of Tor usability. You should also see a notice
  20471. log message telling you that Tor has reset its timeout.
  20472. - Directory authorities can now vote on arbitrary integer values as
  20473. part of the consensus process. This is designed to help set
  20474. network-wide parameters. Implements proposal 167.
  20475. - Tor now reads the "circwindow" parameter out of the consensus,
  20476. and uses that value for its circuit package window rather than the
  20477. default of 1000 cells. Begins the implementation of proposal 168.
  20478. o Major bugfixes:
  20479. - Fix a remotely triggerable memory leak when a consensus document
  20480. contains more than one signature from the same voter. Bugfix on
  20481. 0.2.0.3-alpha.
  20482. o Minor bugfixes:
  20483. - Fix an extremely rare infinite recursion bug that could occur if
  20484. we tried to log a message after shutting down the log subsystem.
  20485. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  20486. - Fix parsing for memory or time units given without a space between
  20487. the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
  20488. - A networkstatus vote must contain exactly one signature. Spec
  20489. conformance issue. Bugfix on 0.2.0.3-alpha.
  20490. - Fix an obscure bug where hidden services on 64-bit big-endian
  20491. systems might mis-read the timestamp in v3 introduce cells, and
  20492. refuse to connect back to the client. Discovered by "rotor".
  20493. Bugfix on 0.2.1.6-alpha.
  20494. - We were triggering a CLOCK_SKEW controller status event whenever
  20495. we connect via the v2 connection protocol to any relay that has
  20496. a wrong clock. Instead, we should only inform the controller when
  20497. it's a trusted authority that claims our clock is wrong. Bugfix
  20498. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  20499. - We were telling the controller about CHECKING_REACHABILITY and
  20500. REACHABILITY_FAILED status events whenever we launch a testing
  20501. circuit or notice that one has failed. Instead, only tell the
  20502. controller when we want to inform the user of overall success or
  20503. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  20504. by SwissTorExit.
  20505. - Don't warn when we're using a circuit that ends with a node
  20506. excluded in ExcludeExitNodes, but the circuit is not used to access
  20507. the outside world. This should help fix bug 1090, but more problems
  20508. remain. Bugfix on 0.2.1.6-alpha.
  20509. - Work around a small memory leak in some versions of OpenSSL that
  20510. stopped the memory used by the hostname TLS extension from being
  20511. freed.
  20512. - Make our 'torify' script more portable; if we have only one of
  20513. 'torsocks' or 'tsocks' installed, don't complain to the user;
  20514. and explain our warning about tsocks better.
  20515. o Minor features:
  20516. - Add a "getinfo status/accepted-server-descriptor" controller
  20517. command, which is the recommended way for controllers to learn
  20518. whether our server descriptor has been successfully received by at
  20519. least on directory authority. Un-recommend good-server-descriptor
  20520. getinfo and status events until we have a better design for them.
  20521. - Update to the "September 4 2009" ip-to-country file.
  20522. Changes in version 0.2.2.1-alpha - 2009-08-26
  20523. Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
  20524. Tor clients to bootstrap on networks where only port 80 is reachable,
  20525. makes it more straightforward to support hardware crypto accelerators,
  20526. and starts the groundwork for gathering stats safely at relays.
  20527. o Security fixes:
  20528. - Start the process of disabling ".exit" address notation, since it
  20529. can be used for a variety of esoteric application-level attacks
  20530. on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
  20531. on 0.0.9rc5.
  20532. o New directory authorities:
  20533. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  20534. authority.
  20535. o Major features:
  20536. - New AccelName and AccelDir options add support for dynamic OpenSSL
  20537. hardware crypto acceleration engines.
  20538. - Tor now supports tunneling all of its outgoing connections over
  20539. a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
  20540. configuration options. Code by Christopher Davis.
  20541. o Major bugfixes:
  20542. - Send circuit or stream sendme cells when our window has decreased
  20543. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  20544. by Karsten when testing the "reduce circuit window" performance
  20545. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  20546. before the release of Tor 0.0.0. This is the new winner of the
  20547. oldest-bug prize.
  20548. o New options for gathering stats safely:
  20549. - Directory mirrors that set "DirReqStatistics 1" write statistics
  20550. about directory requests to disk every 24 hours. As compared to the
  20551. --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
  20552. 1) stats are written to disk exactly every 24 hours; 2) estimated
  20553. shares of v2 and v3 requests are determined as mean values, not at
  20554. the end of a measurement period; 3) unresolved requests are listed
  20555. with country code '??'; 4) directories also measure download times.
  20556. - Exit nodes that set "ExitPortStatistics 1" write statistics on the
  20557. number of exit streams and transferred bytes per port to disk every
  20558. 24 hours.
  20559. - Relays that set "CellStatistics 1" write statistics on how long
  20560. cells spend in their circuit queues to disk every 24 hours.
  20561. - Entry nodes that set "EntryStatistics 1" write statistics on the
  20562. rough number and origins of connecting clients to disk every 24
  20563. hours.
  20564. - Relays that write any of the above statistics to disk and set
  20565. "ExtraInfoStatistics 1" include the past 24 hours of statistics in
  20566. their extra-info documents.
  20567. o Minor features:
  20568. - New --digests command-line switch to output the digests of the
  20569. source files Tor was built with.
  20570. - The "torify" script now uses torsocks where available.
  20571. - The memarea code now uses a sentinel value at the end of each area
  20572. to make sure nothing writes beyond the end of an area. This might
  20573. help debug some conceivable causes of bug 930.
  20574. - Time and memory units in the configuration file can now be set to
  20575. fractional units. For example, "2.5 GB" is now a valid value for
  20576. AccountingMax.
  20577. - Certain Tor clients (such as those behind check.torproject.org) may
  20578. want to fetch the consensus in an extra early manner. To enable this
  20579. a user may now set FetchDirInfoExtraEarly to 1. This also depends on
  20580. setting FetchDirInfoEarly to 1. Previous behavior will stay the same
  20581. as only certain clients who must have this information sooner should
  20582. set this option.
  20583. - Instead of adding the svn revision to the Tor version string, report
  20584. the git commit (when we're building from a git checkout).
  20585. o Minor bugfixes:
  20586. - If any of the v3 certs we download are unparseable, we should
  20587. actually notice the failure so we don't retry indefinitely. Bugfix
  20588. on 0.2.0.x; reported by "rotator".
  20589. - If the cached cert file is unparseable, warn but don't exit.
  20590. - Fix possible segmentation fault on directory authorities. Bugfix on
  20591. 0.2.1.14-rc.
  20592. - When Tor fails to parse a descriptor of any kind, dump it to disk.
  20593. Might help diagnosing bug 1051.
  20594. o Deprecated and removed features:
  20595. - The controller no longer accepts the old obsolete "addr-mappings/"
  20596. or "unregistered-servers-" GETINFO values.
  20597. - Hidden services no longer publish version 0 descriptors, and clients
  20598. do not request or use version 0 descriptors. However, the old hidden
  20599. service authorities still accept and serve version 0 descriptors
  20600. when contacted by older hidden services/clients.
  20601. - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
  20602. always on; using them is necessary for correct forward-compatible
  20603. controllers.
  20604. - Remove support for .noconnect style addresses. Nobody was using
  20605. them, and they provided another avenue for detecting Tor users
  20606. via application-level web tricks.
  20607. o Packaging changes:
  20608. - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
  20609. installer bundles. See
  20610. https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
  20611. for details of what's new in Vidalia 0.2.3.
  20612. - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
  20613. - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
  20614. configuration file, rather than the old Privoxy.
  20615. - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
  20616. x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
  20617. - OS X Tor Expert Bundle: Tor is compiled as x86-only for
  20618. better compatibility with OS X 10.6, aka Snow Leopard.
  20619. - OS X Vidalia Bundle: The multi-package installer is now replaced
  20620. by a simple drag and drop to the /Applications folder. This change
  20621. occurred with the upgrade to Vidalia 0.2.3.
  20622. Changes in version 0.2.1.19 - 2009-07-28
  20623. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
  20624. services on Tor 0.2.1.3-alpha through 0.2.1.18.
  20625. o Major bugfixes:
  20626. - Make accessing hidden services on 0.2.1.x work right again.
  20627. Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
  20628. part of patch provided by "optimist".
  20629. o Minor features:
  20630. - When a relay/bridge is writing out its identity key fingerprint to
  20631. the "fingerprint" file and to its logs, write it without spaces. Now
  20632. it will look like the fingerprints in our bridges documentation,
  20633. and confuse fewer users.
  20634. o Minor bugfixes:
  20635. - Relays no longer publish a new server descriptor if they change
  20636. their MaxAdvertisedBandwidth config option but it doesn't end up
  20637. changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
  20638. fixes bug 1026. Patch from Sebastian.
  20639. - Avoid leaking memory every time we get a create cell but we have
  20640. so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
  20641. fixes bug 1034. Reported by BarkerJr.
  20642. Changes in version 0.2.1.18 - 2009-07-24
  20643. Tor 0.2.1.18 lays the foundations for performance improvements,
  20644. adds status events to help users diagnose bootstrap problems, adds
  20645. optional authentication/authorization for hidden services, fixes a
  20646. variety of potential anonymity problems, and includes a huge pile of
  20647. other features and bug fixes.
  20648. o Build fixes:
  20649. - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
  20650. Changes in version 0.2.1.17-rc - 2009-07-07
  20651. Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
  20652. candidate for the 0.2.1.x series. It lays the groundwork for further
  20653. client performance improvements, and also fixes a big bug with directory
  20654. authorities that were causing them to assign Guard and Stable flags
  20655. poorly.
  20656. The Windows bundles also finally include the geoip database that we
  20657. thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
  20658. should actually install Torbutton rather than giving you a cryptic
  20659. failure message (oops).
  20660. o Major features:
  20661. - Clients now use the bandwidth values in the consensus, rather than
  20662. the bandwidth values in each relay descriptor. This approach opens
  20663. the door to more accurate bandwidth estimates once the directory
  20664. authorities start doing active measurements. Implements more of
  20665. proposal 141.
  20666. o Major bugfixes:
  20667. - When Tor clients restart after 1-5 days, they discard all their
  20668. cached descriptors as too old, but they still use the cached
  20669. consensus document. This approach is good for robustness, but
  20670. bad for performance: since they don't know any bandwidths, they
  20671. end up choosing at random rather than weighting their choice by
  20672. speed. Fixed by the above feature of putting bandwidths in the
  20673. consensus. Bugfix on 0.2.0.x.
  20674. - Directory authorities were neglecting to mark relays down in their
  20675. internal histories if the relays fall off the routerlist without
  20676. ever being found unreachable. So there were relays in the histories
  20677. that haven't been seen for eight months, and are listed as being
  20678. up for eight months. This wreaked havoc on the "median wfu"
  20679. and "median mtbf" calculations, in turn making Guard and Stable
  20680. flags very wrong, hurting network performance. Fixes bugs 696 and
  20681. 969. Bugfix on 0.2.0.6-alpha.
  20682. o Minor bugfixes:
  20683. - Serve the DirPortFrontPage page even when we have been approaching
  20684. our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
  20685. - The control port would close the connection before flushing long
  20686. replies, such as the network consensus, if a QUIT command was issued
  20687. before the reply had completed. Now, the control port flushes all
  20688. pending replies before closing the connection. Also fixed a spurious
  20689. warning when a QUIT command is issued after a malformed or rejected
  20690. AUTHENTICATE command, but before the connection was closed. Patch
  20691. by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
  20692. - When we can't find an intro key for a v2 hidden service descriptor,
  20693. fall back to the v0 hidden service descriptor and log a bug message.
  20694. Workaround for bug 1024.
  20695. - Fix a log message that did not respect the SafeLogging option.
  20696. Resolves bug 1027.
  20697. o Minor features:
  20698. - If we're a relay and we change our IP address, be more verbose
  20699. about the reason that made us change. Should help track down
  20700. further bugs for relays on dynamic IP addresses.
  20701. Changes in version 0.2.0.35 - 2009-06-24
  20702. o Security fix:
  20703. - Avoid crashing in the presence of certain malformed descriptors.
  20704. Found by lark, and by automated fuzzing.
  20705. - Fix an edge case where a malicious exit relay could convince a
  20706. controller that the client's DNS question resolves to an internal IP
  20707. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  20708. o Major bugfixes:
  20709. - Finally fix the bug where dynamic-IP relays disappear when their
  20710. IP address changes: directory mirrors were mistakenly telling
  20711. them their old address if they asked via begin_dir, so they
  20712. never got an accurate answer about their new address, so they
  20713. just vanished after a day. For belt-and-suspenders, relays that
  20714. don't set Address in their config now avoid using begin_dir for
  20715. all direct connections. Should fix bugs 827, 883, and 900.
  20716. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  20717. that would occur on some exit nodes when DNS failures and timeouts
  20718. occurred in certain patterns. Fix for bug 957.
  20719. o Minor bugfixes:
  20720. - When starting with a cache over a few days old, do not leak
  20721. memory for the obsolete router descriptors in it. Bugfix on
  20722. 0.2.0.33; fixes bug 672.
  20723. - Hidden service clients didn't use a cached service descriptor that
  20724. was older than 15 minutes, but wouldn't fetch a new one either,
  20725. because there was already one in the cache. Now, fetch a v2
  20726. descriptor unless the same descriptor was added to the cache within
  20727. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  20728. Changes in version 0.2.1.16-rc - 2009-06-20
  20729. Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
  20730. a bunch of minor bugs.
  20731. o Security fixes:
  20732. - Fix an edge case where a malicious exit relay could convince a
  20733. controller that the client's DNS question resolves to an internal IP
  20734. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  20735. o Major performance improvements (on 0.2.0.x):
  20736. - Disable and refactor some debugging checks that forced a linear scan
  20737. over the whole server-side DNS cache. These accounted for over 50%
  20738. of CPU time on a relatively busy exit node's gprof profile. Found
  20739. by Jacob.
  20740. - Disable some debugging checks that appeared in exit node profile
  20741. data.
  20742. o Minor features:
  20743. - Update to the "June 3 2009" ip-to-country file.
  20744. - Do not have tor-resolve automatically refuse all .onion addresses;
  20745. if AutomapHostsOnResolve is set in your torrc, this will work fine.
  20746. o Minor bugfixes (on 0.2.0.x):
  20747. - Log correct error messages for DNS-related network errors on
  20748. Windows.
  20749. - Fix a race condition that could cause crashes or memory corruption
  20750. when running as a server with a controller listening for log
  20751. messages.
  20752. - Avoid crashing when we have a policy specified in a DirPolicy or
  20753. SocksPolicy or ReachableAddresses option with ports set on it,
  20754. and we re-load the policy. May fix bug 996.
  20755. - Hidden service clients didn't use a cached service descriptor that
  20756. was older than 15 minutes, but wouldn't fetch a new one either,
  20757. because there was already one in the cache. Now, fetch a v2
  20758. descriptor unless the same descriptor was added to the cache within
  20759. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  20760. o Minor bugfixes (on 0.2.1.x):
  20761. - Don't warn users about low port and hibernation mix when they
  20762. provide a *ListenAddress directive to fix that. Bugfix on
  20763. 0.2.1.15-rc.
  20764. - When switching back and forth between bridge mode, do not start
  20765. gathering GeoIP data until two hours have passed.
  20766. - Do not complain that the user has requested an excluded node as
  20767. an exit when the node is not really an exit. This could happen
  20768. because the circuit was for testing, or an introduction point.
  20769. Fix for bug 984.
  20770. Changes in version 0.2.1.15-rc - 2009-05-25
  20771. Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
  20772. series. It fixes a major bug on fast exit relays, as well as a variety
  20773. of more minor bugs.
  20774. o Major bugfixes (on 0.2.0.x):
  20775. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  20776. that would occur on some exit nodes when DNS failures and timeouts
  20777. occurred in certain patterns. Fix for bug 957.
  20778. o Minor bugfixes (on 0.2.0.x):
  20779. - Actually return -1 in the error case for read_bandwidth_usage().
  20780. Harmless bug, since we currently don't care about the return value
  20781. anywhere. Bugfix on 0.2.0.9-alpha.
  20782. - Provide a more useful log message if bug 977 (related to buffer
  20783. freelists) ever reappears, and do not crash right away.
  20784. - Fix an assertion failure on 64-bit platforms when we allocated
  20785. memory right up to the end of a memarea, then realigned the memory
  20786. one step beyond the end. Fixes a possible cause of bug 930.
  20787. - Protect the count of open sockets with a mutex, so we can't
  20788. corrupt it when two threads are closing or opening sockets at once.
  20789. Fix for bug 939. Bugfix on 0.2.0.1-alpha.
  20790. - Don't allow a bridge to publish its router descriptor to a
  20791. non-bridge directory authority. Fixes part of bug 932.
  20792. - When we change to or from being a bridge, reset our counts of
  20793. client usage by country. Fixes bug 932.
  20794. - Fix a bug that made stream bandwidth get misreported to the
  20795. controller.
  20796. - Stop using malloc_usable_size() to use more area than we had
  20797. actually allocated: it was safe, but made valgrind really unhappy.
  20798. - Fix a memory leak when v3 directory authorities load their keys
  20799. and cert from disk. Bugfix on 0.2.0.1-alpha.
  20800. o Minor bugfixes (on 0.2.1.x):
  20801. - Fix use of freed memory when deciding to mark a non-addable
  20802. descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
  20803. Changes in version 0.2.1.14-rc - 2009-04-12
  20804. Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
  20805. series. It begins fixing some major performance problems, and also
  20806. finally addresses the bug that was causing relays on dynamic IP
  20807. addresses to fall out of the directory.
  20808. o Major features:
  20809. - Clients replace entry guards that were chosen more than a few months
  20810. ago. This change should significantly improve client performance,
  20811. especially once more people upgrade, since relays that have been
  20812. a guard for a long time are currently overloaded.
  20813. o Major bugfixes (on 0.2.0):
  20814. - Finally fix the bug where dynamic-IP relays disappear when their
  20815. IP address changes: directory mirrors were mistakenly telling
  20816. them their old address if they asked via begin_dir, so they
  20817. never got an accurate answer about their new address, so they
  20818. just vanished after a day. For belt-and-suspenders, relays that
  20819. don't set Address in their config now avoid using begin_dir for
  20820. all direct connections. Should fix bugs 827, 883, and 900.
  20821. - Relays were falling out of the networkstatus consensus for
  20822. part of a day if they changed their local config but the
  20823. authorities discarded their new descriptor as "not sufficiently
  20824. different". Now directory authorities accept a descriptor as changed
  20825. if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
  20826. patch by Sebastian.
  20827. - Avoid crashing in the presence of certain malformed descriptors.
  20828. Found by lark, and by automated fuzzing.
  20829. o Minor features:
  20830. - When generating circuit events with verbose nicknames for
  20831. controllers, try harder to look up nicknames for routers on a
  20832. circuit. (Previously, we would look in the router descriptors we had
  20833. for nicknames, but not in the consensus.) Partial fix for bug 941.
  20834. - If the bridge config line doesn't specify a port, assume 443.
  20835. This makes bridge lines a bit smaller and easier for users to
  20836. understand.
  20837. - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
  20838. bytes (aka 20KB/s), to match our documentation. Also update
  20839. directory authorities so they always assign the Fast flag to relays
  20840. with 20KB/s of capacity. Now people running relays won't suddenly
  20841. find themselves not seeing any use, if the network gets faster
  20842. on average.
  20843. - Update to the "April 3 2009" ip-to-country file.
  20844. o Minor bugfixes:
  20845. - Avoid trying to print raw memory to the logs when we decide to
  20846. give up on downloading a given relay descriptor. Bugfix on
  20847. 0.2.1.9-alpha.
  20848. - In tor-resolve, when the Tor client to use is specified by
  20849. <hostname>:<port>, actually use the specified port rather than
  20850. defaulting to 9050. Bugfix on 0.2.1.6-alpha.
  20851. - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
  20852. - When starting with a cache over a few days old, do not leak
  20853. memory for the obsolete router descriptors in it. Bugfix on
  20854. 0.2.0.33.
  20855. - Avoid double-free on list of successfully uploaded hidden
  20856. service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
  20857. - Change memarea_strndup() implementation to work even when
  20858. duplicating a string at the end of a page. This bug was
  20859. harmless for now, but could have meant crashes later. Fix by
  20860. lark. Bugfix on 0.2.1.1-alpha.
  20861. - Limit uploaded directory documents to be 16M rather than 500K.
  20862. The directory authorities were refusing v3 consensus votes from
  20863. other authorities, since the votes are now 504K. Fixes bug 959;
  20864. bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
  20865. - Directory authorities should never send a 503 "busy" response to
  20866. requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
  20867. bug 959.
  20868. Changes in version 0.2.1.13-alpha - 2009-03-09
  20869. Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
  20870. cleanups. We're finally getting close to a release candidate.
  20871. o Major bugfixes:
  20872. - Correctly update the list of which countries we exclude as
  20873. exits, when the GeoIP file is loaded or reloaded. Diagnosed by
  20874. lark. Bugfix on 0.2.1.6-alpha.
  20875. o Minor bugfixes (on 0.2.0.x and earlier):
  20876. - Automatically detect MacOSX versions earlier than 10.4.0, and
  20877. disable kqueue from inside Tor when running with these versions.
  20878. We previously did this from the startup script, but that was no
  20879. help to people who didn't use the startup script. Resolves bug 863.
  20880. - When we had picked an exit node for a connection, but marked it as
  20881. "optional", and it turned out we had no onion key for the exit,
  20882. stop wanting that exit and try again. This situation may not
  20883. be possible now, but will probably become feasible with proposal
  20884. 158. Spotted by rovv. Fixes another case of bug 752.
  20885. - Clients no longer cache certificates for authorities they do not
  20886. recognize. Bugfix on 0.2.0.9-alpha.
  20887. - When we can't transmit a DNS request due to a network error, retry
  20888. it after a while, and eventually transmit a failing response to
  20889. the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
  20890. - If the controller claimed responsibility for a stream, but that
  20891. stream never finished making its connection, it would live
  20892. forever in circuit_wait state. Now we close it after SocksTimeout
  20893. seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
  20894. - Drop begin cells to a hidden service if they come from the middle
  20895. of a circuit. Patch from lark.
  20896. - When we erroneously receive two EXTEND cells for the same circuit
  20897. ID on the same connection, drop the second. Patch from lark.
  20898. - Fix a crash that occurs on exit nodes when a nameserver request
  20899. timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
  20900. been suppressing the bug since 0.1.2.10-alpha. Partial fix for
  20901. bug 929.
  20902. - Do not assume that a stack-allocated character array will be
  20903. 64-bit aligned on platforms that demand that uint64_t access is
  20904. aligned. Possible fix for bug 604.
  20905. - Parse dates and IPv4 addresses in a locale- and libc-independent
  20906. manner, to avoid platform-dependent behavior on malformed input.
  20907. - Build correctly when configured to build outside the main source
  20908. path. Patch from Michael Gold.
  20909. - We were already rejecting relay begin cells with destination port
  20910. of 0. Now also reject extend cells with destination port or address
  20911. of 0. Suggested by lark.
  20912. o Minor bugfixes (on 0.2.1.x):
  20913. - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
  20914. cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
  20915. - If we're an exit node, scrub the IP address to which we are exiting
  20916. in the logs. Bugfix on 0.2.1.8-alpha.
  20917. o Minor features:
  20918. - On Linux, use the prctl call to re-enable core dumps when the user
  20919. is option is set.
  20920. - New controller event NEWCONSENSUS that lists the networkstatus
  20921. lines for every recommended relay. Now controllers like Torflow
  20922. can keep up-to-date on which relays they should be using.
  20923. - Update to the "February 26 2009" ip-to-country file.
  20924. Changes in version 0.2.0.34 - 2009-02-08
  20925. Tor 0.2.0.34 features several more security-related fixes. You should
  20926. upgrade, especially if you run an exit relay (remote crash) or a
  20927. directory authority (remote infinite loop), or you're on an older
  20928. (pre-XP) or not-recently-patched Windows (remote exploit).
  20929. This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
  20930. have many known flaws, and nobody should be using them. You should
  20931. upgrade. If you're using a Linux or BSD and its packages are obsolete,
  20932. stop using those packages and upgrade anyway.
  20933. o Security fixes:
  20934. - Fix an infinite-loop bug on handling corrupt votes under certain
  20935. circumstances. Bugfix on 0.2.0.8-alpha.
  20936. - Fix a temporary DoS vulnerability that could be performed by
  20937. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  20938. - Avoid a potential crash on exit nodes when processing malformed
  20939. input. Remote DoS opportunity. Bugfix on 0.2.0.33.
  20940. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  20941. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  20942. o Minor bugfixes:
  20943. - Fix compilation on systems where time_t is a 64-bit integer.
  20944. Patch from Matthias Drochner.
  20945. - Don't consider expiring already-closed client connections. Fixes
  20946. bug 893. Bugfix on 0.0.2pre20.
  20947. Changes in version 0.2.1.12-alpha - 2009-02-08
  20948. Tor 0.2.1.12-alpha features several more security-related fixes. You
  20949. should upgrade, especially if you run an exit relay (remote crash) or
  20950. a directory authority (remote infinite loop), or you're on an older
  20951. (pre-XP) or not-recently-patched Windows (remote exploit). It also
  20952. includes a big pile of minor bugfixes and cleanups.
  20953. o Security fixes:
  20954. - Fix an infinite-loop bug on handling corrupt votes under certain
  20955. circumstances. Bugfix on 0.2.0.8-alpha.
  20956. - Fix a temporary DoS vulnerability that could be performed by
  20957. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  20958. - Avoid a potential crash on exit nodes when processing malformed
  20959. input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
  20960. o Minor bugfixes:
  20961. - Let controllers actually ask for the "clients_seen" event for
  20962. getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
  20963. reported by Matt Edman.
  20964. - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
  20965. 0.2.1.11-alpha.
  20966. - Fix a bug in address parsing that was preventing bridges or hidden
  20967. service targets from being at IPv6 addresses.
  20968. - Solve a bug that kept hardware crypto acceleration from getting
  20969. enabled when accounting was turned on. Fixes bug 907. Bugfix on
  20970. 0.0.9pre6.
  20971. - Remove a bash-ism from configure.in to build properly on non-Linux
  20972. platforms. Bugfix on 0.2.1.1-alpha.
  20973. - Fix code so authorities _actually_ send back X-Descriptor-Not-New
  20974. headers. Bugfix on 0.2.0.10-alpha.
  20975. - Don't consider expiring already-closed client connections. Fixes
  20976. bug 893. Bugfix on 0.0.2pre20.
  20977. - Fix another interesting corner-case of bug 891 spotted by rovv:
  20978. Previously, if two hosts had different amounts of clock drift, and
  20979. one of them created a new connection with just the wrong timing,
  20980. the other might decide to deprecate the new connection erroneously.
  20981. Bugfix on 0.1.1.13-alpha.
  20982. - Resolve a very rare crash bug that could occur when the user forced
  20983. a nameserver reconfiguration during the middle of a nameserver
  20984. probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
  20985. - Support changing value of ServerDNSRandomizeCase during SIGHUP.
  20986. Bugfix on 0.2.1.7-alpha.
  20987. - If we're using bridges and our network goes away, be more willing
  20988. to forgive our bridges and try again when we get an application
  20989. request. Bugfix on 0.2.0.x.
  20990. o Minor features:
  20991. - Support platforms where time_t is 64 bits long. (Congratulations,
  20992. NetBSD!) Patch from Matthias Drochner.
  20993. - Add a 'getinfo status/clients-seen' controller command, in case
  20994. controllers want to hear clients_seen events but connect late.
  20995. o Build changes:
  20996. - Disable GCC's strict alias optimization by default, to avoid the
  20997. likelihood of its introducing subtle bugs whenever our code violates
  20998. the letter of C99's alias rules.
  20999. Changes in version 0.2.0.33 - 2009-01-21
  21000. Tor 0.2.0.33 fixes a variety of bugs that were making relays less
  21001. useful to users. It also finally fixes a bug where a relay or client
  21002. that's been off for many days would take a long time to bootstrap.
  21003. This update also fixes an important security-related bug reported by
  21004. Ilja van Sprundel. You should upgrade. (We'll send out more details
  21005. about the bug once people have had some time to upgrade.)
  21006. o Security fixes:
  21007. - Fix a heap-corruption bug that may be remotely triggerable on
  21008. some platforms. Reported by Ilja van Sprundel.
  21009. o Major bugfixes:
  21010. - When a stream at an exit relay is in state "resolving" or
  21011. "connecting" and it receives an "end" relay cell, the exit relay
  21012. would silently ignore the end cell and not close the stream. If
  21013. the client never closes the circuit, then the exit relay never
  21014. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  21015. reported by "wood".
  21016. - When sending CREATED cells back for a given circuit, use a 64-bit
  21017. connection ID to find the right connection, rather than an addr:port
  21018. combination. Now that we can have multiple OR connections between
  21019. the same ORs, it is no longer possible to use addr:port to uniquely
  21020. identify a connection.
  21021. - Bridge relays that had DirPort set to 0 would stop fetching
  21022. descriptors shortly after startup, and then briefly resume
  21023. after a new bandwidth test and/or after publishing a new bridge
  21024. descriptor. Bridge users that try to bootstrap from them would
  21025. get a recent networkstatus but would get descriptors from up to
  21026. 18 hours earlier, meaning most of the descriptors were obsolete
  21027. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  21028. - Prevent bridge relays from serving their 'extrainfo' document
  21029. to anybody who asks, now that extrainfo docs include potentially
  21030. sensitive aggregated client geoip summaries. Bugfix on
  21031. 0.2.0.13-alpha.
  21032. - If the cached networkstatus consensus is more than five days old,
  21033. discard it rather than trying to use it. In theory it could be
  21034. useful because it lists alternate directory mirrors, but in practice
  21035. it just means we spend many minutes trying directory mirrors that
  21036. are long gone from the network. Also discard router descriptors as
  21037. we load them if they are more than five days old, since the onion
  21038. key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
  21039. o Minor bugfixes:
  21040. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  21041. could make gcc generate non-functional binary search code. Bugfix
  21042. on 0.2.0.10-alpha.
  21043. - Build correctly on platforms without socklen_t.
  21044. - Compile without warnings on solaris.
  21045. - Avoid potential crash on internal error during signature collection.
  21046. Fixes bug 864. Patch from rovv.
  21047. - Correct handling of possible malformed authority signing key
  21048. certificates with internal signature types. Fixes bug 880.
  21049. Bugfix on 0.2.0.3-alpha.
  21050. - Fix a hard-to-trigger resource leak when logging credential status.
  21051. CID 349.
  21052. - When we can't initialize DNS because the network is down, do not
  21053. automatically stop Tor from starting. Instead, we retry failed
  21054. dns_init() every 10 minutes, and change the exit policy to reject
  21055. *:* until one succeeds. Fixes bug 691.
  21056. - Use 64 bits instead of 32 bits for connection identifiers used with
  21057. the controller protocol, to greatly reduce risk of identifier reuse.
  21058. - When we're choosing an exit node for a circuit, and we have
  21059. no pending streams, choose a good general exit rather than one that
  21060. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  21061. - Fix another case of assuming, when a specific exit is requested,
  21062. that we know more than the user about what hosts it allows.
  21063. Fixes one case of bug 752. Patch from rovv.
  21064. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  21065. seconds. Warn the user if lower values are given in the
  21066. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  21067. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  21068. user if lower values are given in the configuration. Bugfix on
  21069. 0.1.1.17-rc. Patch by Sebastian.
  21070. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  21071. the cache because we already had a v0 descriptor with the same ID.
  21072. Bugfix on 0.2.0.18-alpha.
  21073. - Fix a race condition when freeing keys shared between main thread
  21074. and CPU workers that could result in a memory leak. Bugfix on
  21075. 0.1.0.1-rc. Fixes bug 889.
  21076. - Send a valid END cell back when a client tries to connect to a
  21077. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  21078. 840. Patch from rovv.
  21079. - Check which hops rendezvous stream cells are associated with to
  21080. prevent possible guess-the-streamid injection attacks from
  21081. intermediate hops. Fixes another case of bug 446. Based on patch
  21082. from rovv.
  21083. - If a broken client asks a non-exit router to connect somewhere,
  21084. do not even do the DNS lookup before rejecting the connection.
  21085. Fixes another case of bug 619. Patch from rovv.
  21086. - When a relay gets a create cell it can't decrypt (e.g. because it's
  21087. using the wrong onion key), we were dropping it and letting the
  21088. client time out. Now actually answer with a destroy cell. Fixes
  21089. bug 904. Bugfix on 0.0.2pre8.
  21090. o Minor bugfixes (hidden services):
  21091. - Do not throw away existing introduction points on SIGHUP. Bugfix on
  21092. 0.0.6pre1. Patch by Karsten. Fixes bug 874.
  21093. o Minor features:
  21094. - Report the case where all signatures in a detached set are rejected
  21095. differently than the case where there is an error handling the
  21096. detached set.
  21097. - When we realize that another process has modified our cached
  21098. descriptors, print out a more useful error message rather than
  21099. triggering an assertion. Fixes bug 885. Patch from Karsten.
  21100. - Implement the 0x20 hack to better resist DNS poisoning: set the
  21101. case on outgoing DNS requests randomly, and reject responses that do
  21102. not match the case correctly. This logic can be disabled with the
  21103. ServerDNSRamdomizeCase setting, if you are using one of the 0.3%
  21104. of servers that do not reliably preserve case in replies. See
  21105. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  21106. for more info.
  21107. - Check DNS replies for more matching fields to better resist DNS
  21108. poisoning.
  21109. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  21110. compress cells, which are basically all encrypted, compressed, or
  21111. both.
  21112. Changes in version 0.2.1.11-alpha - 2009-01-20
  21113. Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
  21114. week it will take a long time to bootstrap again" bug. It also fixes
  21115. an important security-related bug reported by Ilja van Sprundel. You
  21116. should upgrade. (We'll send out more details about the bug once people
  21117. have had some time to upgrade.)
  21118. o Security fixes:
  21119. - Fix a heap-corruption bug that may be remotely triggerable on
  21120. some platforms. Reported by Ilja van Sprundel.
  21121. o Major bugfixes:
  21122. - Discard router descriptors as we load them if they are more than
  21123. five days old. Otherwise if Tor is off for a long time and then
  21124. starts with cached descriptors, it will try to use the onion
  21125. keys in those obsolete descriptors when building circuits. Bugfix
  21126. on 0.2.0.x. Fixes bug 887.
  21127. o Minor features:
  21128. - Try to make sure that the version of Libevent we're running with
  21129. is binary-compatible with the one we built with. May address bug
  21130. 897 and others.
  21131. - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
  21132. for bug 905. Bugfix on 0.2.1.7-alpha.
  21133. - Add a new --enable-local-appdata configuration switch to change
  21134. the default location of the datadir on win32 from APPDATA to
  21135. LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
  21136. entirely. Patch from coderman.
  21137. o Minor bugfixes:
  21138. - Make outbound DNS packets respect the OutboundBindAddress setting.
  21139. Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
  21140. - When our circuit fails at the first hop (e.g. we get a destroy
  21141. cell back), avoid using that OR connection anymore, and also
  21142. tell all the one-hop directory requests waiting for it that they
  21143. should fail. Bugfix on 0.2.1.3-alpha.
  21144. - In the torify(1) manpage, mention that tsocks will leak your
  21145. DNS requests.
  21146. Changes in version 0.2.1.10-alpha - 2009-01-06
  21147. Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
  21148. would make the bridge relay not so useful if it had DirPort set to 0,
  21149. and one that could let an attacker learn a little bit of information
  21150. about the bridge's users), and a bug that would cause your Tor relay
  21151. to ignore a circuit create request it can't decrypt (rather than reply
  21152. with an error). It also fixes a wide variety of other bugs.
  21153. o Major bugfixes:
  21154. - If the cached networkstatus consensus is more than five days old,
  21155. discard it rather than trying to use it. In theory it could
  21156. be useful because it lists alternate directory mirrors, but in
  21157. practice it just means we spend many minutes trying directory
  21158. mirrors that are long gone from the network. Helps bug 887 a bit;
  21159. bugfix on 0.2.0.x.
  21160. - Bridge relays that had DirPort set to 0 would stop fetching
  21161. descriptors shortly after startup, and then briefly resume
  21162. after a new bandwidth test and/or after publishing a new bridge
  21163. descriptor. Bridge users that try to bootstrap from them would
  21164. get a recent networkstatus but would get descriptors from up to
  21165. 18 hours earlier, meaning most of the descriptors were obsolete
  21166. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  21167. - Prevent bridge relays from serving their 'extrainfo' document
  21168. to anybody who asks, now that extrainfo docs include potentially
  21169. sensitive aggregated client geoip summaries. Bugfix on
  21170. 0.2.0.13-alpha.
  21171. o Minor features:
  21172. - New controller event "clients_seen" to report a geoip-based summary
  21173. of which countries we've seen clients from recently. Now controllers
  21174. like Vidalia can show bridge operators that they're actually making
  21175. a difference.
  21176. - Build correctly against versions of OpenSSL 0.9.8 or later built
  21177. without support for deprecated functions.
  21178. - Update to the "December 19 2008" ip-to-country file.
  21179. o Minor bugfixes (on 0.2.0.x):
  21180. - Authorities now vote for the Stable flag for any router whose
  21181. weighted MTBF is at least 5 days, regardless of the mean MTBF.
  21182. - Do not remove routers as too old if we do not have any consensus
  21183. document. Bugfix on 0.2.0.7-alpha.
  21184. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  21185. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  21186. - When an exit relay resolves a stream address to a local IP address,
  21187. do not just keep retrying that same exit relay over and
  21188. over. Instead, just close the stream. Addresses bug 872. Bugfix
  21189. on 0.2.0.32. Patch from rovv.
  21190. - If a hidden service sends us an END cell, do not consider
  21191. retrying the connection; just close it. Patch from rovv.
  21192. - When we made bridge authorities stop serving bridge descriptors over
  21193. unencrypted links, we also broke DirPort reachability testing for
  21194. bridges. So bridges with a non-zero DirPort were printing spurious
  21195. warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
  21196. - When a relay gets a create cell it can't decrypt (e.g. because it's
  21197. using the wrong onion key), we were dropping it and letting the
  21198. client time out. Now actually answer with a destroy cell. Fixes
  21199. bug 904. Bugfix on 0.0.2pre8.
  21200. - Squeeze 2-5% out of client performance (according to oprofile) by
  21201. improving the implementation of some policy-manipulation functions.
  21202. o Minor bugfixes (on 0.2.1.x):
  21203. - Make get_interface_address() function work properly again; stop
  21204. guessing the wrong parts of our address as our address.
  21205. - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
  21206. send on that circuit. Otherwise we might violate the proposal-110
  21207. limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
  21208. thanks to Karsten.
  21209. - When we're sending non-EXTEND cells to the first hop in a circuit,
  21210. for example to use an encrypted directory connection, we don't need
  21211. to use RELAY_EARLY cells: the first hop knows what kind of cell
  21212. it is, and nobody else can even see the cell type. Conserving
  21213. RELAY_EARLY cells makes it easier to cannibalize circuits like
  21214. this later.
  21215. - Stop logging nameserver addresses in reverse order.
  21216. - If we are retrying a directory download slowly over and over, do
  21217. not automatically give up after the 254th failure. Bugfix on
  21218. 0.2.1.9-alpha.
  21219. - Resume reporting accurate "stream end" reasons to the local control
  21220. port. They were lost in the changes for Proposal 148. Bugfix on
  21221. 0.2.1.9-alpha.
  21222. o Deprecated and removed features:
  21223. - The old "tor --version --version" command, which would print out
  21224. the subversion "Id" of most of the source files, is now removed. It
  21225. turned out to be less useful than we'd expected, and harder to
  21226. maintain.
  21227. o Code simplifications and refactoring:
  21228. - Change our header file guard macros to be less likely to conflict
  21229. with system headers. Adam Langley noticed that we were conflicting
  21230. with log.h on Android.
  21231. - Tool-assisted documentation cleanup. Nearly every function or
  21232. static variable in Tor should have its own documentation now.
  21233. Changes in version 0.2.1.9-alpha - 2008-12-25
  21234. Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
  21235. o New directory authorities:
  21236. - gabelmoo (the authority run by Karsten Loesing) now has a new
  21237. IP address.
  21238. o Security fixes:
  21239. - Never use a connection with a mismatched address to extend a
  21240. circuit, unless that connection is canonical. A canonical
  21241. connection is one whose address is authenticated by the router's
  21242. identity key, either in a NETINFO cell or in a router descriptor.
  21243. - Avoid a possible memory corruption bug when receiving hidden service
  21244. descriptors. Bugfix on 0.2.1.6-alpha.
  21245. o Major bugfixes:
  21246. - Fix a logic error that would automatically reject all but the first
  21247. configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
  21248. part of bug 813/868. Bug spotted by coderman.
  21249. - When a stream at an exit relay is in state "resolving" or
  21250. "connecting" and it receives an "end" relay cell, the exit relay
  21251. would silently ignore the end cell and not close the stream. If
  21252. the client never closes the circuit, then the exit relay never
  21253. closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
  21254. reported by "wood".
  21255. - When we can't initialize DNS because the network is down, do not
  21256. automatically stop Tor from starting. Instead, retry failed
  21257. dns_init() every 10 minutes, and change the exit policy to reject
  21258. *:* until one succeeds. Fixes bug 691.
  21259. o Minor features:
  21260. - Give a better error message when an overzealous init script says
  21261. "sudo -u username tor --user username". Makes Bug 882 easier for
  21262. users to diagnose.
  21263. - When a directory authority gives us a new guess for our IP address,
  21264. log which authority we used. Hopefully this will help us debug
  21265. the recent complaints about bad IP address guesses.
  21266. - Detect svn revision properly when we're using git-svn.
  21267. - Try not to open more than one descriptor-downloading connection
  21268. to an authority at once. This should reduce load on directory
  21269. authorities. Fixes bug 366.
  21270. - Add cross-certification to newly generated certificates, so that
  21271. a signing key is enough information to look up a certificate.
  21272. Partial implementation of proposal 157.
  21273. - Start serving certificates by <identity digest, signing key digest>
  21274. pairs. Partial implementation of proposal 157.
  21275. - Clients now never report any stream end reason except 'MISC'.
  21276. Implements proposal 148.
  21277. - On platforms with a maximum syslog string length, truncate syslog
  21278. messages to that length ourselves, rather than relying on the
  21279. system to do it for us.
  21280. - Optimize out calls to time(NULL) that occur for every IO operation,
  21281. or for every cell. On systems where time() is a slow syscall,
  21282. this fix will be slightly helpful.
  21283. - Exit servers can now answer resolve requests for ip6.arpa addresses.
  21284. - When we download a descriptor that we then immediately (as
  21285. a directory authority) reject, do not retry downloading it right
  21286. away. Should save some bandwidth on authorities. Fix for bug
  21287. 888. Patch by Sebastian Hahn.
  21288. - When a download gets us zero good descriptors, do not notify
  21289. Tor that new directory information has arrived.
  21290. - Avoid some nasty corner cases in the logic for marking connections
  21291. as too old or obsolete or noncanonical for circuits. Partial
  21292. bugfix on bug 891.
  21293. o Minor features (controller):
  21294. - New CONSENSUS_ARRIVED event to note when a new consensus has
  21295. been fetched and validated.
  21296. - When we realize that another process has modified our cached
  21297. descriptors file, print out a more useful error message rather
  21298. than triggering an assertion. Fixes bug 885. Patch from Karsten.
  21299. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  21300. controllers to prevent SIGHUP from reloading the
  21301. configuration. Fixes bug 856.
  21302. o Minor bugfixes:
  21303. - Resume using the correct "REASON=" stream when telling the
  21304. controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
  21305. - When a canonical connection appears later in our internal list
  21306. than a noncanonical one for a given OR ID, always use the
  21307. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  21308. Spotted by rovv.
  21309. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  21310. seconds. Warn the user if lower values are given in the
  21311. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  21312. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  21313. user if lower values are given in the configuration. Bugfix on
  21314. 0.1.1.17-rc. Patch by Sebastian.
  21315. - Fix a race condition when freeing keys shared between main thread
  21316. and CPU workers that could result in a memory leak. Bugfix on
  21317. 0.1.0.1-rc. Fixes bug 889.
  21318. o Minor bugfixes (hidden services):
  21319. - Do not throw away existing introduction points on SIGHUP (bugfix on
  21320. 0.0.6pre1); also, do not stall hidden services because we're
  21321. throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
  21322. by John Brooks. Patch by Karsten. Fixes bug 874.
  21323. - Fix a memory leak when we decline to add a v2 rendezvous
  21324. descriptor to the cache because we already had a v0 descriptor
  21325. with the same ID. Bugfix on 0.2.0.18-alpha.
  21326. o Deprecated and removed features:
  21327. - RedirectExits has been removed. It was deprecated since
  21328. 0.2.0.3-alpha.
  21329. - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
  21330. has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  21331. - Cell pools are now always enabled; --disable-cell-pools is ignored.
  21332. o Code simplifications and refactoring:
  21333. - Rename the confusing or_is_obsolete field to the more appropriate
  21334. is_bad_for_new_circs, and move it to or_connection_t where it
  21335. belongs.
  21336. - Move edge-only flags from connection_t to edge_connection_t: not
  21337. only is this better coding, but on machines of plausible alignment,
  21338. it should save 4-8 bytes per connection_t. "Every little bit helps."
  21339. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  21340. for consistency; keep old option working for backward compatibility.
  21341. - Simplify the code for finding connections to use for a circuit.
  21342. Changes in version 0.2.1.8-alpha - 2008-12-08
  21343. Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
  21344. builds better on unusual platforms like Solaris and old OS X, and
  21345. fixes a variety of other issues.
  21346. o Major features:
  21347. - New DirPortFrontPage option that takes an html file and publishes
  21348. it as "/" on the DirPort. Now relay operators can provide a
  21349. disclaimer without needing to set up a separate webserver. There's
  21350. a sample disclaimer in contrib/tor-exit-notice.html.
  21351. o Security fixes:
  21352. - When the client is choosing entry guards, now it selects at most
  21353. one guard from a given relay family. Otherwise we could end up with
  21354. all of our entry points into the network run by the same operator.
  21355. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  21356. o Major bugfixes:
  21357. - Fix a DOS opportunity during the voting signature collection process
  21358. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  21359. - Fix a possible segfault when establishing an exit connection. Bugfix
  21360. on 0.2.1.5-alpha.
  21361. o Minor bugfixes:
  21362. - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
  21363. bug 859.
  21364. - Made Tor a little less aggressive about deleting expired
  21365. certificates. Partial fix for bug 854.
  21366. - Stop doing unaligned memory access that generated bus errors on
  21367. sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
  21368. - Fix a crash bug when changing EntryNodes from the controller. Bugfix
  21369. on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
  21370. - Make USR2 log-level switch take effect immediately. Bugfix on
  21371. 0.1.2.8-beta.
  21372. - If one win32 nameserver fails to get added, continue adding the
  21373. rest, and don't automatically fail.
  21374. - Use fcntl() for locking when flock() is not available. Should fix
  21375. compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
  21376. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  21377. could make gcc generate non-functional binary search code. Bugfix
  21378. on 0.2.0.10-alpha.
  21379. - Build correctly on platforms without socklen_t.
  21380. - Avoid potential crash on internal error during signature collection.
  21381. Fixes bug 864. Patch from rovv.
  21382. - Do not use C's stdio library for writing to log files. This will
  21383. improve logging performance by a minute amount, and will stop
  21384. leaking fds when our disk is full. Fixes bug 861.
  21385. - Stop erroneous use of O_APPEND in cases where we did not in fact
  21386. want to re-seek to the end of a file before every last write().
  21387. - Correct handling of possible malformed authority signing key
  21388. certificates with internal signature types. Fixes bug 880. Bugfix
  21389. on 0.2.0.3-alpha.
  21390. - Fix a hard-to-trigger resource leak when logging credential status.
  21391. CID 349.
  21392. o Minor features:
  21393. - Directory mirrors no longer fetch the v1 directory or
  21394. running-routers files. They are obsolete, and nobody asks for them
  21395. anymore. This is the first step to making v1 authorities obsolete.
  21396. o Minor features (controller):
  21397. - Return circuit purposes in response to GETINFO circuit-status. Fixes
  21398. bug 858.
  21399. Changes in version 0.2.0.32 - 2008-11-20
  21400. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  21401. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  21402. a smaller security flaw that might allow an attacker to access local
  21403. services, further improves hidden service performance, and fixes a
  21404. variety of other issues.
  21405. o Security fixes:
  21406. - The "User" and "Group" config options did not clear the
  21407. supplementary group entries for the Tor process. The "User" option
  21408. is now more robust, and we now set the groups to the specified
  21409. user's primary group. The "Group" option is now ignored. For more
  21410. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  21411. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  21412. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  21413. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  21414. consistently obeyed: if an exit relay refuses a stream because its
  21415. exit policy doesn't allow it, we would remember what IP address
  21416. the relay said the destination address resolves to, even if it's
  21417. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  21418. o Major bugfixes:
  21419. - Fix a DOS opportunity during the voting signature collection process
  21420. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  21421. o Major bugfixes (hidden services):
  21422. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  21423. we were failing the whole hidden service request when the v0
  21424. descriptor fetch fails, even if the v2 fetch is still pending and
  21425. might succeed. Similarly, if the last v2 fetch fails, we were
  21426. failing the whole hidden service request even if a v0 fetch is
  21427. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  21428. - When extending a circuit to a hidden service directory to upload a
  21429. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  21430. requests failed, because the router descriptor has not been
  21431. downloaded yet. In these cases, do not attempt to upload the
  21432. rendezvous descriptor, but wait until the router descriptor is
  21433. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  21434. descriptor from a hidden service directory for which the router
  21435. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  21436. on 0.2.0.10-alpha.
  21437. o Minor bugfixes:
  21438. - Fix several infrequent memory leaks spotted by Coverity.
  21439. - When testing for libevent functions, set the LDFLAGS variable
  21440. correctly. Found by Riastradh.
  21441. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  21442. bootstrapping with tunneled directory connections. Bugfix on
  21443. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  21444. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  21445. and we know that server B rejects most-but-not all connections to
  21446. port 80, we would previously reject the connection. Now, we assume
  21447. the user knows what they were asking for. Fixes bug 752. Bugfix
  21448. on 0.0.9rc5. Diagnosed by BarkerJr.
  21449. - If we overrun our per-second write limits a little, count this as
  21450. having used up our write allocation for the second, and choke
  21451. outgoing directory writes. Previously, we had only counted this when
  21452. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  21453. Bugfix on 0.2.0.x (??).
  21454. - Remove the old v2 directory authority 'lefkada' from the default
  21455. list. It has been gone for many months.
  21456. - Stop doing unaligned memory access that generated bus errors on
  21457. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  21458. - Make USR2 log-level switch take effect immediately. Bugfix on
  21459. 0.1.2.8-beta.
  21460. o Minor bugfixes (controller):
  21461. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  21462. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  21463. Changes in version 0.2.1.7-alpha - 2008-11-08
  21464. Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
  21465. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  21466. a smaller security flaw that might allow an attacker to access local
  21467. services, adds better defense against DNS poisoning attacks on exit
  21468. relays, further improves hidden service performance, and fixes a
  21469. variety of other issues.
  21470. o Security fixes:
  21471. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  21472. consistently obeyed: if an exit relay refuses a stream because its
  21473. exit policy doesn't allow it, we would remember what IP address
  21474. the relay said the destination address resolves to, even if it's
  21475. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  21476. - The "User" and "Group" config options did not clear the
  21477. supplementary group entries for the Tor process. The "User" option
  21478. is now more robust, and we now set the groups to the specified
  21479. user's primary group. The "Group" option is now ignored. For more
  21480. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  21481. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  21482. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
  21483. - Do not use or believe expired v3 authority certificates. Patch
  21484. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  21485. o Minor features:
  21486. - Now NodeFamily and MyFamily config options allow spaces in
  21487. identity fingerprints, so it's easier to paste them in.
  21488. Suggested by Lucky Green.
  21489. - Implement the 0x20 hack to better resist DNS poisoning: set the
  21490. case on outgoing DNS requests randomly, and reject responses that do
  21491. not match the case correctly. This logic can be disabled with the
  21492. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  21493. of servers that do not reliably preserve case in replies. See
  21494. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  21495. for more info.
  21496. - Preserve case in replies to DNSPort requests in order to support
  21497. the 0x20 hack for resisting DNS poisoning attacks.
  21498. o Hidden service performance improvements:
  21499. - When the client launches an introduction circuit, retry with a
  21500. new circuit after 30 seconds rather than 60 seconds.
  21501. - Launch a second client-side introduction circuit in parallel
  21502. after a delay of 15 seconds (based on work by Christian Wilms).
  21503. - Hidden services start out building five intro circuits rather
  21504. than three, and when the first three finish they publish a service
  21505. descriptor using those. Now we publish our service descriptor much
  21506. faster after restart.
  21507. o Minor bugfixes:
  21508. - Minor fix in the warning messages when you're having problems
  21509. bootstrapping; also, be more forgiving of bootstrap problems when
  21510. we're still making incremental progress on a given bootstrap phase.
  21511. - When we're choosing an exit node for a circuit, and we have
  21512. no pending streams, choose a good general exit rather than one that
  21513. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  21514. - Send a valid END cell back when a client tries to connect to a
  21515. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  21516. 840. Patch from rovv.
  21517. - If a broken client asks a non-exit router to connect somewhere,
  21518. do not even do the DNS lookup before rejecting the connection.
  21519. Fixes another case of bug 619. Patch from rovv.
  21520. - Fix another case of assuming, when a specific exit is requested,
  21521. that we know more than the user about what hosts it allows.
  21522. Fixes another case of bug 752. Patch from rovv.
  21523. - Check which hops rendezvous stream cells are associated with to
  21524. prevent possible guess-the-streamid injection attacks from
  21525. intermediate hops. Fixes another case of bug 446. Based on patch
  21526. from rovv.
  21527. - Avoid using a negative right-shift when comparing 32-bit
  21528. addresses. Possible fix for bug 845 and bug 811.
  21529. - Make the assert_circuit_ok() function work correctly on circuits that
  21530. have already been marked for close.
  21531. - Fix read-off-the-end-of-string error in unit tests when decoding
  21532. introduction points.
  21533. - Fix uninitialized size field for memory area allocation: may improve
  21534. memory performance during directory parsing.
  21535. - Treat duplicate certificate fetches as failures, so that we do
  21536. not try to re-fetch an expired certificate over and over and over.
  21537. - Do not say we're fetching a certificate when we'll in fact skip it
  21538. because of a pending download.
  21539. Changes in version 0.2.1.6-alpha - 2008-09-30
  21540. Tor 0.2.1.6-alpha further improves performance and robustness of
  21541. hidden services, starts work on supporting per-country relay selection,
  21542. and fixes a variety of smaller issues.
  21543. o Major features:
  21544. - Implement proposal 121: make it possible to build hidden services
  21545. that only certain clients are allowed to connect to. This is
  21546. enforced at several points, so that unauthorized clients are unable
  21547. to send INTRODUCE cells to the service, or even (depending on the
  21548. type of authentication) to learn introduction points. This feature
  21549. raises the bar for certain kinds of active attacks against hidden
  21550. services. Code by Karsten Loesing.
  21551. - Relays now store and serve v2 hidden service descriptors by default,
  21552. i.e., the new default value for HidServDirectoryV2 is 1. This is
  21553. the last step in proposal 114, which aims to make hidden service
  21554. lookups more reliable.
  21555. - Start work to allow node restrictions to include country codes. The
  21556. syntax to exclude nodes in a country with country code XX is
  21557. "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
  21558. refinement to decide what config options should take priority if
  21559. you ask to both use a particular node and exclude it.
  21560. - Allow ExitNodes list to include IP ranges and country codes, just
  21561. like the Exclude*Nodes lists. Patch from Robert Hogan.
  21562. o Major bugfixes:
  21563. - Fix a bug when parsing ports in tor_addr_port_parse() that caused
  21564. Tor to fail to start if you had it configured to use a bridge
  21565. relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
  21566. - When extending a circuit to a hidden service directory to upload a
  21567. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  21568. requests failed, because the router descriptor had not been
  21569. downloaded yet. In these cases, we now wait until the router
  21570. descriptor is downloaded, and then retry. Likewise, clients
  21571. now skip over a hidden service directory if they don't yet have
  21572. its router descriptor, rather than futilely requesting it and
  21573. putting mysterious complaints in the logs. Fixes bug 767. Bugfix
  21574. on 0.2.0.10-alpha.
  21575. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  21576. we were failing the whole hidden service request when the v0
  21577. descriptor fetch fails, even if the v2 fetch is still pending and
  21578. might succeed. Similarly, if the last v2 fetch fails, we were
  21579. failing the whole hidden service request even if a v0 fetch is
  21580. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  21581. - DNS replies need to have names matching their requests, but
  21582. these names should be in the questions section, not necessarily
  21583. in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
  21584. o Minor features:
  21585. - Update to the "September 1 2008" ip-to-country file.
  21586. - Allow ports 465 and 587 in the default exit policy again. We had
  21587. rejected them in 0.1.0.15, because back in 2005 they were commonly
  21588. misconfigured and ended up as spam targets. We hear they are better
  21589. locked down these days.
  21590. - Use a lockfile to make sure that two Tor processes are not
  21591. simultaneously running with the same datadir.
  21592. - Serve the latest v3 networkstatus consensus via the control
  21593. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  21594. - Better logging about stability/reliability calculations on directory
  21595. servers.
  21596. - Drop the requirement to have an open dir port for storing and
  21597. serving v2 hidden service descriptors.
  21598. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  21599. help debug WFU and MTBF calculations.
  21600. - Implement most of Proposal 152: allow specialized servers to permit
  21601. single-hop circuits, and clients to use those servers to build
  21602. single-hop circuits when using a specialized controller. Patch
  21603. from Josh Albrecht. Resolves feature request 768.
  21604. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  21605. people find host:port too confusing.
  21606. - Make TrackHostExit mappings expire a while after their last use, not
  21607. after their creation. Patch from Robert Hogan.
  21608. - Provide circuit purposes along with circuit events to the controller.
  21609. o Minor bugfixes:
  21610. - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
  21611. Reported by Tas.
  21612. - Fixed some memory leaks -- some quite frequent, some almost
  21613. impossible to trigger -- based on results from Coverity.
  21614. - When testing for libevent functions, set the LDFLAGS variable
  21615. correctly. Found by Riastradh.
  21616. - Fix an assertion bug in parsing policy-related options; possible fix
  21617. for bug 811.
  21618. - Catch and report a few more bootstrapping failure cases when Tor
  21619. fails to establish a TCP connection. Cleanup on 0.2.1.x.
  21620. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  21621. bootstrapping with tunneled directory connections. Bugfix on
  21622. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  21623. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  21624. and we know that server B rejects most-but-not all connections to
  21625. port 80, we would previously reject the connection. Now, we assume
  21626. the user knows what they were asking for. Fixes bug 752. Bugfix
  21627. on 0.0.9rc5. Diagnosed by BarkerJr.
  21628. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  21629. service directories if they have no advertised dir port. Bugfix
  21630. on 0.2.0.10-alpha.
  21631. - If we overrun our per-second write limits a little, count this as
  21632. having used up our write allocation for the second, and choke
  21633. outgoing directory writes. Previously, we had only counted this when
  21634. we had met our limits precisely. Fixes bug 824. Patch by rovv.
  21635. Bugfix on 0.2.0.x (??).
  21636. - Avoid a "0 divided by 0" calculation when calculating router uptime
  21637. at directory authorities. Bugfix on 0.2.0.8-alpha.
  21638. - Make DNS resolved controller events into "CLOSED", not
  21639. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  21640. bug 807.
  21641. - Fix a bug where an unreachable relay would establish enough
  21642. reachability testing circuits to do a bandwidth test -- if
  21643. we already have a connection to the middle hop of the testing
  21644. circuit, then it could establish the last hop by using the existing
  21645. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  21646. circuits no longer use entry guards in 0.2.1.3-alpha.
  21647. - If we have correct permissions on $datadir, we complain to stdout
  21648. and fail to start. But dangerous permissions on
  21649. $datadir/cached-status/ would cause us to open a log and complain
  21650. there. Now complain to stdout and fail to start in both cases. Fixes
  21651. bug 820, reported by seeess.
  21652. - Remove the old v2 directory authority 'lefkada' from the default
  21653. list. It has been gone for many months.
  21654. o Code simplifications and refactoring:
  21655. - Revise the connection_new functions so that a more typesafe variant
  21656. exists. This will work better with Coverity, and let us find any
  21657. actual mistakes we're making here.
  21658. - Refactor unit testing logic so that dmalloc can be used sensibly
  21659. with unit tests to check for memory leaks.
  21660. - Move all hidden-service related fields from connection and circuit
  21661. structure to substructures: this way they won't eat so much memory.
  21662. Changes in version 0.2.0.31 - 2008-09-03
  21663. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  21664. a big bug we're seeing where in rare cases traffic from one Tor stream
  21665. gets mixed into another stream, and fixes a variety of smaller issues.
  21666. o Major bugfixes:
  21667. - Make sure that two circuits can never exist on the same connection
  21668. with the same circuit ID, even if one is marked for close. This
  21669. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  21670. - Relays now reject risky extend cells: if the extend cell includes
  21671. a digest of all zeroes, or asks to extend back to the relay that
  21672. sent the extend cell, tear down the circuit. Ideas suggested
  21673. by rovv.
  21674. - If not enough of our entry guards are available so we add a new
  21675. one, we might use the new one even if it overlapped with the
  21676. current circuit's exit relay (or its family). Anonymity bugfix
  21677. pointed out by rovv.
  21678. o Minor bugfixes:
  21679. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  21680. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  21681. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  21682. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  21683. - Pick size of default geoip filename string correctly on windows.
  21684. Fixes bug 806. Bugfix on 0.2.0.30.
  21685. - Make the autoconf script accept the obsolete --with-ssl-dir
  21686. option as an alias for the actually-working --with-openssl-dir
  21687. option. Fix the help documentation to recommend --with-openssl-dir.
  21688. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  21689. - When using the TransPort option on OpenBSD, and using the User
  21690. option to change UID and drop privileges, make sure to open
  21691. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  21692. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  21693. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  21694. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  21695. on the client side when connecting to a hidden service. Bugfix
  21696. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  21697. - When closing an application-side connection because its circuit is
  21698. getting torn down, generate the stream event correctly. Bugfix on
  21699. 0.1.2.x. Anonymous patch.
  21700. Changes in version 0.2.1.5-alpha - 2008-08-31
  21701. Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
  21702. in a lot of the infrastructure for adding authorization to hidden
  21703. services, lays the groundwork for having clients read their load
  21704. balancing information out of the networkstatus consensus rather than
  21705. the individual router descriptors, addresses two potential anonymity
  21706. issues, and fixes a variety of smaller issues.
  21707. o Major features:
  21708. - Convert many internal address representations to optionally hold
  21709. IPv6 addresses.
  21710. - Generate and accept IPv6 addresses in many protocol elements.
  21711. - Make resolver code handle nameservers located at ipv6 addresses.
  21712. - Begin implementation of proposal 121 ("Client authorization for
  21713. hidden services"): configure hidden services with client
  21714. authorization, publish descriptors for them, and configure
  21715. authorization data for hidden services at clients. The next
  21716. step is to actually access hidden services that perform client
  21717. authorization.
  21718. - More progress toward proposal 141: Network status consensus
  21719. documents and votes now contain bandwidth information for each
  21720. router and a summary of that router's exit policy. Eventually this
  21721. will be used by clients so that they do not have to download every
  21722. known descriptor before building circuits.
  21723. o Major bugfixes (on 0.2.0.x and before):
  21724. - When sending CREATED cells back for a given circuit, use a 64-bit
  21725. connection ID to find the right connection, rather than an addr:port
  21726. combination. Now that we can have multiple OR connections between
  21727. the same ORs, it is no longer possible to use addr:port to uniquely
  21728. identify a connection.
  21729. - Relays now reject risky extend cells: if the extend cell includes
  21730. a digest of all zeroes, or asks to extend back to the relay that
  21731. sent the extend cell, tear down the circuit. Ideas suggested
  21732. by rovv.
  21733. - If not enough of our entry guards are available so we add a new
  21734. one, we might use the new one even if it overlapped with the
  21735. current circuit's exit relay (or its family). Anonymity bugfix
  21736. pointed out by rovv.
  21737. o Minor bugfixes:
  21738. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  21739. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  21740. - When using the TransPort option on OpenBSD, and using the User
  21741. option to change UID and drop privileges, make sure to open /dev/pf
  21742. before dropping privileges. Fixes bug 782. Patch from Christopher
  21743. Davis. Bugfix on 0.1.2.1-alpha.
  21744. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  21745. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  21746. - Add a missing safe_str() call for a debug log message.
  21747. - Use 64 bits instead of 32 bits for connection identifiers used with
  21748. the controller protocol, to greatly reduce risk of identifier reuse.
  21749. - Make the autoconf script accept the obsolete --with-ssl-dir
  21750. option as an alias for the actually-working --with-openssl-dir
  21751. option. Fix the help documentation to recommend --with-openssl-dir.
  21752. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  21753. o Minor features:
  21754. - Rate-limit too-many-sockets messages: when they happen, they happen
  21755. a lot. Resolves bug 748.
  21756. - Resist DNS poisoning a little better by making sure that names in
  21757. answer sections match.
  21758. - Print the SOCKS5 error message string as well as the error code
  21759. when a tor-resolve request fails. Patch from Jacob.
  21760. Changes in version 0.2.1.4-alpha - 2008-08-04
  21761. Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
  21762. o Major bugfixes:
  21763. - The address part of exit policies was not correctly written
  21764. to router descriptors. This generated router descriptors that failed
  21765. their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
  21766. on 0.2.1.3-alpha.
  21767. - Tor triggered a false assert when extending a circuit to a relay
  21768. but we already have a connection open to that relay. Noticed by
  21769. phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
  21770. o Minor bugfixes:
  21771. - Fix a hidden service logging bug: in some edge cases, the router
  21772. descriptor of a previously picked introduction point becomes
  21773. obsolete and we need to give up on it rather than continually
  21774. complaining that it has become obsolete. Observed by xiando. Bugfix
  21775. on 0.2.1.3-alpha.
  21776. o Removed features:
  21777. - Take out the TestVia config option, since it was a workaround for
  21778. a bug that was fixed in Tor 0.1.1.21.
  21779. Changes in version 0.2.1.3-alpha - 2008-08-03
  21780. Tor 0.2.1.3-alpha implements most of the pieces to prevent
  21781. infinite-length circuit attacks (see proposal 110); fixes a bug that
  21782. might cause exit relays to corrupt streams they send back; allows
  21783. address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
  21784. ExcludeExitNodes config options; and fixes a big pile of bugs.
  21785. o Bootstrapping bugfixes (on 0.2.1.x-alpha):
  21786. - Send a bootstrap problem "warn" event on the first problem if the
  21787. reason is NO_ROUTE (that is, our network is down).
  21788. o Major features:
  21789. - Implement most of proposal 110: The first K cells to be sent
  21790. along a circuit are marked as special "early" cells; only K "early"
  21791. cells will be allowed. Once this code is universal, we can block
  21792. certain kinds of DOS attack by requiring that EXTEND commands must
  21793. be sent using an "early" cell.
  21794. o Major bugfixes:
  21795. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  21796. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  21797. on the client side when connecting to a hidden service. Bugfix
  21798. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  21799. - Ensure that two circuits can never exist on the same connection
  21800. with the same circuit ID, even if one is marked for close. This
  21801. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  21802. o Minor features:
  21803. - When relays do their initial bandwidth measurement, don't limit
  21804. to just our entry guards for the test circuits. Otherwise we tend
  21805. to have multiple test circuits going through a single entry guard,
  21806. which makes our bandwidth test less accurate. Fixes part of bug 654;
  21807. patch contributed by Josh Albrecht.
  21808. - Add an ExcludeExitNodes option so users can list a set of nodes
  21809. that should be be excluded from the exit node position, but
  21810. allowed elsewhere. Implements proposal 151.
  21811. - Allow address patterns (e.g., 255.128.0.0/16) to appear in
  21812. ExcludeNodes and ExcludeExitNodes lists.
  21813. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  21814. be more efficient. Formerly it was quadratic in the number of
  21815. servers; now it should be linear. Fixes bug 509.
  21816. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  21817. and n_conn_id_digest fields into a separate structure that's
  21818. only needed when the circuit has not yet attached to an n_conn.
  21819. o Minor bugfixes:
  21820. - Change the contrib/tor.logrotate script so it makes the new
  21821. logs as "_tor:_tor" rather than the default, which is generally
  21822. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  21823. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  21824. warnings (occasionally), but it can also cause the compiler to
  21825. eliminate error-checking code. Suggested by Peter Gutmann.
  21826. - When a hidden service is giving up on an introduction point candidate
  21827. that was not included in the last published rendezvous descriptor,
  21828. don't reschedule publication of the next descriptor. Fixes bug 763.
  21829. Bugfix on 0.0.9.3.
  21830. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  21831. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  21832. and nobody claims to be using them. Fixes bug 754. Bugfix on
  21833. 0.1.0.1-rc. Patch from Christian Wilms.
  21834. - Fix a small alignment and memory-wasting bug on buffer chunks.
  21835. Spotted by rovv.
  21836. o Minor bugfixes (controller):
  21837. - When closing an application-side connection because its circuit
  21838. is getting torn down, generate the stream event correctly.
  21839. Bugfix on 0.1.2.x. Anonymous patch.
  21840. o Removed features:
  21841. - Remove all backward-compatibility code to support relays running
  21842. versions of Tor so old that they no longer work at all on the
  21843. Tor network.
  21844. Changes in version 0.2.0.30 - 2008-07-15
  21845. o Minor bugfixes:
  21846. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  21847. warnings (occasionally), but it can also cause the compiler to
  21848. eliminate error-checking code. Suggested by Peter Gutmann.
  21849. Changes in version 0.2.0.29-rc - 2008-07-08
  21850. Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
  21851. hidden-service performance bugs, and fixes a bunch of smaller bugs.
  21852. o Major bugfixes:
  21853. - If you have more than one bridge but don't know their keys,
  21854. you would only launch a request for the descriptor of the first one
  21855. on your list. (Tor considered launching requests for the others, but
  21856. found that it already had a connection on the way for $0000...0000
  21857. so it didn't open another.) Bugfix on 0.2.0.x.
  21858. - If you have more than one bridge but don't know their keys, and the
  21859. connection to one of the bridges failed, you would cancel all
  21860. pending bridge connections. (After all, they all have the same
  21861. digest.) Bugfix on 0.2.0.x.
  21862. - When a hidden service was trying to establish an introduction point,
  21863. and Tor had built circuits preemptively for such purposes, we
  21864. were ignoring all the preemptive circuits and launching a new one
  21865. instead. Bugfix on 0.2.0.14-alpha.
  21866. - When a hidden service was trying to establish an introduction point,
  21867. and Tor *did* manage to reuse one of the preemptively built
  21868. circuits, it didn't correctly remember which one it used,
  21869. so it asked for another one soon after, until there were no
  21870. more preemptive circuits, at which point it launched one from
  21871. scratch. Bugfix on 0.0.9.x.
  21872. - Make directory servers include the X-Your-Address-Is: http header in
  21873. their responses even for begin_dir conns. Now clients who only
  21874. ever use begin_dir connections still have a way to learn their IP
  21875. address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
  21876. o Minor bugfixes:
  21877. - Fix a macro/CPP interaction that was confusing some compilers:
  21878. some GCCs don't like #if/#endif pairs inside macro arguments.
  21879. Fixes bug 707.
  21880. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  21881. Fixes bug 704; fix from Steven Murdoch.
  21882. - When opening /dev/null in finish_daemonize(), do not pass the
  21883. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  21884. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  21885. - Correctly detect transparent proxy support on Linux hosts that
  21886. require in.h to be included before netfilter_ipv4.h. Patch
  21887. from coderman.
  21888. - Disallow session resumption attempts during the renegotiation
  21889. stage of the v2 handshake protocol. Clients should never be trying
  21890. session resumption at this point, but apparently some did, in
  21891. ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
  21892. found by Geoff Goodell.
  21893. Changes in version 0.2.1.2-alpha - 2008-06-20
  21894. Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
  21895. make it easier to set up your own private Tor network; fixes several
  21896. big bugs with using more than one bridge relay; fixes a big bug with
  21897. offering hidden services quickly after Tor starts; and uses a better
  21898. API for reporting potential bootstrapping problems to the controller.
  21899. o Major features:
  21900. - New TestingTorNetwork config option to allow adjustment of
  21901. previously constant values that, while reasonable, could slow
  21902. bootstrapping. Implements proposal 135. Patch from Karsten.
  21903. o Major bugfixes:
  21904. - If you have more than one bridge but don't know their digests,
  21905. you would only learn a request for the descriptor of the first one
  21906. on your list. (Tor considered launching requests for the others, but
  21907. found that it already had a connection on the way for $0000...0000
  21908. so it didn't open another.) Bugfix on 0.2.0.x.
  21909. - If you have more than one bridge but don't know their digests,
  21910. and the connection to one of the bridges failed, you would cancel
  21911. all pending bridge connections. (After all, they all have the
  21912. same digest.) Bugfix on 0.2.0.x.
  21913. - When establishing a hidden service, introduction points that
  21914. originate from cannibalized circuits are completely ignored and not
  21915. included in rendezvous service descriptors. This might be another
  21916. reason for delay in making a hidden service available. Bugfix
  21917. from long ago (0.0.9.x?)
  21918. o Minor features:
  21919. - Allow OpenSSL to use dynamic locks if it wants.
  21920. - When building a consensus, do not include routers that are down.
  21921. This will cut down 30% to 40% on consensus size. Implements
  21922. proposal 138.
  21923. - In directory authorities' approved-routers files, allow
  21924. fingerprints with or without space.
  21925. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  21926. controller can query our current bootstrap state in case it attaches
  21927. partway through and wants to catch up.
  21928. - Send an initial "Starting" bootstrap status event, so we have a
  21929. state to start out in.
  21930. o Minor bugfixes:
  21931. - Asking for a conditional consensus at .../consensus/<fingerprints>
  21932. would crash a dirserver if it did not already have a
  21933. consensus. Bugfix on 0.2.1.1-alpha.
  21934. - Clean up some macro/CPP interactions: some GCC versions don't like
  21935. #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
  21936. 0.2.0.x.
  21937. o Bootstrapping bugfixes (on 0.2.1.1-alpha):
  21938. - Directory authorities shouldn't complain about bootstrapping
  21939. problems just because they do a lot of reachability testing and
  21940. some of the connection attempts fail.
  21941. - Start sending "count" and "recommendation" key/value pairs in
  21942. bootstrap problem status events, so the controller can hear about
  21943. problems even before Tor decides they're worth reporting for sure.
  21944. - If you're using bridges, generate "bootstrap problem" warnings
  21945. as soon as you run out of working bridges, rather than waiting
  21946. for ten failures -- which will never happen if you have less than
  21947. ten bridges.
  21948. - If we close our OR connection because there's been a circuit
  21949. pending on it for too long, we were telling our bootstrap status
  21950. events "REASON=NONE". Now tell them "REASON=TIMEOUT".
  21951. Changes in version 0.2.1.1-alpha - 2008-06-13
  21952. Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
  21953. were making the Tor process bloat especially on Linux; makes our TLS
  21954. handshake blend in better; sends "bootstrap phase" status events to
  21955. the controller, so it can keep the user informed of progress (and
  21956. problems) fetching directory information and establishing circuits;
  21957. and adds a variety of smaller features.
  21958. o Major features:
  21959. - More work on making our TLS handshake blend in: modify the list
  21960. of ciphers advertised by OpenSSL in client mode to even more
  21961. closely resemble a common web browser. We cheat a little so that
  21962. we can advertise ciphers that the locally installed OpenSSL doesn't
  21963. know about.
  21964. - Start sending "bootstrap phase" status events to the controller,
  21965. so it can keep the user informed of progress fetching directory
  21966. information and establishing circuits. Also inform the controller
  21967. if we think we're stuck at a particular bootstrap phase. Implements
  21968. proposal 137.
  21969. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  21970. cross-platform entropy collection again. We used to use it, then
  21971. stopped using it because of a bug that could crash systems that
  21972. called RAND_poll when they had a lot of fds open. It looks like the
  21973. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  21974. at startup, and to call RAND_poll() when we reseed later only if
  21975. we have a non-buggy OpenSSL version.
  21976. o Major bugfixes:
  21977. - When we choose to abandon a new entry guard because we think our
  21978. older ones might be better, close any circuits pending on that
  21979. new entry guard connection. This fix should make us recover much
  21980. faster when our network is down and then comes back. Bugfix on
  21981. 0.1.2.8-beta; found by lodger.
  21982. o Memory fixes and improvements:
  21983. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  21984. to avoid unused RAM in buffer chunks and memory pools.
  21985. - Speed up parsing and cut down on memory fragmentation by using
  21986. stack-style allocations for parsing directory objects. Previously,
  21987. this accounted for over 40% of allocations from within Tor's code
  21988. on a typical directory cache.
  21989. - Use a Bloom filter rather than a digest-based set to track which
  21990. descriptors we need to keep around when we're cleaning out old
  21991. router descriptors. This speeds up the computation significantly,
  21992. and may reduce fragmentation.
  21993. - Reduce the default smartlist size from 32 to 16; it turns out that
  21994. most smartlists hold around 8-12 elements tops.
  21995. - Make dumpstats() log the fullness and size of openssl-internal
  21996. buffers.
  21997. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  21998. patch to their OpenSSL, turn it on to save memory on servers. This
  21999. patch will (with any luck) get included in a mainline distribution
  22000. before too long.
  22001. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  22002. compress cells, which are basically all encrypted, compressed,
  22003. or both.
  22004. o Minor bugfixes:
  22005. - Stop reloading the router list from disk for no reason when we
  22006. run out of reachable directory mirrors. Once upon a time reloading
  22007. it would set the 'is_running' flag back to 1 for them. It hasn't
  22008. done that for a long time.
  22009. - In very rare situations new hidden service descriptors were
  22010. published earlier than 30 seconds after the last change to the
  22011. service. (We currently think that a hidden service descriptor
  22012. that's been stable for 30 seconds is worth publishing.)
  22013. o Minor features:
  22014. - Allow separate log levels to be configured for different logging
  22015. domains. For example, this allows one to log all notices, warnings,
  22016. or errors, plus all memory management messages of level debug or
  22017. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  22018. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  22019. and stop using a warning that had become unfixably verbose under
  22020. GCC 4.3.
  22021. - New --hush command-line option similar to --quiet. While --quiet
  22022. disables all logging to the console on startup, --hush limits the
  22023. output to messages of warning and error severity.
  22024. - Servers support a new URL scheme for consensus downloads that
  22025. allows the client to specify which authorities are trusted.
  22026. The server then only sends the consensus if the client will trust
  22027. it. Otherwise a 404 error is sent back. Clients use this
  22028. new scheme when the server supports it (meaning it's running
  22029. 0.2.1.1-alpha or later). Implements proposal 134.
  22030. - New configure/torrc options (--enable-geoip-stats,
  22031. DirRecordUsageByCountry) to record how many IPs we've served
  22032. directory info to in each country code, how many status documents
  22033. total we've sent to each country code, and what share of the total
  22034. directory requests we should expect to see.
  22035. - Use the TLS1 hostname extension to more closely resemble browser
  22036. behavior.
  22037. - Lots of new unit tests.
  22038. - Add a macro to implement the common pattern of iterating through
  22039. two parallel lists in lockstep.
  22040. Changes in version 0.2.0.28-rc - 2008-06-13
  22041. Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
  22042. performance bug, and fixes a bunch of smaller bugs.
  22043. o Anonymity fixes:
  22044. - Fix a bug where, when we were choosing the 'end stream reason' to
  22045. put in our relay end cell that we send to the exit relay, Tor
  22046. clients on Windows were sometimes sending the wrong 'reason'. The
  22047. anonymity problem is that exit relays may be able to guess whether
  22048. the client is running Windows, thus helping partition the anonymity
  22049. set. Down the road we should stop sending reasons to exit relays,
  22050. or otherwise prevent future versions of this bug.
  22051. o Major bugfixes:
  22052. - While setting up a hidden service, some valid introduction circuits
  22053. were overlooked and abandoned. This might be the reason for
  22054. the long delay in making a hidden service available. Bugfix on
  22055. 0.2.0.14-alpha.
  22056. o Minor features:
  22057. - Update to the "June 9 2008" ip-to-country file.
  22058. - Run 'make test' as part of 'make dist', so we stop releasing so
  22059. many development snapshots that fail their unit tests.
  22060. o Minor bugfixes:
  22061. - When we're checking if we have enough dir info for each relay
  22062. to begin establishing circuits, make sure that we actually have
  22063. the descriptor listed in the consensus, not just any descriptor.
  22064. Bugfix on 0.1.2.x.
  22065. - Bridge relays no longer print "xx=0" in their extrainfo document
  22066. for every single country code in the geoip db. Bugfix on
  22067. 0.2.0.27-rc.
  22068. - Only warn when we fail to load the geoip file if we were planning to
  22069. include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
  22070. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  22071. Tor won't realize it should publish a new relay descriptor. Fixes
  22072. bug 688, reported by mfr. Bugfix on 0.1.2.x.
  22073. - When we haven't had any application requests lately, don't bother
  22074. logging that we have expired a bunch of descriptors. Bugfix
  22075. on 0.1.2.x.
  22076. - Make relay cells written on a connection count as non-padding when
  22077. tracking how long a connection has been in use. Bugfix on
  22078. 0.2.0.1-alpha. Spotted by lodger.
  22079. - Fix unit tests in 0.2.0.27-rc.
  22080. - Fix compile on Windows.
  22081. Changes in version 0.2.0.27-rc - 2008-06-03
  22082. Tor 0.2.0.27-rc adds a few features we left out of the earlier
  22083. release candidates. In particular, we now include an IP-to-country
  22084. GeoIP database, so controllers can easily look up what country a
  22085. given relay is in, and so bridge relays can give us some sanitized
  22086. summaries about which countries are making use of bridges. (See proposal
  22087. 126-geoip-fetching.txt for details.)
  22088. o Major features:
  22089. - Include an IP-to-country GeoIP file in the tarball, so bridge
  22090. relays can report sanitized summaries of the usage they're seeing.
  22091. o Minor features:
  22092. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  22093. Robert Hogan. Fixes the first part of bug 681.
  22094. - Make bridge authorities never serve extrainfo docs.
  22095. - Add support to detect Libevent versions in the 1.4.x series
  22096. on mingw.
  22097. - Fix build on gcc 4.3 with --enable-gcc-warnings set.
  22098. - Include a new contrib/tor-exit-notice.html file that exit relay
  22099. operators can put on their website to help reduce abuse queries.
  22100. o Minor bugfixes:
  22101. - When tunneling an encrypted directory connection, and its first
  22102. circuit fails, do not leave it unattached and ask the controller
  22103. to deal. Fixes the second part of bug 681.
  22104. - Make bridge authorities correctly expire old extrainfo documents
  22105. from time to time.
  22106. Changes in version 0.2.0.26-rc - 2008-05-13
  22107. Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
  22108. in Debian's OpenSSL packages. All users running any 0.2.0.x version
  22109. should upgrade, whether they're running Debian or not.
  22110. o Major security fixes:
  22111. - Use new V3 directory authority keys on the tor26, gabelmoo, and
  22112. moria1 V3 directory authorities. The old keys were generated with
  22113. a vulnerable version of Debian's OpenSSL package, and must be
  22114. considered compromised. Other authorities' keys were not generated
  22115. with an affected version of OpenSSL.
  22116. o Major bugfixes:
  22117. - List authority signatures as "unrecognized" based on DirServer
  22118. lines, not on cert cache. Bugfix on 0.2.0.x.
  22119. o Minor features:
  22120. - Add a new V3AuthUseLegacyKey option to make it easier for
  22121. authorities to change their identity keys if they have to.
  22122. Changes in version 0.2.0.25-rc - 2008-04-23
  22123. Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
  22124. o Major bugfixes:
  22125. - Remember to initialize threading before initializing logging.
  22126. Otherwise, many BSD-family implementations will crash hard on
  22127. startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
  22128. o Minor bugfixes:
  22129. - Authorities correctly free policies on bad servers on
  22130. exit. Fixes bug 672. Bugfix on 0.2.0.x.
  22131. Changes in version 0.2.0.24-rc - 2008-04-22
  22132. Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
  22133. v3 directory authority, makes relays with dynamic IP addresses and no
  22134. DirPort notice more quickly when their IP address changes, fixes a few
  22135. rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
  22136. o New directory authorities:
  22137. - Take lefkada out of the list of v3 directory authorities, since
  22138. it has been down for months.
  22139. - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
  22140. authority.
  22141. o Major bugfixes:
  22142. - Detect address changes more quickly on non-directory mirror
  22143. relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
  22144. o Minor features (security):
  22145. - Reject requests for reverse-dns lookup of names that are in
  22146. a private address space. Patch from lodger.
  22147. - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
  22148. from lodger.
  22149. o Minor bugfixes (crashes):
  22150. - Avoid a rare assert that can trigger when Tor doesn't have much
  22151. directory information yet and it tries to fetch a v2 hidden
  22152. service descriptor. Fixes bug 651, reported by nwf.
  22153. - Initialize log mutex before initializing dmalloc. Otherwise,
  22154. running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
  22155. - Use recursive pthread mutexes in order to avoid deadlock when
  22156. logging debug-level messages to a controller. Bug spotted by nwf,
  22157. bugfix on 0.2.0.16-alpha.
  22158. o Minor bugfixes (resource management):
  22159. - Keep address policies from leaking memory: start their refcount
  22160. at 1, not 2. Bugfix on 0.2.0.16-alpha.
  22161. - Free authority certificates on exit, so they don't look like memory
  22162. leaks. Bugfix on 0.2.0.19-alpha.
  22163. - Free static hashtables for policy maps and for TLS connections on
  22164. shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
  22165. - Avoid allocating extra space when computing consensuses on 64-bit
  22166. platforms. Bug spotted by aakova.
  22167. o Minor bugfixes (misc):
  22168. - Do not read the configuration file when we've only been told to
  22169. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  22170. based on patch from Sebastian Hahn.
  22171. - Exit relays that are used as a client can now reach themselves
  22172. using the .exit notation, rather than just launching an infinite
  22173. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  22174. - When attempting to open a logfile fails, tell us why.
  22175. - Fix a dumb bug that was preventing us from knowing that we should
  22176. preemptively build circuits to handle expected directory requests.
  22177. Fixes bug 660. Bugfix on 0.1.2.x.
  22178. - Warn less verbosely about clock skew from netinfo cells from
  22179. untrusted sources. Fixes bug 663.
  22180. - Make controller stream events for DNS requests more consistent,
  22181. by adding "new stream" events for DNS requests, and removing
  22182. spurious "stream closed" events" for cached reverse resolves.
  22183. Patch from mwenge. Fixes bug 646.
  22184. - Correctly notify one-hop connections when a circuit build has
  22185. failed. Possible fix for bug 669. Found by lodger.
  22186. Changes in version 0.2.0.23-rc - 2008-03-24
  22187. Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
  22188. makes bootstrapping faster if the first directory mirror you contact
  22189. is down. The bundles also include the new Vidalia 0.1.2 release.
  22190. o Major bugfixes:
  22191. - When a tunneled directory request is made to a directory server
  22192. that's down, notice after 30 seconds rather than 120 seconds. Also,
  22193. fail any begindir streams that are pending on it, so they can
  22194. retry elsewhere. This was causing multi-minute delays on bootstrap.
  22195. Changes in version 0.2.0.22-rc - 2008-03-18
  22196. Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
  22197. enables encrypted directory connections by default for non-relays, fixes
  22198. some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
  22199. other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
  22200. o Major features:
  22201. - Enable encrypted directory connections by default for non-relays,
  22202. so censor tools that block Tor directory connections based on their
  22203. plaintext patterns will no longer work. This means Tor works in
  22204. certain censored countries by default again.
  22205. o Major bugfixes:
  22206. - Make sure servers always request certificates from clients during
  22207. TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
  22208. - Do not enter a CPU-eating loop when a connection is closed in
  22209. the middle of client-side TLS renegotiation. Fixes bug 622. Bug
  22210. diagnosed by lodger; bugfix on 0.2.0.20-rc.
  22211. - Fix assertion failure that could occur when a blocked circuit
  22212. became unblocked, and it had pending client DNS requests. Bugfix
  22213. on 0.2.0.1-alpha. Fixes bug 632.
  22214. o Minor bugfixes (on 0.1.2.x):
  22215. - Generate "STATUS_SERVER" events rather than misspelled
  22216. "STATUS_SEVER" events. Caught by mwenge.
  22217. - When counting the number of bytes written on a TLS connection,
  22218. look at the BIO actually used for writing to the network, not
  22219. at the BIO used (sometimes) to buffer data for the network.
  22220. Looking at different BIOs could result in write counts on the
  22221. order of ULONG_MAX. Fixes bug 614.
  22222. - On Windows, correctly detect errors when listing the contents of
  22223. a directory. Fix from lodger.
  22224. o Minor bugfixes (on 0.2.0.x):
  22225. - Downgrade "sslv3 alert handshake failure" message to INFO.
  22226. - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
  22227. left BandwidthRate and BandwidthBurst at the default, we would be
  22228. silently limited by those defaults. Now raise them to match the
  22229. RelayBandwidth* values.
  22230. - Fix the SVK version detection logic to work correctly on a branch.
  22231. - Make --enable-openbsd-malloc work correctly on Linux with alpha
  22232. CPUs. Fixes bug 625.
  22233. - Logging functions now check that the passed severity is sane.
  22234. - Use proper log levels in the testsuite call of
  22235. get_interface_address6().
  22236. - When using a nonstandard malloc, do not use the platform values for
  22237. HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
  22238. - Make the openbsd malloc code use 8k pages on alpha CPUs and
  22239. 16k pages on ia64.
  22240. - Detect mismatched page sizes when using --enable-openbsd-malloc.
  22241. - Avoid double-marked-for-close warning when certain kinds of invalid
  22242. .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
  22243. for bug 617. Bugfix on 0.2.0.1-alpha.
  22244. - Make sure that the "NULL-means-reject *:*" convention is followed by
  22245. all the policy manipulation functions, avoiding some possible crash
  22246. bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
  22247. - Fix the implementation of ClientDNSRejectInternalAddresses so that it
  22248. actually works, and doesn't warn about every single reverse lookup.
  22249. Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
  22250. o Minor features:
  22251. - Only log guard node status when guard node status has changed.
  22252. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  22253. make "INFO" 75% less verbose.
  22254. Changes in version 0.2.0.21-rc - 2008-03-02
  22255. Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
  22256. makes Tor work well with Vidalia again, fixes a rare assert bug,
  22257. and fixes a pair of more minor bugs. The bundles also include Vidalia
  22258. 0.1.0 and Torbutton 1.1.16.
  22259. o Major bugfixes:
  22260. - The control port should declare that it requires password auth
  22261. when HashedControlSessionPassword is set too. Patch from Matt Edman;
  22262. bugfix on 0.2.0.20-rc. Fixes bug 615.
  22263. - Downgrade assert in connection_buckets_decrement() to a log message.
  22264. This may help us solve bug 614, and in any case will make its
  22265. symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
  22266. - We were sometimes miscounting the number of bytes read from the
  22267. network, causing our rate limiting to not be followed exactly.
  22268. Bugfix on 0.2.0.16-alpha. Reported by lodger.
  22269. o Minor bugfixes:
  22270. - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
  22271. OpenSSL versions should have been working fine. Diagnosis and patch
  22272. from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
  22273. Bugfix on 0.2.0.20-rc.
  22274. Changes in version 0.2.0.20-rc - 2008-02-24
  22275. Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
  22276. makes more progress towards normalizing Tor's TLS handshake, makes
  22277. hidden services work better again, helps relays bootstrap if they don't
  22278. know their IP address, adds optional support for linking in openbsd's
  22279. allocator or tcmalloc, allows really fast relays to scale past 15000
  22280. sockets, and fixes a bunch of minor bugs reported by Veracode.
  22281. o Major features:
  22282. - Enable the revised TLS handshake based on the one designed by
  22283. Steven Murdoch in proposal 124, as revised in proposal 130. It
  22284. includes version negotiation for OR connections as described in
  22285. proposal 105. The new handshake is meant to be harder for censors
  22286. to fingerprint, and it adds the ability to detect certain kinds of
  22287. man-in-the-middle traffic analysis attacks. The version negotiation
  22288. feature will allow us to improve Tor's link protocol more safely
  22289. in the future.
  22290. - Choose which bridge to use proportional to its advertised bandwidth,
  22291. rather than uniformly at random. This should speed up Tor for
  22292. bridge users. Also do this for people who set StrictEntryNodes.
  22293. - When a TrackHostExits-chosen exit fails too many times in a row,
  22294. stop using it. Bugfix on 0.1.2.x; fixes bug 437.
  22295. o Major bugfixes:
  22296. - Resolved problems with (re-)fetching hidden service descriptors.
  22297. Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
  22298. and 0.2.0.19-alpha.
  22299. - If we only ever used Tor for hidden service lookups or posts, we
  22300. would stop building circuits and start refusing connections after
  22301. 24 hours, since we falsely believed that Tor was dormant. Reported
  22302. by nwf; bugfix on 0.1.2.x.
  22303. - Servers that don't know their own IP address should go to the
  22304. authorities for their first directory fetch, even if their DirPort
  22305. is off or if they don't know they're reachable yet. This will help
  22306. them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
  22307. - When counting the number of open sockets, count not only the number
  22308. of sockets we have received from the socket() call, but also
  22309. the number we've gotten from accept() and socketpair(). This bug
  22310. made us fail to count all sockets that we were using for incoming
  22311. connections. Bugfix on 0.2.0.x.
  22312. - Fix code used to find strings within buffers, when those strings
  22313. are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
  22314. - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
  22315. - Add a new __HashedControlSessionPassword option for controllers
  22316. to use for one-off session password hashes that shouldn't get
  22317. saved to disk by SAVECONF --- Vidalia users were accumulating a
  22318. pile of HashedControlPassword lines in their torrc files, one for
  22319. each time they had restarted Tor and then clicked Save. Make Tor
  22320. automatically convert "HashedControlPassword" to this new option but
  22321. only when it's given on the command line. Partial fix for bug 586.
  22322. o Minor features (performance):
  22323. - Tune parameters for cell pool allocation to minimize amount of
  22324. RAM overhead used.
  22325. - Add OpenBSD malloc code from phk as an optional malloc
  22326. replacement on Linux: some glibc libraries do very poorly
  22327. with Tor's memory allocation patterns. Pass
  22328. --enable-openbsd-malloc to get the replacement malloc code.
  22329. - Add a --with-tcmalloc option to the configure script to link
  22330. against tcmalloc (if present). Does not yet search for
  22331. non-system include paths.
  22332. - Stop imposing an arbitrary maximum on the number of file descriptors
  22333. used for busy servers. Bug reported by Olaf Selke; patch from
  22334. Sebastian Hahn.
  22335. o Minor features (other):
  22336. - When SafeLogging is disabled, log addresses along with all TLS
  22337. errors.
  22338. - When building with --enable-gcc-warnings, check for whether Apple's
  22339. warning "-Wshorten-64-to-32" is available.
  22340. - Add a --passphrase-fd argument to the tor-gencert command for
  22341. scriptability.
  22342. o Minor bugfixes (memory leaks and code problems):
  22343. - We were leaking a file descriptor if Tor started with a zero-length
  22344. cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
  22345. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  22346. Dan Kaminsky.
  22347. - We were comparing the raw BridgePassword entry with a base64'ed
  22348. version of it, when handling a "/tor/networkstatus-bridges"
  22349. directory request. Now compare correctly. Noticed by Veracode.
  22350. - Recover from bad tracked-since value in MTBF-history file.
  22351. Should fix bug 537.
  22352. - Alter the code that tries to recover from unhandled write
  22353. errors, to not try to flush onto a socket that's given us
  22354. unhandled errors. Bugfix on 0.1.2.x.
  22355. - Make Unix controlsockets work correctly on OpenBSD. Patch from
  22356. tup. Bugfix on 0.2.0.3-alpha.
  22357. o Minor bugfixes (other):
  22358. - If we have an extra-info document for our server, always make
  22359. it available on the control port, even if we haven't gotten
  22360. a copy of it from an authority yet. Patch from mwenge.
  22361. - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
  22362. - Directory mirrors no longer include a guess at the client's IP
  22363. address if the connection appears to be coming from the same /24
  22364. network; it was producing too many wrong guesses.
  22365. - Make the new hidden service code respect the SafeLogging setting.
  22366. Bugfix on 0.2.0.x. Patch from Karsten.
  22367. - When starting as an authority, do not overwrite all certificates
  22368. cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
  22369. - If we're trying to flush the last bytes on a connection (for
  22370. example, when answering a directory request), reset the
  22371. time-to-give-up timeout every time we manage to write something
  22372. on the socket. Bugfix on 0.1.2.x.
  22373. - Change the behavior of "getinfo status/good-server-descriptor"
  22374. so it doesn't return failure when any authority disappears.
  22375. - Even though the man page said that "TrackHostExits ." should
  22376. work, nobody had ever implemented it. Bugfix on 0.1.0.x.
  22377. - Report TLS "zero return" case as a "clean close" and "IO error"
  22378. as a "close". Stop calling closes "unexpected closes": existing
  22379. Tors don't use SSL_close(), so having a connection close without
  22380. the TLS shutdown handshake is hardly unexpected.
  22381. - Send NAMESERVER_STATUS messages for a single failed nameserver
  22382. correctly.
  22383. o Code simplifications and refactoring:
  22384. - Remove the tor_strpartition function: its logic was confused,
  22385. and it was only used for one thing that could be implemented far
  22386. more easily.
  22387. Changes in version 0.2.0.19-alpha - 2008-02-09
  22388. Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
  22389. handshake, makes path selection for relays more secure and IP address
  22390. guessing more robust, and generally fixes a lot of bugs in preparation
  22391. for calling the 0.2.0 branch stable.
  22392. o Major features:
  22393. - Do not include recognizeable strings in the commonname part of
  22394. Tor's x509 certificates.
  22395. o Major bugfixes:
  22396. - If we're a relay, avoid picking ourselves as an introduction point,
  22397. a rendezvous point, or as the final hop for internal circuits. Bug
  22398. reported by taranis and lodger. Bugfix on 0.1.2.x.
  22399. - Patch from "Andrew S. Lists" to catch when we contact a directory
  22400. mirror at IP address X and he says we look like we're coming from
  22401. IP address X. Bugfix on 0.1.2.x.
  22402. o Minor features (security):
  22403. - Be more paranoid about overwriting sensitive memory on free(),
  22404. as a defensive programming tactic to ensure forward secrecy.
  22405. o Minor features (directory authority):
  22406. - Actually validate the options passed to AuthDirReject,
  22407. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  22408. - Reject router descriptors with out-of-range bandwidthcapacity or
  22409. bandwidthburst values.
  22410. o Minor features (controller):
  22411. - Reject controller commands over 1MB in length. This keeps rogue
  22412. processes from running us out of memory.
  22413. o Minor features (misc):
  22414. - Give more descriptive well-formedness errors for out-of-range
  22415. hidden service descriptor/protocol versions.
  22416. - Make memory debugging information describe more about history
  22417. of cell allocation, so we can help reduce our memory use.
  22418. o Deprecated features (controller):
  22419. - The status/version/num-versioning and status/version/num-concurring
  22420. GETINFO options are no longer useful in the v3 directory protocol:
  22421. treat them as deprecated, and warn when they're used.
  22422. o Minor bugfixes:
  22423. - When our consensus networkstatus has been expired for a while, stop
  22424. being willing to build circuits using it. Fixes bug 401. Bugfix
  22425. on 0.1.2.x.
  22426. - Directory caches now fetch certificates from all authorities
  22427. listed in a networkstatus consensus, even when they do not
  22428. recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
  22429. - When connecting to a bridge without specifying its key, insert
  22430. the connection into the identity-to-connection map as soon as
  22431. a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
  22432. - Detect versions of OS X where malloc_good_size() is present in the
  22433. library but never actually declared. Resolves bug 587. Bugfix
  22434. on 0.2.0.x.
  22435. - Stop incorrectly truncating zlib responses to directory authority
  22436. signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
  22437. - Stop recommending that every server operator send mail to tor-ops.
  22438. Resolves bug 597. Bugfix on 0.1.2.x.
  22439. - Don't trigger an assert if we start a directory authority with a
  22440. private IP address (like 127.0.0.1).
  22441. - Avoid possible failures when generating a directory with routers
  22442. with over-long versions strings, or too many flags set. Bugfix
  22443. on 0.1.2.x.
  22444. - If an attempt to launch a DNS resolve request over the control
  22445. port fails because we have overrun the limit on the number of
  22446. connections, tell the controller that the request has failed.
  22447. - Avoid using too little bandwidth when our clock skips a few
  22448. seconds. Bugfix on 0.1.2.x.
  22449. - Fix shell error when warning about missing packages in configure
  22450. script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
  22451. - Do not become confused when receiving a spurious VERSIONS-like
  22452. cell from a confused v1 client. Bugfix on 0.2.0.x.
  22453. - Re-fetch v2 (as well as v0) rendezvous descriptors when all
  22454. introduction points for a hidden service have failed. Patch from
  22455. Karsten Loesing. Bugfix on 0.2.0.x.
  22456. o Code simplifications and refactoring:
  22457. - Remove some needless generality from cpuworker code, for improved
  22458. type-safety.
  22459. - Stop overloading the circuit_t.onionskin field for both "onionskin
  22460. from a CREATE cell that we are waiting for a cpuworker to be
  22461. assigned" and "onionskin from an EXTEND cell that we are going to
  22462. send to an OR as soon as we are connected". Might help with bug 600.
  22463. - Add an in-place version of aes_crypt() so that we can avoid doing a
  22464. needless memcpy() call on each cell payload.
  22465. Changes in version 0.2.0.18-alpha - 2008-01-25
  22466. Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
  22467. fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
  22468. that can warn or reject connections to ports generally associated with
  22469. vulnerable-plaintext protocols.
  22470. o New directory authorities:
  22471. - Set up dannenberg (run by CCC) as the sixth v3 directory
  22472. authority.
  22473. o Major bugfixes:
  22474. - Fix a major memory leak when attempting to use the v2 TLS
  22475. handshake code. Bugfix on 0.2.0.x; fixes bug 589.
  22476. - We accidentally enabled the under-development v2 TLS handshake
  22477. code, which was causing log entries like "TLS error while
  22478. renegotiating handshake". Disable it again. Resolves bug 590.
  22479. - We were computing the wrong Content-Length: header for directory
  22480. responses that need to be compressed on the fly, causing clients
  22481. asking for those items to always fail. Bugfix on 0.2.0.x; partially
  22482. fixes bug 593.
  22483. o Major features:
  22484. - Avoid going directly to the directory authorities even if you're a
  22485. relay, if you haven't found yourself reachable yet or if you've
  22486. decided not to advertise your dirport yet. Addresses bug 556.
  22487. - If we've gone 12 hours since our last bandwidth check, and we
  22488. estimate we have less than 50KB bandwidth capacity but we could
  22489. handle more, do another bandwidth test.
  22490. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  22491. Tor can warn and/or refuse connections to ports commonly used with
  22492. vulnerable-plaintext protocols. Currently we warn on ports 23,
  22493. 109, 110, and 143, but we don't reject any.
  22494. o Minor bugfixes:
  22495. - When we setconf ClientOnly to 1, close any current OR and Dir
  22496. listeners. Reported by mwenge.
  22497. - When we get a consensus that's been signed by more people than
  22498. we expect, don't log about it; it's not a big deal. Reported
  22499. by Kyle Williams.
  22500. o Minor features:
  22501. - Don't answer "/tor/networkstatus-bridges" directory requests if
  22502. the request isn't encrypted.
  22503. - Make "ClientOnly 1" config option disable directory ports too.
  22504. - Patches from Karsten Loesing to make v2 hidden services more
  22505. robust: work even when there aren't enough HSDir relays available;
  22506. retry when a v2 rend desc fetch fails; but don't retry if we
  22507. already have a usable v0 rend desc.
  22508. Changes in version 0.2.0.17-alpha - 2008-01-17
  22509. Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
  22510. o Compile fixes:
  22511. - Make the tor-gencert man page get included correctly in the tarball.
  22512. Changes in version 0.2.0.16-alpha - 2008-01-17
  22513. Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
  22514. Loesing, and generally cleans up a lot of features and minor bugs.
  22515. o New directory authorities:
  22516. - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
  22517. authority.
  22518. o Major performance improvements:
  22519. - Switch our old ring buffer implementation for one more like that
  22520. used by free Unix kernels. The wasted space in a buffer with 1mb
  22521. of data will now be more like 8k than 1mb. The new implementation
  22522. also avoids realloc();realloc(); patterns that can contribute to
  22523. memory fragmentation.
  22524. o Minor features:
  22525. - Configuration files now accept C-style strings as values. This
  22526. helps encode characters not allowed in the current configuration
  22527. file format, such as newline or #. Addresses bug 557.
  22528. - Although we fixed bug 539 (where servers would send HTTP status 503
  22529. responses _and_ send a body too), there are still servers out
  22530. there that haven't upgraded. Therefore, make clients parse such
  22531. bodies when they receive them.
  22532. - When we're not serving v2 directory information, there is no reason
  22533. to actually keep any around. Remove the obsolete files and directory
  22534. on startup if they are very old and we aren't going to serve them.
  22535. o Minor performance improvements:
  22536. - Reference-count and share copies of address policy entries; only 5%
  22537. of them were actually distinct.
  22538. - Never walk through the list of logs if we know that no log is
  22539. interested in a given message.
  22540. o Minor bugfixes:
  22541. - When an authority has not signed a consensus, do not try to
  22542. download a nonexistent "certificate with key 00000000". Bugfix
  22543. on 0.2.0.x. Fixes bug 569.
  22544. - Fix a rare assert error when we're closing one of our threads:
  22545. use a mutex to protect the list of logs, so we never write to the
  22546. list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
  22547. bug 575, which is kind of the revenge of bug 222.
  22548. - Patch from Karsten Loesing to complain less at both the client
  22549. and the relay when a relay used to have the HSDir flag but doesn't
  22550. anymore, and we try to upload a hidden service descriptor.
  22551. - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
  22552. 0.2.0.15-alpha.
  22553. - Do not try to download missing certificates until we have tried
  22554. to check our fallback consensus. Fixes bug 583.
  22555. - Make bridges round reported GeoIP stats info up to the nearest
  22556. estimate, not down. Now we can distinguish between "0 people from
  22557. this country" and "1 person from this country".
  22558. - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
  22559. - Avoid possible segfault if key generation fails in
  22560. crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
  22561. - Avoid segfault in the case where a badly behaved v2 versioning
  22562. directory sends a signed networkstatus with missing client-versions.
  22563. Bugfix on 0.1.2.
  22564. - Avoid segfaults on certain complex invocations of
  22565. router_get_by_hexdigest(). Bugfix on 0.1.2.
  22566. - Correct bad index on array access in parse_http_time(). Bugfix
  22567. on 0.2.0.
  22568. - Fix possible bug in vote generation when server versions are present
  22569. but client versions are not.
  22570. - Fix rare bug on REDIRECTSTREAM control command when called with no
  22571. port set: it could erroneously report an error when none had
  22572. happened.
  22573. - Avoid bogus crash-prone, leak-prone tor_realloc when we're
  22574. compressing large objects and find ourselves with more than 4k
  22575. left over. Bugfix on 0.2.0.
  22576. - Fix a small memory leak when setting up a hidden service.
  22577. - Fix a few memory leaks that could in theory happen under bizarre
  22578. error conditions.
  22579. - Fix an assert if we post a general-purpose descriptor via the
  22580. control port but that descriptor isn't mentioned in our current
  22581. network consensus. Bug reported by Jon McLachlan; bugfix on
  22582. 0.2.0.9-alpha.
  22583. o Minor features (controller):
  22584. - Get NS events working again. Patch from tup.
  22585. - The GETCONF command now escapes and quotes configuration values
  22586. that don't otherwise fit into the torrc file.
  22587. - The SETCONF command now handles quoted values correctly.
  22588. o Minor features (directory authorities):
  22589. - New configuration options to override default maximum number of
  22590. servers allowed on a single IP address. This is important for
  22591. running a test network on a single host.
  22592. - Actually implement the -s option to tor-gencert.
  22593. - Add a manual page for tor-gencert.
  22594. o Minor features (bridges):
  22595. - Bridge authorities no longer serve bridge descriptors over
  22596. unencrypted connections.
  22597. o Minor features (other):
  22598. - Add hidden services and DNSPorts to the list of things that make
  22599. Tor accept that it has running ports. Change starting Tor with no
  22600. ports from a fatal error to a warning; we might change it back if
  22601. this turns out to confuse anybody. Fixes bug 579.
  22602. Changes in version 0.1.2.19 - 2008-01-17
  22603. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  22604. exit policy a little bit more conservative so it's safer to run an
  22605. exit relay on a home system, and fixes a variety of smaller issues.
  22606. o Security fixes:
  22607. - Exit policies now reject connections that are addressed to a
  22608. relay's public (external) IP address too, unless
  22609. ExitPolicyRejectPrivate is turned off. We do this because too
  22610. many relays are running nearby to services that trust them based
  22611. on network address.
  22612. o Major bugfixes:
  22613. - When the clock jumps forward a lot, do not allow the bandwidth
  22614. buckets to become negative. Fixes bug 544.
  22615. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  22616. on every successful resolve. Reported by Mike Perry.
  22617. - Purge old entries from the "rephist" database and the hidden
  22618. service descriptor database even when DirPort is zero.
  22619. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  22620. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  22621. crashing or mis-answering these requests.
  22622. - When we decide to send a 503 response to a request for servers, do
  22623. not then also send the server descriptors: this defeats the whole
  22624. purpose. Fixes bug 539.
  22625. o Minor bugfixes:
  22626. - Changing the ExitPolicyRejectPrivate setting should cause us to
  22627. rebuild our server descriptor.
  22628. - Fix handling of hex nicknames when answering controller requests for
  22629. networkstatus by name, or when deciding whether to warn about
  22630. unknown routers in a config option. (Patch from mwenge.)
  22631. - Fix a couple of hard-to-trigger autoconf problems that could result
  22632. in really weird results on platforms whose sys/types.h files define
  22633. nonstandard integer types.
  22634. - Don't try to create the datadir when running --verify-config or
  22635. --hash-password. Resolves bug 540.
  22636. - If we were having problems getting a particular descriptor from the
  22637. directory caches, and then we learned about a new descriptor for
  22638. that router, we weren't resetting our failure count. Reported
  22639. by lodger.
  22640. - Although we fixed bug 539 (where servers would send HTTP status 503
  22641. responses _and_ send a body too), there are still servers out there
  22642. that haven't upgraded. Therefore, make clients parse such bodies
  22643. when they receive them.
  22644. - Run correctly on systems where rlim_t is larger than unsigned long.
  22645. This includes some 64-bit systems.
  22646. - Run correctly on platforms (like some versions of OS X 10.5) where
  22647. the real limit for number of open files is OPEN_FILES, not rlim_max
  22648. from getrlimit(RLIMIT_NOFILES).
  22649. - Avoid a spurious free on base64 failure.
  22650. - Avoid segfaults on certain complex invocations of
  22651. router_get_by_hexdigest().
  22652. - Fix rare bug on REDIRECTSTREAM control command when called with no
  22653. port set: it could erroneously report an error when none had
  22654. happened.
  22655. Changes in version 0.2.0.15-alpha - 2007-12-25
  22656. Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
  22657. features added in 0.2.0.13-alpha.
  22658. o Major bugfixes:
  22659. - Fix several remotely triggerable asserts based on DirPort requests
  22660. for a v2 or v3 networkstatus object before we were prepared. This
  22661. was particularly bad for 0.2.0.13 and later bridge relays, who
  22662. would never have a v2 networkstatus and would thus always crash
  22663. when used. Bugfixes on 0.2.0.x.
  22664. - Estimate the v3 networkstatus size more accurately, rather than
  22665. estimating it at zero bytes and giving it artificially high priority
  22666. compared to other directory requests. Bugfix on 0.2.0.x.
  22667. o Minor bugfixes:
  22668. - Fix configure.in logic for cross-compilation.
  22669. - When we load a bridge descriptor from the cache, and it was
  22670. previously unreachable, mark it as retriable so we won't just
  22671. ignore it. Also, try fetching a new copy immediately. Bugfixes
  22672. on 0.2.0.13-alpha.
  22673. - The bridge GeoIP stats were counting other relays, for example
  22674. self-reachability and authority-reachability tests.
  22675. o Minor features:
  22676. - Support compilation to target iPhone; patch from cjacker huang.
  22677. To build for iPhone, pass the --enable-iphone option to configure.
  22678. Changes in version 0.2.0.14-alpha - 2007-12-23
  22679. o Major bugfixes:
  22680. - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
  22681. without a datadirectory from a previous Tor install. Reported
  22682. by Zax.
  22683. - Fix a crash when we fetch a descriptor that turns out to be
  22684. unexpected (it used to be in our networkstatus when we started
  22685. fetching it, but it isn't in our current networkstatus), and we
  22686. aren't using bridges. Bugfix on 0.2.0.x.
  22687. - Fix a crash when accessing hidden services: it would work the first
  22688. time you use a given introduction point for your service, but
  22689. on subsequent requests we'd be using garbage memory. Fixed by
  22690. Karsten Loesing. Bugfix on 0.2.0.13-alpha.
  22691. - Fix a crash when we load a bridge descriptor from disk but we don't
  22692. currently have a Bridge line for it in our torrc. Bugfix on
  22693. 0.2.0.13-alpha.
  22694. o Major features:
  22695. - If bridge authorities set BridgePassword, they will serve a
  22696. snapshot of known bridge routerstatuses from their DirPort to
  22697. anybody who knows that password. Unset by default.
  22698. o Minor bugfixes:
  22699. - Make the unit tests build again.
  22700. - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
  22701. - Make PublishServerDescriptor default to 1, so the default doesn't
  22702. have to change as we invent new directory protocol versions.
  22703. - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
  22704. be included unless sys/time.h is already included. Fixes
  22705. bug 553. Bugfix on 0.2.0.x.
  22706. - If we receive a general-purpose descriptor and then receive an
  22707. identical bridge-purpose descriptor soon after, don't discard
  22708. the next one as a duplicate.
  22709. o Minor features:
  22710. - If BridgeRelay is set to 1, then the default for
  22711. PublishServerDescriptor is now "bridge" rather than "v2,v3".
  22712. - If the user sets RelayBandwidthRate but doesn't set
  22713. RelayBandwidthBurst, then make them equal rather than erroring out.
  22714. Changes in version 0.2.0.13-alpha - 2007-12-21
  22715. Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
  22716. Goodell, fixes many more bugs, and adds a lot of infrastructure for
  22717. upcoming features.
  22718. o New directory authorities:
  22719. - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
  22720. authority.
  22721. o Major bugfixes:
  22722. - Only update guard status (usable / not usable) once we have
  22723. enough directory information. This was causing us to always pick
  22724. two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
  22725. causing us to discard all our guards on startup if we hadn't been
  22726. running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
  22727. - Purge old entries from the "rephist" database and the hidden
  22728. service descriptor databases even when DirPort is zero. Bugfix
  22729. on 0.1.2.x.
  22730. - We were ignoring our RelayBandwidthRate for the first 30 seconds
  22731. after opening a circuit -- even a relayed circuit. Bugfix on
  22732. 0.2.0.3-alpha.
  22733. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  22734. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  22735. crashing or mis-answering these types of requests.
  22736. - Relays were publishing their server descriptor to v1 and v2
  22737. directory authorities, but they didn't try publishing to v3-only
  22738. authorities. Fix this; and also stop publishing to v1 authorities.
  22739. Bugfix on 0.2.0.x.
  22740. - When we were reading router descriptors from cache, we were ignoring
  22741. the annotations -- so for example we were reading in bridge-purpose
  22742. descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
  22743. - When we decided to send a 503 response to a request for servers, we
  22744. were then also sending the server descriptors: this defeats the
  22745. whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
  22746. o Major features:
  22747. - Bridge relays now behave like clients with respect to time
  22748. intervals for downloading new consensus documents -- otherwise they
  22749. stand out. Bridge users now wait until the end of the interval,
  22750. so their bridge relay will be sure to have a new consensus document.
  22751. - Three new config options (AlternateDirAuthority,
  22752. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  22753. user selectively replace the default directory authorities by type,
  22754. rather than the all-or-nothing replacement that DirServer offers.
  22755. - Tor can now be configured to read a GeoIP file from disk in one
  22756. of two formats. This can be used by controllers to map IP addresses
  22757. to countries. Eventually, it may support exit-by-country.
  22758. - When possible, bridge relays remember which countries users
  22759. are coming from, and report aggregate information in their
  22760. extra-info documents, so that the bridge authorities can learn
  22761. where Tor is blocked.
  22762. - Bridge directory authorities now do reachability testing on the
  22763. bridges they know. They provide router status summaries to the
  22764. controller via "getinfo ns/purpose/bridge", and also dump summaries
  22765. to a file periodically.
  22766. - Stop fetching directory info so aggressively if your DirPort is
  22767. on but your ORPort is off; stop fetching v2 dir info entirely.
  22768. You can override these choices with the new FetchDirInfoEarly
  22769. config option.
  22770. o Minor bugfixes:
  22771. - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
  22772. consensus documents when there are too many relays at a single
  22773. IP address. Now clear it in v2 network status documents too, and
  22774. also clear it in routerinfo_t when the relay is no longer listed
  22775. in the relevant networkstatus document.
  22776. - Don't crash if we get an unexpected value for the
  22777. PublishServerDescriptor config option. Reported by Matt Edman;
  22778. bugfix on 0.2.0.9-alpha.
  22779. - Our new v2 hidden service descriptor format allows descriptors
  22780. that have no introduction points. But Tor crashed when we tried
  22781. to build a descriptor with no intro points (and it would have
  22782. crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
  22783. by Karsten Loesing.
  22784. - Fix building with dmalloc 5.5.2 with glibc.
  22785. - Reject uploaded descriptors and extrainfo documents if they're
  22786. huge. Otherwise we'll cache them all over the network and it'll
  22787. clog everything up. Reported by Aljosha Judmayer.
  22788. - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
  22789. via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
  22790. - When the DANGEROUS_VERSION controller status event told us we're
  22791. running an obsolete version, it used the string "OLD" to describe
  22792. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  22793. "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
  22794. - If we can't expand our list of entry guards (e.g. because we're
  22795. using bridges or we have StrictEntryNodes set), don't mark relays
  22796. down when they fail a directory request. Otherwise we're too quick
  22797. to mark all our entry points down. Bugfix on 0.1.2.x.
  22798. - Fix handling of hex nicknames when answering controller requests for
  22799. networkstatus by name, or when deciding whether to warn about unknown
  22800. routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
  22801. - Fix a couple of hard-to-trigger autoconf problems that could result
  22802. in really weird results on platforms whose sys/types.h files define
  22803. nonstandard integer types. Bugfix on 0.1.2.x.
  22804. - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
  22805. - Don't crash on name lookup when we have no current consensus. Fixes
  22806. bug 538; bugfix on 0.2.0.x.
  22807. - Only Tors that want to mirror the v2 directory info should
  22808. create the "cached-status" directory in their datadir. (All Tors
  22809. used to create it.) Bugfix on 0.2.0.9-alpha.
  22810. - Directory authorities should only automatically download Extra Info
  22811. documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
  22812. o Minor features:
  22813. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  22814. consumers. (We already do this on HUP.)
  22815. - Authorities and caches fetch the v2 networkstatus documents
  22816. less often, now that v3 is encouraged.
  22817. - Add a new config option BridgeRelay that specifies you want to
  22818. be a bridge relay. Right now the only difference is that it makes
  22819. you answer begin_dir requests, and it makes you cache dir info,
  22820. even if your DirPort isn't on.
  22821. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  22822. ask about source, timestamp of arrival, purpose, etc. We need
  22823. something like this to help Vidalia not do GeoIP lookups on bridge
  22824. addresses.
  22825. - Allow multiple HashedControlPassword config lines, to support
  22826. multiple controller passwords.
  22827. - Authorities now decide whether they're authoritative for a given
  22828. router based on the router's purpose.
  22829. - New config options AuthDirBadDir and AuthDirListBadDirs for
  22830. authorities to mark certain relays as "bad directories" in the
  22831. networkstatus documents. Also supports the "!baddir" directive in
  22832. the approved-routers file.
  22833. Changes in version 0.2.0.12-alpha - 2007-11-16
  22834. This twelfth development snapshot fixes some more build problems as
  22835. well as a few minor bugs.
  22836. o Compile fixes:
  22837. - Make it build on OpenBSD again. Patch from tup.
  22838. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
  22839. package-building for Red Hat, OS X, etc.
  22840. o Minor bugfixes (on 0.1.2.x):
  22841. - Changing the ExitPolicyRejectPrivate setting should cause us to
  22842. rebuild our server descriptor.
  22843. o Minor bugfixes (on 0.2.0.x):
  22844. - When we're lacking a consensus, don't try to perform rendezvous
  22845. operations. Reported by Karsten Loesing.
  22846. - Fix a small memory leak whenever we decide against using a
  22847. newly picked entry guard. Reported by Mike Perry.
  22848. - When authorities detected more than two relays running on the same
  22849. IP address, they were clearing all the status flags but forgetting
  22850. to clear the "hsdir" flag. So clients were being told that a
  22851. given relay was the right choice for a v2 hsdir lookup, yet they
  22852. never had its descriptor because it was marked as 'not running'
  22853. in the consensus.
  22854. - If we're trying to fetch a bridge descriptor and there's no way
  22855. the bridge authority could help us (for example, we don't know
  22856. a digest, or there is no bridge authority), don't be so eager to
  22857. fall back to asking the bridge authority.
  22858. - If we're using bridges or have strictentrynodes set, and our
  22859. chosen exit is in the same family as all our bridges/entry guards,
  22860. then be flexible about families.
  22861. o Minor features:
  22862. - When we negotiate a v2 link-layer connection (not yet implemented),
  22863. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  22864. negotiated a v1 connection for their next step. Initial code for
  22865. proposal 110.
  22866. Changes in version 0.2.0.11-alpha - 2007-11-12
  22867. This eleventh development snapshot fixes some build problems with
  22868. the previous snapshot. It also includes a more secure-by-default exit
  22869. policy for relays, fixes an enormous memory leak for exit relays, and
  22870. fixes another bug where servers were falling out of the directory list.
  22871. o Security fixes:
  22872. - Exit policies now reject connections that are addressed to a
  22873. relay's public (external) IP address too, unless
  22874. ExitPolicyRejectPrivate is turned off. We do this because too
  22875. many relays are running nearby to services that trust them based
  22876. on network address. Bugfix on 0.1.2.x.
  22877. o Major bugfixes:
  22878. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  22879. on every successful resolve. Reported by Mike Perry; bugfix
  22880. on 0.1.2.x.
  22881. - On authorities, never downgrade to old router descriptors simply
  22882. because they're listed in the consensus. This created a catch-22
  22883. where we wouldn't list a new descriptor because there was an
  22884. old one in the consensus, and we couldn't get the new one in the
  22885. consensus because we wouldn't list it. Possible fix for bug 548.
  22886. Also, this might cause bug 543 to appear on authorities; if so,
  22887. we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
  22888. o Packaging fixes on 0.2.0.10-alpha:
  22889. - We were including instructions about what to do with the
  22890. src/config/fallback-consensus file, but we weren't actually
  22891. including it in the tarball. Disable all of that for now.
  22892. o Minor features:
  22893. - Allow people to say PreferTunnelledDirConns rather than
  22894. PreferTunneledDirConns, for those alternate-spellers out there.
  22895. o Minor bugfixes:
  22896. - Don't reevaluate all the information from our consensus document
  22897. just because we've downloaded a v2 networkstatus that we intend
  22898. to cache. Fixes bug 545; bugfix on 0.2.0.x.
  22899. Changes in version 0.2.0.10-alpha - 2007-11-10
  22900. This tenth development snapshot adds a third v3 directory authority
  22901. run by Mike Perry, adds most of Karsten Loesing's new hidden service
  22902. descriptor format, fixes a bad crash bug and new bridge bugs introduced
  22903. in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
  22904. fixes some minor memory leaks in previous 0.2.0.x snapshots, and
  22905. addresses many more minor issues.
  22906. o New directory authorities:
  22907. - Set up ides (run by Mike Perry) as the third v3 directory authority.
  22908. o Major features:
  22909. - Allow tunnelled directory connections to ask for an encrypted
  22910. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  22911. connection independently. Now we can make anonymized begin_dir
  22912. connections for (e.g.) more secure hidden service posting and
  22913. fetching.
  22914. - More progress on proposal 114: code from Karsten Loesing to
  22915. implement new hidden service descriptor format.
  22916. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  22917. accommodate the growing number of servers that use the default
  22918. and are reaching it.
  22919. - Directory authorities use a new formula for selecting which nodes
  22920. to advertise as Guards: they must be in the top 7/8 in terms of
  22921. how long we have known about them, and above the median of those
  22922. nodes in terms of weighted fractional uptime.
  22923. - Make "not enough dir info yet" warnings describe *why* Tor feels
  22924. it doesn't have enough directory info yet.
  22925. o Major bugfixes:
  22926. - Stop servers from crashing if they set a Family option (or
  22927. maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
  22928. by Fabian Keil.
  22929. - Make bridge users work again -- the move to v3 directories in
  22930. 0.2.0.9-alpha had introduced a number of bugs that made bridges
  22931. no longer work for clients.
  22932. - When the clock jumps forward a lot, do not allow the bandwidth
  22933. buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
  22934. o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
  22935. - When the consensus lists a router descriptor that we previously were
  22936. mirroring, but that we considered non-canonical, reload the
  22937. descriptor as canonical. This fixes bug 543 where Tor servers
  22938. would start complaining after a few days that they don't have
  22939. enough directory information to build a circuit.
  22940. - Consider replacing the current consensus when certificates arrive
  22941. that make the pending consensus valid. Previously, we were only
  22942. considering replacement when the new certs _didn't_ help.
  22943. - Fix an assert error on startup if we didn't already have the
  22944. consensus and certs cached in our datadirectory: we were caching
  22945. the consensus in consensus_waiting_for_certs but then free'ing it
  22946. right after.
  22947. - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
  22948. Request) if we need more v3 certs but we've already got pending
  22949. requests for all of them.
  22950. - Correctly back off from failing certificate downloads. Fixes
  22951. bug 546.
  22952. - Authorities don't vote on the Running flag if they have been running
  22953. for less than 30 minutes themselves. Fixes bug 547, where a newly
  22954. started authority would vote that everyone was down.
  22955. o New requirements:
  22956. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  22957. it, it had no AES, and it hasn't seen any security patches since
  22958. 2004.
  22959. o Minor features:
  22960. - Clients now hold circuitless TLS connections open for 1.5 times
  22961. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  22962. rebuild a new circuit over them within that timeframe. Previously,
  22963. they held them open only for KeepalivePeriod (5 minutes).
  22964. - Use "If-Modified-Since" to avoid retrieving consensus
  22965. networkstatuses that we already have.
  22966. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  22967. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  22968. we start knowing some directory caches.
  22969. - When we receive a consensus from the future, warn about skew.
  22970. - Improve skew reporting: try to give the user a better log message
  22971. about how skewed they are, and how much this matters.
  22972. - When we have a certificate for an authority, believe that
  22973. certificate's claims about the authority's IP address.
  22974. - New --quiet command-line option to suppress the default console log.
  22975. Good in combination with --hash-password.
  22976. - Authorities send back an X-Descriptor-Not-New header in response to
  22977. an accepted-but-discarded descriptor upload. Partially implements
  22978. fix for bug 535.
  22979. - Make the log message for "tls error. breaking." more useful.
  22980. - Better log messages about certificate downloads, to attempt to
  22981. track down the second incarnation of bug 546.
  22982. o Minor features (bridges):
  22983. - If bridge users set UpdateBridgesFromAuthority, but the digest
  22984. they ask for is a 404 from the bridge authority, they now fall
  22985. back to trying the bridge directly.
  22986. - Bridges now use begin_dir to publish their server descriptor to
  22987. the bridge authority, even when they haven't set TunnelDirConns.
  22988. o Minor features (controller):
  22989. - When reporting clock skew, and we know that the clock is _at least
  22990. as skewed_ as some value, but we don't know the actual value,
  22991. report the value as a "minimum skew."
  22992. o Utilities:
  22993. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  22994. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  22995. Perry.
  22996. o Minor bugfixes:
  22997. - Refuse to start if both ORPort and UseBridges are set. Bugfix
  22998. on 0.2.0.x, suggested by Matt Edman.
  22999. - Don't stop fetching descriptors when FetchUselessDescriptors is
  23000. set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
  23001. reported by tup and ioerror.
  23002. - Better log message on vote from unknown authority.
  23003. - Don't log "Launching 0 request for 0 router" message.
  23004. o Minor bugfixes (memory leaks):
  23005. - Stop leaking memory every time we parse a v3 certificate. Bugfix
  23006. on 0.2.0.1-alpha.
  23007. - Stop leaking memory every time we load a v3 certificate. Bugfix
  23008. on 0.2.0.1-alpha. Fixes bug 536.
  23009. - Stop leaking a cached networkstatus on exit. Bugfix on
  23010. 0.2.0.3-alpha.
  23011. - Stop leaking voter information every time we free a consensus.
  23012. Bugfix on 0.2.0.3-alpha.
  23013. - Stop leaking signed data every time we check a voter signature.
  23014. Bugfix on 0.2.0.3-alpha.
  23015. - Stop leaking a signature every time we fail to parse a consensus or
  23016. a vote. Bugfix on 0.2.0.3-alpha.
  23017. - Stop leaking v2_download_status_map on shutdown. Bugfix on
  23018. 0.2.0.9-alpha.
  23019. - Stop leaking conn->nickname every time we make a connection to a
  23020. Tor relay without knowing its expected identity digest (e.g. when
  23021. using bridges). Bugfix on 0.2.0.3-alpha.
  23022. - Minor bugfixes (portability):
  23023. - Run correctly on platforms where rlim_t is larger than unsigned
  23024. long, and/or where the real limit for number of open files is
  23025. OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
  23026. particular, these may be needed for OS X 10.5.
  23027. Changes in version 0.1.2.18 - 2007-10-28
  23028. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  23029. hidden service introduction that were causing huge delays, and a big
  23030. bug that was causing some servers to disappear from the network status
  23031. lists for a few hours each day.
  23032. o Major bugfixes (crashes):
  23033. - If a connection is shut down abruptly because of something that
  23034. happened inside connection_flushed_some(), do not call
  23035. connection_finished_flushing(). Should fix bug 451:
  23036. "connection_stop_writing: Assertion conn->write_event failed"
  23037. Bugfix on 0.1.2.7-alpha.
  23038. - Fix possible segfaults in functions called from
  23039. rend_process_relay_cell().
  23040. o Major bugfixes (hidden services):
  23041. - Hidden services were choosing introduction points uniquely by
  23042. hexdigest, but when constructing the hidden service descriptor
  23043. they merely wrote the (potentially ambiguous) nickname.
  23044. - Clients now use the v2 intro format for hidden service
  23045. connections: they specify their chosen rendezvous point by identity
  23046. digest rather than by (potentially ambiguous) nickname. These
  23047. changes could speed up hidden service connections dramatically.
  23048. o Major bugfixes (other):
  23049. - Stop publishing a new server descriptor just because we get a
  23050. HUP signal. This led (in a roundabout way) to some servers getting
  23051. dropped from the networkstatus lists for a few hours each day.
  23052. - When looking for a circuit to cannibalize, consider family as well
  23053. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  23054. circuit cannibalization).
  23055. - When a router wasn't listed in a new networkstatus, we were leaving
  23056. the flags for that router alone -- meaning it remained Named,
  23057. Running, etc -- even though absence from the networkstatus means
  23058. that it shouldn't be considered to exist at all anymore. Now we
  23059. clear all the flags for routers that fall out of the networkstatus
  23060. consensus. Fixes bug 529.
  23061. o Minor bugfixes:
  23062. - Don't try to access (or alter) the state file when running
  23063. --list-fingerprint or --verify-config or --hash-password. Resolves
  23064. bug 499.
  23065. - When generating information telling us how to extend to a given
  23066. router, do not try to include the nickname if it is
  23067. absent. Resolves bug 467.
  23068. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  23069. a way to trigger this remotely.)
  23070. - When sending a status event to the controller telling it that an
  23071. OR address is reachable, set the port correctly. (Previously we
  23072. were reporting the dir port.)
  23073. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  23074. command. Bugfix on 0.1.2.17.
  23075. - When loading bandwidth history, do not believe any information in
  23076. the future. Fixes bug 434.
  23077. - When loading entry guard information, do not believe any information
  23078. in the future.
  23079. - When we have our clock set far in the future and generate an
  23080. onion key, then re-set our clock to be correct, we should not stop
  23081. the onion key from getting rotated.
  23082. - On some platforms, accept() can return a broken address. Detect
  23083. this more quietly, and deal accordingly. Fixes bug 483.
  23084. - It's not actually an error to find a non-pending entry in the DNS
  23085. cache when canceling a pending resolve. Don't log unless stuff
  23086. is fishy. Resolves bug 463.
  23087. - Don't reset trusted dir server list when we set a configuration
  23088. option. Patch from Robert Hogan.
  23089. - Don't try to create the datadir when running --verify-config or
  23090. --hash-password. Resolves bug 540.
  23091. Changes in version 0.2.0.9-alpha - 2007-10-24
  23092. This ninth development snapshot switches clients to the new v3 directory
  23093. system; allows servers to be listed in the network status even when they
  23094. have the same nickname as a registered server; and fixes many other
  23095. bugs including a big one that was causing some servers to disappear
  23096. from the network status lists for a few hours each day.
  23097. o Major features (directory system):
  23098. - Clients now download v3 consensus networkstatus documents instead
  23099. of v2 networkstatus documents. Clients and caches now base their
  23100. opinions about routers on these consensus documents. Clients only
  23101. download router descriptors listed in the consensus.
  23102. - Authorities now list servers who have the same nickname as
  23103. a different named server, but list them with a new flag,
  23104. "Unnamed". Now we can list servers that happen to pick the same
  23105. nickname as a server that registered two years ago and then
  23106. disappeared. Partially implements proposal 122.
  23107. - If the consensus lists a router as "Unnamed", the name is assigned
  23108. to a different router: do not identify the router by that name.
  23109. Partially implements proposal 122.
  23110. - Authorities can now come to a consensus on which method to use to
  23111. compute the consensus. This gives us forward compatibility.
  23112. o Major bugfixes:
  23113. - Stop publishing a new server descriptor just because we HUP or
  23114. when we find our DirPort to be reachable but won't actually publish
  23115. it. New descriptors without any real changes are dropped by the
  23116. authorities, and can screw up our "publish every 18 hours" schedule.
  23117. Bugfix on 0.1.2.x.
  23118. - When a router wasn't listed in a new networkstatus, we were leaving
  23119. the flags for that router alone -- meaning it remained Named,
  23120. Running, etc -- even though absence from the networkstatus means
  23121. that it shouldn't be considered to exist at all anymore. Now we
  23122. clear all the flags for routers that fall out of the networkstatus
  23123. consensus. Fixes bug 529; bugfix on 0.1.2.x.
  23124. - Fix awful behavior in DownloadExtraInfo option where we'd fetch
  23125. extrainfo documents and then discard them immediately for not
  23126. matching the latest router. Bugfix on 0.2.0.1-alpha.
  23127. o Minor features (v3 directory protocol):
  23128. - Allow tor-gencert to generate a new certificate without replacing
  23129. the signing key.
  23130. - Allow certificates to include an address.
  23131. - When we change our directory-cache settings, reschedule all voting
  23132. and download operations.
  23133. - Reattempt certificate downloads immediately on failure, as long as
  23134. we haven't failed a threshold number of times yet.
  23135. - Delay retrying consensus downloads while we're downloading
  23136. certificates to verify the one we just got. Also, count getting a
  23137. consensus that we already have (or one that isn't valid) as a failure,
  23138. and count failing to get the certificates after 20 minutes as a
  23139. failure.
  23140. - Build circuits and download descriptors even if our consensus is a
  23141. little expired. (This feature will go away once authorities are
  23142. more reliable.)
  23143. o Minor features (router descriptor cache):
  23144. - If we find a cached-routers file that's been sitting around for more
  23145. than 28 days unmodified, then most likely it's a leftover from
  23146. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  23147. routers anyway.
  23148. - When we (as a cache) download a descriptor because it was listed
  23149. in a consensus, remember when the consensus was supposed to expire,
  23150. and don't expire the descriptor until then.
  23151. o Minor features (performance):
  23152. - Call routerlist_remove_old_routers() much less often. This should
  23153. speed startup, especially on directory caches.
  23154. - Don't try to launch new descriptor downloads quite so often when we
  23155. already have enough directory information to build circuits.
  23156. - Base64 decoding was actually showing up on our profile when parsing
  23157. the initial descriptor file; switch to an in-process all-at-once
  23158. implementation that's about 3.5x times faster than calling out to
  23159. OpenSSL.
  23160. o Minor features (compilation):
  23161. - Detect non-ASCII platforms (if any still exist) and refuse to
  23162. build there: some of our code assumes that 'A' is 65 and so on.
  23163. o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
  23164. - Make the "next period" votes into "current period" votes immediately
  23165. after publishing the consensus; avoid a heisenbug that made them
  23166. stick around indefinitely.
  23167. - When we discard a vote as a duplicate, do not report this as
  23168. an error.
  23169. - Treat missing v3 keys or certificates as an error when running as a
  23170. v3 directory authority.
  23171. - When we're configured to be a v3 authority, but we're only listed
  23172. as a non-v3 authority in our DirServer line for ourself, correct
  23173. the listing.
  23174. - If an authority doesn't have a qualified hostname, just put
  23175. its address in the vote. This fixes the problem where we referred to
  23176. "moria on moria:9031."
  23177. - Distinguish between detached signatures for the wrong period, and
  23178. detached signatures for a divergent vote.
  23179. - Fix a small memory leak when computing a consensus.
  23180. - When there's no consensus, we were forming a vote every 30
  23181. minutes, but writing the "valid-after" line in our vote based
  23182. on our configured V3AuthVotingInterval: so unless the intervals
  23183. matched up, we immediately rejected our own vote because it didn't
  23184. start at the voting interval that caused us to construct a vote.
  23185. o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
  23186. - Delete unverified-consensus when the real consensus is set.
  23187. - Consider retrying a consensus networkstatus fetch immediately
  23188. after one fails: don't wait 60 seconds to notice.
  23189. - When fetching a consensus as a cache, wait until a newer consensus
  23190. should exist before trying to replace the current one.
  23191. - Use a more forgiving schedule for retrying failed consensus
  23192. downloads than for other types.
  23193. o Minor bugfixes (other directory issues):
  23194. - Correct the implementation of "download votes by digest." Bugfix on
  23195. 0.2.0.8-alpha.
  23196. - Authorities no longer send back "400 you're unreachable please fix
  23197. it" errors to Tor servers that aren't online all the time. We're
  23198. supposed to tolerate these servers now. Bugfix on 0.1.2.x.
  23199. o Minor bugfixes (controller):
  23200. - Don't reset trusted dir server list when we set a configuration
  23201. option. Patch from Robert Hogan; bugfix on 0.1.2.x.
  23202. - Respond to INT and TERM SIGNAL commands before we execute the
  23203. signal, in case the signal shuts us down. We had a patch in
  23204. 0.1.2.1-alpha that tried to do this by queueing the response on
  23205. the connection's buffer before shutting down, but that really
  23206. isn't the same thing at all. Bug located by Matt Edman.
  23207. o Minor bugfixes (misc):
  23208. - Correctly check for bad options to the "PublishServerDescriptor"
  23209. config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
  23210. - Stop leaking memory on failing case of base32_decode, and make
  23211. it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
  23212. - Don't try to download extrainfo documents when we're trying to
  23213. fetch enough directory info to build a circuit: having enough
  23214. info should get priority. Bugfix on 0.2.0.x.
  23215. - Don't complain that "your server has not managed to confirm that its
  23216. ports are reachable" if we haven't been able to build any circuits
  23217. yet. Bug found by spending four hours without a v3 consensus. Bugfix
  23218. on 0.1.2.x.
  23219. - Detect the reason for failing to mmap a descriptor file we just
  23220. wrote, and give a more useful log message. Fixes bug 533. Bugfix
  23221. on 0.1.2.x.
  23222. o Code simplifications and refactoring:
  23223. - Remove support for the old bw_accounting file: we've been storing
  23224. bandwidth accounting information in the state file since
  23225. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  23226. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  23227. downgrade to 0.1.1.x or earlier.
  23228. - New convenience code to locate a file within the DataDirectory.
  23229. - Move non-authority functionality out of dirvote.c.
  23230. - Refactor the arguments for router_pick_{directory_|trusteddir}server
  23231. so that they all take the same named flags.
  23232. o Utilities
  23233. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  23234. Unix users an easy way to script their Tor process (e.g. by
  23235. adjusting bandwidth based on the time of the day).
  23236. Changes in version 0.2.0.8-alpha - 2007-10-12
  23237. This eighth development snapshot fixes a crash bug that's been bothering
  23238. us since February 2007, lets bridge authorities store a list of bridge
  23239. descriptors they've seen, gets v3 directory voting closer to working,
  23240. starts caching v3 directory consensus documents on directory mirrors,
  23241. and fixes a variety of smaller issues including some minor memory leaks.
  23242. o Major features (router descriptor cache):
  23243. - Store routers in a file called cached-descriptors instead of in
  23244. cached-routers. Initialize cached-descriptors from cached-routers
  23245. if the old format is around. The new format allows us to store
  23246. annotations along with descriptors.
  23247. - Use annotations to record the time we received each descriptor, its
  23248. source, and its purpose.
  23249. - Disable the SETROUTERPURPOSE controller command: it is now
  23250. obsolete.
  23251. - Controllers should now specify cache=no or cache=yes when using
  23252. the +POSTDESCRIPTOR command.
  23253. - Bridge authorities now write bridge descriptors to disk, meaning
  23254. we can export them to other programs and begin distributing them
  23255. to blocked users.
  23256. o Major features (directory authorities):
  23257. - When a v3 authority is missing votes or signatures, it now tries
  23258. to fetch them.
  23259. - Directory authorities track weighted fractional uptime as well as
  23260. weighted mean-time-between failures. WFU is suitable for deciding
  23261. whether a node is "usually up", while MTBF is suitable for deciding
  23262. whether a node is "likely to stay up." We need both, because
  23263. "usually up" is a good requirement for guards, while "likely to
  23264. stay up" is a good requirement for long-lived connections.
  23265. o Major features (v3 directory system):
  23266. - Caches now download v3 network status documents as needed,
  23267. and download the descriptors listed in them.
  23268. - All hosts now attempt to download and keep fresh v3 authority
  23269. certificates, and re-attempt after failures.
  23270. - More internal-consistency checks for vote parsing.
  23271. o Major bugfixes (crashes):
  23272. - If a connection is shut down abruptly because of something that
  23273. happened inside connection_flushed_some(), do not call
  23274. connection_finished_flushing(). Should fix bug 451. Bugfix on
  23275. 0.1.2.7-alpha.
  23276. o Major bugfixes (performance):
  23277. - Fix really bad O(n^2) performance when parsing a long list of
  23278. routers: Instead of searching the entire list for an "extra-info "
  23279. string which usually wasn't there, once for every routerinfo
  23280. we read, just scan lines forward until we find one we like.
  23281. Bugfix on 0.2.0.1.
  23282. - When we add data to a write buffer in response to the data on that
  23283. write buffer getting low because of a flush, do not consider the
  23284. newly added data as a candidate for immediate flushing, but rather
  23285. make it wait until the next round of writing. Otherwise, we flush
  23286. and refill recursively, and a single greedy TLS connection can
  23287. eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
  23288. o Minor features (v3 authority system):
  23289. - Add more ways for tools to download the votes that lead to the
  23290. current consensus.
  23291. - Send a 503 when low on bandwidth and a vote, consensus, or
  23292. certificate is requested.
  23293. - If-modified-since is now implemented properly for all kinds of
  23294. certificate requests.
  23295. o Minor bugfixes (network statuses):
  23296. - Tweak the implementation of proposal 109 slightly: allow at most
  23297. two Tor servers on the same IP address, except if it's the location
  23298. of a directory authority, in which case allow five. Bugfix on
  23299. 0.2.0.3-alpha.
  23300. o Minor bugfixes (controller):
  23301. - When sending a status event to the controller telling it that an
  23302. OR address is reachable, set the port correctly. (Previously we
  23303. were reporting the dir port.) Bugfix on 0.1.2.x.
  23304. o Minor bugfixes (v3 directory system):
  23305. - Fix logic to look up a cert by its signing key digest. Bugfix on
  23306. 0.2.0.7-alpha.
  23307. - Only change the reply to a vote to "OK" if it's not already
  23308. set. This gets rid of annoying "400 OK" log messages, which may
  23309. have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
  23310. - When we get a valid consensus, recompute the voting schedule.
  23311. - Base the valid-after time of a vote on the consensus voting
  23312. schedule, not on our preferred schedule.
  23313. - Make the return values and messages from signature uploads and
  23314. downloads more sensible.
  23315. - Fix a memory leak when serving votes and consensus documents, and
  23316. another when serving certificates.
  23317. o Minor bugfixes (performance):
  23318. - Use a slightly simpler string hashing algorithm (copying Python's
  23319. instead of Java's) and optimize our digest hashing algorithm to take
  23320. advantage of 64-bit platforms and to remove some possibly-costly
  23321. voodoo.
  23322. - Fix a minor memory leak whenever we parse guards from our state
  23323. file. Bugfix on 0.2.0.7-alpha.
  23324. - Fix a minor memory leak whenever we write out a file. Bugfix on
  23325. 0.2.0.7-alpha.
  23326. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  23327. command. Bugfix on 0.2.0.5-alpha.
  23328. o Minor bugfixes (portability):
  23329. - On some platforms, accept() can return a broken address. Detect
  23330. this more quietly, and deal accordingly. Fixes bug 483.
  23331. - Stop calling tor_strlower() on uninitialized memory in some cases.
  23332. Bugfix in 0.2.0.7-alpha.
  23333. o Minor bugfixes (usability):
  23334. - Treat some 403 responses from directory servers as INFO rather than
  23335. WARN-severity events.
  23336. - It's not actually an error to find a non-pending entry in the DNS
  23337. cache when canceling a pending resolve. Don't log unless stuff is
  23338. fishy. Resolves bug 463.
  23339. o Minor bugfixes (anonymity):
  23340. - Never report that we've used more bandwidth than we're willing to
  23341. relay: it leaks how much non-relay traffic we're using. Resolves
  23342. bug 516.
  23343. - When looking for a circuit to cannibalize, consider family as well
  23344. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  23345. circuit cannibalization).
  23346. o Code simplifications and refactoring:
  23347. - Make a bunch of functions static. Remove some dead code.
  23348. - Pull out about a third of the really big routerlist.c; put it in a
  23349. new module, networkstatus.c.
  23350. - Merge the extra fields in local_routerstatus_t back into
  23351. routerstatus_t: we used to need one routerstatus_t for each
  23352. authority's opinion, plus a local_routerstatus_t for the locally
  23353. computed consensus opinion. To save space, we put the locally
  23354. modified fields into local_routerstatus_t, and only the common
  23355. stuff into routerstatus_t. But once v3 directories are in use,
  23356. clients and caches will no longer need to hold authority opinions;
  23357. thus, the rationale for keeping the types separate is now gone.
  23358. - Make the code used to reschedule and reattempt downloads more
  23359. uniform.
  23360. - Turn all 'Are we a directory server/mirror?' logic into a call to
  23361. dirserver_mode().
  23362. - Remove the code to generate the oldest (v1) directory format.
  23363. The code has been disabled since 0.2.0.5-alpha.
  23364. Changes in version 0.2.0.7-alpha - 2007-09-21
  23365. This seventh development snapshot makes bridges work again, makes bridge
  23366. authorities work for the first time, fixes two huge performance flaws
  23367. in hidden services, and fixes a variety of minor issues.
  23368. o New directory authorities:
  23369. - Set up moria1 and tor26 as the first v3 directory authorities. See
  23370. doc/spec/dir-spec.txt for details on the new directory design.
  23371. o Major bugfixes (crashes):
  23372. - Fix possible segfaults in functions called from
  23373. rend_process_relay_cell(). Bugfix on 0.1.2.x.
  23374. o Major bugfixes (bridges):
  23375. - Fix a bug that made servers send a "404 Not found" in response to
  23376. attempts to fetch their server descriptor. This caused Tor servers
  23377. to take many minutes to establish reachability for their DirPort,
  23378. and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
  23379. - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
  23380. users configure that and specify a bridge with an identity
  23381. fingerprint, now they will lookup the bridge descriptor at the
  23382. default bridge authority via a one-hop tunnel, but once circuits
  23383. are established they will switch to a three-hop tunnel for later
  23384. connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
  23385. o Major bugfixes (hidden services):
  23386. - Hidden services were choosing introduction points uniquely by
  23387. hexdigest, but when constructing the hidden service descriptor
  23388. they merely wrote the (potentially ambiguous) nickname.
  23389. - Clients now use the v2 intro format for hidden service
  23390. connections: they specify their chosen rendezvous point by identity
  23391. digest rather than by (potentially ambiguous) nickname. Both
  23392. are bugfixes on 0.1.2.x, and they could speed up hidden service
  23393. connections dramatically. Thanks to Karsten Loesing.
  23394. o Minor features (security):
  23395. - As a client, do not believe any server that tells us that an
  23396. address maps to an internal address space.
  23397. - Make it possible to enable HashedControlPassword and
  23398. CookieAuthentication at the same time.
  23399. o Minor features (guard nodes):
  23400. - Tag every guard node in our state file with the version that
  23401. we believe added it, or with our own version if we add it. This way,
  23402. if a user temporarily runs an old version of Tor and then switches
  23403. back to a new one, she doesn't automatically lose her guards.
  23404. o Minor features (speed):
  23405. - When implementing AES counter mode, update only the portions of the
  23406. counter buffer that need to change, and don't keep separate
  23407. network-order and host-order counters when they are the same (i.e.,
  23408. on big-endian hosts.)
  23409. o Minor features (controller):
  23410. - Accept LF instead of CRLF on controller, since some software has a
  23411. hard time generating real Internet newlines.
  23412. - Add GETINFO values for the server status events
  23413. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  23414. Robert Hogan.
  23415. o Removed features:
  23416. - Routers no longer include bandwidth-history lines in their
  23417. descriptors; this information is already available in extra-info
  23418. documents, and including it in router descriptors took up 60%
  23419. (!) of compressed router descriptor downloads. Completes
  23420. implementation of proposal 104.
  23421. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  23422. and TorControl.py, as they use the old v0 controller protocol,
  23423. and are obsoleted by TorFlow anyway.
  23424. - Drop support for v1 rendezvous descriptors, since we never used
  23425. them anyway, and the code has probably rotted by now. Based on
  23426. patch from Karsten Loesing.
  23427. - On OSX, stop warning the user that kqueue support in libevent is
  23428. "experimental", since it seems to have worked fine for ages.
  23429. o Minor bugfixes:
  23430. - When generating information telling us how to extend to a given
  23431. router, do not try to include the nickname if it is absent. Fixes
  23432. bug 467. Bugfix on 0.2.0.3-alpha.
  23433. - Fix a user-triggerable (but not remotely-triggerable) segfault
  23434. in expand_filename(). Bugfix on 0.1.2.x.
  23435. - Fix a memory leak when freeing incomplete requests from DNSPort.
  23436. Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
  23437. - Don't try to access (or alter) the state file when running
  23438. --list-fingerprint or --verify-config or --hash-password. (Resolves
  23439. bug 499.) Bugfix on 0.1.2.x.
  23440. - Servers used to decline to publish their DirPort if their
  23441. BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
  23442. were below a threshold. Now they only look at BandwidthRate and
  23443. RelayBandwidthRate. Bugfix on 0.1.2.x.
  23444. - Remove an optimization in the AES counter-mode code that assumed
  23445. that the counter never exceeded 2^68. When the counter can be set
  23446. arbitrarily as an IV (as it is by Karsten's new hidden services
  23447. code), this assumption no longer holds. Bugfix on 0.1.2.x.
  23448. - Resume listing "AUTHORITY" flag for authorities in network status.
  23449. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
  23450. o Code simplifications and refactoring:
  23451. - Revamp file-writing logic so we don't need to have the entire
  23452. contents of a file in memory at once before we write to disk. Tor,
  23453. meet stdio.
  23454. - Turn "descriptor store" into a full-fledged type.
  23455. - Move all NT services code into a separate source file.
  23456. - Unify all code that computes medians, percentile elements, etc.
  23457. - Get rid of a needless malloc when parsing address policies.
  23458. Changes in version 0.1.2.17 - 2007-08-30
  23459. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  23460. X bundles. Vidalia 0.0.14 makes authentication required for the
  23461. ControlPort in the default configuration, which addresses important
  23462. security risks. Everybody who uses Vidalia (or another controller)
  23463. should upgrade.
  23464. In addition, this Tor update fixes major load balancing problems with
  23465. path selection, which should speed things up a lot once many people
  23466. have upgraded.
  23467. o Major bugfixes (security):
  23468. - We removed support for the old (v0) control protocol. It has been
  23469. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  23470. become more of a headache than it's worth.
  23471. o Major bugfixes (load balancing):
  23472. - When choosing nodes for non-guard positions, weight guards
  23473. proportionally less, since they already have enough load. Patch
  23474. from Mike Perry.
  23475. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  23476. will allow fast Tor servers to get more attention.
  23477. - When we're upgrading from an old Tor version, forget our current
  23478. guards and pick new ones according to the new weightings. These
  23479. three load balancing patches could raise effective network capacity
  23480. by a factor of four. Thanks to Mike Perry for measurements.
  23481. o Major bugfixes (stream expiration):
  23482. - Expire not-yet-successful application streams in all cases if
  23483. they've been around longer than SocksTimeout. Right now there are
  23484. some cases where the stream will live forever, demanding a new
  23485. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  23486. o Minor features (controller):
  23487. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  23488. is valid before any authentication has been received. It tells
  23489. a controller what kind of authentication is expected, and what
  23490. protocol is spoken. Implements proposal 119.
  23491. o Minor bugfixes (performance):
  23492. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  23493. greatly speeding up loading cached-routers from disk on startup.
  23494. - Disable sentinel-based debugging for buffer code: we squashed all
  23495. the bugs that this was supposed to detect a long time ago, and now
  23496. its only effect is to change our buffer sizes from nice powers of
  23497. two (which platform mallocs tend to like) to values slightly over
  23498. powers of two (which make some platform mallocs sad).
  23499. o Minor bugfixes (misc):
  23500. - If exit bandwidth ever exceeds one third of total bandwidth, then
  23501. use the correct formula to weight exit nodes when choosing paths.
  23502. Based on patch from Mike Perry.
  23503. - Choose perfectly fairly among routers when choosing by bandwidth and
  23504. weighting by fraction of bandwidth provided by exits. Previously, we
  23505. would choose with only approximate fairness, and correct ourselves
  23506. if we ran off the end of the list.
  23507. - If we require CookieAuthentication but we fail to write the
  23508. cookie file, we would warn but not exit, and end up in a state
  23509. where no controller could authenticate. Now we exit.
  23510. - If we require CookieAuthentication, stop generating a new cookie
  23511. every time we change any piece of our config.
  23512. - Refuse to start with certain directory authority keys, and
  23513. encourage people using them to stop.
  23514. - Terminate multi-line control events properly. Original patch
  23515. from tup.
  23516. - Fix a minor memory leak when we fail to find enough suitable
  23517. servers to choose a circuit.
  23518. - Stop leaking part of the descriptor when we run into a particularly
  23519. unparseable piece of it.
  23520. Changes in version 0.2.0.6-alpha - 2007-08-26
  23521. This sixth development snapshot features a new Vidalia version in the
  23522. Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
  23523. the ControlPort in the default configuration, which addresses important
  23524. security risks.
  23525. In addition, this snapshot fixes major load balancing problems
  23526. with path selection, which should speed things up a lot once many
  23527. people have upgraded. The directory authorities also use a new
  23528. mean-time-between-failure approach to tracking which servers are stable,
  23529. rather than just looking at the most recent uptime.
  23530. o New directory authorities:
  23531. - Set up Tonga as the default bridge directory authority.
  23532. o Major features:
  23533. - Directory authorities now track servers by weighted
  23534. mean-times-between-failures. When we have 4 or more days of data,
  23535. use measured MTBF rather than declared uptime to decide whether
  23536. to call a router Stable. Implements proposal 108.
  23537. o Major bugfixes (load balancing):
  23538. - When choosing nodes for non-guard positions, weight guards
  23539. proportionally less, since they already have enough load. Patch
  23540. from Mike Perry.
  23541. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  23542. will allow fast Tor servers to get more attention.
  23543. - When we're upgrading from an old Tor version, forget our current
  23544. guards and pick new ones according to the new weightings. These
  23545. three load balancing patches could raise effective network capacity
  23546. by a factor of four. Thanks to Mike Perry for measurements.
  23547. o Major bugfixes (descriptor parsing):
  23548. - Handle unexpected whitespace better in malformed descriptors. Bug
  23549. found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
  23550. o Minor features:
  23551. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  23552. GETINFO for Torstat to use until it can switch to using extrainfos.
  23553. - Optionally (if built with -DEXPORTMALLINFO) export the output
  23554. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  23555. from localhost.
  23556. o Minor bugfixes:
  23557. - Do not intermix bridge routers with controller-added
  23558. routers. (Bugfix on 0.2.0.x)
  23559. - Do not fail with an assert when accept() returns an unexpected
  23560. address family. Addresses but does not wholly fix bug 483. (Bugfix
  23561. on 0.2.0.x)
  23562. - Let directory authorities startup even when they can't generate
  23563. a descriptor immediately, e.g. because they don't know their
  23564. address.
  23565. - Stop putting the authentication cookie in a file called "0"
  23566. in your working directory if you don't specify anything for the
  23567. new CookieAuthFile option. Reported by Matt Edman.
  23568. - Make it possible to read the PROTOCOLINFO response in a way that
  23569. conforms to our control-spec. Reported by Matt Edman.
  23570. - Fix a minor memory leak when we fail to find enough suitable
  23571. servers to choose a circuit. Bugfix on 0.1.2.x.
  23572. - Stop leaking part of the descriptor when we run into a particularly
  23573. unparseable piece of it. Bugfix on 0.1.2.x.
  23574. - Unmap the extrainfo cache file on exit.
  23575. Changes in version 0.2.0.5-alpha - 2007-08-19
  23576. This fifth development snapshot fixes compilation on Windows again;
  23577. fixes an obnoxious client-side bug that slowed things down and put
  23578. extra load on the network; gets us closer to using the v3 directory
  23579. voting scheme; makes it easier for Tor controllers to use cookie-based
  23580. authentication; and fixes a variety of other bugs.
  23581. o Removed features:
  23582. - Version 1 directories are no longer generated in full. Instead,
  23583. authorities generate and serve "stub" v1 directories that list
  23584. no servers. This will stop Tor versions 0.1.0.x and earlier from
  23585. working, but (for security reasons) nobody should be running those
  23586. versions anyway.
  23587. o Major bugfixes (compilation, 0.2.0.x):
  23588. - Try to fix Win32 compilation again: improve checking for IPv6 types.
  23589. - Try to fix MSVC compilation: build correctly on platforms that do
  23590. not define s6_addr16 or s6_addr32.
  23591. - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
  23592. Zhou.
  23593. o Major bugfixes (stream expiration):
  23594. - Expire not-yet-successful application streams in all cases if
  23595. they've been around longer than SocksTimeout. Right now there are
  23596. some cases where the stream will live forever, demanding a new
  23597. circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
  23598. reported by lodger.
  23599. o Minor features (directory servers):
  23600. - When somebody requests a list of statuses or servers, and we have
  23601. none of those, return a 404 rather than an empty 200.
  23602. o Minor features (directory voting):
  23603. - Store v3 consensus status consensuses on disk, and reload them
  23604. on startup.
  23605. o Minor features (security):
  23606. - Warn about unsafe ControlPort configurations.
  23607. - Refuse to start with certain directory authority keys, and
  23608. encourage people using them to stop.
  23609. o Minor features (controller):
  23610. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  23611. is valid before any authentication has been received. It tells
  23612. a controller what kind of authentication is expected, and what
  23613. protocol is spoken. Implements proposal 119.
  23614. - New config option CookieAuthFile to choose a new location for the
  23615. cookie authentication file, and config option
  23616. CookieAuthFileGroupReadable to make it group-readable.
  23617. o Minor features (unit testing):
  23618. - Add command-line arguments to unit-test executable so that we can
  23619. invoke any chosen test from the command line rather than having
  23620. to run the whole test suite at once; and so that we can turn on
  23621. logging for the unit tests.
  23622. o Minor bugfixes (on 0.1.2.x):
  23623. - If we require CookieAuthentication but we fail to write the
  23624. cookie file, we would warn but not exit, and end up in a state
  23625. where no controller could authenticate. Now we exit.
  23626. - If we require CookieAuthentication, stop generating a new cookie
  23627. every time we change any piece of our config.
  23628. - When loading bandwidth history, do not believe any information in
  23629. the future. Fixes bug 434.
  23630. - When loading entry guard information, do not believe any information
  23631. in the future.
  23632. - When we have our clock set far in the future and generate an
  23633. onion key, then re-set our clock to be correct, we should not stop
  23634. the onion key from getting rotated.
  23635. - Clean up torrc sample config file.
  23636. - Do not automatically run configure from autogen.sh. This
  23637. non-standard behavior tended to annoy people who have built other
  23638. programs.
  23639. o Minor bugfixes (on 0.2.0.x):
  23640. - Fix a bug with AutomapHostsOnResolve that would always cause
  23641. the second request to fail. Bug reported by Kate. Bugfix on
  23642. 0.2.0.3-alpha.
  23643. - Fix a bug in ADDRMAP controller replies that would sometimes
  23644. try to print a NULL. Patch from tup.
  23645. - Read v3 directory authority keys from the right location.
  23646. - Numerous bugfixes to directory voting code.
  23647. Changes in version 0.1.2.16 - 2007-08-01
  23648. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  23649. remote attacker in certain situations to rewrite the user's torrc
  23650. configuration file. This can completely compromise anonymity of users
  23651. in most configurations, including those running the Vidalia bundles,
  23652. TorK, etc. Or worse.
  23653. o Major security fixes:
  23654. - Close immediately after missing authentication on control port;
  23655. do not allow multiple authentication attempts.
  23656. Changes in version 0.2.0.4-alpha - 2007-08-01
  23657. This fourth development snapshot fixes a critical security vulnerability
  23658. for most users, specifically those running Vidalia, TorK, etc. Everybody
  23659. should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
  23660. o Major security fixes:
  23661. - Close immediately after missing authentication on control port;
  23662. do not allow multiple authentication attempts.
  23663. o Major bugfixes (compilation):
  23664. - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
  23665. defined there.
  23666. o Minor features (performance):
  23667. - Be even more aggressive about releasing RAM from small
  23668. empty buffers. Thanks to our free-list code, this shouldn't be too
  23669. performance-intensive.
  23670. - Disable sentinel-based debugging for buffer code: we squashed all
  23671. the bugs that this was supposed to detect a long time ago, and
  23672. now its only effect is to change our buffer sizes from nice
  23673. powers of two (which platform mallocs tend to like) to values
  23674. slightly over powers of two (which make some platform mallocs sad).
  23675. - Log malloc statistics from mallinfo() on platforms where it
  23676. exists.
  23677. Changes in version 0.2.0.3-alpha - 2007-07-29
  23678. This third development snapshot introduces new experimental
  23679. blocking-resistance features and a preliminary version of the v3
  23680. directory voting design, and includes many other smaller features
  23681. and bugfixes.
  23682. o Major features:
  23683. - The first pieces of our "bridge" design for blocking-resistance
  23684. are implemented. People can run bridge directory authorities;
  23685. people can run bridges; and people can configure their Tor clients
  23686. with a set of bridges to use as the first hop into the Tor network.
  23687. See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
  23688. details.
  23689. - Create listener connections before we setuid to the configured
  23690. User and Group. Now non-Windows users can choose port values
  23691. under 1024, start Tor as root, and have Tor bind those ports
  23692. before it changes to another UID. (Windows users could already
  23693. pick these ports.)
  23694. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  23695. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  23696. on "vserver" accounts. (Patch from coderman.)
  23697. - Be even more aggressive about separating local traffic from relayed
  23698. traffic when RelayBandwidthRate is set. (Refines proposal 111.)
  23699. o Major features (experimental):
  23700. - First cut of code for "v3 dir voting": directory authorities will
  23701. vote on a common network status document rather than each publishing
  23702. their own opinion. This code needs more testing and more corner-case
  23703. handling before it's ready for use.
  23704. o Security fixes:
  23705. - Directory authorities now call routers Fast if their bandwidth is
  23706. at least 100KB/s, and consider their bandwidth adequate to be a
  23707. Guard if it is at least 250KB/s, no matter the medians. This fix
  23708. complements proposal 107. [Bugfix on 0.1.2.x]
  23709. - Directory authorities now never mark more than 3 servers per IP as
  23710. Valid and Running. (Implements proposal 109, by Kevin Bauer and
  23711. Damon McCoy.)
  23712. - Minor change to organizationName and commonName generation
  23713. procedures in TLS certificates during Tor handshakes, to invalidate
  23714. some earlier censorware approaches. This is not a long-term
  23715. solution, but applying it will give us a bit of time to look into
  23716. the epidemiology of countermeasures as they spread.
  23717. o Major bugfixes (directory):
  23718. - Rewrite directory tokenization code to never run off the end of
  23719. a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
  23720. o Minor features (controller):
  23721. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  23722. match requests to applications. (Patch from Robert Hogan.)
  23723. - Report address and port correctly on connections to DNSPort. (Patch
  23724. from Robert Hogan.)
  23725. - Add a RESOLVE command to launch hostname lookups. (Original patch
  23726. from Robert Hogan.)
  23727. - Add GETINFO status/enough-dir-info to let controllers tell whether
  23728. Tor has downloaded sufficient directory information. (Patch
  23729. from Tup.)
  23730. - You can now use the ControlSocket option to tell Tor to listen for
  23731. controller connections on Unix domain sockets on systems that
  23732. support them. (Patch from Peter Palfrader.)
  23733. - STREAM NEW events are generated for DNSPort requests and for
  23734. tunneled directory connections. (Patch from Robert Hogan.)
  23735. - New "GETINFO address-mappings/*" command to get address mappings
  23736. with expiry information. "addr-mappings/*" is now deprecated.
  23737. (Patch from Tup.)
  23738. o Minor features (misc):
  23739. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  23740. from croup.)
  23741. - The tor-gencert tool for v3 directory authorities now creates all
  23742. files as readable to the file creator only, and write-protects
  23743. the authority identity key.
  23744. - When dumping memory usage, list bytes used in buffer memory
  23745. free-lists.
  23746. - When running with dmalloc, dump more stats on hup and on exit.
  23747. - Directory authorities now fail quickly and (relatively) harmlessly
  23748. if they generate a network status document that is somehow
  23749. malformed.
  23750. o Traffic load balancing improvements:
  23751. - If exit bandwidth ever exceeds one third of total bandwidth, then
  23752. use the correct formula to weight exit nodes when choosing paths.
  23753. (Based on patch from Mike Perry.)
  23754. - Choose perfectly fairly among routers when choosing by bandwidth and
  23755. weighting by fraction of bandwidth provided by exits. Previously, we
  23756. would choose with only approximate fairness, and correct ourselves
  23757. if we ran off the end of the list. [Bugfix on 0.1.2.x]
  23758. o Performance improvements:
  23759. - Be more aggressive with freeing buffer RAM or putting it on the
  23760. memory free lists.
  23761. - Use Critical Sections rather than Mutexes for synchronizing threads
  23762. on win32; Mutexes are heavier-weight, and designed for synchronizing
  23763. between processes.
  23764. o Deprecated and removed features:
  23765. - RedirectExits is now deprecated.
  23766. - Stop allowing address masks that do not correspond to bit prefixes.
  23767. We have warned about these for a really long time; now it's time
  23768. to reject them. (Patch from croup.)
  23769. o Minor bugfixes (directory):
  23770. - Fix another crash bug related to extra-info caching. (Bug found by
  23771. Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
  23772. - Directories no longer return a "304 not modified" when they don't
  23773. have the networkstatus the client asked for. Also fix a memory
  23774. leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
  23775. - We had accidentally labelled 0.1.2.x directory servers as not
  23776. suitable for begin_dir requests, and had labelled no directory
  23777. servers as suitable for uploading extra-info documents. [Bugfix
  23778. on 0.2.0.1-alpha]
  23779. o Minor bugfixes (dns):
  23780. - Fix a crash when DNSPort is set more than once. (Patch from Robert
  23781. Hogan.) [Bugfix on 0.2.0.2-alpha]
  23782. - Add DNSPort connections to the global connection list, so that we
  23783. can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
  23784. on 0.2.0.2-alpha]
  23785. - Fix a dangling reference that could lead to a crash when DNSPort is
  23786. changed or closed (Patch from Robert Hogan.) [Bugfix on
  23787. 0.2.0.2-alpha]
  23788. o Minor bugfixes (controller):
  23789. - Provide DNS expiry times in GMT, not in local time. For backward
  23790. compatibility, ADDRMAP events only provide GMT expiry in an extended
  23791. field. "GETINFO address-mappings" always does the right thing.
  23792. - Use CRLF line endings properly in NS events.
  23793. - Terminate multi-line control events properly. (Original patch
  23794. from tup.) [Bugfix on 0.1.2.x-alpha]
  23795. - Do not include spaces in SOURCE_ADDR fields in STREAM
  23796. events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
  23797. Changes in version 0.1.2.15 - 2007-07-17
  23798. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  23799. problems, fixes compilation on BSD, and fixes a variety of other
  23800. bugs. Everybody should upgrade.
  23801. o Major bugfixes (compilation):
  23802. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  23803. o Major bugfixes (crashes):
  23804. - Try even harder not to dereference the first character after
  23805. an mmap(). Reported by lodger.
  23806. - Fix a crash bug in directory authorities when we re-number the
  23807. routerlist while inserting a new router.
  23808. - When the cached-routers file is an even multiple of the page size,
  23809. don't run off the end and crash. (Fixes bug 455; based on idea
  23810. from croup.)
  23811. - Fix eventdns.c behavior on Solaris: It is critical to include
  23812. orconfig.h _before_ sys/types.h, so that we can get the expected
  23813. definition of _FILE_OFFSET_BITS.
  23814. o Major bugfixes (security):
  23815. - Fix a possible buffer overrun when using BSD natd support. Bug
  23816. found by croup.
  23817. - When sending destroy cells from a circuit's origin, don't include
  23818. the reason for tearing down the circuit. The spec says we didn't,
  23819. and now we actually don't. Reported by lodger.
  23820. - Keep streamids from different exits on a circuit separate. This
  23821. bug may have allowed other routers on a given circuit to inject
  23822. cells into streams. Reported by lodger; fixes bug 446.
  23823. - If there's a never-before-connected-to guard node in our list,
  23824. never choose any guards past it. This way we don't expand our
  23825. guard list unless we need to.
  23826. o Minor bugfixes (guard nodes):
  23827. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  23828. don't get overused as guards.
  23829. o Minor bugfixes (directory):
  23830. - Correctly count the number of authorities that recommend each
  23831. version. Previously, we were under-counting by 1.
  23832. - Fix a potential crash bug when we load many server descriptors at
  23833. once and some of them make others of them obsolete. Fixes bug 458.
  23834. o Minor bugfixes (hidden services):
  23835. - Stop tearing down the whole circuit when the user asks for a
  23836. connection to a port that the hidden service didn't configure.
  23837. Resolves bug 444.
  23838. o Minor bugfixes (misc):
  23839. - On Windows, we were preventing other processes from reading
  23840. cached-routers while Tor was running. Reported by janbar.
  23841. - Fix a possible (but very unlikely) bug in picking routers by
  23842. bandwidth. Add a log message to confirm that it is in fact
  23843. unlikely. Patch from lodger.
  23844. - Backport a couple of memory leak fixes.
  23845. - Backport miscellaneous cosmetic bugfixes.
  23846. Changes in version 0.2.0.2-alpha - 2007-06-02
  23847. o Major bugfixes on 0.2.0.1-alpha:
  23848. - Fix an assertion failure related to servers without extra-info digests.
  23849. Resolves bugs 441 and 442.
  23850. o Minor features (directory):
  23851. - Support "If-Modified-Since" when answering HTTP requests for
  23852. directories, running-routers documents, and network-status documents.
  23853. (There's no need to support it for router descriptors, since those
  23854. are downloaded by descriptor digest.)
  23855. o Minor build issues:
  23856. - Clear up some MIPSPro compiler warnings.
  23857. - When building from a tarball on a machine that happens to have SVK
  23858. installed, report the micro-revision as whatever version existed
  23859. in the tarball, not as "x".
  23860. Changes in version 0.2.0.1-alpha - 2007-06-01
  23861. This early development snapshot provides new features for people running
  23862. Tor as both a client and a server (check out the new RelayBandwidth
  23863. config options); lets Tor run as a DNS proxy; and generally moves us
  23864. forward on a lot of fronts.
  23865. o Major features, server usability:
  23866. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  23867. a separate set of token buckets for relayed traffic. Right now
  23868. relayed traffic is defined as answers to directory requests, and
  23869. OR connections that don't have any local circuits on them.
  23870. o Major features, client usability:
  23871. - A client-side DNS proxy feature to replace the need for
  23872. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  23873. for DNS requests on port 9999, use the Tor network to resolve them
  23874. anonymously, and send the reply back like a regular DNS server.
  23875. The code still only implements a subset of DNS.
  23876. - Make PreferTunneledDirConns and TunnelDirConns work even when
  23877. we have no cached directory info. This means Tor clients can now
  23878. do all of their connections protected by TLS.
  23879. o Major features, performance and efficiency:
  23880. - Directory authorities accept and serve "extra info" documents for
  23881. routers. These documents contain fields from router descriptors
  23882. that aren't usually needed, and that use a lot of excess
  23883. bandwidth. Once these fields are removed from router descriptors,
  23884. the bandwidth savings should be about 60%. [Partially implements
  23885. proposal 104.]
  23886. - Servers upload extra-info documents to any authority that accepts
  23887. them. Authorities (and caches that have been configured to download
  23888. extra-info documents) download them as needed. [Partially implements
  23889. proposal 104.]
  23890. - Change the way that Tor buffers data that it is waiting to write.
  23891. Instead of queueing data cells in an enormous ring buffer for each
  23892. client->OR or OR->OR connection, we now queue cells on a separate
  23893. queue for each circuit. This lets us use less slack memory, and
  23894. will eventually let us be smarter about prioritizing different kinds
  23895. of traffic.
  23896. - Use memory pools to allocate cells with better speed and memory
  23897. efficiency, especially on platforms where malloc() is inefficient.
  23898. - Stop reading on edge connections when their corresponding circuit
  23899. buffers are full; start again as the circuits empty out.
  23900. o Major features, other:
  23901. - Add an HSAuthorityRecordStats option that hidden service authorities
  23902. can use to track statistics of overall hidden service usage without
  23903. logging information that would be very useful to an attacker.
  23904. - Start work implementing multi-level keys for directory authorities:
  23905. Add a standalone tool to generate key certificates. (Proposal 103.)
  23906. o Security fixes:
  23907. - Directory authorities now call routers Stable if they have an
  23908. uptime of at least 30 days, even if that's not the median uptime
  23909. in the network. Implements proposal 107, suggested by Kevin Bauer
  23910. and Damon McCoy.
  23911. o Minor fixes (resource management):
  23912. - Count the number of open sockets separately from the number
  23913. of active connection_t objects. This will let us avoid underusing
  23914. our allocated connection limit.
  23915. - We no longer use socket pairs to link an edge connection to an
  23916. anonymous directory connection or a DirPort test connection.
  23917. Instead, we track the link internally and transfer the data
  23918. in-process. This saves two sockets per "linked" connection (at the
  23919. client and at the server), and avoids the nasty Windows socketpair()
  23920. workaround.
  23921. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  23922. for every single inactive connection_t. Free items from the
  23923. 4k/16k-buffer free lists when they haven't been used for a while.
  23924. o Minor features (build):
  23925. - Make autoconf search for libevent, openssl, and zlib consistently.
  23926. - Update deprecated macros in configure.in.
  23927. - When warning about missing headers, tell the user to let us
  23928. know if the compile succeeds anyway, so we can downgrade the
  23929. warning.
  23930. - Include the current subversion revision as part of the version
  23931. string: either fetch it directly if we're in an SVN checkout, do
  23932. some magic to guess it if we're in an SVK checkout, or use
  23933. the last-detected version if we're building from a .tar.gz.
  23934. Use this version consistently in log messages.
  23935. o Minor features (logging):
  23936. - Always prepend "Bug: " to any log message about a bug.
  23937. - Put a platform string (e.g. "Linux i686") in the startup log
  23938. message, so when people paste just their logs, we know if it's
  23939. OpenBSD or Windows or what.
  23940. - When logging memory usage, break down memory used in buffers by
  23941. buffer type.
  23942. o Minor features (directory system):
  23943. - New config option V2AuthoritativeDirectory that all directory
  23944. authorities should set. This will let future authorities choose
  23945. not to serve V2 directory information.
  23946. - Directory authorities allow multiple router descriptors and/or extra
  23947. info documents to be uploaded in a single go. This will make
  23948. implementing proposal 104 simpler.
  23949. o Minor features (controller):
  23950. - Add a new config option __DisablePredictedCircuits designed for
  23951. use by the controller, when we don't want Tor to build any circuits
  23952. preemptively.
  23953. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  23954. so we can exit from the middle of the circuit.
  23955. - Implement "getinfo status/circuit-established".
  23956. - Implement "getinfo status/version/..." so a controller can tell
  23957. whether the current version is recommended, and whether any versions
  23958. are good, and how many authorities agree. (Patch from shibz.)
  23959. o Minor features (hidden services):
  23960. - Allow multiple HiddenServicePort directives with the same virtual
  23961. port; when they occur, the user is sent round-robin to one
  23962. of the target ports chosen at random. Partially fixes bug 393 by
  23963. adding limited ad-hoc round-robining.
  23964. o Minor features (other):
  23965. - More unit tests.
  23966. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  23967. resolve request for hosts matching a given pattern causes Tor to
  23968. generate an internal virtual address mapping for that host. This
  23969. allows DNSPort to work sensibly with hidden service users. By
  23970. default, .exit and .onion addresses are remapped; the list of
  23971. patterns can be reconfigured with AutomapHostsSuffixes.
  23972. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  23973. address. Thanks to the AutomapHostsOnResolve option, this is no
  23974. longer a completely silly thing to do.
  23975. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  23976. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  23977. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  23978. minus 1 byte: the actual maximum declared bandwidth.
  23979. o Removed features:
  23980. - Removed support for the old binary "version 0" controller protocol.
  23981. This has been deprecated since 0.1.1, and warnings have been issued
  23982. since 0.1.2. When we encounter a v0 control message, we now send
  23983. back an error and close the connection.
  23984. - Remove the old "dns worker" server DNS code: it hasn't been default
  23985. since 0.1.2.2-alpha, and all the servers seem to be using the new
  23986. eventdns code.
  23987. o Minor bugfixes (portability):
  23988. - Even though Windows is equally happy with / and \ as path separators,
  23989. try to use \ consistently on Windows and / consistently on Unix: it
  23990. makes the log messages nicer.
  23991. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  23992. - Read resolv.conf files correctly on platforms where read() returns
  23993. partial results on small file reads.
  23994. o Minor bugfixes (directory):
  23995. - Correctly enforce that elements of directory objects do not appear
  23996. more often than they are allowed to appear.
  23997. - When we are reporting the DirServer line we just parsed, we were
  23998. logging the second stanza of the key fingerprint, not the first.
  23999. o Minor bugfixes (logging):
  24000. - When we hit an EOF on a log (probably because we're shutting down),
  24001. don't try to remove the log from the list: just mark it as
  24002. unusable. (Bulletproofs against bug 222.)
  24003. o Minor bugfixes (other):
  24004. - In the exitlist script, only consider the most recently published
  24005. server descriptor for each server. Also, when the user requests
  24006. a list of servers that _reject_ connections to a given address,
  24007. explicitly exclude the IPs that also have servers that accept
  24008. connections to that address. (Resolves bug 405.)
  24009. - Stop allowing hibernating servers to be "stable" or "fast".
  24010. - On Windows, we were preventing other processes from reading
  24011. cached-routers while Tor was running. (Reported by janbar)
  24012. - Make the NodeFamilies config option work. (Reported by
  24013. lodger -- it has never actually worked, even though we added it
  24014. in Oct 2004.)
  24015. - Check return values from pthread_mutex functions.
  24016. - Don't save non-general-purpose router descriptors to the disk cache,
  24017. because we have no way of remembering what their purpose was when
  24018. we restart.
  24019. - Add even more asserts to hunt down bug 417.
  24020. - Build without verbose warnings even on (not-yet-released) gcc 4.2.
  24021. - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
  24022. Add a log message to confirm that it is in fact unlikely.
  24023. o Minor bugfixes (controller):
  24024. - Make 'getinfo fingerprint' return a 551 error if we're not a
  24025. server, so we match what the control spec claims we do. Reported
  24026. by daejees.
  24027. - Fix a typo in an error message when extendcircuit fails that
  24028. caused us to not follow the \r\n-based delimiter protocol. Reported
  24029. by daejees.
  24030. o Code simplifications and refactoring:
  24031. - Stop passing around circuit_t and crypt_path_t pointers that are
  24032. implicit in other procedure arguments.
  24033. - Drop the old code to choke directory connections when the
  24034. corresponding OR connections got full: thanks to the cell queue
  24035. feature, OR conns don't get full any more.
  24036. - Make dns_resolve() handle attaching connections to circuits
  24037. properly, so the caller doesn't have to.
  24038. - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
  24039. - Keep the connection array as a dynamic smartlist_t, rather than as
  24040. a fixed-sized array. This is important, as the number of connections
  24041. is becoming increasingly decoupled from the number of sockets.
  24042. Changes in version 0.1.2.14 - 2007-05-25
  24043. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  24044. change especially affects those who serve or use hidden services),
  24045. and fixes several other crash- and security-related bugs.
  24046. o Directory authority changes:
  24047. - Two directory authorities (moria1 and moria2) just moved to new
  24048. IP addresses. This change will particularly affect those who serve
  24049. or use hidden services.
  24050. o Major bugfixes (crashes):
  24051. - If a directory server runs out of space in the connection table
  24052. as it's processing a begin_dir request, it will free the exit stream
  24053. but leave it attached to the circuit, leading to unpredictable
  24054. behavior. (Reported by seeess, fixes bug 425.)
  24055. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  24056. to corrupt memory under some really unlikely scenarios.
  24057. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  24058. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  24059. by lodger.)
  24060. o Major bugfixes (security):
  24061. - When choosing an entry guard for a circuit, avoid using guards
  24062. that are in the same family as the chosen exit -- not just guards
  24063. that are exactly the chosen exit. (Reported by lodger.)
  24064. o Major bugfixes (resource management):
  24065. - If a directory authority is down, skip it when deciding where to get
  24066. networkstatus objects or descriptors. Otherwise we keep asking
  24067. every 10 seconds forever. Fixes bug 384.
  24068. - Count it as a failure if we fetch a valid network-status but we
  24069. don't want to keep it. Otherwise we'll keep fetching it and keep
  24070. not wanting to keep it. Fixes part of bug 422.
  24071. - If all of our dirservers have given us bad or no networkstatuses
  24072. lately, then stop hammering them once per minute even when we
  24073. think they're failed. Fixes another part of bug 422.
  24074. o Minor bugfixes:
  24075. - Actually set the purpose correctly for descriptors inserted with
  24076. purpose=controller.
  24077. - When we have k non-v2 authorities in our DirServer config,
  24078. we ignored the last k authorities in the list when updating our
  24079. network-statuses.
  24080. - Correctly back-off from requesting router descriptors that we are
  24081. having a hard time downloading.
  24082. - Read resolv.conf files correctly on platforms where read() returns
  24083. partial results on small file reads.
  24084. - Don't rebuild the entire router store every time we get 32K of
  24085. routers: rebuild it when the journal gets very large, or when
  24086. the gaps in the store get very large.
  24087. o Minor features:
  24088. - When routers publish SVN revisions in their router descriptors,
  24089. authorities now include those versions correctly in networkstatus
  24090. documents.
  24091. - Warn when using a version of libevent before 1.3b to run a server on
  24092. OSX or BSD: these versions interact badly with userspace threads.
  24093. Changes in version 0.1.2.13 - 2007-04-24
  24094. This release features some major anonymity fixes, such as safer path
  24095. selection; better client performance; faster bootstrapping, better
  24096. address detection, and better DNS support for servers; write limiting as
  24097. well as read limiting to make servers easier to run; and a huge pile of
  24098. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  24099. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  24100. of the Freenode IRC network, remembering his patience and vision for
  24101. free speech on the Internet.
  24102. o Minor fixes:
  24103. - Fix a memory leak when we ask for "all" networkstatuses and we
  24104. get one we don't recognize.
  24105. - Add more asserts to hunt down bug 417.
  24106. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  24107. Changes in version 0.1.2.12-rc - 2007-03-16
  24108. o Major bugfixes:
  24109. - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
  24110. directory information requested inside Tor connections (i.e. via
  24111. begin_dir cells). It only triggered when the same connection was
  24112. serving other data at the same time. Reported by seeess.
  24113. o Minor bugfixes:
  24114. - When creating a circuit via the controller, send a 'launched'
  24115. event when we're done, so we follow the spec better.
  24116. Changes in version 0.1.2.11-rc - 2007-03-15
  24117. o Minor bugfixes (controller), reported by daejees:
  24118. - Correct the control spec to match how the code actually responds
  24119. to 'getinfo addr-mappings/*'.
  24120. - The control spec described a GUARDS event, but the code
  24121. implemented a GUARD event. Standardize on GUARD, but let people
  24122. ask for GUARDS too.
  24123. Changes in version 0.1.2.10-rc - 2007-03-07
  24124. o Major bugfixes (Windows):
  24125. - Do not load the NT services library functions (which may not exist)
  24126. just to detect if we're a service trying to shut down. Now we run
  24127. on Win98 and friends again.
  24128. o Minor bugfixes (other):
  24129. - Clarify a couple of log messages.
  24130. - Fix a misleading socks5 error number.
  24131. Changes in version 0.1.2.9-rc - 2007-03-02
  24132. o Major bugfixes (Windows):
  24133. - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
  24134. of the usual GCC "%llu". This prevents a bug when saving 64-bit
  24135. int configuration values: the high-order 32 bits would get
  24136. truncated. In particular, we were being bitten by the default
  24137. MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
  24138. and maybe also bug 397.)
  24139. o Minor bugfixes (performance):
  24140. - Use OpenSSL's AES implementation on platforms where it's faster.
  24141. This could save us as much as 10% CPU usage.
  24142. o Minor bugfixes (server):
  24143. - Do not rotate onion key immediately after setting it for the first
  24144. time.
  24145. o Minor bugfixes (directory authorities):
  24146. - Stop calling servers that have been hibernating for a long time
  24147. "stable". Also, stop letting hibernating or obsolete servers affect
  24148. uptime and bandwidth cutoffs.
  24149. - Stop listing hibernating servers in the v1 directory.
  24150. o Minor bugfixes (hidden services):
  24151. - Upload hidden service descriptors slightly less often, to reduce
  24152. load on authorities.
  24153. o Minor bugfixes (other):
  24154. - Fix an assert that could trigger if a controller quickly set then
  24155. cleared EntryNodes. Bug found by Udo van den Heuvel.
  24156. - On architectures where sizeof(int)>4, still clamp declarable bandwidth
  24157. to INT32_MAX.
  24158. - Fix a potential race condition in the rpm installer. Found by
  24159. Stefan Nordhausen.
  24160. - Try to fix eventdns warnings once and for all: do not treat a dns rcode
  24161. of 2 as indicating that the server is completely bad; it sometimes
  24162. means that the server is just bad for the request in question. (may fix
  24163. the last of bug 326.)
  24164. - Disable encrypted directory connections when we don't have a server
  24165. descriptor for the destination. We'll get this working again in
  24166. the 0.2.0 branch.
  24167. Changes in version 0.1.2.8-beta - 2007-02-26
  24168. o Major bugfixes (crashes):
  24169. - Stop crashing when the controller asks us to resetconf more than
  24170. one config option at once. (Vidalia 0.0.11 does this.)
  24171. - Fix a crash that happened on Win98 when we're given command-line
  24172. arguments: don't try to load NT service functions from advapi32.dll
  24173. except when we need them. (Bug introduced in 0.1.2.7-alpha;
  24174. resolves bug 389.)
  24175. - Fix a longstanding obscure crash bug that could occur when
  24176. we run out of DNS worker processes. (Resolves bug 390.)
  24177. o Major bugfixes (hidden services):
  24178. - Correctly detect whether hidden service descriptor downloads are
  24179. in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
  24180. o Major bugfixes (accounting):
  24181. - When we start during an accounting interval before it's time to wake
  24182. up, remember to wake up at the correct time. (May fix bug 342.)
  24183. o Minor bugfixes (controller):
  24184. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  24185. clear the corresponding on_circuit variable, and remember later
  24186. that we don't need to send a redundant CLOSED event. Resolves part
  24187. 3 of bug 367.
  24188. - Report events where a resolve succeeded or where we got a socks
  24189. protocol error correctly, rather than calling both of them
  24190. "INTERNAL".
  24191. - Change reported stream target addresses to IP consistently when
  24192. we finally get the IP from an exit node.
  24193. - Send log messages to the controller even if they happen to be very
  24194. long.
  24195. o Minor bugfixes (other):
  24196. - Display correct results when reporting which versions are
  24197. recommended, and how recommended they are. (Resolves bug 383.)
  24198. - Improve our estimates for directory bandwidth to be less random:
  24199. guess that an unrecognized directory will have the average bandwidth
  24200. from all known directories, not that it will have the average
  24201. bandwidth from those directories earlier than it on the list.
  24202. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  24203. and hup, stop triggering an assert based on an empty onion_key.
  24204. - On platforms with no working mmap() equivalent, don't warn the
  24205. user when cached-routers doesn't exist.
  24206. - Warn the user when mmap() [or its equivalent] fails for some reason
  24207. other than file-not-found.
  24208. - Don't warn the user when cached-routers.new doesn't exist: that's
  24209. perfectly fine when starting up for the first time.
  24210. - When EntryNodes are configured, rebuild the guard list to contain,
  24211. in order: the EntryNodes that were guards before; the rest of the
  24212. EntryNodes; the nodes that were guards before.
  24213. - Mask out all signals in sub-threads; only the libevent signal
  24214. handler should be processing them. This should prevent some crashes
  24215. on some machines using pthreads. (Patch from coderman.)
  24216. - Fix switched arguments on memset in the implementation of
  24217. tor_munmap() for systems with no mmap() call.
  24218. - When Tor receives a router descriptor that it asked for, but
  24219. no longer wants (because it has received fresh networkstatuses
  24220. in the meantime), do not warn the user. Cache the descriptor if
  24221. we're a cache; drop it if we aren't.
  24222. - Make earlier entry guards _really_ get retried when the network
  24223. comes back online.
  24224. - On a malformed DNS reply, always give an error to the corresponding
  24225. DNS request.
  24226. - Build with recent libevents on platforms that do not define the
  24227. nonstandard types "u_int8_t" and friends.
  24228. o Minor features (controller):
  24229. - Warn the user when an application uses the obsolete binary v0
  24230. control protocol. We're planning to remove support for it during
  24231. the next development series, so it's good to give people some
  24232. advance warning.
  24233. - Add STREAM_BW events to report per-entry-stream bandwidth
  24234. use. (Patch from Robert Hogan.)
  24235. - Rate-limit SIGNEWNYM signals in response to controllers that
  24236. impolitely generate them for every single stream. (Patch from
  24237. mwenge; closes bug 394.)
  24238. - Make REMAP stream events have a SOURCE (cache or exit), and
  24239. make them generated in every case where we get a successful
  24240. connected or resolved cell.
  24241. o Minor bugfixes (performance):
  24242. - Call router_have_min_dir_info half as often. (This is showing up in
  24243. some profiles, but not others.)
  24244. - When using GCC, make log_debug never get called at all, and its
  24245. arguments never get evaluated, when no debug logs are configured.
  24246. (This is showing up in some profiles, but not others.)
  24247. o Minor features:
  24248. - Remove some never-implemented options. Mark PathlenCoinWeight as
  24249. obsolete.
  24250. - Implement proposal 106: Stop requiring clients to have well-formed
  24251. certificates; stop checking nicknames in certificates. (Clients
  24252. have certificates so that they can look like Tor servers, but in
  24253. the future we might want to allow them to look like regular TLS
  24254. clients instead. Nicknames in certificates serve no purpose other
  24255. than making our protocol easier to recognize on the wire.)
  24256. - Revise messages on handshake failure again to be even more clear about
  24257. which are incoming connections and which are outgoing.
  24258. - Discard any v1 directory info that's over 1 month old (for
  24259. directories) or over 1 week old (for running-routers lists).
  24260. - Do not warn when individual nodes in the configuration's EntryNodes,
  24261. ExitNodes, etc are down: warn only when all possible nodes
  24262. are down. (Fixes bug 348.)
  24263. - Always remove expired routers and networkstatus docs before checking
  24264. whether we have enough information to build circuits. (Fixes
  24265. bug 373.)
  24266. - Put a lower-bound on MaxAdvertisedBandwidth.
  24267. Changes in version 0.1.2.7-alpha - 2007-02-06
  24268. o Major bugfixes (rate limiting):
  24269. - Servers decline directory requests much more aggressively when
  24270. they're low on bandwidth. Otherwise they end up queueing more and
  24271. more directory responses, which can't be good for latency.
  24272. - But never refuse directory requests from local addresses.
  24273. - Fix a memory leak when sending a 503 response for a networkstatus
  24274. request.
  24275. - Be willing to read or write on local connections (e.g. controller
  24276. connections) even when the global rate limiting buckets are empty.
  24277. - If our system clock jumps back in time, don't publish a negative
  24278. uptime in the descriptor. Also, don't let the global rate limiting
  24279. buckets go absurdly negative.
  24280. - Flush local controller connection buffers periodically as we're
  24281. writing to them, so we avoid queueing 4+ megabytes of data before
  24282. trying to flush.
  24283. o Major bugfixes (NT services):
  24284. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  24285. command-line flag so that admins can override the default by saying
  24286. "tor --service install --user "SomeUser"". This will not affect
  24287. existing installed services. Also, warn the user that the service
  24288. will look for its configuration file in the service user's
  24289. %appdata% directory. (We can't do the 'hardwire the user's appdata
  24290. directory' trick any more, since we may not have read access to that
  24291. directory.)
  24292. o Major bugfixes (other):
  24293. - Previously, we would cache up to 16 old networkstatus documents
  24294. indefinitely, if they came from nontrusted authorities. Now we
  24295. discard them if they are more than 10 days old.
  24296. - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
  24297. Del Vecchio).
  24298. - Detect and reject malformed DNS responses containing circular
  24299. pointer loops.
  24300. - If exits are rare enough that we're not marking exits as guards,
  24301. ignore exit bandwidth when we're deciding the required bandwidth
  24302. to become a guard.
  24303. - When we're handling a directory connection tunneled over Tor,
  24304. don't fill up internal memory buffers with all the data we want
  24305. to tunnel; instead, only add it if the OR connection that will
  24306. eventually receive it has some room for it. (This can lead to
  24307. slowdowns in tunneled dir connections; a better solution will have
  24308. to wait for 0.2.0.)
  24309. o Minor bugfixes (dns):
  24310. - Add some defensive programming to eventdns.c in an attempt to catch
  24311. possible memory-stomping bugs.
  24312. - Detect and reject DNS replies containing IPv4 or IPv6 records with
  24313. an incorrect number of bytes. (Previously, we would ignore the
  24314. extra bytes.)
  24315. - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
  24316. in the correct order, and doesn't crash.
  24317. - Free memory held in recently-completed DNS lookup attempts on exit.
  24318. This was not a memory leak, but may have been hiding memory leaks.
  24319. - Handle TTL values correctly on reverse DNS lookups.
  24320. - Treat failure to parse resolv.conf as an error.
  24321. o Minor bugfixes (other):
  24322. - Fix crash with "tor --list-fingerprint" (reported by seeess).
  24323. - When computing clock skew from directory HTTP headers, consider what
  24324. time it was when we finished asking for the directory, not what
  24325. time it is now.
  24326. - Expire socks connections if they spend too long waiting for the
  24327. handshake to finish. Previously we would let them sit around for
  24328. days, if the connecting application didn't close them either.
  24329. - And if the socks handshake hasn't started, don't send a
  24330. "DNS resolve socks failed" handshake reply; just close it.
  24331. - Stop using C functions that OpenBSD's linker doesn't like.
  24332. - Don't launch requests for descriptors unless we have networkstatuses
  24333. from at least half of the authorities. This delays the first
  24334. download slightly under pathological circumstances, but can prevent
  24335. us from downloading a bunch of descriptors we don't need.
  24336. - Do not log IPs with TLS failures for incoming TLS
  24337. connections. (Fixes bug 382.)
  24338. - If the user asks to use invalid exit nodes, be willing to use
  24339. unstable ones.
  24340. - Stop using the reserved ac_cv namespace in our configure script.
  24341. - Call stat() slightly less often; use fstat() when possible.
  24342. - Refactor the way we handle pending circuits when an OR connection
  24343. completes or fails, in an attempt to fix a rare crash bug.
  24344. - Only rewrite a conn's address based on X-Forwarded-For: headers
  24345. if it's a parseable public IP address; and stop adding extra quotes
  24346. to the resulting address.
  24347. o Major features:
  24348. - Weight directory requests by advertised bandwidth. Now we can
  24349. let servers enable write limiting but still allow most clients to
  24350. succeed at their directory requests. (We still ignore weights when
  24351. choosing a directory authority; I hope this is a feature.)
  24352. o Minor features:
  24353. - Create a new file ReleaseNotes which was the old ChangeLog. The
  24354. new ChangeLog file now includes the summaries for all development
  24355. versions too.
  24356. - Check for addresses with invalid characters at the exit as well
  24357. as at the client, and warn less verbosely when they fail. You can
  24358. override this by setting ServerDNSAllowNonRFC953Addresses to 1.
  24359. - Adapt a patch from goodell to let the contrib/exitlist script
  24360. take arguments rather than require direct editing.
  24361. - Inform the server operator when we decide not to advertise a
  24362. DirPort due to AccountingMax enabled or a low BandwidthRate. It
  24363. was confusing Zax, so now we're hopefully more helpful.
  24364. - Bring us one step closer to being able to establish an encrypted
  24365. directory tunnel without knowing a descriptor first. Still not
  24366. ready yet. As part of the change, now assume we can use a
  24367. create_fast cell if we don't know anything about a router.
  24368. - Allow exit nodes to use nameservers running on ports other than 53.
  24369. - Servers now cache reverse DNS replies.
  24370. - Add an --ignore-missing-torrc command-line option so that we can
  24371. get the "use sensible defaults if the configuration file doesn't
  24372. exist" behavior even when specifying a torrc location on the command
  24373. line.
  24374. o Minor features (controller):
  24375. - Track reasons for OR connection failure; make these reasons
  24376. available via the controller interface. (Patch from Mike Perry.)
  24377. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  24378. can learn when clients are sending malformed hostnames to Tor.
  24379. - Clean up documentation for controller status events.
  24380. - Add a REMAP status to stream events to note that a stream's
  24381. address has changed because of a cached address or a MapAddress
  24382. directive.
  24383. Changes in version 0.1.2.6-alpha - 2007-01-09
  24384. o Major bugfixes:
  24385. - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
  24386. connection handles more than 4 gigs in either direction, we crash.
  24387. - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
  24388. advertised exit node, somebody might try to exit from us when
  24389. we're bootstrapping and before we've built our descriptor yet.
  24390. Refuse the connection rather than crashing.
  24391. o Minor bugfixes:
  24392. - Warn if we (as a server) find that we've resolved an address that we
  24393. weren't planning to resolve.
  24394. - Warn that using select() on any libevent version before 1.1 will be
  24395. unnecessarily slow (even for select()).
  24396. - Flush ERR-level controller status events just like we currently
  24397. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  24398. the controller from learning about current events.
  24399. o Minor features (more controller status events):
  24400. - Implement EXTERNAL_ADDRESS server status event so controllers can
  24401. learn when our address changes.
  24402. - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
  24403. can learn when directories reject our descriptor.
  24404. - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
  24405. can learn when a client application is speaking a non-socks protocol
  24406. to our SocksPort.
  24407. - Implement DANGEROUS_SOCKS client status event so controllers
  24408. can learn when a client application is leaking DNS addresses.
  24409. - Implement BUG general status event so controllers can learn when
  24410. Tor is unhappy about its internal invariants.
  24411. - Implement CLOCK_SKEW general status event so controllers can learn
  24412. when Tor thinks the system clock is set incorrectly.
  24413. - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
  24414. server status events so controllers can learn when their descriptors
  24415. are accepted by a directory.
  24416. - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
  24417. server status events so controllers can learn about Tor's progress in
  24418. deciding whether it's reachable from the outside.
  24419. - Implement BAD_LIBEVENT general status event so controllers can learn
  24420. when we have a version/method combination in libevent that needs to
  24421. be changed.
  24422. - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
  24423. and DNS_USELESS server status events so controllers can learn
  24424. about changes to DNS server status.
  24425. o Minor features (directory):
  24426. - Authorities no longer recommend exits as guards if this would shift
  24427. too much load to the exit nodes.
  24428. Changes in version 0.1.2.5-alpha - 2007-01-06
  24429. o Major features:
  24430. - Enable write limiting as well as read limiting. Now we sacrifice
  24431. capacity if we're pushing out lots of directory traffic, rather
  24432. than overrunning the user's intended bandwidth limits.
  24433. - Include TLS overhead when counting bandwidth usage; previously, we
  24434. would count only the bytes sent over TLS, but not the bytes used
  24435. to send them.
  24436. - Support running the Tor service with a torrc not in the same
  24437. directory as tor.exe and default to using the torrc located in
  24438. the %appdata%\Tor\ of the user who installed the service. Patch
  24439. from Matt Edman.
  24440. - Servers now check for the case when common DNS requests are going to
  24441. wildcarded addresses (i.e. all getting the same answer), and change
  24442. their exit policy to reject *:* if it's happening.
  24443. - Implement BEGIN_DIR cells, so we can connect to the directory
  24444. server via TLS to do encrypted directory requests rather than
  24445. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  24446. config options if you like.
  24447. o Minor features (config and docs):
  24448. - Start using the state file to store bandwidth accounting data:
  24449. the bw_accounting file is now obsolete. We'll keep generating it
  24450. for a while for people who are still using 0.1.2.4-alpha.
  24451. - Try to batch changes to the state file so that we do as few
  24452. disk writes as possible while still storing important things in
  24453. a timely fashion.
  24454. - The state file and the bw_accounting file get saved less often when
  24455. the AvoidDiskWrites config option is set.
  24456. - Make PIDFile work on Windows (untested).
  24457. - Add internal descriptions for a bunch of configuration options:
  24458. accessible via controller interface and in comments in saved
  24459. options files.
  24460. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  24461. NNTP by default, so this seems like a sensible addition.
  24462. - Clients now reject hostnames with invalid characters. This should
  24463. avoid some inadvertent info leaks. Add an option
  24464. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  24465. is running a private network with hosts called @, !, and #.
  24466. - Add a maintainer script to tell us which options are missing
  24467. documentation: "make check-docs".
  24468. - Add a new address-spec.txt document to describe our special-case
  24469. addresses: .exit, .onion, and .noconnnect.
  24470. o Minor features (DNS):
  24471. - Ongoing work on eventdns infrastructure: now it has dns server
  24472. and ipv6 support. One day Tor will make use of it.
  24473. - Add client-side caching for reverse DNS lookups.
  24474. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  24475. - When we change nameservers or IP addresses, reset and re-launch
  24476. our tests for DNS hijacking.
  24477. o Minor features (directory):
  24478. - Authorities now specify server versions in networkstatus. This adds
  24479. about 2% to the size of compressed networkstatus docs, and allows
  24480. clients to tell which servers support BEGIN_DIR and which don't.
  24481. The implementation is forward-compatible with a proposed future
  24482. protocol version scheme not tied to Tor versions.
  24483. - DirServer configuration lines now have an orport= option so
  24484. clients can open encrypted tunnels to the authorities without
  24485. having downloaded their descriptors yet. Enabled for moria1,
  24486. moria2, tor26, and lefkada now in the default configuration.
  24487. - Directory servers are more willing to send a 503 "busy" if they
  24488. are near their write limit, especially for v1 directory requests.
  24489. Now they can use their limited bandwidth for actual Tor traffic.
  24490. - Clients track responses with status 503 from dirservers. After a
  24491. dirserver has given us a 503, we try not to use it until an hour has
  24492. gone by, or until we have no dirservers that haven't given us a 503.
  24493. - When we get a 503 from a directory, and we're not a server, we don't
  24494. count the failure against the total number of failures allowed
  24495. for the thing we're trying to download.
  24496. - Report X-Your-Address-Is correctly from tunneled directory
  24497. connections; don't report X-Your-Address-Is when it's an internal
  24498. address; and never believe reported remote addresses when they're
  24499. internal.
  24500. - Protect against an unlikely DoS attack on directory servers.
  24501. - Add a BadDirectory flag to network status docs so that authorities
  24502. can (eventually) tell clients about caches they believe to be
  24503. broken.
  24504. o Minor features (controller):
  24505. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  24506. - Reimplement GETINFO so that info/names stays in sync with the
  24507. actual keys.
  24508. - Implement "GETINFO fingerprint".
  24509. - Implement "SETEVENTS GUARD" so controllers can get updates on
  24510. entry guard status as it changes.
  24511. o Minor features (clean up obsolete pieces):
  24512. - Remove some options that have been deprecated since at least
  24513. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  24514. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  24515. to set log options.
  24516. - We no longer look for identity and onion keys in "identity.key" and
  24517. "onion.key" -- these were replaced by secret_id_key and
  24518. secret_onion_key in 0.0.8pre1.
  24519. - We no longer require unrecognized directory entries to be
  24520. preceded by "opt".
  24521. o Major bugfixes (security):
  24522. - Stop sending the HttpProxyAuthenticator string to directory
  24523. servers when directory connections are tunnelled through Tor.
  24524. - Clients no longer store bandwidth history in the state file.
  24525. - Do not log introduction points for hidden services if SafeLogging
  24526. is set.
  24527. - When generating bandwidth history, round down to the nearest
  24528. 1k. When storing accounting data, round up to the nearest 1k.
  24529. - When we're running as a server, remember when we last rotated onion
  24530. keys, so that we will rotate keys once they're a week old even if
  24531. we never stay up for a week ourselves.
  24532. o Major bugfixes (other):
  24533. - Fix a longstanding bug in eventdns that prevented the count of
  24534. timed-out resolves from ever being reset. This bug caused us to
  24535. give up on a nameserver the third time it timed out, and try it
  24536. 10 seconds later... and to give up on it every time it timed out
  24537. after that.
  24538. - Take out the '5 second' timeout from the connection retry
  24539. schedule. Now the first connect attempt will wait a full 10
  24540. seconds before switching to a new circuit. Perhaps this will help
  24541. a lot. Based on observations from Mike Perry.
  24542. - Fix a bug on the Windows implementation of tor_mmap_file() that
  24543. would prevent the cached-routers file from ever loading. Reported
  24544. by John Kimble.
  24545. o Minor bugfixes:
  24546. - Fix an assert failure when a directory authority sets
  24547. AuthDirRejectUnlisted and then receives a descriptor from an
  24548. unlisted router. Reported by seeess.
  24549. - Avoid a double-free when parsing malformed DirServer lines.
  24550. - Fix a bug when a BSD-style PF socket is first used. Patch from
  24551. Fabian Keil.
  24552. - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
  24553. to resolve an address at a given exit node even when they ask for
  24554. it by name.
  24555. - Servers no longer ever list themselves in their "family" line,
  24556. even if configured to do so. This makes it easier to configure
  24557. family lists conveniently.
  24558. - When running as a server, don't fall back to 127.0.0.1 when no
  24559. nameservers are configured in /etc/resolv.conf; instead, make the
  24560. user fix resolv.conf or specify nameservers explicitly. (Resolves
  24561. bug 363.)
  24562. - Stop accepting certain malformed ports in configured exit policies.
  24563. - Don't re-write the fingerprint file every restart, unless it has
  24564. changed.
  24565. - Stop warning when a single nameserver fails: only warn when _all_ of
  24566. our nameservers have failed. Also, when we only have one nameserver,
  24567. raise the threshold for deciding that the nameserver is dead.
  24568. - Directory authorities now only decide that routers are reachable
  24569. if their identity keys are as expected.
  24570. - When the user uses bad syntax in the Log config line, stop
  24571. suggesting other bad syntax as a replacement.
  24572. - Correctly detect ipv6 DNS capability on OpenBSD.
  24573. o Minor bugfixes (controller):
  24574. - Report the circuit number correctly in STREAM CLOSED events. Bug
  24575. reported by Mike Perry.
  24576. - Do not report bizarre values for results of accounting GETINFOs
  24577. when the last second's write or read exceeds the allotted bandwidth.
  24578. - Report "unrecognized key" rather than an empty string when the
  24579. controller tries to fetch a networkstatus that doesn't exist.
  24580. Changes in version 0.1.1.26 - 2006-12-14
  24581. o Security bugfixes:
  24582. - Stop sending the HttpProxyAuthenticator string to directory
  24583. servers when directory connections are tunnelled through Tor.
  24584. - Clients no longer store bandwidth history in the state file.
  24585. - Do not log introduction points for hidden services if SafeLogging
  24586. is set.
  24587. o Minor bugfixes:
  24588. - Fix an assert failure when a directory authority sets
  24589. AuthDirRejectUnlisted and then receives a descriptor from an
  24590. unlisted router (reported by seeess).
  24591. Changes in version 0.1.2.4-alpha - 2006-12-03
  24592. o Major features:
  24593. - Add support for using natd; this allows FreeBSDs earlier than
  24594. 5.1.2 to have ipfw send connections through Tor without using
  24595. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  24596. o Minor features:
  24597. - Make all connections to addresses of the form ".noconnect"
  24598. immediately get closed. This lets application/controller combos
  24599. successfully test whether they're talking to the same Tor by
  24600. watching for STREAM events.
  24601. - Make cross.sh cross-compilation script work even when autogen.sh
  24602. hasn't been run. (Patch from Michael Mohr.)
  24603. - Statistics dumped by -USR2 now include a breakdown of public key
  24604. operations, for profiling.
  24605. o Major bugfixes:
  24606. - Fix a major leak when directory authorities parse their
  24607. approved-routers list, a minor memory leak when we fail to pick
  24608. an exit node, and a few rare leaks on errors.
  24609. - Handle TransPort connections even when the server sends data before
  24610. the client sends data. Previously, the connection would just hang
  24611. until the client sent data. (Patch from tup based on patch from
  24612. Zajcev Evgeny.)
  24613. - Avoid assert failure when our cached-routers file is empty on
  24614. startup.
  24615. o Minor bugfixes:
  24616. - Don't log spurious warnings when we see a circuit close reason we
  24617. don't recognize; it's probably just from a newer version of Tor.
  24618. - Have directory authorities allow larger amounts of drift in uptime
  24619. without replacing the server descriptor: previously, a server that
  24620. restarted every 30 minutes could have 48 "interesting" descriptors
  24621. per day.
  24622. - Start linking to the Tor specification and Tor reference manual
  24623. correctly in the Windows installer.
  24624. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  24625. Tor/Privoxy we also uninstall Vidalia.
  24626. - Resume building on Irix64, and fix a lot of warnings from its
  24627. MIPSpro C compiler.
  24628. - Don't corrupt last_guessed_ip in router_new_address_suggestion()
  24629. when we're running as a client.
  24630. Changes in version 0.1.1.25 - 2006-11-04
  24631. o Major bugfixes:
  24632. - When a client asks us to resolve (rather than connect to)
  24633. an address, and we have a cached answer, give them the cached
  24634. answer. Previously, we would give them no answer at all.
  24635. - We were building exactly the wrong circuits when we predict
  24636. hidden service requirements, meaning Tor would have to build all
  24637. its circuits on demand.
  24638. - If none of our live entry guards have a high uptime, but we
  24639. require a guard with a high uptime, try adding a new guard before
  24640. we give up on the requirement. This patch should make long-lived
  24641. connections more stable on average.
  24642. - When testing reachability of our DirPort, don't launch new
  24643. tests when there's already one in progress -- unreachable
  24644. servers were stacking up dozens of testing streams.
  24645. o Security bugfixes:
  24646. - When the user sends a NEWNYM signal, clear the client-side DNS
  24647. cache too. Otherwise we continue to act on previous information.
  24648. o Minor bugfixes:
  24649. - Avoid a memory corruption bug when creating a hash table for
  24650. the first time.
  24651. - Avoid possibility of controller-triggered crash when misusing
  24652. certain commands from a v0 controller on platforms that do not
  24653. handle printf("%s",NULL) gracefully.
  24654. - Avoid infinite loop on unexpected controller input.
  24655. - Don't log spurious warnings when we see a circuit close reason we
  24656. don't recognize; it's probably just from a newer version of Tor.
  24657. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  24658. Tor/Privoxy we also uninstall Vidalia.
  24659. Changes in version 0.1.2.3-alpha - 2006-10-29
  24660. o Minor features:
  24661. - Prepare for servers to publish descriptors less often: never
  24662. discard a descriptor simply for being too old until either it is
  24663. recommended by no authorities, or until we get a better one for
  24664. the same router. Make caches consider retaining old recommended
  24665. routers for even longer.
  24666. - If most authorities set a BadExit flag for a server, clients
  24667. don't think of it as a general-purpose exit. Clients only consider
  24668. authorities that advertise themselves as listing bad exits.
  24669. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  24670. headers for content, so that we can work better in the presence of
  24671. caching HTTP proxies.
  24672. - Allow authorities to list nodes as bad exits by fingerprint or by
  24673. address.
  24674. o Minor features, controller:
  24675. - Add a REASON field to CIRC events; for backward compatibility, this
  24676. field is sent only to controllers that have enabled the extended
  24677. event format. Also, add additional reason codes to explain why
  24678. a given circuit has been destroyed or truncated. (Patches from
  24679. Mike Perry)
  24680. - Add a REMOTE_REASON field to extended CIRC events to tell the
  24681. controller about why a remote OR told us to close a circuit.
  24682. - Stream events also now have REASON and REMOTE_REASON fields,
  24683. working much like those for circuit events.
  24684. - There's now a GETINFO ns/... field so that controllers can ask Tor
  24685. about the current status of a router.
  24686. - A new event type "NS" to inform a controller when our opinion of
  24687. a router's status has changed.
  24688. - Add a GETINFO events/names and GETINFO features/names so controllers
  24689. can tell which events and features are supported.
  24690. - A new CLEARDNSCACHE signal to allow controllers to clear the
  24691. client-side DNS cache without expiring circuits.
  24692. o Security bugfixes:
  24693. - When the user sends a NEWNYM signal, clear the client-side DNS
  24694. cache too. Otherwise we continue to act on previous information.
  24695. o Minor bugfixes:
  24696. - Avoid sending junk to controllers or segfaulting when a controller
  24697. uses EVENT_NEW_DESC with verbose nicknames.
  24698. - Stop triggering asserts if the controller tries to extend hidden
  24699. service circuits (reported by mwenge).
  24700. - Avoid infinite loop on unexpected controller input.
  24701. - When the controller does a "GETINFO network-status", tell it
  24702. about even those routers whose descriptors are very old, and use
  24703. long nicknames where appropriate.
  24704. - Change NT service functions to be loaded on demand. This lets us
  24705. build with MinGW without breaking Tor for Windows 98 users.
  24706. - Do DirPort reachability tests less often, since a single test
  24707. chews through many circuits before giving up.
  24708. - In the hidden service example in torrc.sample, stop recommending
  24709. esoteric and discouraged hidden service options.
  24710. - When stopping an NT service, wait up to 10 sec for it to actually
  24711. stop. Patch from Matt Edman; resolves bug 295.
  24712. - Fix handling of verbose nicknames with ORCONN controller events:
  24713. make them show up exactly when requested, rather than exactly when
  24714. not requested.
  24715. - When reporting verbose nicknames in entry_guards_getinfo(), avoid
  24716. printing a duplicate "$" in the keys we send (reported by mwenge).
  24717. - Correctly set maximum connection limit on Cygwin. (This time
  24718. for sure!)
  24719. - Try to detect Windows correctly when cross-compiling.
  24720. - Detect the size of the routers file correctly even if it is
  24721. corrupted (on systems without mmap) or not page-aligned (on systems
  24722. with mmap). This bug was harmless.
  24723. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  24724. to open a stream fails; now we do in more cases. This should
  24725. make clients able to find a good exit faster in some cases, since
  24726. unhandleable requests will now get an error rather than timing out.
  24727. - Resolve two memory leaks when rebuilding the on-disk router cache
  24728. (reported by fookoowa).
  24729. - Clean up minor code warnings suggested by the MIPSpro C compiler,
  24730. and reported by some Centos users.
  24731. - Controller signals now work on non-Unix platforms that don't define
  24732. SIGUSR1 and SIGUSR2 the way we expect.
  24733. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  24734. values before failing, and always enables eventdns.
  24735. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  24736. Try to fix this in configure.in by checking for most functions
  24737. before we check for libevent.
  24738. Changes in version 0.1.2.2-alpha - 2006-10-07
  24739. o Major features:
  24740. - Make our async eventdns library on-by-default for Tor servers,
  24741. and plan to deprecate the separate dnsworker threads.
  24742. - Add server-side support for "reverse" DNS lookups (using PTR
  24743. records so clients can determine the canonical hostname for a given
  24744. IPv4 address). Only supported by servers using eventdns; servers
  24745. now announce in their descriptors whether they support eventdns.
  24746. - Specify and implement client-side SOCKS5 interface for reverse DNS
  24747. lookups (see doc/socks-extensions.txt).
  24748. - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
  24749. connect to directory servers through Tor. Previously, clients needed
  24750. to find Tor exits to make private connections to directory servers.
  24751. - Avoid choosing Exit nodes for entry or middle hops when the
  24752. total bandwidth available from non-Exit nodes is much higher than
  24753. the total bandwidth available from Exit nodes.
  24754. - Workaround for name servers (like Earthlink's) that hijack failing
  24755. DNS requests and replace the no-such-server answer with a "helpful"
  24756. redirect to an advertising-driven search portal. Also work around
  24757. DNS hijackers who "helpfully" decline to hijack known-invalid
  24758. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  24759. lets you turn it off.
  24760. - Send out a burst of long-range padding cells once we've established
  24761. that we're reachable. Spread them over 4 circuits, so hopefully
  24762. a few will be fast. This exercises our bandwidth and bootstraps
  24763. us into the directory more quickly.
  24764. o New/improved config options:
  24765. - Add new config option "ResolvConf" to let the server operator
  24766. choose an alternate resolve.conf file when using eventdns.
  24767. - Add an "EnforceDistinctSubnets" option to control our "exclude
  24768. servers on the same /16" behavior. It's still on by default; this
  24769. is mostly for people who want to operate private test networks with
  24770. all the machines on the same subnet.
  24771. - If one of our entry guards is on the ExcludeNodes list, or the
  24772. directory authorities don't think it's a good guard, treat it as
  24773. if it were unlisted: stop using it as a guard, and throw it off
  24774. the guards list if it stays that way for a long time.
  24775. - Allow directory authorities to be marked separately as authorities
  24776. for the v1 directory protocol, the v2 directory protocol, and
  24777. as hidden service directories, to make it easier to retire old
  24778. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  24779. to continue being hidden service authorities too.
  24780. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  24781. o Minor features, controller:
  24782. - Fix CIRC controller events so that controllers can learn the
  24783. identity digests of non-Named servers used in circuit paths.
  24784. - Let controllers ask for more useful identifiers for servers. Instead
  24785. of learning identity digests for un-Named servers and nicknames
  24786. for Named servers, the new identifiers include digest, nickname,
  24787. and indication of Named status. Off by default; see control-spec.txt
  24788. for more information.
  24789. - Add a "getinfo address" controller command so it can display Tor's
  24790. best guess to the user.
  24791. - New controller event to alert the controller when our server
  24792. descriptor has changed.
  24793. - Give more meaningful errors on controller authentication failure.
  24794. o Minor features, other:
  24795. - When asked to resolve a hostname, don't use non-exit servers unless
  24796. requested to do so. This allows servers with broken DNS to be
  24797. useful to the network.
  24798. - Divide eventdns log messages into warn and info messages.
  24799. - Reserve the nickname "Unnamed" for routers that can't pick
  24800. a hostname: any router can call itself Unnamed; directory
  24801. authorities will never allocate Unnamed to any particular router;
  24802. clients won't believe that any router is the canonical Unnamed.
  24803. - Only include function names in log messages for info/debug messages.
  24804. For notice/warn/err, the content of the message should be clear on
  24805. its own, and printing the function name only confuses users.
  24806. - Avoid some false positives during reachability testing: don't try
  24807. to test via a server that's on the same /24 as us.
  24808. - If we fail to build a circuit to an intended enclave, and it's
  24809. not mandatory that we use that enclave, stop wanting it.
  24810. - When eventdns is enabled, allow multithreaded builds on NetBSD and
  24811. OpenBSD. (We had previously disabled threads on these platforms
  24812. because they didn't have working thread-safe resolver functions.)
  24813. o Major bugfixes, anonymity/security:
  24814. - If a client asked for a server by name, and there's a named server
  24815. in our network-status but we don't have its descriptor yet, we
  24816. could return an unnamed server instead.
  24817. - Fix NetBSD bug that could allow someone to force uninitialized RAM
  24818. to be sent to a server's DNS resolver. This only affects NetBSD
  24819. and other platforms that do not bounds-check tolower().
  24820. - Reject (most) attempts to use Tor circuits with length one. (If
  24821. many people start using Tor as a one-hop proxy, exit nodes become
  24822. a more attractive target for compromise.)
  24823. - Just because your DirPort is open doesn't mean people should be
  24824. able to remotely teach you about hidden service descriptors. Now
  24825. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  24826. o Major bugfixes, other:
  24827. - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
  24828. - When a client asks the server to resolve (not connect to)
  24829. an address, and it has a cached answer, give them the cached answer.
  24830. Previously, the server would give them no answer at all.
  24831. - Allow really slow clients to not hang up five minutes into their
  24832. directory downloads (suggested by Adam J. Richter).
  24833. - We were building exactly the wrong circuits when we anticipated
  24834. hidden service requirements, meaning Tor would have to build all
  24835. its circuits on demand.
  24836. - Avoid crashing when we mmap a router cache file of size 0.
  24837. - When testing reachability of our DirPort, don't launch new
  24838. tests when there's already one in progress -- unreachable
  24839. servers were stacking up dozens of testing streams.
  24840. o Minor bugfixes, correctness:
  24841. - If we're a directory mirror and we ask for "all" network status
  24842. documents, we would discard status documents from authorities
  24843. we don't recognize.
  24844. - Avoid a memory corruption bug when creating a hash table for
  24845. the first time.
  24846. - Avoid controller-triggered crash when misusing certain commands
  24847. from a v0 controller on platforms that do not handle
  24848. printf("%s",NULL) gracefully.
  24849. - Don't crash when a controller sends a third argument to an
  24850. "extendcircuit" request.
  24851. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  24852. response; fix error code when "getinfo dir/status/" fails.
  24853. - Avoid crash when telling controller stream-status and a stream
  24854. is detached.
  24855. - Patch from Adam Langley to fix assert() in eventdns.c.
  24856. - Fix a debug log message in eventdns to say "X resolved to Y"
  24857. instead of "X resolved to X".
  24858. - Make eventdns give strings for DNS errors, not just error numbers.
  24859. - Track unreachable entry guards correctly: don't conflate
  24860. 'unreachable by us right now' with 'listed as down by the directory
  24861. authorities'. With the old code, if a guard was unreachable by
  24862. us but listed as running, it would clog our guard list forever.
  24863. - Behave correctly in case we ever have a network with more than
  24864. 2GB/s total advertised capacity.
  24865. - Make TrackExitHosts case-insensitive, and fix the behavior of
  24866. ".suffix" TrackExitHosts items to avoid matching in the middle of
  24867. an address.
  24868. - Finally fix the openssl warnings from newer gccs that believe that
  24869. ignoring a return value is okay, but casting a return value and
  24870. then ignoring it is a sign of madness.
  24871. - Prevent the contrib/exitlist script from printing the same
  24872. result more than once.
  24873. - Patch from Steve Hildrey: Generate network status correctly on
  24874. non-versioning dirservers.
  24875. - Don't listen to the X-Your-Address-Is hint if you did the lookup
  24876. via Tor; otherwise you'll think you're the exit node's IP address.
  24877. o Minor bugfixes, performance:
  24878. - Two small performance improvements on parsing descriptors.
  24879. - Major performance improvement on inserting descriptors: change
  24880. algorithm from O(n^2) to O(n).
  24881. - Make the common memory allocation path faster on machines where
  24882. malloc(0) returns a pointer.
  24883. - Start remembering X-Your-Address-Is directory hints even if you're
  24884. a client, so you can become a server more smoothly.
  24885. - Avoid duplicate entries on MyFamily line in server descriptor.
  24886. o Packaging, features:
  24887. - Remove architecture from OS X builds. The official builds are
  24888. now universal binaries.
  24889. - The Debian package now uses --verify-config when (re)starting,
  24890. to distinguish configuration errors from other errors.
  24891. - Update RPMs to require libevent 1.1b.
  24892. o Packaging, bugfixes:
  24893. - Patches so Tor builds with MinGW on Windows.
  24894. - Patches so Tor might run on Cygwin again.
  24895. - Resume building on non-gcc compilers and ancient gcc. Resume
  24896. building with the -O0 compile flag. Resume building cleanly on
  24897. Debian woody.
  24898. - Run correctly on OS X platforms with case-sensitive filesystems.
  24899. - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
  24900. - Add autoconf checks so Tor can build on Solaris x86 again.
  24901. o Documentation
  24902. - Documented (and renamed) ServerDNSSearchDomains and
  24903. ServerDNSResolvConfFile options.
  24904. - Be clearer that the *ListenAddress directives can be repeated
  24905. multiple times.
  24906. Changes in version 0.1.1.24 - 2006-09-29
  24907. o Major bugfixes:
  24908. - Allow really slow clients to not hang up five minutes into their
  24909. directory downloads (suggested by Adam J. Richter).
  24910. - Fix major performance regression from 0.1.0.x: instead of checking
  24911. whether we have enough directory information every time we want to
  24912. do something, only check when the directory information has changed.
  24913. This should improve client CPU usage by 25-50%.
  24914. - Don't crash if, after a server has been running for a while,
  24915. it can't resolve its hostname.
  24916. o Minor bugfixes:
  24917. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  24918. - Don't crash when the controller receives a third argument to an
  24919. "extendcircuit" request.
  24920. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  24921. response; fix error code when "getinfo dir/status/" fails.
  24922. - Fix configure.in to not produce broken configure files with
  24923. more recent versions of autoconf. Thanks to Clint for his auto*
  24924. voodoo.
  24925. - Fix security bug on NetBSD that could allow someone to force
  24926. uninitialized RAM to be sent to a server's DNS resolver. This
  24927. only affects NetBSD and other platforms that do not bounds-check
  24928. tolower().
  24929. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  24930. methods: these are known to be buggy.
  24931. - If we're a directory mirror and we ask for "all" network status
  24932. documents, we would discard status documents from authorities
  24933. we don't recognize.
  24934. Changes in version 0.1.2.1-alpha - 2006-08-27
  24935. o Major features:
  24936. - Add "eventdns" async dns library from Adam Langley, tweaked to
  24937. build on OSX and Windows. Only enabled if you pass the
  24938. --enable-eventdns argument to configure.
  24939. - Allow servers with no hostname or IP address to learn their
  24940. IP address by asking the directory authorities. This code only
  24941. kicks in when you would normally have exited with a "no address"
  24942. error. Nothing's authenticated, so use with care.
  24943. - Rather than waiting a fixed amount of time between retrying
  24944. application connections, we wait only 5 seconds for the first,
  24945. 10 seconds for the second, and 15 seconds for each retry after
  24946. that. Hopefully this will improve the expected user experience.
  24947. - Patch from Tup to add support for transparent AP connections:
  24948. this basically bundles the functionality of trans-proxy-tor
  24949. into the Tor mainline. Now hosts with compliant pf/netfilter
  24950. implementations can redirect TCP connections straight to Tor
  24951. without diverting through SOCKS. Needs docs.
  24952. - Busy directory servers save lots of memory by spooling server
  24953. descriptors, v1 directories, and v2 networkstatus docs to buffers
  24954. as needed rather than en masse. Also mmap the cached-routers
  24955. files, so we don't need to keep the whole thing in memory too.
  24956. - Automatically avoid picking more than one node from the same
  24957. /16 network when constructing a circuit.
  24958. - Revise and clean up the torrc.sample that we ship with; add
  24959. a section for BandwidthRate and BandwidthBurst.
  24960. o Minor features:
  24961. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  24962. split connection_t into edge, or, dir, control, and base structs.
  24963. These will save quite a bit of memory on busy servers, and they'll
  24964. also help us track down bugs in the code and bugs in the spec.
  24965. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  24966. or later. Log when we are doing this, so we can diagnose it when
  24967. it fails. (Also, recommend libevent 1.1b for kqueue and
  24968. win32 methods; deprecate libevent 1.0b harder; make libevent
  24969. recommendation system saner.)
  24970. - Start being able to build universal binaries on OS X (thanks
  24971. to Phobos).
  24972. - Export the default exit policy via the control port, so controllers
  24973. don't need to guess what it is / will be later.
  24974. - Add a man page entry for ProtocolWarnings.
  24975. - Add TestVia config option to the man page.
  24976. - Remove even more protocol-related warnings from Tor server logs,
  24977. such as bad TLS handshakes and malformed begin cells.
  24978. - Stop fetching descriptors if you're not a dir mirror and you
  24979. haven't tried to establish any circuits lately. [This currently
  24980. causes some dangerous behavior, because when you start up again
  24981. you'll use your ancient server descriptors.]
  24982. - New DirPort behavior: if you have your dirport set, you download
  24983. descriptors aggressively like a directory mirror, whether or not
  24984. your ORPort is set.
  24985. - Get rid of the router_retry_connections notion. Now routers
  24986. no longer try to rebuild long-term connections to directory
  24987. authorities, and directory authorities no longer try to rebuild
  24988. long-term connections to all servers. We still don't hang up
  24989. connections in these two cases though -- we need to look at it
  24990. more carefully to avoid flapping, and we likely need to wait til
  24991. 0.1.1.x is obsolete.
  24992. - Drop compatibility with obsolete Tors that permit create cells
  24993. to have the wrong circ_id_type.
  24994. - Re-enable per-connection rate limiting. Get rid of the "OP
  24995. bandwidth" concept. Lay groundwork for "bandwidth classes" --
  24996. separate global buckets that apply depending on what sort of conn
  24997. it is.
  24998. - Start publishing one minute or so after we find our ORPort
  24999. to be reachable. This will help reduce the number of descriptors
  25000. we have for ourselves floating around, since it's quite likely
  25001. other things (e.g. DirPort) will change during that minute too.
  25002. - Fork the v1 directory protocol into its own spec document,
  25003. and mark dir-spec.txt as the currently correct (v2) spec.
  25004. o Major bugfixes:
  25005. - When we find our DirPort to be reachable, publish a new descriptor
  25006. so we'll tell the world (reported by pnx).
  25007. - Publish a new descriptor after we hup/reload. This is important
  25008. if our config has changed such that we'll want to start advertising
  25009. our DirPort now, etc.
  25010. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  25011. - When we have a state file we cannot parse, tell the user and
  25012. move it aside. Now we avoid situations where the user starts
  25013. Tor in 1904, Tor writes a state file with that timestamp in it,
  25014. the user fixes her clock, and Tor refuses to start.
  25015. - Fix configure.in to not produce broken configure files with
  25016. more recent versions of autoconf. Thanks to Clint for his auto*
  25017. voodoo.
  25018. - "tor --verify-config" now exits with -1(255) or 0 depending on
  25019. whether the config options are bad or good.
  25020. - Resolve bug 321 when using dnsworkers: append a period to every
  25021. address we resolve at the exit node, so that we do not accidentally
  25022. pick up local addresses, and so that failing searches are retried
  25023. in the resolver search domains. (This is already solved for
  25024. eventdns.) (This breaks Blossom servers for now.)
  25025. - If we are using an exit enclave and we can't connect, e.g. because
  25026. its webserver is misconfigured to not listen on localhost, then
  25027. back off and try connecting from somewhere else before we fail.
  25028. o Minor bugfixes:
  25029. - Start compiling on MinGW on Windows (patches from Mike Chiussi).
  25030. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  25031. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  25032. when the IP address is mapped through MapAddress to a hostname.
  25033. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  25034. useless IPv6 DNS resolves.
  25035. - Patch suggested by Karsten Loesing: respond to SIGNAL command
  25036. before we execute the signal, in case the signal shuts us down.
  25037. - Clean up AllowInvalidNodes man page entry.
  25038. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  25039. - Add more asserts to track down an assert error on a windows Tor
  25040. server with connection_add being called with socket == -1.
  25041. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  25042. - Fix misleading log messages: an entry guard that is "unlisted",
  25043. as well as not known to be "down" (because we've never heard
  25044. of it), is not therefore "up".
  25045. - Remove code to special-case "-cvs" ending, since it has not
  25046. actually mattered since 0.0.9.
  25047. - Make our socks5 handling more robust to broken socks clients:
  25048. throw out everything waiting on the buffer in between socks
  25049. handshake phases, since they can't possibly (so the theory
  25050. goes) have predicted what we plan to respond to them.
  25051. Changes in version 0.1.1.23 - 2006-07-30
  25052. o Major bugfixes:
  25053. - Fast Tor servers, especially exit nodes, were triggering asserts
  25054. due to a bug in handling the list of pending DNS resolves. Some
  25055. bugs still remain here; we're hunting them.
  25056. - Entry guards could crash clients by sending unexpected input.
  25057. - More fixes on reachability testing: if you find yourself reachable,
  25058. then don't ever make any client requests (so you stop predicting
  25059. circuits), then hup or have your clock jump, then later your IP
  25060. changes, you won't think circuits are working, so you won't try to
  25061. test reachability, so you won't publish.
  25062. o Minor bugfixes:
  25063. - Avoid a crash if the controller does a resetconf firewallports
  25064. and then a setconf fascistfirewall=1.
  25065. - Avoid an integer underflow when the dir authority decides whether
  25066. a router is stable: we might wrongly label it stable, and compute
  25067. a slightly wrong median stability, when a descriptor is published
  25068. later than now.
  25069. - Fix a place where we might trigger an assert if we can't build our
  25070. own server descriptor yet.
  25071. Changes in version 0.1.1.22 - 2006-07-05
  25072. o Major bugfixes:
  25073. - Fix a big bug that was causing servers to not find themselves
  25074. reachable if they changed IP addresses. Since only 0.1.1.22+
  25075. servers can do reachability testing correctly, now we automatically
  25076. make sure to test via one of these.
  25077. - Fix to allow clients and mirrors to learn directory info from
  25078. descriptor downloads that get cut off partway through.
  25079. - Directory authorities had a bug in deciding if a newly published
  25080. descriptor was novel enough to make everybody want a copy -- a few
  25081. servers seem to be publishing new descriptors many times a minute.
  25082. o Minor bugfixes:
  25083. - Fix a rare bug that was causing some servers to complain about
  25084. "closing wedged cpuworkers" and skip some circuit create requests.
  25085. - Make the Exit flag in directory status documents actually work.
  25086. Changes in version 0.1.1.21 - 2006-06-10
  25087. o Crash and assert fixes from 0.1.1.20:
  25088. - Fix a rare crash on Tor servers that have enabled hibernation.
  25089. - Fix a seg fault on startup for Tor networks that use only one
  25090. directory authority.
  25091. - Fix an assert from a race condition that occurs on Tor servers
  25092. while exiting, where various threads are trying to log that they're
  25093. exiting, and delete the logs, at the same time.
  25094. - Make our unit tests pass again on certain obscure platforms.
  25095. o Other fixes:
  25096. - Add support for building SUSE RPM packages.
  25097. - Speed up initial bootstrapping for clients: if we are making our
  25098. first ever connection to any entry guard, then don't mark it down
  25099. right after that.
  25100. - When only one Tor server in the network is labelled as a guard,
  25101. and we've already picked him, we would cycle endlessly picking him
  25102. again, being unhappy about it, etc. Now we specifically exclude
  25103. current guards when picking a new guard.
  25104. - Servers send create cells more reliably after the TLS connection
  25105. is established: we were sometimes forgetting to send half of them
  25106. when we had more than one pending.
  25107. - If we get a create cell that asks us to extend somewhere, but the
  25108. Tor server there doesn't match the expected digest, we now send
  25109. a destroy cell back, rather than silently doing nothing.
  25110. - Make options->RedirectExit work again.
  25111. - Make cookie authentication for the controller work again.
  25112. - Stop being picky about unusual characters in the arguments to
  25113. mapaddress. It's none of our business.
  25114. - Add a new config option "TestVia" that lets you specify preferred
  25115. middle hops to use for test circuits. Perhaps this will let me
  25116. debug the reachability problems better.
  25117. o Log / documentation fixes:
  25118. - If we're a server and some peer has a broken TLS certificate, don't
  25119. log about it unless ProtocolWarnings is set, i.e., we want to hear
  25120. about protocol violations by others.
  25121. - Fix spelling of VirtualAddrNetwork in man page.
  25122. - Add a better explanation at the top of the autogenerated torrc file
  25123. about what happened to our old torrc.
  25124. Changes in version 0.1.1.20 - 2006-05-23
  25125. o Bugfixes:
  25126. - Downgrade a log severity where servers complain that they're
  25127. invalid.
  25128. - Avoid a compile warning on FreeBSD.
  25129. - Remove string size limit on NEWDESC messages; solve bug 291.
  25130. - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
  25131. more thoroughly when we're running on windows.
  25132. Changes in version 0.1.1.19-rc - 2006-05-03
  25133. o Minor bugs:
  25134. - Regenerate our local descriptor if it's dirty and we try to use
  25135. it locally (e.g. if it changes during reachability detection).
  25136. - If we setconf our ORPort to 0, we continued to listen on the
  25137. old ORPort and receive connections.
  25138. - Avoid a second warning about machine/limits.h on Debian
  25139. GNU/kFreeBSD.
  25140. - Be willing to add our own routerinfo into the routerlist.
  25141. Now authorities will include themselves in their directories
  25142. and network-statuses.
  25143. - Stop trying to upload rendezvous descriptors to every
  25144. directory authority: only try the v1 authorities.
  25145. - Servers no longer complain when they think they're not
  25146. registered with the directory authorities. There were too many
  25147. false positives.
  25148. - Backport dist-rpm changes so rpms can be built without errors.
  25149. o Features:
  25150. - Implement an option, VirtualAddrMask, to set which addresses
  25151. get handed out in response to mapaddress requests. This works
  25152. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  25153. Changes in version 0.1.1.18-rc - 2006-04-10
  25154. o Major fixes:
  25155. - Work harder to download live network-statuses from all the
  25156. directory authorities we know about. Improve the threshold
  25157. decision logic so we're more robust to edge cases.
  25158. - When fetching rendezvous descriptors, we were willing to ask
  25159. v2 authorities too, which would always return 404.
  25160. o Minor fixes:
  25161. - Stop listing down or invalid nodes in the v1 directory. This will
  25162. reduce its bulk by about 1/3, and reduce load on directory
  25163. mirrors.
  25164. - When deciding whether a router is Fast or Guard-worthy, consider
  25165. his advertised BandwidthRate and not just the BandwidthCapacity.
  25166. - No longer ship INSTALL and README files -- they are useless now.
  25167. - Force rpmbuild to behave and honor target_cpu.
  25168. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  25169. - Start to include translated versions of the tor-doc-*.html
  25170. files, along with the screenshots. Still needs more work.
  25171. - Start sending back 512 and 451 errors if mapaddress fails,
  25172. rather than not sending anything back at all.
  25173. - When we fail to bind or listen on an incoming or outgoing
  25174. socket, we should close it before failing. otherwise we just
  25175. leak it. (thanks to weasel for finding.)
  25176. - Allow "getinfo dir/status/foo" to work, as long as your DirPort
  25177. is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
  25178. - Make NoPublish (even though deprecated) work again.
  25179. - Fix a minor security flaw where a versioning auth dirserver
  25180. could list a recommended version many times in a row to make
  25181. clients more convinced that it's recommended.
  25182. - Fix crash bug if there are two unregistered servers running
  25183. with the same nickname, one of them is down, and you ask for
  25184. them by nickname in your EntryNodes or ExitNodes. Also, try
  25185. to pick the one that's running rather than an arbitrary one.
  25186. - Fix an infinite loop we could hit if we go offline for too long.
  25187. - Complain when we hit WSAENOBUFS on recv() or write() too.
  25188. Perhaps this will help us hunt the bug.
  25189. - If you're not a versioning dirserver, don't put the string
  25190. "client-versions \nserver-versions \n" in your network-status.
  25191. - Lower the minimum required number of file descriptors to 1000,
  25192. so we can have some overhead for Valgrind on Linux, where the
  25193. default ulimit -n is 1024.
  25194. o New features:
  25195. - Add tor.dizum.com as the fifth authoritative directory server.
  25196. - Add a new config option FetchUselessDescriptors, off by default,
  25197. for when you plan to run "exitlist" on your client and you want
  25198. to know about even the non-running descriptors.
  25199. Changes in version 0.1.1.17-rc - 2006-03-28
  25200. o Major fixes:
  25201. - Clients and servers since 0.1.1.10-alpha have been expiring
  25202. connections whenever they are idle for 5 minutes and they *do*
  25203. have circuits on them. Oops. With this new version, clients will
  25204. discard their previous entry guard choices and avoid choosing
  25205. entry guards running these flawed versions.
  25206. - Fix memory leak when uncompressing concatenated zlib streams. This
  25207. was causing substantial leaks over time on Tor servers.
  25208. - The v1 directory was including servers as much as 48 hours old,
  25209. because that's how the new routerlist->routers works. Now only
  25210. include them if they're 20 hours old or less.
  25211. o Minor fixes:
  25212. - Resume building on irix64, netbsd 2.0, etc.
  25213. - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
  25214. "-Wall -g -O2".
  25215. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  25216. and it is confusing some users.
  25217. - Mirrors stop caching the v1 directory so often.
  25218. - Make the max number of old descriptors that a cache will hold
  25219. rise with the number of directory authorities, so we can scale.
  25220. - Change our win32 uname() hack to be more forgiving about what
  25221. win32 versions it thinks it's found.
  25222. o New features:
  25223. - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
  25224. server.
  25225. - When the controller's *setconf commands fail, collect an error
  25226. message in a string and hand it back to the controller.
  25227. - Make the v2 dir's "Fast" flag based on relative capacity, just
  25228. like "Stable" is based on median uptime. Name everything in the
  25229. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  25230. - Log server fingerprint on startup, so new server operators don't
  25231. have to go hunting around their filesystem for it.
  25232. - Return a robots.txt on our dirport to discourage google indexing.
  25233. - Let the controller ask for GETINFO dir/status/foo so it can ask
  25234. directly rather than connecting to the dir port. Only works when
  25235. dirport is set for now.
  25236. o New config options rather than constants in the code:
  25237. - SocksTimeout: How long do we let a socks connection wait
  25238. unattached before we fail it?
  25239. - CircuitBuildTimeout: Cull non-open circuits that were born
  25240. at least this many seconds ago.
  25241. - CircuitIdleTimeout: Cull open clean circuits that were born
  25242. at least this many seconds ago.
  25243. Changes in version 0.1.1.16-rc - 2006-03-18
  25244. o Bugfixes on 0.1.1.15-rc:
  25245. - Fix assert when the controller asks to attachstream a connect-wait
  25246. or resolve-wait stream.
  25247. - Now do address rewriting when the controller asks us to attach
  25248. to a particular circuit too. This will let Blossom specify
  25249. "moria2.exit" without having to learn what moria2's IP address is.
  25250. - Make the "tor --verify-config" command-line work again, so people
  25251. can automatically check if their torrc will parse.
  25252. - Authoritative dirservers no longer require an open connection from
  25253. a server to consider him "reachable". We need this change because
  25254. when we add new auth dirservers, old servers won't know not to
  25255. hang up on them.
  25256. - Let Tor build on Sun CC again.
  25257. - Fix an off-by-one buffer size in dirserv.c that magically never
  25258. hit our three authorities but broke sjmurdoch's own tor network.
  25259. - If we as a directory mirror don't know of any v1 directory
  25260. authorities, then don't try to cache any v1 directories.
  25261. - Stop warning about unknown servers in our family when they are
  25262. given as hex digests.
  25263. - Stop complaining as quickly to the server operator that he
  25264. hasn't registered his nickname/key binding.
  25265. - Various cleanups so we can add new V2 Auth Dirservers.
  25266. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  25267. reflect the updated flags in our v2 dir protocol.
  25268. - Resume allowing non-printable characters for exit streams (both
  25269. for connecting and for resolving). Now we tolerate applications
  25270. that don't follow the RFCs. But continue to block malformed names
  25271. at the socks side.
  25272. o Bugfixes on 0.1.0.x:
  25273. - Fix assert bug in close_logs(): when we close and delete logs,
  25274. remove them all from the global "logfiles" list.
  25275. - Fix minor integer overflow in calculating when we expect to use up
  25276. our bandwidth allocation before hibernating.
  25277. - Fix a couple of bugs in OpenSSL detection. Also, deal better when
  25278. there are multiple SSLs installed with different versions.
  25279. - When we try to be a server and Address is not explicitly set and
  25280. our hostname resolves to a private IP address, try to use an
  25281. interface address if it has a public address. Now Windows machines
  25282. that think of themselves as localhost can work by default.
  25283. o New features:
  25284. - Let the controller ask for GETINFO dir/server/foo so it can ask
  25285. directly rather than connecting to the dir port.
  25286. - Let the controller tell us about certain router descriptors
  25287. that it doesn't want Tor to use in circuits. Implement
  25288. SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
  25289. - New config option SafeSocks to reject all application connections
  25290. using unsafe socks protocols. Defaults to off.
  25291. Changes in version 0.1.1.15-rc - 2006-03-11
  25292. o Bugfixes and cleanups:
  25293. - When we're printing strings from the network, don't try to print
  25294. non-printable characters. This protects us against shell escape
  25295. sequence exploits, and also against attacks to fool humans into
  25296. misreading their logs.
  25297. - Fix a bug where Tor would fail to establish any connections if you
  25298. left it off for 24 hours and then started it: we were happy with
  25299. the obsolete network statuses, but they all referred to router
  25300. descriptors that were too old to fetch, so we ended up with no
  25301. valid router descriptors.
  25302. - Fix a seg fault in the controller's "getinfo orconn-status"
  25303. command while listing status on incoming handshaking connections.
  25304. Introduce a status name "NEW" for these connections.
  25305. - If we get a linelist or linelist_s config option from the torrc
  25306. (e.g. ExitPolicy) and it has no value, warn and skip rather than
  25307. silently resetting it to its default.
  25308. - Don't abandon entry guards until they've been down or gone for
  25309. a whole month.
  25310. - Cleaner and quieter log messages.
  25311. o New features:
  25312. - New controller signal NEWNYM that makes new application requests
  25313. use clean circuits.
  25314. - Add a new circuit purpose 'controller' to let the controller ask
  25315. for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
  25316. controller command to let you specify the purpose if you're
  25317. starting a new circuit. Add a new SETCIRCUITPURPOSE controller
  25318. command to let you change a circuit's purpose after it's been
  25319. created.
  25320. - Accept "private:*" in routerdesc exit policies; not generated yet
  25321. because older Tors do not understand it.
  25322. - Add BSD-style contributed startup script "rc.subr" from Peter
  25323. Thoenen.
  25324. Changes in version 0.1.1.14-alpha - 2006-02-20
  25325. o Bugfixes on 0.1.1.x:
  25326. - Don't die if we ask for a stdout or stderr log (even implicitly)
  25327. and we're set to RunAsDaemon -- just warn.
  25328. - We still had a few bugs in the OR connection rotation code that
  25329. caused directory servers to slowly aggregate connections to other
  25330. fast Tor servers. This time for sure!
  25331. - Make log entries on Win32 include the name of the function again.
  25332. - We were treating a pair of exit policies if they were equal even
  25333. if one said accept and the other said reject -- causing us to
  25334. not always publish a new descriptor since we thought nothing
  25335. had changed.
  25336. - Retry pending server downloads as well as pending networkstatus
  25337. downloads when we unexpectedly get a socks request.
  25338. - We were ignoring the IS_FAST flag in the directory status,
  25339. meaning we were willing to pick trivial-bandwidth nodes for "fast"
  25340. connections.
  25341. - If the controller's SAVECONF command fails (e.g. due to file
  25342. permissions), let the controller know that it failed.
  25343. o Features:
  25344. - If we're trying to be a Tor server and running Windows 95/98/ME
  25345. as a server, explain that we'll likely crash.
  25346. - When we're a server, a client asks for an old-style directory,
  25347. and our write bucket is empty, don't give it to him. This way
  25348. small servers can continue to serve the directory *sometimes*,
  25349. without getting overloaded.
  25350. - Compress exit policies even more -- look for duplicate lines
  25351. and remove them.
  25352. - Clients now honor the "guard" flag in the router status when
  25353. picking entry guards, rather than looking at is_fast or is_stable.
  25354. - Retain unrecognized lines in $DATADIR/state file, so that we can
  25355. be forward-compatible.
  25356. - Generate 18.0.0.0/8 address policy format in descs when we can;
  25357. warn when the mask is not reducible to a bit-prefix.
  25358. - Let the user set ControlListenAddress in the torrc. This can be
  25359. dangerous, but there are some cases (like a secured LAN) where it
  25360. makes sense.
  25361. - Split ReachableAddresses into ReachableDirAddresses and
  25362. ReachableORAddresses, so we can restrict Dir conns to port 80
  25363. and OR conns to port 443.
  25364. - Now we can target arch and OS in rpm builds (contributed by
  25365. Phobos). Also make the resulting dist-rpm filename match the
  25366. target arch.
  25367. - New config options to help controllers: FetchServerDescriptors
  25368. and FetchHidServDescriptors for whether to fetch server
  25369. info and hidserv info or let the controller do it, and
  25370. PublishServerDescriptor and PublishHidServDescriptors.
  25371. - Also let the controller set the __AllDirActionsPrivate config
  25372. option if you want all directory fetches/publishes to happen via
  25373. Tor (it assumes your controller bootstraps your circuits).
  25374. Changes in version 0.1.0.17 - 2006-02-17
  25375. o Crash bugfixes on 0.1.0.x:
  25376. - When servers with a non-zero DirPort came out of hibernation,
  25377. sometimes they would trigger an assert.
  25378. o Other important bugfixes:
  25379. - On platforms that don't have getrlimit (like Windows), we were
  25380. artificially constraining ourselves to a max of 1024
  25381. connections. Now just assume that we can handle as many as 15000
  25382. connections. Hopefully this won't cause other problems.
  25383. o Backported features:
  25384. - When we're a server, a client asks for an old-style directory,
  25385. and our write bucket is empty, don't give it to him. This way
  25386. small servers can continue to serve the directory *sometimes*,
  25387. without getting overloaded.
  25388. - Whenever you get a 503 in response to a directory fetch, try
  25389. once more. This will become important once servers start sending
  25390. 503's whenever they feel busy.
  25391. - Fetch a new directory every 120 minutes, not every 40 minutes.
  25392. Now that we have hundreds of thousands of users running the old
  25393. directory algorithm, it's starting to hurt a lot.
  25394. - Bump up the period for forcing a hidden service descriptor upload
  25395. from 20 minutes to 1 hour.
  25396. Changes in version 0.1.1.13-alpha - 2006-02-09
  25397. o Crashes in 0.1.1.x:
  25398. - When you tried to setconf ORPort via the controller, Tor would
  25399. crash. So people using TorCP to become a server were sad.
  25400. - Solve (I hope) the stack-smashing bug that we were seeing on fast
  25401. servers. The problem appears to be something do with OpenSSL's
  25402. random number generation, or how we call it, or something. Let me
  25403. know if the crashes continue.
  25404. - Turn crypto hardware acceleration off by default, until we find
  25405. somebody smart who can test it for us. (It appears to produce
  25406. seg faults in at least some cases.)
  25407. - Fix a rare assert error when we've tried all intro points for
  25408. a hidden service and we try fetching the service descriptor again:
  25409. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
  25410. o Major fixes:
  25411. - Fix a major load balance bug: we were round-robining in 16 KB
  25412. chunks, and servers with bandwidthrate of 20 KB, while downloading
  25413. a 600 KB directory, would starve their other connections. Now we
  25414. try to be a bit more fair.
  25415. - Dir authorities and mirrors were never expiring the newest
  25416. descriptor for each server, causing memory and directory bloat.
  25417. - Fix memory-bloating and connection-bloating bug on servers: We
  25418. were never closing any connection that had ever had a circuit on
  25419. it, because we were checking conn->n_circuits == 0, yet we had a
  25420. bug that let it go negative.
  25421. - Make Tor work using squid as your http proxy again -- squid
  25422. returns an error if you ask for a URL that's too long, and it uses
  25423. a really generic error message. Plus, many people are behind a
  25424. transparent squid so they don't even realize it.
  25425. - On platforms that don't have getrlimit (like Windows), we were
  25426. artificially constraining ourselves to a max of 1024
  25427. connections. Now just assume that we can handle as many as 15000
  25428. connections. Hopefully this won't cause other problems.
  25429. - Add a new config option ExitPolicyRejectPrivate which defaults to
  25430. 1. This means all exit policies will begin with rejecting private
  25431. addresses, unless the server operator explicitly turns it off.
  25432. o Major features:
  25433. - Clients no longer download descriptors for non-running
  25434. descriptors.
  25435. - Before we add new directory authorities, we should make it
  25436. clear that only v1 authorities should receive/publish hidden
  25437. service descriptors.
  25438. o Minor features:
  25439. - As soon as we've fetched some more directory info, immediately
  25440. try to download more server descriptors. This way we don't have
  25441. a 10 second pause during initial bootstrapping.
  25442. - Remove even more loud log messages that the server operator can't
  25443. do anything about.
  25444. - When we're running an obsolete or un-recommended version, make
  25445. the log message more clear about what the problem is and what
  25446. versions *are* still recommended.
  25447. - Provide a more useful warn message when our onion queue gets full:
  25448. the CPU is too slow or the exit policy is too liberal.
  25449. - Don't warn when we receive a 503 from a dirserver/cache -- this
  25450. will pave the way for them being able to refuse if they're busy.
  25451. - When we fail to bind a listener, try to provide a more useful
  25452. log message: e.g., "Is Tor already running?"
  25453. - Adjust tor-spec to parameterize cell and key lengths. Now Ian
  25454. Goldberg can prove things about our handshake protocol more
  25455. easily.
  25456. - MaxConn has been obsolete for a while now. Document the ConnLimit
  25457. config option, which is a *minimum* number of file descriptors
  25458. that must be available else Tor refuses to start.
  25459. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  25460. if you log to syslog and want something other than LOG_DAEMON.
  25461. - Make dirservers generate a separate "guard" flag to mean,
  25462. "would make a good entry guard". Make clients parse it and vote
  25463. on it. Not used by clients yet.
  25464. - Implement --with-libevent-dir option to ./configure. Also, improve
  25465. search techniques to find libevent, and use those for openssl too.
  25466. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
  25467. - Only start testing reachability once we've established a
  25468. circuit. This will make startup on dirservers less noisy.
  25469. - Don't try to upload hidden service descriptors until we have
  25470. established a circuit.
  25471. - Fix the controller's "attachstream 0" command to treat conn like
  25472. it just connected, doing address remapping, handling .exit and
  25473. .onion idioms, and so on. Now we're more uniform in making sure
  25474. that the controller hears about new and closing connections.
  25475. Changes in version 0.1.1.12-alpha - 2006-01-11
  25476. o Bugfixes on 0.1.1.x:
  25477. - The fix to close duplicate server connections was closing all
  25478. Tor client connections if they didn't establish a circuit
  25479. quickly enough. Oops.
  25480. - Fix minor memory issue (double-free) that happened on exit.
  25481. o Bugfixes on 0.1.0.x:
  25482. - Tor didn't warn when it failed to open a log file.
  25483. Changes in version 0.1.1.11-alpha - 2006-01-10
  25484. o Crashes in 0.1.1.x:
  25485. - Include all the assert/crash fixes from 0.1.0.16.
  25486. - If you start Tor and then quit very quickly, there were some
  25487. races that tried to free things that weren't allocated yet.
  25488. - Fix a rare memory stomp if you're running hidden services.
  25489. - Fix segfault when specifying DirServer in config without nickname.
  25490. - Fix a seg fault when you finish connecting to a server but at
  25491. that moment you dump his server descriptor.
  25492. - Extendcircuit and Attachstream controller commands would
  25493. assert/crash if you don't give them enough arguments.
  25494. - Fix an assert error when we're out of space in the connection_list
  25495. and we try to post a hidden service descriptor (reported by weasel).
  25496. - If you specify a relative torrc path and you set RunAsDaemon in
  25497. your torrc, then it chdir()'s to the new directory. If you HUP,
  25498. it tries to load the new torrc location, fails, and exits.
  25499. The fix: no longer allow a relative path to torrc using -f.
  25500. o Major features:
  25501. - Implement "entry guards": automatically choose a handful of entry
  25502. nodes and stick with them for all circuits. Only pick new guards
  25503. when the ones you have are unsuitable, and if the old guards
  25504. become suitable again, switch back. This will increase security
  25505. dramatically against certain end-point attacks. The EntryNodes
  25506. config option now provides some hints about which entry guards you
  25507. want to use most; and StrictEntryNodes means to only use those.
  25508. - New directory logic: download by descriptor digest, not by
  25509. fingerprint. Caches try to download all listed digests from
  25510. authorities; clients try to download "best" digests from caches.
  25511. This avoids partitioning and isolating attacks better.
  25512. - Make the "stable" router flag in network-status be the median of
  25513. the uptimes of running valid servers, and make clients pay
  25514. attention to the network-status flags. Thus the cutoff adapts
  25515. to the stability of the network as a whole, making IRC, IM, etc
  25516. connections more reliable.
  25517. o Major fixes:
  25518. - Tor servers with dynamic IP addresses were needing to wait 18
  25519. hours before they could start doing reachability testing using
  25520. the new IP address and ports. This is because they were using
  25521. the internal descriptor to learn what to test, yet they were only
  25522. rebuilding the descriptor once they decided they were reachable.
  25523. - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
  25524. to download certain server descriptors, throw them away, and then
  25525. fetch them again after 30 minutes. Now mirrors throw away these
  25526. server descriptors so clients can't get them.
  25527. - We were leaving duplicate connections to other ORs open for a week,
  25528. rather than closing them once we detect a duplicate. This only
  25529. really affected authdirservers, but it affected them a lot.
  25530. - Spread the authdirservers' reachability testing over the entire
  25531. testing interval, so we don't try to do 500 TLS's at once every
  25532. 20 minutes.
  25533. o Minor fixes:
  25534. - If the network is down, and we try to connect to a conn because
  25535. we have a circuit in mind, and we timeout (30 seconds) because the
  25536. network never answers, we were expiring the circuit, but we weren't
  25537. obsoleting the connection or telling the entry_guards functions.
  25538. - Some Tor servers process billions of cells per day. These statistics
  25539. need to be uint64_t's.
  25540. - Check for integer overflows in more places, when adding elements
  25541. to smartlists. This could possibly prevent a buffer overflow
  25542. on malicious huge inputs. I don't see any, but I haven't looked
  25543. carefully.
  25544. - ReachableAddresses kept growing new "reject *:*" lines on every
  25545. setconf/reload.
  25546. - When you "setconf log" via the controller, it should remove all
  25547. logs. We were automatically adding back in a "log notice stdout".
  25548. - Newly bootstrapped Tor networks couldn't establish hidden service
  25549. circuits until they had nodes with high uptime. Be more tolerant.
  25550. - We were marking servers down when they could not answer every piece
  25551. of the directory request we sent them. This was far too harsh.
  25552. - Fix the torify (tsocks) config file to not use Tor for localhost
  25553. connections.
  25554. - Directory authorities now go to the proper authority when asking for
  25555. a networkstatus, even when they want a compressed one.
  25556. - Fix a harmless bug that was causing Tor servers to log
  25557. "Got an end because of misc error, but we're not an AP. Closing."
  25558. - Authorities were treating their own descriptor changes as cosmetic,
  25559. meaning the descriptor available in the network-status and the
  25560. descriptor that clients downloaded were different.
  25561. - The OS X installer was adding a symlink for tor_resolve but
  25562. the binary was called tor-resolve (reported by Thomas Hardly).
  25563. - Workaround a problem with some http proxies where they refuse GET
  25564. requests that specify "Content-Length: 0" (reported by Adrian).
  25565. - Fix wrong log message when you add a "HiddenServiceNodes" config
  25566. line without any HiddenServiceDir line (reported by Chris Thomas).
  25567. o Minor features:
  25568. - Write the TorVersion into the state file so we have a prayer of
  25569. keeping forward and backward compatibility.
  25570. - Revive the FascistFirewall config option rather than eliminating it:
  25571. now it's a synonym for ReachableAddresses *:80,*:443.
  25572. - Clients choose directory servers from the network status lists,
  25573. not from their internal list of router descriptors. Now they can
  25574. go to caches directly rather than needing to go to authorities
  25575. to bootstrap.
  25576. - Directory authorities ignore router descriptors that have only
  25577. cosmetic differences: do this for 0.1.0.x servers now too.
  25578. - Add a new flag to network-status indicating whether the server
  25579. can answer v2 directory requests too.
  25580. - Authdirs now stop whining so loudly about bad descriptors that
  25581. they fetch from other dirservers. So when there's a log complaint,
  25582. it's for sure from a freshly uploaded descriptor.
  25583. - Reduce memory requirements in our structs by changing the order
  25584. of fields.
  25585. - There used to be two ways to specify your listening ports in a
  25586. server descriptor: on the "router" line and with a separate "ports"
  25587. line. Remove support for the "ports" line.
  25588. - New config option "AuthDirRejectUnlisted" for auth dirservers as
  25589. a panic button: if we get flooded with unusable servers we can
  25590. revert to only listing servers in the approved-routers file.
  25591. - Auth dir servers can now mark a fingerprint as "!reject" or
  25592. "!invalid" in the approved-routers file (as its nickname), to
  25593. refuse descriptors outright or include them but marked as invalid.
  25594. - Servers store bandwidth history across restarts/crashes.
  25595. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  25596. get a better idea of why their circuits failed. Not used yet.
  25597. - Directory mirrors now cache up to 16 unrecognized network-status
  25598. docs. Now we can add new authdirservers and they'll be cached too.
  25599. - When picking a random directory, prefer non-authorities if any
  25600. are known.
  25601. - New controller option "getinfo desc/all-recent" to fetch the
  25602. latest server descriptor for every router that Tor knows about.
  25603. Changes in version 0.1.0.16 - 2006-01-02
  25604. o Crash bugfixes on 0.1.0.x:
  25605. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  25606. corrupting the heap, losing FDs, or crashing when we need to resize
  25607. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  25608. - It turns out sparc64 platforms crash on unaligned memory access
  25609. too -- so detect and avoid this.
  25610. - Handle truncated compressed data correctly (by detecting it and
  25611. giving an error).
  25612. - Fix possible-but-unlikely free(NULL) in control.c.
  25613. - When we were closing connections, there was a rare case that
  25614. stomped on memory, triggering seg faults and asserts.
  25615. - Avoid potential infinite recursion when building a descriptor. (We
  25616. don't know that it ever happened, but better to fix it anyway.)
  25617. - We were neglecting to unlink marked circuits from soon-to-close OR
  25618. connections, which caused some rare scribbling on freed memory.
  25619. - Fix a memory stomping race bug when closing the joining point of two
  25620. rendezvous circuits.
  25621. - Fix an assert in time parsing found by Steven Murdoch.
  25622. o Other bugfixes on 0.1.0.x:
  25623. - When we're doing reachability testing, provide more useful log
  25624. messages so the operator knows what to expect.
  25625. - Do not check whether DirPort is reachable when we are suppressing
  25626. advertising it because of hibernation.
  25627. - When building with -static or on Solaris, we sometimes needed -ldl.
  25628. - When we're deciding whether a stream has enough circuits around
  25629. that can handle it, count the freshly dirty ones and not the ones
  25630. that are so dirty they won't be able to handle it.
  25631. - When we're expiring old circuits, we had a logic error that caused
  25632. us to close new rendezvous circuits rather than old ones.
  25633. - Give a more helpful log message when you try to change ORPort via
  25634. the controller: you should upgrade Tor if you want that to work.
  25635. - We were failing to parse Tor versions that start with "Tor ".
  25636. - Tolerate faulty streams better: when a stream fails for reason
  25637. exitpolicy, stop assuming that the router is lying about his exit
  25638. policy. When a stream fails for reason misc, allow it to retry just
  25639. as if it was resolvefailed. When a stream has failed three times,
  25640. reset its failure count so we can try again and get all three tries.
  25641. Changes in version 0.1.1.10-alpha - 2005-12-11
  25642. o Correctness bugfixes on 0.1.0.x:
  25643. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  25644. corrupting the heap, losing FDs, or crashing when we need to resize
  25645. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  25646. - Stop doing the complex voodoo overkill checking for insecure
  25647. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  25648. - When we were closing connections, there was a rare case that
  25649. stomped on memory, triggering seg faults and asserts.
  25650. - We were neglecting to unlink marked circuits from soon-to-close OR
  25651. connections, which caused some rare scribbling on freed memory.
  25652. - When we're deciding whether a stream has enough circuits around
  25653. that can handle it, count the freshly dirty ones and not the ones
  25654. that are so dirty they won't be able to handle it.
  25655. - Recover better from TCP connections to Tor servers that are
  25656. broken but don't tell you (it happens!); and rotate TLS
  25657. connections once a week.
  25658. - When we're expiring old circuits, we had a logic error that caused
  25659. us to close new rendezvous circuits rather than old ones.
  25660. - Fix a scary-looking but apparently harmless bug where circuits
  25661. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  25662. servers, and never switch to state CIRCUIT_STATE_OPEN.
  25663. - When building with -static or on Solaris, we sometimes needed to
  25664. build with -ldl.
  25665. - Give a useful message when people run Tor as the wrong user,
  25666. rather than telling them to start chowning random directories.
  25667. - We were failing to inform the controller about new .onion streams.
  25668. o Security bugfixes on 0.1.0.x:
  25669. - Refuse server descriptors if the fingerprint line doesn't match
  25670. the included identity key. Tor doesn't care, but other apps (and
  25671. humans) might actually be trusting the fingerprint line.
  25672. - We used to kill the circuit when we receive a relay command we
  25673. don't recognize. Now we just drop it.
  25674. - Start obeying our firewall options more rigorously:
  25675. . If we can't get to a dirserver directly, try going via Tor.
  25676. . Don't ever try to connect (as a client) to a place our
  25677. firewall options forbid.
  25678. . If we specify a proxy and also firewall options, obey the
  25679. firewall options even when we're using the proxy: some proxies
  25680. can only proxy to certain destinations.
  25681. - Fix a bug found by Lasse Overlier: when we were making internal
  25682. circuits (intended to be cannibalized later for rendezvous and
  25683. introduction circuits), we were picking them so that they had
  25684. useful exit nodes. There was no need for this, and it actually
  25685. aids some statistical attacks.
  25686. - Start treating internal circuits and exit circuits separately.
  25687. It's important to keep them separate because internal circuits
  25688. have their last hops picked like middle hops, rather than like
  25689. exit hops. So exiting on them will break the user's expectations.
  25690. o Bugfixes on 0.1.1.x:
  25691. - Take out the mis-feature where we tried to detect IP address
  25692. flapping for people with DynDNS, and chose not to upload a new
  25693. server descriptor sometimes.
  25694. - Try to be compatible with OpenSSL 0.9.6 again.
  25695. - Log fix: when the controller is logging about .onion addresses,
  25696. sometimes it didn't include the ".onion" part of the address.
  25697. - Don't try to modify options->DirServers internally -- if the
  25698. user didn't specify any, just add the default ones directly to
  25699. the trusted dirserver list. This fixes a bug where people running
  25700. controllers would use SETCONF on some totally unrelated config
  25701. option, and Tor would start yelling at them about changing their
  25702. DirServer lines.
  25703. - Let the controller's redirectstream command specify a port, in
  25704. case the controller wants to change that too.
  25705. - When we requested a pile of server descriptors, we sometimes
  25706. accidentally launched a duplicate request for the first one.
  25707. - Bugfix for trackhostexits: write down the fingerprint of the
  25708. chosen exit, not its nickname, because the chosen exit might not
  25709. be verified.
  25710. - When parsing foo.exit, if foo is unknown, and we are leaving
  25711. circuits unattached, set the chosen_exit field and leave the
  25712. address empty. This matters because controllers got confused
  25713. otherwise.
  25714. - Directory authorities no longer try to download server
  25715. descriptors that they know they will reject.
  25716. o Features and updates:
  25717. - Replace balanced trees with hash tables: this should make stuff
  25718. significantly faster.
  25719. - Resume using the AES counter-mode implementation that we ship,
  25720. rather than OpenSSL's. Ours is significantly faster.
  25721. - Many other CPU and memory improvements.
  25722. - Add a new config option FastFirstHopPK (on by default) so clients
  25723. do a trivial crypto handshake for their first hop, since TLS has
  25724. already taken care of confidentiality and authentication.
  25725. - Add a new config option TestSocks so people can see if their
  25726. applications are using socks4, socks4a, socks5-with-ip, or
  25727. socks5-with-hostname. This way they don't have to keep mucking
  25728. with tcpdump and wondering if something got cached somewhere.
  25729. - Warn when listening on a public address for socks. I suspect a
  25730. lot of people are setting themselves up as open socks proxies,
  25731. and they have no idea that jerks on the Internet are using them,
  25732. since they simply proxy the traffic into the Tor network.
  25733. - Add "private:*" as an alias in configuration for policies. Now
  25734. you can simplify your exit policy rather than needing to list
  25735. every single internal or nonroutable network space.
  25736. - Add a new controller event type that allows controllers to get
  25737. all server descriptors that were uploaded to a router in its role
  25738. as authoritative dirserver.
  25739. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  25740. tor-doc-server.html, and stylesheet.css in the tarball.
  25741. - Stop shipping tor-doc.html in the tarball.
  25742. Changes in version 0.1.1.9-alpha - 2005-11-15
  25743. o Usability improvements:
  25744. - Start calling it FooListenAddress rather than FooBindAddress,
  25745. since few of our users know what it means to bind an address
  25746. or port.
  25747. - Reduce clutter in server logs. We're going to try to make
  25748. them actually usable now. New config option ProtocolWarnings that
  25749. lets you hear about how _other Tors_ are breaking the protocol. Off
  25750. by default.
  25751. - Divide log messages into logging domains. Once we put some sort
  25752. of interface on this, it will let people looking at more verbose
  25753. log levels specify the topics they want to hear more about.
  25754. - Make directory servers return better http 404 error messages
  25755. instead of a generic "Servers unavailable".
  25756. - Check for even more Windows version flags when writing the platform
  25757. string in server descriptors, and note any we don't recognize.
  25758. - Clean up more of the OpenSSL memory when exiting, so we can detect
  25759. memory leaks better.
  25760. - Make directory authorities be non-versioning, non-naming by
  25761. default. Now we can add new directory servers without requiring
  25762. their operators to pay close attention.
  25763. - When logging via syslog, include the pid whenever we provide
  25764. a log entry. Suggested by Todd Fries.
  25765. o Performance improvements:
  25766. - Directory servers now silently throw away new descriptors that
  25767. haven't changed much if the timestamps are similar. We do this to
  25768. tolerate older Tor servers that upload a new descriptor every 15
  25769. minutes. (It seemed like a good idea at the time.)
  25770. - Inline bottleneck smartlist functions; use fast versions by default.
  25771. - Add a "Map from digest to void*" abstraction digestmap_t so we
  25772. can do less hex encoding/decoding. Use it in router_get_by_digest()
  25773. to resolve a performance bottleneck.
  25774. - Allow tor_gzip_uncompress to extract as much as possible from
  25775. truncated compressed data. Try to extract as many
  25776. descriptors as possible from truncated http responses (when
  25777. DIR_PURPOSE_FETCH_ROUTERDESC).
  25778. - Make circ->onionskin a pointer, not a static array. moria2 was using
  25779. 125000 circuit_t's after it had been up for a few weeks, which
  25780. translates to 20+ megs of wasted space.
  25781. - The private half of our EDH handshake keys are now chosen out
  25782. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  25783. o Security improvements:
  25784. - Start making directory caches retain old routerinfos, so soon
  25785. clients can start asking by digest of descriptor rather than by
  25786. fingerprint of server.
  25787. - Add half our entropy from RAND_poll in OpenSSL. This knows how
  25788. to use egd (if present), openbsd weirdness (if present), vms/os2
  25789. weirdness (if we ever port there), and more in the future.
  25790. o Bugfixes on 0.1.0.x:
  25791. - Do round-robin writes of at most 16 kB per write. This might be
  25792. more fair on loaded Tor servers, and it might resolve our Windows
  25793. crash bug. It might also slow things down.
  25794. - Our TLS handshakes were generating a single public/private
  25795. keypair for the TLS context, rather than making a new one for
  25796. each new connections. Oops. (But we were still rotating them
  25797. periodically, so it's not so bad.)
  25798. - When we were cannibalizing a circuit with a particular exit
  25799. node in mind, we weren't checking to see if that exit node was
  25800. already present earlier in the circuit. Oops.
  25801. - When a Tor server's IP changes (e.g. from a dyndns address),
  25802. upload a new descriptor so clients will learn too.
  25803. - Really busy servers were keeping enough circuits open on stable
  25804. connections that they were wrapping around the circuit_id
  25805. space. (It's only two bytes.) This exposed a bug where we would
  25806. feel free to reuse a circuit_id even if it still exists but has
  25807. been marked for close. Try to fix this bug. Some bug remains.
  25808. - If we would close a stream early (e.g. it asks for a .exit that
  25809. we know would refuse it) but the LeaveStreamsUnattached config
  25810. option is set by the controller, then don't close it.
  25811. o Bugfixes on 0.1.1.8-alpha:
  25812. - Fix a big pile of memory leaks, some of them serious.
  25813. - Do not try to download a routerdesc if we would immediately reject
  25814. it as obsolete.
  25815. - Resume inserting a newline between all router descriptors when
  25816. generating (old style) signed directories, since our spec says
  25817. we do.
  25818. - When providing content-type application/octet-stream for
  25819. server descriptors using .z, we were leaving out the
  25820. content-encoding header. Oops. (Everything tolerated this just
  25821. fine, but that doesn't mean we need to be part of the problem.)
  25822. - Fix a potential seg fault in getconf and getinfo using version 1
  25823. of the controller protocol.
  25824. - Avoid crash: do not check whether DirPort is reachable when we
  25825. are suppressing it because of hibernation.
  25826. - Make --hash-password not crash on exit.
  25827. Changes in version 0.1.1.8-alpha - 2005-10-07
  25828. o New features (major):
  25829. - Clients don't download or use the directory anymore. Now they
  25830. download and use network-statuses from the trusted dirservers,
  25831. and fetch individual server descriptors as needed from mirrors.
  25832. See dir-spec.txt for all the gory details.
  25833. - Be more conservative about whether to advertise our DirPort.
  25834. The main change is to not advertise if we're running at capacity
  25835. and either a) we could hibernate or b) our capacity is low and
  25836. we're using a default DirPort.
  25837. - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
  25838. o New features (minor):
  25839. - Try to be smart about when to retry network-status and
  25840. server-descriptor fetches. Still needs some tuning.
  25841. - Stop parsing, storing, or using running-routers output (but
  25842. mirrors still cache and serve it).
  25843. - Consider a threshold of versioning dirservers (dirservers who have
  25844. an opinion about which Tor versions are still recommended) before
  25845. deciding whether to warn the user that he's obsolete.
  25846. - Dirservers can now reject/invalidate by key and IP, with the
  25847. config options "AuthDirInvalid" and "AuthDirReject". This is
  25848. useful since currently we automatically list servers as running
  25849. and usable even if we know they're jerks.
  25850. - Provide dire warnings to any users who set DirServer; move it out
  25851. of torrc.sample and into torrc.complete.
  25852. - Add MyFamily to torrc.sample in the server section.
  25853. - Add nicknames to the DirServer line, so we can refer to them
  25854. without requiring all our users to memorize their IP addresses.
  25855. - When we get an EOF or a timeout on a directory connection, note
  25856. how many bytes of serverdesc we are dropping. This will help
  25857. us determine whether it is smart to parse incomplete serverdesc
  25858. responses.
  25859. - Add a new function to "change pseudonyms" -- that is, to stop
  25860. using any currently-dirty circuits for new streams, so we don't
  25861. link new actions to old actions. Currently it's only called on
  25862. HUP (or SIGNAL RELOAD).
  25863. - On sighup, if UseHelperNodes changed to 1, use new circuits.
  25864. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  25865. OpenSSL. Also, reseed our entropy every hour, not just at
  25866. startup. And entropy in 512-bit chunks, not 160-bit chunks.
  25867. o Fixes on 0.1.1.7-alpha:
  25868. - Nobody ever implemented EVENT_ADDRMAP for control protocol
  25869. version 0, so don't let version 0 controllers ask for it.
  25870. - If you requested something with too many newlines via the
  25871. v1 controller protocol, you could crash tor.
  25872. - Fix a number of memory leaks, including some pretty serious ones.
  25873. - Re-enable DirPort testing again, so Tor servers will be willing
  25874. to advertise their DirPort if it's reachable.
  25875. - On TLS handshake, only check the other router's nickname against
  25876. its expected nickname if is_named is set.
  25877. o Fixes forward-ported from 0.1.0.15:
  25878. - Don't crash when we don't have any spare file descriptors and we
  25879. try to spawn a dns or cpu worker.
  25880. - Make the numbers in read-history and write-history into uint64s,
  25881. so they don't overflow and publish negatives in the descriptor.
  25882. o Fixes on 0.1.0.x:
  25883. - For the OS X package's modified privoxy config file, comment
  25884. out the "logfile" line so we don't log everything passed
  25885. through privoxy.
  25886. - We were whining about using socks4 or socks5-with-local-lookup
  25887. even when it's an IP in the "virtual" range we designed exactly
  25888. for this case.
  25889. - We were leaking some memory every time the client changes IPs.
  25890. - Never call free() on tor_malloc()d memory. This will help us
  25891. use dmalloc to detect memory leaks.
  25892. - Check for named servers when looking them up by nickname;
  25893. warn when we'recalling a non-named server by its nickname;
  25894. don't warn twice about the same name.
  25895. - Try to list MyFamily elements by key, not by nickname, and warn
  25896. if we've not heard of the server.
  25897. - Make windows platform detection (uname equivalent) smarter.
  25898. - It turns out sparc64 doesn't like unaligned access either.
  25899. Changes in version 0.1.0.15 - 2005-09-23
  25900. o Bugfixes on 0.1.0.x:
  25901. - Reject ports 465 and 587 (spam targets) in default exit policy.
  25902. - Don't crash when we don't have any spare file descriptors and we
  25903. try to spawn a dns or cpu worker.
  25904. - Get rid of IgnoreVersion undocumented config option, and make us
  25905. only warn, never exit, when we're running an obsolete version.
  25906. - Don't try to print a null string when your server finds itself to
  25907. be unreachable and the Address config option is empty.
  25908. - Make the numbers in read-history and write-history into uint64s,
  25909. so they don't overflow and publish negatives in the descriptor.
  25910. - Fix a minor memory leak in smartlist_string_remove().
  25911. - We were only allowing ourselves to upload a server descriptor at
  25912. most every 20 minutes, even if it changed earlier than that.
  25913. - Clean up log entries that pointed to old URLs.
  25914. Changes in version 0.1.1.7-alpha - 2005-09-14
  25915. o Fixes on 0.1.1.6-alpha:
  25916. - Exit servers were crashing when people asked them to make a
  25917. connection to an address not in their exit policy.
  25918. - Looking up a non-existent stream for a v1 control connection would
  25919. cause a segfault.
  25920. - Fix a seg fault if we ask a dirserver for a descriptor by
  25921. fingerprint but he doesn't know about him.
  25922. - SETCONF was appending items to linelists, not clearing them.
  25923. - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
  25924. out and refuse the setconf if it would fail.
  25925. - Downgrade the dirserver log messages when whining about
  25926. unreachability.
  25927. o New features:
  25928. - Add Peter Palfrader's check-tor script to tor/contrib/
  25929. It lets you easily check whether a given server (referenced by
  25930. nickname) is reachable by you.
  25931. - Numerous changes to move towards client-side v2 directories. Not
  25932. enabled yet.
  25933. o Fixes on 0.1.0.x:
  25934. - If the user gave tor an odd number of command-line arguments,
  25935. we were silently ignoring the last one. Now we complain and fail.
  25936. [This wins the oldest-bug prize -- this bug has been present since
  25937. November 2002, as released in Tor 0.0.0.]
  25938. - Do not use unaligned memory access on alpha, mips, or mipsel.
  25939. It *works*, but is very slow, so we treat them as if it doesn't.
  25940. - Retry directory requests if we fail to get an answer we like
  25941. from a given dirserver (we were retrying before, but only if
  25942. we fail to connect).
  25943. - When writing the RecommendedVersions line, sort them first.
  25944. - When the client asked for a rendezvous port that the hidden
  25945. service didn't want to provide, we were sending an IP address
  25946. back along with the end cell. Fortunately, it was zero. But stop
  25947. that anyway.
  25948. - Correct "your server is reachable" log entries to indicate that
  25949. it was self-testing that told us so.
  25950. Changes in version 0.1.1.6-alpha - 2005-09-09
  25951. o Fixes on 0.1.1.5-alpha:
  25952. - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
  25953. - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
  25954. - Fix bug with tor_memmem finding a match at the end of the string.
  25955. - Make unit tests run without segfaulting.
  25956. - Resolve some solaris x86 compile warnings.
  25957. - Handle duplicate lines in approved-routers files without warning.
  25958. - Fix bug where as soon as a server refused any requests due to his
  25959. exit policy (e.g. when we ask for localhost and he tells us that's
  25960. 127.0.0.1 and he won't do it), we decided he wasn't obeying his
  25961. exit policy using him for any exits.
  25962. - Only do openssl hardware accelerator stuff if openssl version is
  25963. at least 0.9.7.
  25964. o New controller features/fixes:
  25965. - Add a "RESETCONF" command so you can set config options like
  25966. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  25967. a config option in the torrc with no value, then it clears it
  25968. entirely (rather than setting it to its default).
  25969. - Add a "GETINFO config-file" to tell us where torrc is.
  25970. - Avoid sending blank lines when GETINFO replies should be empty.
  25971. - Add a QUIT command for the controller (for using it manually).
  25972. - Fix a bug in SAVECONF that was adding default dirservers and
  25973. other redundant entries to the torrc file.
  25974. o Start on the new directory design:
  25975. - Generate, publish, cache, serve new network-status format.
  25976. - Publish individual descriptors (by fingerprint, by "all", and by
  25977. "tell me yours").
  25978. - Publish client and server recommended versions separately.
  25979. - Allow tor_gzip_uncompress() to handle multiple concatenated
  25980. compressed strings. Serve compressed groups of router
  25981. descriptors. The compression logic here could be more
  25982. memory-efficient.
  25983. - Distinguish v1 authorities (all currently trusted directories)
  25984. from v2 authorities (all trusted directories).
  25985. - Change DirServers config line to note which dirs are v1 authorities.
  25986. - Add configuration option "V1AuthoritativeDirectory 1" which
  25987. moria1, moria2, and tor26 should set.
  25988. - Remove option when getting directory cache to see whether they
  25989. support running-routers; they all do now. Replace it with one
  25990. to see whether caches support v2 stuff.
  25991. o New features:
  25992. - Dirservers now do their own external reachability testing of each
  25993. Tor server, and only list them as running if they've been found to
  25994. be reachable. We also send back warnings to the server's logs if
  25995. it uploads a descriptor that we already believe is unreachable.
  25996. - Implement exit enclaves: if we know an IP address for the
  25997. destination, and there's a running Tor server at that address
  25998. which allows exit to the destination, then extend the circuit to
  25999. that exit first. This provides end-to-end encryption and end-to-end
  26000. authentication. Also, if the user wants a .exit address or enclave,
  26001. use 4 hops rather than 3, and cannibalize a general circ for it
  26002. if you can.
  26003. - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
  26004. controller. Also, rotate dns and cpu workers if the controller
  26005. changes options that will affect them; and initialize the dns
  26006. worker cache tree whether or not we start out as a server.
  26007. - Only upload a new server descriptor when options change, 18
  26008. hours have passed, uptime is reset, or bandwidth changes a lot.
  26009. - Check [X-]Forwarded-For headers in HTTP requests when generating
  26010. log messages. This lets people run dirservers (and caches) behind
  26011. Apache but still know which IP addresses are causing warnings.
  26012. o Config option changes:
  26013. - Replace (Fascist)Firewall* config options with a new
  26014. ReachableAddresses option that understands address policies.
  26015. For example, "ReachableAddresses *:80,*:443"
  26016. - Get rid of IgnoreVersion undocumented config option, and make us
  26017. only warn, never exit, when we're running an obsolete version.
  26018. - Make MonthlyAccountingStart config option truly obsolete now.
  26019. o Fixes on 0.1.0.x:
  26020. - Reject ports 465 and 587 in the default exit policy, since
  26021. people have started using them for spam too.
  26022. - It turns out we couldn't bootstrap a network since we added
  26023. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  26024. has never gone down. Add an AssumeReachable config option to let
  26025. servers and dirservers bootstrap. When we're trying to build a
  26026. high-uptime or high-bandwidth circuit but there aren't enough
  26027. suitable servers, try being less picky rather than simply failing.
  26028. - Our logic to decide if the OR we connected to was the right guy
  26029. was brittle and maybe open to a mitm for unverified routers.
  26030. - We weren't cannibalizing circuits correctly for
  26031. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  26032. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  26033. build those from scratch. This should make hidden services faster.
  26034. - Predict required circuits better, with an eye toward making hidden
  26035. services faster on the service end.
  26036. - Retry streams if the exit node sends back a 'misc' failure. This
  26037. should result in fewer random failures. Also, after failing
  26038. from resolve failed or misc, reset the num failures, so we give
  26039. it a fair shake next time we try.
  26040. - Clean up the rendezvous warn log msgs, and downgrade some to info.
  26041. - Reduce severity on logs about dns worker spawning and culling.
  26042. - When we're shutting down and we do something like try to post a
  26043. server descriptor or rendezvous descriptor, don't complain that
  26044. we seem to be unreachable. Of course we are, we're shutting down.
  26045. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  26046. We don't use them yet, but maybe one day our DNS resolver will be
  26047. able to discover them.
  26048. - Make ContactInfo mandatory for authoritative directory servers.
  26049. - Require server descriptors to list IPv4 addresses -- hostnames
  26050. are no longer allowed. This also fixes some potential security
  26051. problems with people providing hostnames as their address and then
  26052. preferentially resolving them to partition users.
  26053. - Change log line for unreachability to explicitly suggest /etc/hosts
  26054. as the culprit. Also make it clearer what IP address and ports we're
  26055. testing for reachability.
  26056. - Put quotes around user-supplied strings when logging so users are
  26057. more likely to realize if they add bad characters (like quotes)
  26058. to the torrc.
  26059. - Let auth dir servers start without specifying an Address config
  26060. option.
  26061. - Make unit tests (and other invocations that aren't the real Tor)
  26062. run without launching listeners, creating subdirectories, and so on.
  26063. Changes in version 0.1.1.5-alpha - 2005-08-08
  26064. o Bugfixes included in 0.1.0.14.
  26065. o Bugfixes on 0.1.0.x:
  26066. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  26067. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  26068. it would silently using ignore the 6668.
  26069. Changes in version 0.1.0.14 - 2005-08-08
  26070. o Bugfixes on 0.1.0.x:
  26071. - Fix the other half of the bug with crypto handshakes
  26072. (CVE-2005-2643).
  26073. - Fix an assert trigger if you send a 'signal term' via the
  26074. controller when it's listening for 'event info' messages.
  26075. Changes in version 0.1.1.4-alpha - 2005-08-04
  26076. o Bugfixes included in 0.1.0.13.
  26077. o Features:
  26078. - Improve tor_gettimeofday() granularity on windows.
  26079. - Make clients regenerate their keys when their IP address changes.
  26080. - Implement some more GETINFO goodness: expose helper nodes, config
  26081. options, getinfo keys.
  26082. Changes in version 0.1.0.13 - 2005-08-04
  26083. o Bugfixes on 0.1.0.x:
  26084. - Fix a critical bug in the security of our crypto handshakes.
  26085. - Fix a size_t underflow in smartlist_join_strings2() that made
  26086. it do bad things when you hand it an empty smartlist.
  26087. - Fix Windows installer to ship Tor license (thanks to Aphex for
  26088. pointing out this oversight) and put a link to the doc directory
  26089. in the start menu.
  26090. - Explicitly set no-unaligned-access for sparc: it turns out the
  26091. new gcc's let you compile broken code, but that doesn't make it
  26092. not-broken.
  26093. Changes in version 0.1.1.3-alpha - 2005-07-23
  26094. o Bugfixes on 0.1.1.2-alpha:
  26095. - Fix a bug in handling the controller's "post descriptor"
  26096. function.
  26097. - Fix several bugs in handling the controller's "extend circuit"
  26098. function.
  26099. - Fix a bug in handling the controller's "stream status" event.
  26100. - Fix an assert failure if we have a controller listening for
  26101. circuit events and we go offline.
  26102. - Re-allow hidden service descriptors to publish 0 intro points.
  26103. - Fix a crash when generating your hidden service descriptor if
  26104. you don't have enough intro points already.
  26105. o New features on 0.1.1.2-alpha:
  26106. - New controller function "getinfo accounting", to ask how
  26107. many bytes we've used in this time period.
  26108. - Experimental support for helper nodes: a lot of the risk from
  26109. a small static adversary comes because users pick new random
  26110. nodes every time they rebuild a circuit. Now users will try to
  26111. stick to the same small set of entry nodes if they can. Not
  26112. enabled by default yet.
  26113. o Bugfixes on 0.1.0.12:
  26114. - If you're an auth dir server, always publish your dirport,
  26115. even if you haven't yet found yourself to be reachable.
  26116. - Fix a size_t underflow in smartlist_join_strings2() that made
  26117. it do bad things when you hand it an empty smartlist.
  26118. Changes in version 0.1.0.12 - 2005-07-18
  26119. o New directory servers:
  26120. - tor26 has changed IP address.
  26121. o Bugfixes on 0.1.0.x:
  26122. - Fix a possible double-free in tor_gzip_uncompress().
  26123. - When --disable-threads is set, do not search for or link against
  26124. pthreads libraries.
  26125. - Don't trigger an assert if an authoritative directory server
  26126. claims its dirport is 0.
  26127. - Fix bug with removing Tor as an NT service: some people were
  26128. getting "The service did not return an error." Thanks to Matt
  26129. Edman for the fix.
  26130. Changes in version 0.1.1.2-alpha - 2005-07-15
  26131. o New directory servers:
  26132. - tor26 has changed IP address.
  26133. o Bugfixes on 0.1.0.x, crashes/leaks:
  26134. - Port the servers-not-obeying-their-exit-policies fix from
  26135. 0.1.0.11.
  26136. - Fix an fd leak in start_daemon().
  26137. - On Windows, you can't always reopen a port right after you've
  26138. closed it. So change retry_listeners() to only close and re-open
  26139. ports that have changed.
  26140. - Fix a possible double-free in tor_gzip_uncompress().
  26141. o Bugfixes on 0.1.0.x, usability:
  26142. - When tor_socketpair() fails in Windows, give a reasonable
  26143. Windows-style errno back.
  26144. - Let people type "tor --install" as well as "tor -install" when
  26145. they
  26146. want to make it an NT service.
  26147. - NT service patch from Matt Edman to improve error messages.
  26148. - When the controller asks for a config option with an abbreviated
  26149. name, give the full name in our response.
  26150. - Correct the man page entry on TrackHostExitsExpire.
  26151. - Looks like we were never delivering deflated (i.e. compressed)
  26152. running-routers lists, even when asked. Oops.
  26153. - When --disable-threads is set, do not search for or link against
  26154. pthreads libraries.
  26155. o Bugfixes on 0.1.1.x:
  26156. - Fix a seg fault with autodetecting which controller version is
  26157. being used.
  26158. o Features:
  26159. - New hidden service descriptor format: put a version in it, and
  26160. let people specify introduction/rendezvous points that aren't
  26161. in "the directory" (which is subjective anyway).
  26162. - Allow the DEBUG controller event to work again. Mark certain log
  26163. entries as "don't tell this to controllers", so we avoid cycles.
  26164. Changes in version 0.1.0.11 - 2005-06-30
  26165. o Bugfixes on 0.1.0.x:
  26166. - Fix major security bug: servers were disregarding their
  26167. exit policies if clients behaved unexpectedly.
  26168. - Make OS X init script check for missing argument, so we don't
  26169. confuse users who invoke it incorrectly.
  26170. - Fix a seg fault in "tor --hash-password foo".
  26171. - The MAPADDRESS control command was broken.
  26172. Changes in version 0.1.1.1-alpha - 2005-06-29
  26173. o Bugfixes:
  26174. - Make OS X init script check for missing argument, so we don't
  26175. confuse users who invoke it incorrectly.
  26176. - Fix a seg fault in "tor --hash-password foo".
  26177. - Fix a possible way to DoS dirservers.
  26178. - When we complain that your exit policy implicitly allows local or
  26179. private address spaces, name them explicitly so operators can
  26180. fix it.
  26181. - Make the log message less scary when all the dirservers are
  26182. temporarily unreachable.
  26183. - We were printing the number of idle dns workers incorrectly when
  26184. culling them.
  26185. o Features:
  26186. - Revised controller protocol (version 1) that uses ascii rather
  26187. than binary. Add supporting libraries in python and java so you
  26188. can use the controller from your applications without caring how
  26189. our protocol works.
  26190. - Spiffy new support for crypto hardware accelerators. Can somebody
  26191. test this?
  26192. Changes in version 0.0.9.10 - 2005-06-16
  26193. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  26194. - Refuse relay cells that claim to have a length larger than the
  26195. maximum allowed. This prevents a potential attack that could read
  26196. arbitrary memory (e.g. keys) from an exit server's process
  26197. (CVE-2005-2050).
  26198. Changes in version 0.1.0.10 - 2005-06-14
  26199. o Allow a few EINVALs from libevent before dying. Warn on kqueue with
  26200. libevent before 1.1a.
  26201. Changes in version 0.1.0.9-rc - 2005-06-09
  26202. o Bugfixes:
  26203. - Reset buf->highwater every time buf_shrink() is called, not just on
  26204. a successful shrink. This was causing significant memory bloat.
  26205. - Fix buffer overflow when checking hashed passwords.
  26206. - Security fix: if seeding the RNG on Win32 fails, quit.
  26207. - Allow seeding the RNG on Win32 even when you're not running as
  26208. Administrator.
  26209. - Disable threading on Solaris too. Something is wonky with it,
  26210. cpuworkers, and reentrant libs.
  26211. - Reenable the part of the code that tries to flush as soon as an
  26212. OR outbuf has a full TLS record available. Perhaps this will make
  26213. OR outbufs not grow as huge except in rare cases, thus saving lots
  26214. of CPU time plus memory.
  26215. - Reject malformed .onion addresses rather then passing them on as
  26216. normal web requests.
  26217. - Adapt patch from Adam Langley: fix possible memory leak in
  26218. tor_lookup_hostname().
  26219. - Initialize libevent later in the startup process, so the logs are
  26220. already established by the time we start logging libevent warns.
  26221. - Use correct errno on win32 if libevent fails.
  26222. - Check and warn about known-bad/slow libevent versions.
  26223. - Pay more attention to the ClientOnly config option.
  26224. - Have torctl.in/tor.sh.in check for location of su binary (needed
  26225. on FreeBSD)
  26226. - Correct/add man page entries for LongLivedPorts, ExitPolicy,
  26227. KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
  26228. HttpProxyAuthenticator
  26229. - Stop warning about sigpipes in the logs. We're going to
  26230. pretend that getting these occasionally is normal and fine.
  26231. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
  26232. certain
  26233. installer screens; and don't put stuff into StartupItems unless
  26234. the user asks you to.
  26235. - Require servers that use the default dirservers to have public IP
  26236. addresses. We have too many servers that are configured with private
  26237. IPs and their admins never notice the log entries complaining that
  26238. their descriptors are being rejected.
  26239. - Add OSX uninstall instructions. An actual uninstall script will
  26240. come later.
  26241. Changes in version 0.1.0.8-rc - 2005-05-23
  26242. o Bugfixes:
  26243. - It turns out that kqueue on OS X 10.3.9 was causing kernel
  26244. panics. Disable kqueue on all OS X Tors.
  26245. - Fix RPM: remove duplicate line accidentally added to the rpm
  26246. spec file.
  26247. - Disable threads on openbsd too, since its gethostaddr is not
  26248. reentrant either.
  26249. - Tolerate libevent 0.8 since it still works, even though it's
  26250. ancient.
  26251. - Enable building on Red Hat 9.0 again.
  26252. - Allow the middle hop of the testing circuit to be running any
  26253. version, now that most of them have the bugfix to let them connect
  26254. to unknown servers. This will allow reachability testing to work
  26255. even when 0.0.9.7-0.0.9.9 become obsolete.
  26256. - Handle relay cells with rh.length too large. This prevents
  26257. a potential attack that could read arbitrary memory (maybe even
  26258. keys) from the exit server's process.
  26259. - We screwed up the dirport reachability testing when we don't yet
  26260. have a cached version of the directory. Hopefully now fixed.
  26261. - Clean up router_load_single_router() (used by the controller),
  26262. so it doesn't seg fault on error.
  26263. - Fix a minor memory leak when somebody establishes an introduction
  26264. point at your Tor server.
  26265. - If a socks connection ends because read fails, don't warn that
  26266. you're not sending a socks reply back.
  26267. o Features:
  26268. - Add HttpProxyAuthenticator config option too, that works like
  26269. the HttpsProxyAuthenticator config option.
  26270. - Encode hashed controller passwords in hex instead of base64,
  26271. to make it easier to write controllers.
  26272. Changes in version 0.1.0.7-rc - 2005-05-17
  26273. o Bugfixes:
  26274. - Fix a bug in the OS X package installer that prevented it from
  26275. installing on Tiger.
  26276. - Fix a script bug in the OS X package installer that made it
  26277. complain during installation.
  26278. - Find libevent even if it's hiding in /usr/local/ and your
  26279. CFLAGS and LDFLAGS don't tell you to look there.
  26280. - Be able to link with libevent as a shared library (the default
  26281. after 1.0d), even if it's hiding in /usr/local/lib and even
  26282. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  26283. assuming you're running gcc. Otherwise fail and give a useful
  26284. error message.
  26285. - Fix a bug in the RPM packager: set home directory for _tor to
  26286. something more reasonable when first installing.
  26287. - Free a minor amount of memory that is still reachable on exit.
  26288. Changes in version 0.1.0.6-rc - 2005-05-14
  26289. o Bugfixes:
  26290. - Implement --disable-threads configure option. Disable threads on
  26291. netbsd by default, because it appears to have no reentrant resolver
  26292. functions.
  26293. - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
  26294. release (1.1) detects and disables kqueue if it's broken.
  26295. - Append default exit policy before checking for implicit internal
  26296. addresses. Now we don't log a bunch of complaints on startup
  26297. when using the default exit policy.
  26298. - Some people were putting "Address " in their torrc, and they had
  26299. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  26300. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  26301. LOCALSTATEDIR/tor instead.
  26302. - Fix fragmented-message bug in TorControl.py.
  26303. - Resolve a minor bug which would prevent unreachable dirports
  26304. from getting suppressed in the published descriptor.
  26305. - When the controller gave us a new descriptor, we weren't resolving
  26306. it immediately, so Tor would think its address was 0.0.0.0 until
  26307. we fetched a new directory.
  26308. - Fix an uppercase/lowercase case error in suppressing a bogus
  26309. libevent warning on some Linuxes.
  26310. o Features:
  26311. - Begin scrubbing sensitive strings from logs by default. Turn off
  26312. the config option SafeLogging if you need to do debugging.
  26313. - Switch to a new buffer management algorithm, which tries to avoid
  26314. reallocing and copying quite as much. In first tests it looks like
  26315. it uses *more* memory on average, but less cpu.
  26316. - First cut at support for "create-fast" cells. Clients can use
  26317. these when extending to their first hop, since the TLS already
  26318. provides forward secrecy and authentication. Not enabled on
  26319. clients yet.
  26320. - When dirservers refuse a router descriptor, we now log its
  26321. contactinfo, platform, and the poster's IP address.
  26322. - Call tor_free_all instead of connections_free_all after forking, to
  26323. save memory on systems that need to fork.
  26324. - Whine at you if you're a server and you don't set your contactinfo.
  26325. - Implement --verify-config command-line option to check if your torrc
  26326. is valid without actually launching Tor.
  26327. - Rewrite address "serifos.exit" to "localhost.serifos.exit"
  26328. rather than just rejecting it.
  26329. Changes in version 0.1.0.5-rc - 2005-04-27
  26330. o Bugfixes:
  26331. - Stop trying to print a null pointer if an OR conn fails because
  26332. we didn't like its cert.
  26333. o Features:
  26334. - Switch our internal buffers implementation to use a ring buffer,
  26335. to hopefully improve performance for fast servers a lot.
  26336. - Add HttpsProxyAuthenticator support (basic auth only), based
  26337. on patch from Adam Langley.
  26338. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  26339. the fast servers that have been joining lately.
  26340. - Give hidden service accesses extra time on the first attempt,
  26341. since 60 seconds is often only barely enough. This might improve
  26342. robustness more.
  26343. - Improve performance for dirservers: stop re-parsing the whole
  26344. directory every time you regenerate it.
  26345. - Add more debugging info to help us find the weird dns freebsd
  26346. pthreads bug; cleaner debug messages to help track future issues.
  26347. Changes in version 0.0.9.9 - 2005-04-23
  26348. o Bugfixes on 0.0.9.x:
  26349. - If unofficial Tor clients connect and send weird TLS certs, our
  26350. Tor server triggers an assert. This release contains a minimal
  26351. backport from the broader fix that we put into 0.1.0.4-rc.
  26352. Changes in version 0.1.0.4-rc - 2005-04-23
  26353. o Bugfixes:
  26354. - If unofficial Tor clients connect and send weird TLS certs, our
  26355. Tor server triggers an assert. Stop asserting, and start handling
  26356. TLS errors better in other situations too.
  26357. - When the controller asks us to tell it about all the debug-level
  26358. logs, it turns out we were generating debug-level logs while
  26359. telling it about them, which turns into a bad loop. Now keep
  26360. track of whether you're sending a debug log to the controller,
  26361. and don't log when you are.
  26362. - Fix the "postdescriptor" feature of the controller interface: on
  26363. non-complete success, only say "done" once.
  26364. o Features:
  26365. - Clients are now willing to load balance over up to 2mB, not 1mB,
  26366. of advertised bandwidth capacity.
  26367. - Add a NoPublish config option, so you can be a server (e.g. for
  26368. testing running Tor servers in other Tor networks) without
  26369. publishing your descriptor to the primary dirservers.
  26370. Changes in version 0.1.0.3-rc - 2005-04-08
  26371. o Improvements on 0.1.0.2-rc:
  26372. - Client now retries when streams end early for 'hibernating' or
  26373. 'resource limit' reasons, rather than failing them.
  26374. - More automated handling for dirserver operators:
  26375. - Automatically approve nodes running 0.1.0.2-rc or later,
  26376. now that the the reachability detection stuff is working.
  26377. - Now we allow two unverified servers with the same nickname
  26378. but different keys. But if a nickname is verified, only that
  26379. nickname+key are allowed.
  26380. - If you're an authdirserver connecting to an address:port,
  26381. and it's not the OR you were expecting, forget about that
  26382. descriptor. If he *was* the one you were expecting, then forget
  26383. about all other descriptors for that address:port.
  26384. - Allow servers to publish descriptors from 12 hours in the future.
  26385. Corollary: only whine about clock skew from the dirserver if
  26386. he's a trusted dirserver (since now even verified servers could
  26387. have quite wrong clocks).
  26388. - Adjust maximum skew and age for rendezvous descriptors: let skew
  26389. be 48 hours rather than 90 minutes.
  26390. - Efficiency improvements:
  26391. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  26392. it much faster to look up a circuit for each relay cell.
  26393. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  26394. since they're eating our cpu on exit nodes.
  26395. - Stop wasting time doing a case insensitive comparison for every
  26396. dns name every time we do any lookup. Canonicalize the names to
  26397. lowercase and be done with it.
  26398. - Start sending 'truncated' cells back rather than destroy cells,
  26399. if the circuit closes in front of you. This means we won't have
  26400. to abandon partially built circuits.
  26401. - Only warn once per nickname from add_nickname_list_to_smartlist
  26402. per failure, so an entrynode or exitnode choice that's down won't
  26403. yell so much.
  26404. - Put a note in the torrc about abuse potential with the default
  26405. exit policy.
  26406. - Revise control spec and implementation to allow all log messages to
  26407. be sent to controller with their severities intact (suggested by
  26408. Matt Edman). Update TorControl to handle new log event types.
  26409. - Provide better explanation messages when controller's POSTDESCRIPTOR
  26410. fails.
  26411. - Stop putting nodename in the Platform string in server descriptors.
  26412. It doesn't actually help, and it is confusing/upsetting some people.
  26413. o Bugfixes on 0.1.0.2-rc:
  26414. - We were printing the host mask wrong in exit policies in server
  26415. descriptors. This isn't a critical bug though, since we were still
  26416. obeying the exit policy internally.
  26417. - Fix Tor when compiled with libevent but without pthreads: move
  26418. connection_unregister() from _connection_free() to
  26419. connection_free().
  26420. - Fix an assert trigger (already fixed in 0.0.9.x): when we have
  26421. the rare mysterious case of accepting a conn on 0.0.0.0:0, then
  26422. when we look through the connection array, we'll find any of the
  26423. cpu/dnsworkers. This is no good.
  26424. o Bugfixes on 0.0.9.8:
  26425. - Fix possible bug on threading platforms (e.g. win32) which was
  26426. leaking a file descriptor whenever a cpuworker or dnsworker died.
  26427. - When using preferred entry or exit nodes, ignore whether the
  26428. circuit wants uptime or capacity. They asked for the nodes, they
  26429. get the nodes.
  26430. - chdir() to your datadirectory at the *end* of the daemonize process,
  26431. not the beginning. This was a problem because the first time you
  26432. run tor, if your datadir isn't there, and you have runasdaemon set
  26433. to 1, it will try to chdir to it before it tries to create it. Oops.
  26434. - Handle changed router status correctly when dirserver reloads
  26435. fingerprint file. We used to be dropping all unverified descriptors
  26436. right then. The bug was hidden because we would immediately
  26437. fetch a directory from another dirserver, which would include the
  26438. descriptors we just dropped.
  26439. - When we're connecting to an OR and he's got a different nickname/key
  26440. than we were expecting, only complain loudly if we're an OP or a
  26441. dirserver. Complaining loudly to the OR admins just confuses them.
  26442. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  26443. artificially capped at 500kB.
  26444. Changes in version 0.0.9.8 - 2005-04-07
  26445. o Bugfixes on 0.0.9.x:
  26446. - We have a bug that I haven't found yet. Sometimes, very rarely,
  26447. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  26448. thinks of itself as idle. This meant that no new circuits ever got
  26449. established. Here's a workaround to kill any cpuworker that's been
  26450. busy for more than 100 seconds.
  26451. Changes in version 0.1.0.2-rc - 2005-04-01
  26452. o Bugfixes on 0.1.0.1-rc:
  26453. - Fixes on reachability detection:
  26454. - Don't check for reachability while hibernating.
  26455. - If ORPort is reachable but DirPort isn't, still publish the
  26456. descriptor, but zero out DirPort until it's found reachable.
  26457. - When building testing circs for ORPort testing, use only
  26458. high-bandwidth nodes, so fewer circuits fail.
  26459. - Complain about unreachable ORPort separately from unreachable
  26460. DirPort, so the user knows what's going on.
  26461. - Make sure we only conclude ORPort reachability if we didn't
  26462. initiate the conn. Otherwise we could falsely conclude that
  26463. we're reachable just because we connected to the guy earlier
  26464. and he used that same pipe to extend to us.
  26465. - Authdirservers shouldn't do ORPort reachability detection,
  26466. since they're in clique mode, so it will be rare to find a
  26467. server not already connected to them.
  26468. - When building testing circuits, always pick middle hops running
  26469. Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
  26470. bug. (This is a kludge; it will go away when 0.0.9.x becomes
  26471. obsolete.)
  26472. - When we decide we're reachable, actually publish our descriptor
  26473. right then.
  26474. - Fix bug in redirectstream in the controller.
  26475. - Fix the state descriptor strings so logs don't claim edge streams
  26476. are in a different state than they actually are.
  26477. - Use recent libevent features when possible (this only really affects
  26478. win32 and osx right now, because the new libevent with these
  26479. features hasn't been released yet). Add code to suppress spurious
  26480. libevent log msgs.
  26481. - Prevent possible segfault in connection_close_unattached_ap().
  26482. - Fix newlines on torrc in win32.
  26483. - Improve error msgs when tor-resolve fails.
  26484. o Improvements on 0.0.9.x:
  26485. - New experimental script tor/contrib/ExerciseServer.py (needs more
  26486. work) that uses the controller interface to build circuits and
  26487. fetch pages over them. This will help us bootstrap servers that
  26488. have lots of capacity but haven't noticed it yet.
  26489. - New experimental script tor/contrib/PathDemo.py (needs more work)
  26490. that uses the controller interface to let you choose whole paths
  26491. via addresses like
  26492. "<hostname>.<path,separated by dots>.<length of path>.path"
  26493. - When we've connected to an OR and handshaked but didn't like
  26494. the result, we were closing the conn without sending destroy
  26495. cells back for pending circuits. Now send those destroys.
  26496. Changes in version 0.0.9.7 - 2005-04-01
  26497. o Bugfixes on 0.0.9.x:
  26498. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  26499. - Compare identity to identity, not to nickname, when extending to
  26500. a router not already in the directory. This was preventing us from
  26501. extending to unknown routers. Oops.
  26502. - Make sure to create OS X Tor user in <500 range, so we aren't
  26503. creating actual system users.
  26504. - Note where connection-that-hasn't-sent-end was marked, and fix
  26505. a few really loud instances of this harmless bug (it's fixed more
  26506. in 0.1.0.x).
  26507. Changes in version 0.1.0.1-rc - 2005-03-28
  26508. o New features:
  26509. - Add reachability testing. Your Tor server will automatically try
  26510. to see if its ORPort and DirPort are reachable from the outside,
  26511. and it won't upload its descriptor until it decides they are.
  26512. - Handle unavailable hidden services better. Handle slow or busy
  26513. hidden services better.
  26514. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  26515. config option.
  26516. - New exit policy: accept most low-numbered ports, rather than
  26517. rejecting most low-numbered ports.
  26518. - More Tor controller support (still experimental). See
  26519. http://tor.eff.org/doc/control-spec.txt for all the new features,
  26520. including signals to emulate unix signals from any platform;
  26521. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  26522. closestream; closecircuit; etc.
  26523. - Make nt services work and start on startup on win32 (based on
  26524. patch by Matt Edman).
  26525. - Add a new AddressMap config directive to rewrite incoming socks
  26526. addresses. This lets you, for example, declare an implicit
  26527. required exit node for certain sites.
  26528. - Add a new TrackHostExits config directive to trigger addressmaps
  26529. for certain incoming socks addresses -- for sites that break when
  26530. your exit keeps changing (based on patch by Mike Perry).
  26531. - Redo the client-side dns cache so it's just an addressmap too.
  26532. - Notice when our IP changes, and reset stats/uptime/reachability.
  26533. - When an application is using socks5, give him the whole variety of
  26534. potential socks5 responses (connect refused, host unreachable, etc),
  26535. rather than just "success" or "failure".
  26536. - A more sane version numbering system. See
  26537. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  26538. - New contributed script "exitlist": a simple python script to
  26539. parse directories and find Tor nodes that exit to listed
  26540. addresses/ports.
  26541. - New contributed script "privoxy-tor-toggle" to toggle whether
  26542. Privoxy uses Tor. Seems to be configured for Debian by default.
  26543. - Report HTTP reasons to client when getting a response from directory
  26544. servers -- so you can actually know what went wrong.
  26545. - New config option MaxAdvertisedBandwidth which lets you advertise
  26546. a low bandwidthrate (to not attract as many circuits) while still
  26547. allowing a higher bandwidthrate in reality.
  26548. o Robustness/stability fixes:
  26549. - Make Tor use Niels Provos's libevent instead of its current
  26550. poll-but-sometimes-select mess. This will let us use faster async
  26551. cores (like epoll, kpoll, and /dev/poll), and hopefully work better
  26552. on Windows too.
  26553. - pthread support now too. This was forced because when we forked,
  26554. we ended up wasting a lot of duplicate ram over time. Also switch
  26555. to foo_r versions of some library calls to allow reentry and
  26556. threadsafeness.
  26557. - Better handling for heterogeneous / unreliable nodes:
  26558. - Annotate circuits w/ whether they aim to contain high uptime nodes
  26559. and/or high capacity nodes. When building circuits, choose
  26560. appropriate nodes.
  26561. - This means that every single node in an intro rend circuit,
  26562. not just the last one, will have a minimum uptime.
  26563. - New config option LongLivedPorts to indicate application streams
  26564. that will want high uptime circuits.
  26565. - Servers reset uptime when a dir fetch entirely fails. This
  26566. hopefully reflects stability of the server's network connectivity.
  26567. - If somebody starts his tor server in Jan 2004 and then fixes his
  26568. clock, don't make his published uptime be a year.
  26569. - Reset published uptime when you wake up from hibernation.
  26570. - Introduce a notion of 'internal' circs, which are chosen without
  26571. regard to the exit policy of the last hop. Intro and rendezvous
  26572. circs must be internal circs, to avoid leaking information. Resolve
  26573. and connect streams can use internal circs if they want.
  26574. - New circuit pooling algorithm: make sure to have enough circs around
  26575. to satisfy any predicted ports, and also make sure to have 2 internal
  26576. circs around if we've required internal circs lately (and with high
  26577. uptime if we've seen that lately too).
  26578. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  26579. which describes how often we retry making new circuits if current
  26580. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  26581. how long we're willing to make use of an already-dirty circuit.
  26582. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  26583. circ as necessary, if there are any completed ones lying around
  26584. when we try to launch one.
  26585. - Make hidden services try to establish a rendezvous for 30 seconds,
  26586. rather than for n (where n=3) attempts to build a circuit.
  26587. - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
  26588. "ShutdownWaitLength".
  26589. - Try to be more zealous about calling connection_edge_end when
  26590. things go bad with edge conns in connection.c.
  26591. - Revise tor-spec to add more/better stream end reasons.
  26592. - Revise all calls to connection_edge_end to avoid sending "misc",
  26593. and to take errno into account where possible.
  26594. o Bug fixes:
  26595. - Fix a race condition that can trigger an assert, when we have a
  26596. pending create cell and an OR connection fails right then.
  26597. - Fix several double-mark-for-close bugs, e.g. where we were finding
  26598. a conn for a cell even if that conn is already marked for close.
  26599. - Make sequence of log messages when starting on win32 with no config
  26600. file more reasonable.
  26601. - When choosing an exit node for a new non-internal circ, don't take
  26602. into account whether it'll be useful for any pending x.onion
  26603. addresses -- it won't.
  26604. - Turn addr_policy_compare from a tristate to a quadstate; this should
  26605. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  26606. for google.com" problem.
  26607. - Make "platform" string in descriptor more accurate for Win32 servers,
  26608. so it's not just "unknown platform".
  26609. - Fix an edge case in parsing config options (thanks weasel).
  26610. If they say "--" on the commandline, it's not an option.
  26611. - Reject odd-looking addresses at the client (e.g. addresses that
  26612. contain a colon), rather than having the server drop them because
  26613. they're malformed.
  26614. - tor-resolve requests were ignoring .exit if there was a working circuit
  26615. they could use instead.
  26616. - REUSEADDR on normal platforms means you can rebind to the port
  26617. right after somebody else has let it go. But REUSEADDR on win32
  26618. means to let you bind to the port _even when somebody else
  26619. already has it bound_! So, don't do that on Win32.
  26620. - Change version parsing logic: a version is "obsolete" if it is not
  26621. recommended and (1) there is a newer recommended version in the
  26622. same series, or (2) there are no recommended versions in the same
  26623. series, but there are some recommended versions in a newer series.
  26624. A version is "new" if it is newer than any recommended version in
  26625. the same series.
  26626. - Stop most cases of hanging up on a socks connection without sending
  26627. the socks reject.
  26628. o Helpful fixes:
  26629. - Require BandwidthRate to be at least 20kB/s for servers.
  26630. - When a dirserver causes you to give a warn, mention which dirserver
  26631. it was.
  26632. - New config option DirAllowPrivateAddresses for authdirservers.
  26633. Now by default they refuse router descriptors that have non-IP or
  26634. private-IP addresses.
  26635. - Stop publishing socksport in the directory, since it's not
  26636. actually meant to be public. For compatibility, publish a 0 there
  26637. for now.
  26638. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  26639. smart" value, that is low for servers and high for clients.
  26640. - If our clock jumps forward by 100 seconds or more, assume something
  26641. has gone wrong with our network and abandon all not-yet-used circs.
  26642. - Warn when exit policy implicitly allows local addresses.
  26643. - If we get an incredibly skewed timestamp from a dirserver mirror
  26644. that isn't a verified OR, don't warn -- it's probably him that's
  26645. wrong.
  26646. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  26647. cookies to disk and doesn't log each web request to disk. (Thanks
  26648. to Brett Carrington for pointing this out.)
  26649. - When a client asks us for a dir mirror and we don't have one,
  26650. launch an attempt to get a fresh one.
  26651. - If we're hibernating and we get a SIGINT, exit immediately.
  26652. - Add --with-dmalloc ./configure option, to track memory leaks.
  26653. - And try to free all memory on closing, so we can detect what
  26654. we're leaking.
  26655. - Cache local dns resolves correctly even when they're .exit
  26656. addresses.
  26657. - Give a better warning when some other server advertises an
  26658. ORPort that is actually an apache running ssl.
  26659. - Add "opt hibernating 1" to server descriptor to make it clearer
  26660. whether the server is hibernating.
  26661. Changes in version 0.0.9.6 - 2005-03-24
  26662. o Bugfixes on 0.0.9.x (crashes and asserts):
  26663. - Add new end stream reasons to maintenance branch. Fix bug where
  26664. reason (8) could trigger an assert. Prevent bug from recurring.
  26665. - Apparently win32 stat wants paths to not end with a slash.
  26666. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  26667. blowing away the circuit that conn->cpath_layer points to, then
  26668. checking to see if the circ is well-formed. Backport check to make
  26669. sure we dont use the cpath on a closed connection.
  26670. - Prevent circuit_resume_edge_reading_helper() from trying to package
  26671. inbufs for marked-for-close streams.
  26672. - Don't crash on hup if your options->address has become unresolvable.
  26673. - Some systems (like OS X) sometimes accept() a connection and tell
  26674. you the remote host is 0.0.0.0:0. If this happens, due to some
  26675. other mis-features, we get confused; so refuse the conn for now.
  26676. o Bugfixes on 0.0.9.x (other):
  26677. - Fix harmless but scary "Unrecognized content encoding" warn message.
  26678. - Add new stream error reason: TORPROTOCOL reason means "you are not
  26679. speaking a version of Tor I understand; say bye-bye to your stream."
  26680. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  26681. into the future, now that we are more tolerant of skew. This
  26682. resolves a bug where a Tor server would refuse to cache a directory
  26683. because all the directories it gets are too far in the future;
  26684. yet the Tor server never logs any complaints about clock skew.
  26685. - Mac packaging magic: make man pages useable, and do not overwrite
  26686. existing torrc files.
  26687. - Make OS X log happily to /var/log/tor/tor.log
  26688. Changes in version 0.0.9.5 - 2005-02-22
  26689. o Bugfixes on 0.0.9.x:
  26690. - Fix an assert race at exit nodes when resolve requests fail.
  26691. - Stop picking unverified dir mirrors--it only leads to misery.
  26692. - Patch from Matt Edman to make NT services work better. Service
  26693. support is still not compiled into the executable by default.
  26694. - Patch from Dmitri Bely so the Tor service runs better under
  26695. the win32 SYSTEM account.
  26696. - Make tor-resolve actually work (?) on Win32.
  26697. - Fix a sign bug when getrlimit claims to have 4+ billion
  26698. file descriptors available.
  26699. - Stop refusing to start when bandwidthburst == bandwidthrate.
  26700. - When create cells have been on the onion queue more than five
  26701. seconds, just send back a destroy and take them off the list.
  26702. Changes in version 0.0.9.4 - 2005-02-03
  26703. o Bugfixes on 0.0.9:
  26704. - Fix an assert bug that took down most of our servers: when
  26705. a server claims to have 1 GB of bandwidthburst, don't
  26706. freak out.
  26707. - Don't crash as badly if we have spawned the max allowed number
  26708. of dnsworkers, or we're out of file descriptors.
  26709. - Block more file-sharing ports in the default exit policy.
  26710. - MaxConn is now automatically set to the hard limit of max
  26711. file descriptors we're allowed (ulimit -n), minus a few for
  26712. logs, etc.
  26713. - Give a clearer message when servers need to raise their
  26714. ulimit -n when they start running out of file descriptors.
  26715. - SGI Compatibility patches from Jan Schaumann.
  26716. - Tolerate a corrupt cached directory better.
  26717. - When a dirserver hasn't approved your server, list which one.
  26718. - Go into soft hibernation after 95% of the bandwidth is used,
  26719. not 99%. This is especially important for daily hibernators who
  26720. have a small accounting max. Hopefully it will result in fewer
  26721. cut connections when the hard hibernation starts.
  26722. - Load-balance better when using servers that claim more than
  26723. 800kB/s of capacity.
  26724. - Make NT services work (experimental, only used if compiled in).
  26725. Changes in version 0.0.9.3 - 2005-01-21
  26726. o Bugfixes on 0.0.9:
  26727. - Backport the cpu use fixes from main branch, so busy servers won't
  26728. need as much processor time.
  26729. - Work better when we go offline and then come back, or when we
  26730. run Tor at boot before the network is up. We do this by
  26731. optimistically trying to fetch a new directory whenever an
  26732. application request comes in and we think we're offline -- the
  26733. human is hopefully a good measure of when the network is back.
  26734. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  26735. long as you keep using them; actually publish hidserv descriptors
  26736. shortly after they change, rather than waiting 20-40 minutes.
  26737. - Enable Mac startup script by default.
  26738. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  26739. - When you update AllowUnverifiedNodes or FirewallPorts via the
  26740. controller's setconf feature, we were always appending, never
  26741. resetting.
  26742. - When you update HiddenServiceDir via setconf, it was screwing up
  26743. the order of reading the lines, making it fail.
  26744. - Do not rewrite a cached directory back to the cache; otherwise we
  26745. will think it is recent and not fetch a newer one on startup.
  26746. - Workaround for webservers that lie about Content-Encoding: Tor
  26747. now tries to autodetect compressed directories and compression
  26748. itself. This lets us Proxypass dir fetches through apache.
  26749. Changes in version 0.0.9.2 - 2005-01-04
  26750. o Bugfixes on 0.0.9 (crashes and asserts):
  26751. - Fix an assert on startup when the disk is full and you're logging
  26752. to a file.
  26753. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  26754. style address, then we'd crash.
  26755. - Fix an assert trigger when the running-routers string we get from
  26756. a dirserver is broken.
  26757. - Make worker threads start and run on win32. Now win32 servers
  26758. may work better.
  26759. - Bandaid (not actually fix, but now it doesn't crash) an assert
  26760. where the dns worker dies mysteriously and the main Tor process
  26761. doesn't remember anything about the address it was resolving.
  26762. o Bugfixes on 0.0.9 (Win32):
  26763. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  26764. name out of the warning/assert messages.
  26765. - Fix a superficial "unhandled error on read" bug on win32.
  26766. - The win32 installer no longer requires a click-through for our
  26767. license, since our Free Software license grants rights but does not
  26768. take any away.
  26769. - Win32: When connecting to a dirserver fails, try another one
  26770. immediately. (This was already working for non-win32 Tors.)
  26771. - Stop trying to parse $HOME on win32 when hunting for default
  26772. DataDirectory.
  26773. - Make tor-resolve.c work on win32 by calling network_init().
  26774. o Bugfixes on 0.0.9 (other):
  26775. - Make 0.0.9.x build on Solaris again.
  26776. - Due to a fencepost error, we were blowing away the \n when reporting
  26777. confvalue items in the controller. So asking for multiple config
  26778. values at once couldn't work.
  26779. - When listing circuits that are pending on an opening OR connection,
  26780. if we're an OR we were listing circuits that *end* at us as
  26781. being pending on every listener, dns/cpu worker, etc. Stop that.
  26782. - Dirservers were failing to create 'running-routers' or 'directory'
  26783. strings if we had more than some threshold of routers. Fix them so
  26784. they can handle any number of routers.
  26785. - Fix a superficial "Duplicate mark for close" bug.
  26786. - Stop checking for clock skew for OR connections, even for servers.
  26787. - Fix a fencepost error that was chopping off the last letter of any
  26788. nickname that is the maximum allowed nickname length.
  26789. - Update URLs in log messages so they point to the new website.
  26790. - Fix a potential problem in mangling server private keys while
  26791. writing to disk (not triggered yet, as far as we know).
  26792. - Include the licenses for other free software we include in Tor,
  26793. now that we're shipping binary distributions more regularly.
  26794. Changes in version 0.0.9.1 - 2004-12-15
  26795. o Bugfixes on 0.0.9:
  26796. - Make hibernation actually work.
  26797. - Make HashedControlPassword config option work.
  26798. - When we're reporting event circuit status to a controller,
  26799. don't use the stream status code.
  26800. Changes in version 0.0.9 - 2004-12-12
  26801. o Cleanups:
  26802. - Clean up manpage and torrc.sample file.
  26803. - Clean up severities and text of log warnings.
  26804. o Mistakes:
  26805. - Make servers trigger an assert when they enter hibernation.
  26806. Changes in version 0.0.9rc7 - 2004-12-08
  26807. o Bugfixes on 0.0.9rc:
  26808. - Fix a stack-trashing crash when an exit node begins hibernating.
  26809. - Avoid looking at unallocated memory while considering which
  26810. ports we need to build circuits to cover.
  26811. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  26812. we shouldn't hold-open-until-flush if the eof arrived first.
  26813. - Fix a bug with init_cookie_authentication() in the controller.
  26814. - When recommending new-format log lines, if the upper bound is
  26815. LOG_ERR, leave it implicit.
  26816. o Bugfixes on 0.0.8.1:
  26817. - Fix a whole slew of memory leaks.
  26818. - Fix isspace() and friends so they still make Solaris happy
  26819. but also so they don't trigger asserts on win32.
  26820. - Fix parse_iso_time on platforms without strptime (eg win32).
  26821. - win32: tolerate extra "readable" events better.
  26822. - win32: when being multithreaded, leave parent fdarray open.
  26823. - Make unit tests work on win32.
  26824. Changes in version 0.0.9rc6 - 2004-12-06
  26825. o Bugfixes on 0.0.9pre:
  26826. - Clean up some more integer underflow opportunities (not exploitable
  26827. we think).
  26828. - While hibernating, hup should not regrow our listeners.
  26829. - Send an end to the streams we close when we hibernate, rather
  26830. than just chopping them off.
  26831. - React to eof immediately on non-open edge connections.
  26832. o Bugfixes on 0.0.8.1:
  26833. - Calculate timeout for waiting for a connected cell from the time
  26834. we sent the begin cell, not from the time the stream started. If
  26835. it took a long time to establish the circuit, we would time out
  26836. right after sending the begin cell.
  26837. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  26838. of * as always matching, so we were picking reject *:* nodes as
  26839. exit nodes too. Oops.
  26840. o Features:
  26841. - New circuit building strategy: keep a list of ports that we've
  26842. used in the past 6 hours, and always try to have 2 circuits open
  26843. or on the way that will handle each such port. Seed us with port
  26844. 80 so web users won't complain that Tor is "slow to start up".
  26845. - Make kill -USR1 dump more useful stats about circuits.
  26846. - When warning about retrying or giving up, print the address, so
  26847. the user knows which one it's talking about.
  26848. - If you haven't used a clean circuit in an hour, throw it away,
  26849. just to be on the safe side. (This means after 6 hours a totally
  26850. unused Tor client will have no circuits open.)
  26851. Changes in version 0.0.9rc5 - 2004-12-01
  26852. o Bugfixes on 0.0.8.1:
  26853. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  26854. - Let resolve conns retry/expire also, rather than sticking around
  26855. forever.
  26856. - If we are using select, make sure we stay within FD_SETSIZE.
  26857. o Bugfixes on 0.0.9pre:
  26858. - Fix integer underflow in tor_vsnprintf() that may be exploitable,
  26859. but doesn't seem to be currently; thanks to Ilja van Sprundel for
  26860. finding it.
  26861. - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
  26862. instead. Impose minima and maxima for all *Period options; impose
  26863. even tighter maxima for fetching if we are a caching dirserver.
  26864. Clip rather than rejecting.
  26865. - Fetch cached running-routers from servers that serve it (that is,
  26866. authdirservers and servers running 0.0.9rc5-cvs or later.)
  26867. o Features:
  26868. - Accept *:706 (silc) in default exit policy.
  26869. - Implement new versioning format for post 0.1.
  26870. - Support "foo.nickname.exit" addresses, to let Alice request the
  26871. address "foo" as viewed by exit node "nickname". Based on a patch
  26872. by Geoff Goodell.
  26873. - Make tor --version --version dump the cvs Id of every file.
  26874. Changes in version 0.0.9rc4 - 2004-11-28
  26875. o Bugfixes on 0.0.8.1:
  26876. - Make windows sockets actually non-blocking (oops), and handle
  26877. win32 socket errors better.
  26878. o Bugfixes on 0.0.9rc1:
  26879. - Actually catch the -USR2 signal.
  26880. Changes in version 0.0.9rc3 - 2004-11-25
  26881. o Bugfixes on 0.0.8.1:
  26882. - Flush the log file descriptor after we print "Tor opening log file",
  26883. so we don't see those messages days later.
  26884. o Bugfixes on 0.0.9rc1:
  26885. - Make tor-resolve work again.
  26886. - Avoid infinite loop in tor-resolve if tor hangs up on it.
  26887. - Fix an assert trigger for clients/servers handling resolves.
  26888. Changes in version 0.0.9rc2 - 2004-11-24
  26889. o Bugfixes on 0.0.9rc1:
  26890. - I broke socks5 support while fixing the eof bug.
  26891. - Allow unitless bandwidths and intervals; they default to bytes
  26892. and seconds.
  26893. - New servers don't start out hibernating; they are active until
  26894. they run out of bytes, so they have a better estimate of how
  26895. long it takes, and so their operators can know they're working.
  26896. Changes in version 0.0.9rc1 - 2004-11-23
  26897. o Bugfixes on 0.0.8.1:
  26898. - Finally fix a bug that's been plaguing us for a year:
  26899. With high load, circuit package window was reaching 0. Whenever
  26900. we got a circuit-level sendme, we were reading a lot on each
  26901. socket, but only writing out a bit. So we would eventually reach
  26902. eof. This would be noticed and acted on even when there were still
  26903. bytes sitting in the inbuf.
  26904. - When poll() is interrupted, we shouldn't believe the revents values.
  26905. o Bugfixes on 0.0.9pre6:
  26906. - Fix hibernate bug that caused pre6 to be broken.
  26907. - Don't keep rephist info for routers that haven't had activity for
  26908. 24 hours. (This matters now that clients have keys, since we track
  26909. them too.)
  26910. - Never call close_temp_logs while validating log options.
  26911. - Fix backslash-escaping on tor.sh.in and torctl.in.
  26912. o Features:
  26913. - Implement weekly/monthly/daily accounting: now you specify your
  26914. hibernation properties by
  26915. AccountingMax N bytes|KB|MB|GB|TB
  26916. AccountingStart day|week|month [day] HH:MM
  26917. Defaults to "month 1 0:00".
  26918. - Let bandwidth and interval config options be specified as 5 bytes,
  26919. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  26920. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  26921. get back to normal.)
  26922. - If your requested entry or exit node has advertised bandwidth 0,
  26923. pick it anyway.
  26924. - Be more greedy about filling up relay cells -- we try reading again
  26925. once we've processed the stuff we read, in case enough has arrived
  26926. to fill the last cell completely.
  26927. - Apply NT service patch from Osamu Fujino. Still needs more work.
  26928. Changes in version 0.0.9pre6 - 2004-11-15
  26929. o Bugfixes on 0.0.8.1:
  26930. - Fix assert failure on malformed socks4a requests.
  26931. - Use identity comparison, not nickname comparison, to choose which
  26932. half of circuit-ID-space each side gets to use. This is needed
  26933. because sometimes we think of a router as a nickname, and sometimes
  26934. as a hex ID, and we can't predict what the other side will do.
  26935. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  26936. write() call will fail and we handle it there.
  26937. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  26938. and smartlist_len, which are two major profiling offenders.
  26939. o Bugfixes on 0.0.9pre5:
  26940. - Fix a bug in read_all that was corrupting config files on windows.
  26941. - When we're raising the max number of open file descriptors to
  26942. 'unlimited', don't log that we just raised it to '-1'.
  26943. - Include event code with events, as required by control-spec.txt.
  26944. - Don't give a fingerprint when clients do --list-fingerprint:
  26945. it's misleading, because it will never be the same again.
  26946. - Stop using strlcpy in tor_strndup, since it was slowing us
  26947. down a lot.
  26948. - Remove warn on startup about missing cached-directory file.
  26949. - Make kill -USR1 work again.
  26950. - Hibernate if we start tor during the "wait for wakeup-time" phase
  26951. of an accounting interval. Log our hibernation plans better.
  26952. - Authoritative dirservers now also cache their directory, so they
  26953. have it on start-up.
  26954. o Features:
  26955. - Fetch running-routers; cache running-routers; compress
  26956. running-routers; serve compressed running-routers.z
  26957. - Add NSI installer script contributed by J Doe.
  26958. - Commit VC6 and VC7 workspace/project files.
  26959. - Commit a tor.spec for making RPM files, with help from jbash.
  26960. - Add contrib/torctl.in contributed by Glenn Fink.
  26961. - Implement the control-spec's SAVECONF command, to write your
  26962. configuration to torrc.
  26963. - Get cookie authentication for the controller closer to working.
  26964. - Include control-spec.txt in the tarball.
  26965. - When set_conf changes our server descriptor, upload a new copy.
  26966. But don't upload it too often if there are frequent changes.
  26967. - Document authentication config in man page, and document signals
  26968. we catch.
  26969. - Clean up confusing parts of man page and torrc.sample.
  26970. - Make expand_filename handle ~ and ~username.
  26971. - Use autoconf to enable largefile support where necessary. Use
  26972. ftello where available, since ftell can fail at 2GB.
  26973. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  26974. log more informatively.
  26975. - Give a slightly more useful output for "tor -h".
  26976. - Refuse application socks connections to port 0.
  26977. - Check clock skew for verified servers, but allow unverified
  26978. servers and clients to have any clock skew.
  26979. - Break DirFetchPostPeriod into:
  26980. - DirFetchPeriod for fetching full directory,
  26981. - StatusFetchPeriod for fetching running-routers,
  26982. - DirPostPeriod for posting server descriptor,
  26983. - RendPostPeriod for posting hidden service descriptors.
  26984. - Make sure the hidden service descriptors are at a random offset
  26985. from each other, to hinder linkability.
  26986. Changes in version 0.0.9pre5 - 2004-11-09
  26987. o Bugfixes on 0.0.9pre4:
  26988. - Fix a seg fault in unit tests (doesn't affect main program).
  26989. - Fix an assert bug where a hidden service provider would fail if
  26990. the first hop of his rendezvous circuit was down.
  26991. - Hidden service operators now correctly handle version 1 style
  26992. INTRODUCE1 cells (nobody generates them still, so not a critical
  26993. bug).
  26994. - If do_hup fails, actually notice.
  26995. - Handle more errnos from accept() without closing the listener.
  26996. Some OpenBSD machines were closing their listeners because
  26997. they ran out of file descriptors.
  26998. - Send resolve cells to exit routers that are running a new
  26999. enough version of the resolve code to work right.
  27000. - Better handling of winsock includes on non-MSV win32 compilers.
  27001. - Some people had wrapped their tor client/server in a script
  27002. that would restart it whenever it died. This did not play well
  27003. with our "shut down if your version is obsolete" code. Now people
  27004. don't fetch a new directory if their local cached version is
  27005. recent enough.
  27006. - Make our autogen.sh work on ksh as well as bash.
  27007. o Major Features:
  27008. - Hibernation: New config option "AccountingMaxKB" lets you
  27009. set how many KBytes per month you want to allow your server to
  27010. consume. Rather than spreading those bytes out evenly over the
  27011. month, we instead hibernate for some of the month and pop up
  27012. at a deterministic time, work until the bytes are consumed, then
  27013. hibernate again. Config option "MonthlyAccountingStart" lets you
  27014. specify which day of the month your billing cycle starts on.
  27015. - Control interface: a separate program can now talk to your
  27016. client/server over a socket, and get/set config options, receive
  27017. notifications of circuits and streams starting/finishing/dying,
  27018. bandwidth used, etc. The next step is to get some GUIs working.
  27019. Let us know if you want to help out. See doc/control-spec.txt .
  27020. - Ship a contrib/tor-control.py as an example script to interact
  27021. with the control port.
  27022. - "tor --hash-password zzyxz" will output a salted password for
  27023. use in authenticating to the control interface.
  27024. - New log format in config:
  27025. "Log minsev[-maxsev] stdout|stderr|syslog" or
  27026. "Log minsev[-maxsev] file /var/foo"
  27027. o Minor Features:
  27028. - DirPolicy config option, to let people reject incoming addresses
  27029. from their dirserver.
  27030. - "tor --list-fingerprint" will list your identity key fingerprint
  27031. and then exit.
  27032. - Add "pass" target for RedirectExit, to make it easier to break
  27033. out of a sequence of RedirectExit rules.
  27034. - Clients now generate a TLS cert too, in preparation for having
  27035. them act more like real nodes.
  27036. - Ship src/win32/ in the tarball, so people can use it to build.
  27037. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  27038. is broken.
  27039. - New "router-status" line in directory, to better bind each verified
  27040. nickname to its identity key.
  27041. - Deprecate unofficial config option abbreviations, and abbreviations
  27042. not on the command line.
  27043. - Add a pure-C tor-resolve implementation.
  27044. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  27045. 1024) file descriptors.
  27046. o Code security improvements, inspired by Ilja:
  27047. - Replace sprintf with snprintf. (I think they were all safe, but
  27048. hey.)
  27049. - Replace strcpy/strncpy with strlcpy in more places.
  27050. - Avoid strcat; use snprintf or strlcat instead.
  27051. - snprintf wrapper with consistent (though not C99) overflow behavior.
  27052. Changes in version 0.0.9pre4 - 2004-10-17
  27053. o Bugfixes on 0.0.9pre3:
  27054. - If the server doesn't specify an exit policy, use the real default
  27055. exit policy, not reject *:*.
  27056. - Ignore fascistfirewall when uploading/downloading hidden service
  27057. descriptors, since we go through Tor for those; and when using
  27058. an HttpProxy, since we assume it can reach them all.
  27059. - When looking for an authoritative dirserver, use only the ones
  27060. configured at boot. Don't bother looking in the directory.
  27061. - The rest of the fix for get_default_conf_file() on older win32.
  27062. - Make 'Routerfile' config option obsolete.
  27063. o Features:
  27064. - New 'MyFamily nick1,...' config option for a server to
  27065. specify other servers that shouldn't be used in the same circuit
  27066. with it. Only believed if nick1 also specifies us.
  27067. - New 'NodeFamily nick1,nick2,...' config option for a client to
  27068. specify nodes that it doesn't want to use in the same circuit.
  27069. - New 'Redirectexit pattern address:port' config option for a
  27070. server to redirect exit connections, e.g. to a local squid.
  27071. Changes in version 0.0.9pre3 - 2004-10-13
  27072. o Bugfixes on 0.0.8.1:
  27073. - Better torrc example lines for dirbindaddress and orbindaddress.
  27074. - Improved bounds checking on parsed ints (e.g. config options and
  27075. the ones we find in directories.)
  27076. - Better handling of size_t vs int, so we're more robust on 64
  27077. bit platforms.
  27078. - Fix the rest of the bug where a newly started OR would appear
  27079. as unverified even after we've added his fingerprint and hupped
  27080. the dirserver.
  27081. - Fix a bug from 0.0.7: when read() failed on a stream, we would
  27082. close it without sending back an end. So 'connection refused'
  27083. would simply be ignored and the user would get no response.
  27084. o Bugfixes on 0.0.9pre2:
  27085. - Serving the cached-on-disk directory to people is bad. We now
  27086. provide no directory until we've fetched a fresh one.
  27087. - Workaround for bug on windows where cached-directories get crlf
  27088. corruption.
  27089. - Make get_default_conf_file() work on older windows too.
  27090. - If we write a *:* exit policy line in the descriptor, don't write
  27091. any more exit policy lines.
  27092. o Features:
  27093. - Use only 0.0.9pre1 and later servers for resolve cells.
  27094. - Make the dirservers file obsolete.
  27095. - Include a dir-signing-key token in directories to tell the
  27096. parsing entity which key is being used to sign.
  27097. - Remove the built-in bulky default dirservers string.
  27098. - New config option "Dirserver %s:%d [fingerprint]", which can be
  27099. repeated as many times as needed. If no dirservers specified,
  27100. default to moria1,moria2,tor26.
  27101. - Make moria2 advertise a dirport of 80, so people behind firewalls
  27102. will be able to get a directory.
  27103. - Http proxy support
  27104. - Dirservers translate requests for http://%s:%d/x to /x
  27105. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  27106. be routed through this host.
  27107. - Clients ask for /tor/x rather than /x for new enough dirservers.
  27108. This way we can one day coexist peacefully with apache.
  27109. - Clients specify a "Host: %s%d" http header, to be compatible
  27110. with more proxies, and so running squid on an exit node can work.
  27111. Changes in version 0.0.8.1 - 2004-10-13
  27112. o Bugfixes:
  27113. - Fix a seg fault that can be triggered remotely for Tor
  27114. clients/servers with an open dirport.
  27115. - Fix a rare assert trigger, where routerinfos for entries in
  27116. our cpath would expire while we're building the path.
  27117. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  27118. - Fix a rare seg fault for people running hidden services on
  27119. intermittent connections.
  27120. - Fix a bug in parsing opt keywords with objects.
  27121. - Fix a stale pointer assert bug when a stream detaches and
  27122. reattaches.
  27123. - Fix a string format vulnerability (probably not exploitable)
  27124. in reporting stats locally.
  27125. - Fix an assert trigger: sometimes launching circuits can fail
  27126. immediately, e.g. because too many circuits have failed recently.
  27127. - Fix a compile warning on 64 bit platforms.
  27128. Changes in version 0.0.9pre2 - 2004-10-03
  27129. o Bugfixes:
  27130. - Make fetching a cached directory work for 64-bit platforms too.
  27131. - Make zlib.h a required header, not an optional header.
  27132. Changes in version 0.0.9pre1 - 2004-10-01
  27133. o Bugfixes:
  27134. - Stop using separate defaults for no-config-file and
  27135. empty-config-file. Now you have to explicitly turn off SocksPort,
  27136. if you don't want it open.
  27137. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  27138. - Improve man page to mention more of the 0.0.8 features.
  27139. - Fix a rare seg fault for people running hidden services on
  27140. intermittent connections.
  27141. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  27142. happier.
  27143. - Fix more dns related bugs: send back resolve_failed and end cells
  27144. more reliably when the resolve fails, rather than closing the
  27145. circuit and then trying to send the cell. Also attach dummy resolve
  27146. connections to a circuit *before* calling dns_resolve(), to fix
  27147. a bug where cached answers would never be sent in RESOLVED cells.
  27148. - When we run out of disk space, or other log writing error, don't
  27149. crash. Just stop logging to that log and continue.
  27150. - We were starting to daemonize before we opened our logs, so if
  27151. there were any problems opening logs, we would complain to stderr,
  27152. which wouldn't work, and then mysteriously exit.
  27153. - Fix a rare bug where sometimes a verified OR would connect to us
  27154. before he'd uploaded his descriptor, which would cause us to
  27155. assign conn->nickname as though he's unverified. Now we look through
  27156. the fingerprint list to see if he's there.
  27157. - Fix a rare assert trigger, where routerinfos for entries in
  27158. our cpath would expire while we're building the path.
  27159. o Features:
  27160. - Clients can ask dirservers for /dir.z to get a compressed version
  27161. of the directory. Only works for servers running 0.0.9, of course.
  27162. - Make clients cache directories and use them to seed their router
  27163. lists at startup. This means clients have a datadir again.
  27164. - Configuration infrastructure support for warning on obsolete
  27165. options.
  27166. - Respond to content-encoding headers by trying to uncompress as
  27167. appropriate.
  27168. - Reply with a deflated directory when a client asks for "dir.z".
  27169. We could use allow-encodings instead, but allow-encodings isn't
  27170. specified in HTTP 1.0.
  27171. - Raise the max dns workers from 50 to 100.
  27172. - Discourage people from setting their dirfetchpostperiod more often
  27173. than once per minute.
  27174. - Protect dirservers from overzealous descriptor uploading -- wait
  27175. 10 seconds after directory gets dirty, before regenerating.
  27176. Changes in version 0.0.8 - 2004-08-25
  27177. o Port it to SunOS 5.9 / Athena
  27178. Changes in version 0.0.8rc2 - 2004-08-20
  27179. o Make it compile on cygwin again.
  27180. o When picking unverified routers, skip those with low uptime and/or
  27181. low bandwidth, depending on what properties you care about.
  27182. Changes in version 0.0.8rc1 - 2004-08-18
  27183. o Changes from 0.0.7.3:
  27184. - Bugfixes:
  27185. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  27186. don't put it into the client dns cache.
  27187. - If a begin failed due to exit policy, but we believe the IP address
  27188. should have been allowed, switch that router to exitpolicy reject *:*
  27189. until we get our next directory.
  27190. - Features:
  27191. - Clients choose nodes proportional to advertised bandwidth.
  27192. - Avoid using nodes with low uptime as introduction points.
  27193. - Handle servers with dynamic IP addresses: don't replace
  27194. options->Address with the resolved one at startup, and
  27195. detect our address right before we make a routerinfo each time.
  27196. - 'FascistFirewall' option to pick dirservers and ORs on specific
  27197. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  27198. which ports are open. (Defaults to 80,443)
  27199. - Be more aggressive about trying to make circuits when the network
  27200. has changed (e.g. when you unsuspend your laptop).
  27201. - Check for time skew on http headers; report date in response to
  27202. "GET /".
  27203. - If the entrynode config line has only one node, don't pick it as
  27204. an exitnode.
  27205. - Add strict{entry|exit}nodes config options. If set to 1, then
  27206. we refuse to build circuits that don't include the specified entry
  27207. or exit nodes.
  27208. - OutboundBindAddress config option, to bind to a specific
  27209. IP address for outgoing connect()s.
  27210. - End truncated log entries (e.g. directories) with "[truncated]".
  27211. o Patches to 0.0.8preX:
  27212. - Bugfixes:
  27213. - Patches to compile and run on win32 again (maybe)?
  27214. - Fix crash when looking for ~/.torrc with no $HOME set.
  27215. - Fix a race bug in the unit tests.
  27216. - Handle verified/unverified name collisions better when new
  27217. routerinfo's arrive in a directory.
  27218. - Sometimes routers were getting entered into the stats before
  27219. we'd assigned their identity_digest. Oops.
  27220. - Only pick and establish intro points after we've gotten a
  27221. directory.
  27222. - Features:
  27223. - AllowUnverifiedNodes config option to let circuits choose no-name
  27224. routers in entry,middle,exit,introduction,rendezvous positions.
  27225. Allow middle and rendezvous positions by default.
  27226. - Add a man page for tor-resolve.
  27227. Changes in version 0.0.7.3 - 2004-08-12
  27228. o Stop dnsworkers from triggering an assert failure when you
  27229. ask them to resolve the host "".
  27230. Changes in version 0.0.8pre3 - 2004-08-09
  27231. o Changes from 0.0.7.2:
  27232. - Allow multiple ORs with same nickname in routerlist -- now when
  27233. people give us one identity key for a nickname, then later
  27234. another, we don't constantly complain until the first expires.
  27235. - Remember used bandwidth (both in and out), and publish 15-minute
  27236. snapshots for the past day into our descriptor.
  27237. - You can now fetch $DIRURL/running-routers to get just the
  27238. running-routers line, not the whole descriptor list. (But
  27239. clients don't use this yet.)
  27240. - When people mistakenly use Tor as an http proxy, point them
  27241. at the tor-doc.html rather than the INSTALL.
  27242. - Remove our mostly unused -- and broken -- hex_encode()
  27243. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  27244. for pointing out this bug.)
  27245. - Rotate onion keys every 12 hours, not every 2 hours, so we have
  27246. fewer problems with people using the wrong key.
  27247. - Change the default exit policy to reject the default edonkey,
  27248. kazaa, gnutella ports.
  27249. - Add replace_file() to util.[ch] to handle win32's rename().
  27250. o Changes from 0.0.8preX:
  27251. - Fix two bugs in saving onion keys to disk when rotating, so
  27252. hopefully we'll get fewer people using old onion keys.
  27253. - Fix an assert error that was making SocksPolicy not work.
  27254. - Be willing to expire routers that have an open dirport -- it's
  27255. just the authoritative dirservers we want to not forget.
  27256. - Reject tor-resolve requests for .onion addresses early, so we
  27257. don't build a whole rendezvous circuit and then fail.
  27258. - When you're warning a server that he's unverified, don't cry
  27259. wolf unpredictably.
  27260. - Fix a race condition: don't try to extend onto a connection
  27261. that's still handshaking.
  27262. - For servers in clique mode, require the conn to be open before
  27263. you'll choose it for your path.
  27264. - Fix some cosmetic bugs about duplicate mark-for-close, lack of
  27265. end relay cell, etc.
  27266. - Measure bandwidth capacity over the last 24 hours, not just 12
  27267. - Bugfix: authoritative dirservers were making and signing a new
  27268. directory for each client, rather than reusing the cached one.
  27269. Changes in version 0.0.8pre2 - 2004-08-04
  27270. o Changes from 0.0.7.2:
  27271. - Security fixes:
  27272. - Check directory signature _before_ you decide whether you're
  27273. you're running an obsolete version and should exit.
  27274. - Check directory signature _before_ you parse the running-routers
  27275. list to decide who's running or verified.
  27276. - Bugfixes and features:
  27277. - Check return value of fclose while writing to disk, so we don't
  27278. end up with broken files when servers run out of disk space.
  27279. - Log a warning if the user uses an unsafe socks variant, so people
  27280. are more likely to learn about privoxy or socat.
  27281. - Dirservers now include RFC1123-style dates in the HTTP headers,
  27282. which one day we will use to better detect clock skew.
  27283. o Changes from 0.0.8pre1:
  27284. - Make it compile without warnings again on win32.
  27285. - Log a warning if you're running an unverified server, to let you
  27286. know you might want to get it verified.
  27287. - Only pick a default nickname if you plan to be a server.
  27288. Changes in version 0.0.8pre1 - 2004-07-23
  27289. o Bugfixes:
  27290. - Made our unit tests compile again on OpenBSD 3.5, and tor
  27291. itself compile again on OpenBSD on a sparc64.
  27292. - We were neglecting milliseconds when logging on win32, so
  27293. everything appeared to happen at the beginning of each second.
  27294. o Protocol changes:
  27295. - 'Extend' relay cell payloads now include the digest of the
  27296. intended next hop's identity key. Now we can verify that we're
  27297. extending to the right router, and also extend to routers we
  27298. hadn't heard of before.
  27299. o Features:
  27300. - Tor nodes can now act as relays (with an advertised ORPort)
  27301. without being manually verified by the dirserver operators.
  27302. - Uploaded descriptors of unverified routers are now accepted
  27303. by the dirservers, and included in the directory.
  27304. - Verified routers are listed by nickname in the running-routers
  27305. list; unverified routers are listed as "$<fingerprint>".
  27306. - We now use hash-of-identity-key in most places rather than
  27307. nickname or addr:port, for improved security/flexibility.
  27308. - To avoid Sybil attacks, paths still use only verified servers.
  27309. But now we have a chance to play around with hybrid approaches.
  27310. - Nodes track bandwidth usage to estimate capacity (not used yet).
  27311. - ClientOnly option for nodes that never want to become servers.
  27312. - Directory caching.
  27313. - "AuthoritativeDir 1" option for the official dirservers.
  27314. - Now other nodes (clients and servers) will cache the latest
  27315. directory they've pulled down.
  27316. - They can enable their DirPort to serve it to others.
  27317. - Clients will pull down a directory from any node with an open
  27318. DirPort, and check the signature/timestamp correctly.
  27319. - Authoritative dirservers now fetch directories from other
  27320. authdirservers, to stay better synced.
  27321. - Running-routers list tells who's down also, along with noting
  27322. if they're verified (listed by nickname) or unverified (listed
  27323. by hash-of-key).
  27324. - Allow dirservers to serve running-router list separately.
  27325. This isn't used yet.
  27326. - ORs connect-on-demand to other ORs
  27327. - If you get an extend cell to an OR you're not connected to,
  27328. connect, handshake, and forward the create cell.
  27329. - The authoritative dirservers stay connected to everybody,
  27330. and everybody stays connected to 0.0.7 servers, but otherwise
  27331. clients/servers expire unused connections after 5 minutes.
  27332. - When servers get a sigint, they delay 30 seconds (refusing new
  27333. connections) then exit. A second sigint causes immediate exit.
  27334. - File and name management:
  27335. - Look for .torrc if no CONFDIR "torrc" is found.
  27336. - If no datadir is defined, then choose, make, and secure ~/.tor
  27337. as datadir.
  27338. - If torrc not found, exitpolicy reject *:*.
  27339. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  27340. - If no nickname is defined, derive default from hostname.
  27341. - Rename secret key files, e.g. identity.key -> secret_id_key,
  27342. to discourage people from mailing their identity key to tor-ops.
  27343. - Refuse to build a circuit before the directory has arrived --
  27344. it won't work anyway, since you won't know the right onion keys
  27345. to use.
  27346. - Try other dirservers immediately if the one you try is down. This
  27347. should tolerate down dirservers better now.
  27348. - Parse tor version numbers so we can do an is-newer-than check
  27349. rather than an is-in-the-list check.
  27350. - New socks command 'resolve', to let us shim gethostbyname()
  27351. locally.
  27352. - A 'tor_resolve' script to access the socks resolve functionality.
  27353. - A new socks-extensions.txt doc file to describe our
  27354. interpretation and extensions to the socks protocols.
  27355. - Add a ContactInfo option, which gets published in descriptor.
  27356. - Publish OR uptime in descriptor (and thus in directory) too.
  27357. - Write tor version at the top of each log file
  27358. - New docs in the tarball:
  27359. - tor-doc.html.
  27360. - Document that you should proxy your SSL traffic too.
  27361. Changes in version 0.0.7.2 - 2004-07-07
  27362. o A better fix for the 0.0.0.0 problem, that will hopefully
  27363. eliminate the remaining related assertion failures.
  27364. Changes in version 0.0.7.1 - 2004-07-04
  27365. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  27366. since internally we use 0.0.0.0 to signify "not yet resolved".
  27367. Changes in version 0.0.7 - 2004-06-07
  27368. o Updated the man page to reflect the new features.
  27369. Changes in version 0.0.7rc2 - 2004-06-06
  27370. o Changes from 0.0.7rc1:
  27371. - Make it build on Win32 again.
  27372. o Changes from 0.0.6.2:
  27373. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  27374. settings too.
  27375. Changes in version 0.0.7rc1 - 2004-06-02
  27376. o Bugfixes:
  27377. - On sighup, we were adding another log without removing the first
  27378. one. So log messages would get duplicated n times for n sighups.
  27379. - Several cases of using a connection after we'd freed it. The
  27380. problem was that connections that are pending resolve are in both
  27381. the pending_resolve tree, and also the circuit's resolving_streams
  27382. list. When you want to remove one, you must remove it from both.
  27383. - Fix a double-mark-for-close where an end cell arrived for a
  27384. resolving stream, and then the resolve failed.
  27385. - Check directory signatures based on name of signer, not on whom
  27386. we got the directory from. This will let us cache directories more
  27387. easily.
  27388. o Features:
  27389. - Crank up some of our constants to handle more users.
  27390. Changes in version 0.0.7pre1 - 2004-06-02
  27391. o Fixes for crashes and other obnoxious bugs:
  27392. - Fix an epipe bug: sometimes when directory connections failed
  27393. to connect, we would give them a chance to flush before closing
  27394. them.
  27395. - When we detached from a circuit because of resolvefailed, we
  27396. would immediately try the same circuit twice more, and then
  27397. give up on the resolve thinking we'd tried three different
  27398. exit nodes.
  27399. - Limit the number of intro circuits we'll attempt to build for a
  27400. hidden service per 15-minute period.
  27401. - Check recommended-software string *early*, before actually parsing
  27402. the directory. Thus we can detect an obsolete version and exit,
  27403. even if the new directory format doesn't parse.
  27404. o Fixes for security bugs:
  27405. - Remember which nodes are dirservers when you startup, and if a
  27406. random OR enables his dirport, don't automatically assume he's
  27407. a trusted dirserver.
  27408. o Other bugfixes:
  27409. - Directory connections were asking the wrong poll socket to
  27410. start writing, and not asking themselves to start writing.
  27411. - When we detached from a circuit because we sent a begin but
  27412. didn't get a connected, we would use it again the first time;
  27413. but after that we would correctly switch to a different one.
  27414. - Stop warning when the first onion decrypt attempt fails; they
  27415. will sometimes legitimately fail now that we rotate keys.
  27416. - Override unaligned-access-ok check when $host_cpu is ia64 or
  27417. arm. Apparently they allow it but the kernel whines.
  27418. - Dirservers try to reconnect periodically too, in case connections
  27419. have failed.
  27420. - Fix some memory leaks in directory servers.
  27421. - Allow backslash in Win32 filenames.
  27422. - Made Tor build complain-free on FreeBSD, hopefully without
  27423. breaking other BSD builds. We'll see.
  27424. o Features:
  27425. - Doxygen markup on all functions and global variables.
  27426. - Make directory functions update routerlist, not replace it. So
  27427. now directory disagreements are not so critical a problem.
  27428. - Remove the upper limit on number of descriptors in a dirserver's
  27429. directory (not that we were anywhere close).
  27430. - Allow multiple logfiles at different severity ranges.
  27431. - Allow *BindAddress to specify ":port" rather than setting *Port
  27432. separately. Allow multiple instances of each BindAddress config
  27433. option, so you can bind to multiple interfaces if you want.
  27434. - Allow multiple exit policy lines, which are processed in order.
  27435. Now we don't need that huge line with all the commas in it.
  27436. - Enable accept/reject policies on SOCKS connections, so you can bind
  27437. to 0.0.0.0 but still control who can use your OP.
  27438. Changes in version 0.0.6.2 - 2004-05-16
  27439. o Our integrity-checking digest was checking only the most recent cell,
  27440. not the previous cells like we'd thought.
  27441. Thanks to Stefan Mark for finding the flaw!
  27442. Changes in version 0.0.6.1 - 2004-05-06
  27443. o Fix two bugs in our AES counter-mode implementation (this affected
  27444. onion-level stream encryption, but not TLS-level). It turns
  27445. out we were doing something much more akin to a 16-character
  27446. polyalphabetic cipher. Oops.
  27447. Thanks to Stefan Mark for finding the flaw!
  27448. o Retire moria3 as a directory server, and add tor26 as a directory
  27449. server.
  27450. Changes in version 0.0.6 - 2004-05-02
  27451. [version bump only]
  27452. Changes in version 0.0.6rc4 - 2004-05-01
  27453. o Update the built-in dirservers list to use the new directory format
  27454. o Fix a rare seg fault: if a node offering a hidden service attempts
  27455. to build a circuit to Alice's rendezvous point and fails before it
  27456. reaches the last hop, it retries with a different circuit, but
  27457. then dies.
  27458. o Handle windows socket errors correctly.
  27459. Changes in version 0.0.6rc3 - 2004-04-28
  27460. o Don't expire non-general excess circuits (if we had enough
  27461. circuits open, we were expiring rendezvous circuits -- even
  27462. when they had a stream attached. oops.)
  27463. o Fetch randomness from /dev/urandom better (not via fopen/fread)
  27464. o Better debugging for tls errors
  27465. o Some versions of openssl have an SSL_pending function that erroneously
  27466. returns bytes when there is a non-application record pending.
  27467. o Set Content-Type on the directory and hidserv descriptor.
  27468. o Remove IVs from cipher code, since AES-ctr has none.
  27469. o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  27470. o We were using an array of length zero in a few places.
  27471. o win32's gethostbyname can't resolve an IP to an IP.
  27472. o win32's close can't close a socket.
  27473. Changes in version 0.0.6rc2 - 2004-04-26
  27474. o Fix a bug where we were closing tls connections intermittently.
  27475. It turns out openssl keeps its errors around -- so if an error
  27476. happens, and you don't ask about it, and then another openssl
  27477. operation happens and succeeds, and you ask if there was an error,
  27478. it tells you about the first error. Fun fun.
  27479. o Fix a bug that's been lurking since 27 may 03 (!)
  27480. When passing back a destroy cell, we would use the wrong circ id.
  27481. 'Mostly harmless', but still worth fixing.
  27482. o Since we don't support truncateds much, don't bother sending them;
  27483. just close the circ.
  27484. o check for <machine/limits.h> so we build on NetBSD again (I hope).
  27485. o don't crash if a conn that sent a begin has suddenly lost its circuit
  27486. (this was quite rare).
  27487. Changes in version 0.0.6rc1 - 2004-04-25
  27488. o We now rotate link (tls context) keys and onion keys.
  27489. o CREATE cells now include oaep padding, so you can tell
  27490. if you decrypted them correctly.
  27491. o Add bandwidthburst to server descriptor.
  27492. o Directories now say which dirserver signed them.
  27493. o Use a tor_assert macro that logs failed assertions too.
  27494. Changes in version 0.0.6pre5 - 2004-04-18
  27495. o changes from 0.0.6pre4:
  27496. - make tor build on broken freebsd 5.2 installs
  27497. - fix a failed assert when you try an intro point, get a nack, and try
  27498. a second one and it works.
  27499. - when alice uses a port that the hidden service doesn't accept,
  27500. it now sends back an end cell (denied by exit policy). otherwise
  27501. alice would just have to wait to time out.
  27502. - fix another rare bug: when we had tried all the intro
  27503. points for a hidden service, we fetched the descriptor
  27504. again, but we left our introcirc thinking it had already
  27505. sent an intro, so it kept waiting for a response...
  27506. - bugfix: when you sleep your hidden-service laptop, as soon
  27507. as it wakes up it tries to upload a service descriptor, but
  27508. socketpair fails for some reason (localhost not up yet?).
  27509. now we simply give up on that upload, and we'll try again later.
  27510. i'd still like to find the bug though.
  27511. - if an intro circ waiting for an ack dies before getting one, then
  27512. count it as a nack
  27513. - we were reusing stale service descriptors and refetching usable
  27514. ones. oops.
  27515. Changes in version 0.0.6pre4 - 2004-04-14
  27516. o changes from 0.0.6pre3:
  27517. - when bob fails to connect to the rendezvous point, and his
  27518. circ didn't fail because of the rendezvous point itself, then
  27519. he retries a couple of times
  27520. - we expire introduction and rendezvous circs more thoroughly
  27521. (sometimes they were hanging around forever)
  27522. - we expire unattached rendezvous streams that have been around
  27523. too long (they were sticking around forever).
  27524. - fix a measly fencepost error that was crashing everybody with
  27525. a strict glibc.
  27526. Changes in version 0.0.6pre3 - 2004-04-14
  27527. o changes from 0.0.6pre2:
  27528. - make hup work again
  27529. - fix some memory leaks for dirservers
  27530. - allow more skew in rendezvous descriptor timestamps, to help
  27531. handle people like blanu who don't know what time it is
  27532. - normal circs are 3 hops, but some rend/intro circs are 4, if
  27533. the initiator doesn't get to choose the last hop
  27534. - send acks for introductions, so alice can know whether to try
  27535. again
  27536. - bob publishes intro points more correctly
  27537. o changes from 0.0.5:
  27538. - fix an assert trigger that's been plaguing us since the days
  27539. of 0.0.2prexx (thanks weasel!)
  27540. - retry stream correctly when we fail to connect because of
  27541. exit-policy-reject (should try another) or can't-resolve-address
  27542. (also should try another, because dns on random internet servers
  27543. is flaky).
  27544. - when we hup a dirserver and we've *removed* a server from the
  27545. approved-routers list, now we remove that server from the
  27546. in-memory directories too
  27547. Changes in version 0.0.6pre2 - 2004-04-08
  27548. o We fixed our base32 implementation. Now it works on all architectures.
  27549. Changes in version 0.0.6pre1 - 2004-04-08
  27550. o Features:
  27551. - Hidden services and rendezvous points are implemented. Go to
  27552. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  27553. hidden services. (This only works via a socks4a proxy such as
  27554. Privoxy, and currently it's quite slow.)
  27555. Changes in version 0.0.5 - 2004-03-30
  27556. [version bump only]
  27557. Changes in version 0.0.5rc3 - 2004-03-29
  27558. o Install torrc as torrc.sample -- we no longer clobber your
  27559. torrc. (Woo!)
  27560. o Re-enable recommendedversion checking (we broke it in rc2, oops)
  27561. o Add in a 'notice' log level for things the operator should hear
  27562. but that aren't warnings
  27563. Changes in version 0.0.5rc2 - 2004-03-29
  27564. o Hold socks connection open until reply is flushed (if possible)
  27565. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  27566. the dns farm to do it.
  27567. o Fix c99 aliasing warnings in rephist.c
  27568. o Don't include server descriptors that are older than 24 hours in the
  27569. directory.
  27570. o Give socks 'reject' replies their whole 15s to attempt to flush,
  27571. rather than seeing the 60s timeout and assuming the flush had failed.
  27572. o Clean automake droppings from the cvs repository
  27573. Changes in version 0.0.5rc1 - 2004-03-28
  27574. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  27575. o Only build circuits after we've fetched the directory: clients were
  27576. using only the directory servers before they'd fetched a directory.
  27577. This also means longer startup time; so it goes.
  27578. o Fix an assert trigger where an OP would fail to handshake, and we'd
  27579. expect it to have a nickname.
  27580. o Work around a tsocks bug: do a socks reject when AP connection dies
  27581. early, else tsocks goes into an infinite loop.
  27582. Changes in version 0.0.4 - 2004-03-26
  27583. o When connecting to a dirserver or OR and the network is down,
  27584. we would crash.
  27585. Changes in version 0.0.3 - 2004-03-26
  27586. o Warn and fail if server chose a nickname with illegal characters
  27587. o Port to Solaris and Sparc:
  27588. - include missing header fcntl.h
  27589. - have autoconf find -lsocket -lnsl automatically
  27590. - deal with hardware word alignment
  27591. - make uname() work (solaris has a different return convention)
  27592. - switch from using signal() to sigaction()
  27593. o Preliminary work on reputation system:
  27594. - Keep statistics on success/fail of connect attempts; they're published
  27595. by kill -USR1 currently.
  27596. - Add a RunTesting option to try to learn link state by creating test
  27597. circuits, even when SocksPort is off.
  27598. - Remove unused open circuits when there are too many.
  27599. Changes in version 0.0.2 - 2004-03-19
  27600. - Include strlcpy and strlcat for safer string ops
  27601. - define INADDR_NONE so we compile (but still not run) on solaris
  27602. Changes in version 0.0.2pre27 - 2004-03-14
  27603. o Bugfixes:
  27604. - Allow internal tor networks (we were rejecting internal IPs,
  27605. now we allow them if they're set explicitly).
  27606. - And fix a few endian issues.
  27607. Changes in version 0.0.2pre26 - 2004-03-14
  27608. o New features:
  27609. - If a stream times out after 15s without a connected cell, don't
  27610. try that circuit again: try a new one.
  27611. - Retry streams at most 4 times. Then give up.
  27612. - When a dirserver gets a descriptor from an unknown router, it
  27613. logs its fingerprint (so the dirserver operator can choose to
  27614. accept it even without mail from the server operator).
  27615. - Inform unapproved servers when we reject their descriptors.
  27616. - Make tor build on Windows again. It works as a client, who knows
  27617. about as a server.
  27618. - Clearer instructions in the torrc for how to set up a server.
  27619. - Be more efficient about reading fd's when our global token bucket
  27620. (used for rate limiting) becomes empty.
  27621. o Bugfixes:
  27622. - Stop asserting that computers always go forward in time. It's
  27623. simply not true.
  27624. - When we sent a cell (e.g. destroy) and then marked an OR connection
  27625. expired, we might close it before finishing a flush if the other
  27626. side isn't reading right then.
  27627. - Don't allow dirservers to start if they haven't defined
  27628. RecommendedVersions
  27629. - We were caching transient dns failures. Oops.
  27630. - Prevent servers from publishing an internal IP as their address.
  27631. - Address a strcat vulnerability in circuit.c
  27632. Changes in version 0.0.2pre25 - 2004-03-04
  27633. o New features:
  27634. - Put the OR's IP in its router descriptor, not its fqdn. That way
  27635. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  27636. e.g. poblano.
  27637. o Bugfixes:
  27638. - If the user typed in an address that didn't resolve, the server
  27639. crashed.
  27640. Changes in version 0.0.2pre24 - 2004-03-03
  27641. o Bugfixes:
  27642. - Fix an assertion failure in dns.c, where we were trying to dequeue
  27643. a pending dns resolve even if it wasn't pending
  27644. - Fix a spurious socks5 warning about still trying to write after the
  27645. connection is finished.
  27646. - Hold certain marked_for_close connections open until they're finished
  27647. flushing, rather than losing bytes by closing them too early.
  27648. - Correctly report the reason for ending a stream
  27649. - Remove some duplicate calls to connection_mark_for_close
  27650. - Put switch_id and start_daemon earlier in the boot sequence, so it
  27651. will actually try to chdir() to options.DataDirectory
  27652. - Make 'make test' exit(1) if a test fails; fix some unit tests
  27653. - Make tor fail when you use a config option it doesn't know about,
  27654. rather than warn and continue.
  27655. - Make --version work
  27656. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  27657. Changes in version 0.0.2pre23 - 2004-02-29
  27658. o New features:
  27659. - Print a statement when the first circ is finished, so the user
  27660. knows it's working.
  27661. - If a relay cell is unrecognized at the end of the circuit,
  27662. send back a destroy. (So attacks to mutate cells are more
  27663. clearly thwarted.)
  27664. - New config option 'excludenodes' to avoid certain nodes for circuits.
  27665. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  27666. so you can collect coredumps there.
  27667. o Bugfixes:
  27668. - Fix a bug in tls flushing where sometimes data got wedged and
  27669. didn't flush until more data got sent. Hopefully this bug was
  27670. a big factor in the random delays we were seeing.
  27671. - Make 'connected' cells include the resolved IP, so the client
  27672. dns cache actually gets populated.
  27673. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  27674. - When we time-out on a stream and detach from the circuit, send an
  27675. end cell down it first.
  27676. - Only warn about an unknown router (in exitnodes, entrynodes,
  27677. excludenodes) after we've fetched a directory.
  27678. Changes in version 0.0.2pre22 - 2004-02-26
  27679. o New features:
  27680. - Servers publish less revealing uname information in descriptors.
  27681. - More memory tracking and assertions, to crash more usefully when
  27682. errors happen.
  27683. - If the default torrc isn't there, just use some default defaults.
  27684. Plus provide an internal dirservers file if they don't have one.
  27685. - When the user tries to use Tor as an http proxy, give them an http
  27686. 501 failure explaining that we're a socks proxy.
  27687. - Dump a new router.desc on hup, to help confused people who change
  27688. their exit policies and then wonder why router.desc doesn't reflect
  27689. it.
  27690. - Clean up the generic tor.sh init script that we ship with.
  27691. o Bugfixes:
  27692. - If the exit stream is pending on the resolve, and a destroy arrives,
  27693. then the stream wasn't getting removed from the pending list. I
  27694. think this was the one causing recent server crashes.
  27695. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  27696. - When it couldn't resolve any dirservers, it was useless from then on.
  27697. Now it reloads the RouterFile (or default dirservers) if it has no
  27698. dirservers.
  27699. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  27700. many users don't even *have* a /usr/local/sbin/.
  27701. Changes in version 0.0.2pre21 - 2004-02-18
  27702. o New features:
  27703. - There's a ChangeLog file that actually reflects the changelog.
  27704. - There's a 'torify' wrapper script, with an accompanying
  27705. tor-tsocks.conf, that simplifies the process of using tsocks for
  27706. tor. It even has a man page.
  27707. - The tor binary gets installed to sbin rather than bin now.
  27708. - Retry streams where the connected cell hasn't arrived in 15 seconds
  27709. - Clean up exit policy handling -- get the default out of the torrc,
  27710. so we can update it without forcing each server operator to fix
  27711. his/her torrc.
  27712. - Allow imaps and pop3s in default exit policy
  27713. o Bugfixes:
  27714. - Prevent picking middleman nodes as the last node in the circuit
  27715. Changes in version 0.0.2pre20 - 2004-01-30
  27716. o New features:
  27717. - We now have a deb package, and it's in debian unstable. Go to
  27718. it, apt-getters. :)
  27719. - I've split the TotalBandwidth option into BandwidthRate (how many
  27720. bytes per second you want to allow, long-term) and
  27721. BandwidthBurst (how many bytes you will allow at once before the cap
  27722. kicks in). This better token bucket approach lets you, say, set
  27723. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  27724. performance while not exceeding your monthly bandwidth quota.
  27725. - Push out a tls record's worth of data once you've got it, rather
  27726. than waiting until you've read everything waiting to be read. This
  27727. may improve performance by pipelining better. We'll see.
  27728. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  27729. from failed circuits (if they haven't been connected yet) and attach
  27730. to new ones.
  27731. - Expire old streams that haven't managed to connect. Some day we'll
  27732. have them reattach to new circuits instead.
  27733. o Bugfixes:
  27734. - Fix several memory leaks that were causing servers to become bloated
  27735. after a while.
  27736. - Fix a few very rare assert triggers. A few more remain.
  27737. - Setuid to User _before_ complaining about running as root.
  27738. Changes in version 0.0.2pre19 - 2004-01-07
  27739. o Bugfixes:
  27740. - Fix deadlock condition in dns farm. We were telling a child to die by
  27741. closing the parent's file descriptor to him. But newer children were
  27742. inheriting the open file descriptor from the parent, and since they
  27743. weren't closing it, the socket never closed, so the child never read
  27744. eof, so he never knew to exit. Similarly, dns workers were holding
  27745. open other sockets, leading to all sorts of chaos.
  27746. - New cleaner daemon() code for forking and backgrounding.
  27747. - If you log to a file, it now prints an entry at the top of the
  27748. logfile so you know it's working.
  27749. - The onionskin challenge length was 30 bytes longer than necessary.
  27750. - Started to patch up the spec so it's not quite so out of date.
  27751. Changes in version 0.0.2pre18 - 2004-01-02
  27752. o Bugfixes:
  27753. - Fix endian issues with the 'integrity' field in the relay header.
  27754. - Fix a potential bug where connections in state
  27755. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  27756. Changes in version 0.0.2pre17 - 2003-12-30
  27757. o Bugfixes:
  27758. - Made --debuglogfile (or any second log file, actually) work.
  27759. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  27760. adversary could force us into an infinite loop.
  27761. o Features:
  27762. - Each onionskin handshake now includes a hash of the computed key,
  27763. to prove the server's identity and help perfect forward secrecy.
  27764. - Changed cell size from 256 to 512 bytes (working toward compatibility
  27765. with MorphMix).
  27766. - Changed cell length to 2 bytes, and moved it to the relay header.
  27767. - Implemented end-to-end integrity checking for the payloads of
  27768. relay cells.
  27769. - Separated streamid from 'recognized' (otherwise circuits will get
  27770. messed up when we try to have streams exit from the middle). We
  27771. use the integrity-checking to confirm that a cell is addressed to
  27772. this hop.
  27773. - Randomize the initial circid and streamid values, so an adversary who
  27774. breaks into a node can't learn how many circuits or streams have
  27775. been made so far.
  27776. Changes in version 0.0.2pre16 - 2003-12-14
  27777. o Bugfixes:
  27778. - Fixed a bug that made HUP trigger an assert
  27779. - Fixed a bug where a circuit that immediately failed wasn't being
  27780. counted as a failed circuit in counting retries.
  27781. o Features:
  27782. - Now we close the circuit when we get a truncated cell: otherwise we're
  27783. open to an anonymity attack where a bad node in the path truncates
  27784. the circuit and then we open streams at him.
  27785. - Add port ranges to exit policies
  27786. - Add a conservative default exit policy
  27787. - Warn if you're running tor as root
  27788. - on HUP, retry OR connections and close/rebind listeners
  27789. - options.EntryNodes: try these nodes first when picking the first node
  27790. - options.ExitNodes: if your best choices happen to include any of
  27791. your preferred exit nodes, you choose among just those preferred
  27792. exit nodes.
  27793. - options.ExcludedNodes: nodes that are never picked in path building
  27794. Changes in version 0.0.2pre15 - 2003-12-03
  27795. o Robustness and bugfixes:
  27796. - Sometimes clients would cache incorrect DNS resolves, which would
  27797. really screw things up.
  27798. - An OP that goes offline would slowly leak all its sockets and stop
  27799. working.
  27800. - A wide variety of bugfixes in exit node selection, exit policy
  27801. handling, and processing pending streams when a new circuit is
  27802. established.
  27803. - Pick nodes for a path only from those the directory says are up
  27804. - Choose randomly from all running dirservers, not always the first one
  27805. - Increase allowed http header size for directory fetch.
  27806. - Stop writing to stderr (if we're daemonized it will be closed).
  27807. - Enable -g always, so cores will be more useful to me.
  27808. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  27809. o Documentation:
  27810. - Wrote a man page. It lists commonly used options.
  27811. o Configuration:
  27812. - Change default loglevel to warn.
  27813. - Make PidFile default to null rather than littering in your CWD.
  27814. - OnionRouter config option is now obsolete. Instead it just checks
  27815. ORPort>0.
  27816. - Moved to a single unified torrc file for both clients and servers.
  27817. Changes in version 0.0.2pre14 - 2003-11-29
  27818. o Robustness and bugfixes:
  27819. - Force the admin to make the DataDirectory himself
  27820. - to get ownership/permissions right
  27821. - so clients no longer make a DataDirectory and then never use it
  27822. - fix bug where a client who was offline for 45 minutes would never
  27823. pull down a directory again
  27824. - fix (or at least hide really well) the dns assert bug that was
  27825. causing server crashes
  27826. - warnings and improved robustness wrt clockskew for certs
  27827. - use the native daemon(3) to daemonize, when available
  27828. - exit if bind() fails
  27829. - exit if neither socksport nor orport is defined
  27830. - include our own tor_timegm (Win32 doesn't have its own)
  27831. - bugfix for win32 with lots of connections
  27832. - fix minor bias in PRNG
  27833. - make dirserver more robust to corrupt cached directory
  27834. o Documentation:
  27835. - Wrote the design document (woo)
  27836. o Circuit building and exit policies:
  27837. - Circuits no longer try to use nodes that the directory has told them
  27838. are down.
  27839. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  27840. bitcounts (18.0.0.0/8).
  27841. - Make AP connections standby for a circuit if no suitable circuit
  27842. exists, rather than failing
  27843. - Circuits choose exit node based on addr/port, exit policies, and
  27844. which AP connections are standing by
  27845. - Bump min pathlen from 2 to 3
  27846. - Relay end cells have a payload to describe why the stream ended.
  27847. - If the stream failed because of exit policy, try again with a new
  27848. circuit.
  27849. - Clients have a dns cache to remember resolved addresses.
  27850. - Notice more quickly when we have no working circuits
  27851. o Configuration:
  27852. - APPort is now called SocksPort
  27853. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  27854. where to bind
  27855. - RecommendedVersions is now a config variable rather than
  27856. hardcoded (for dirservers)
  27857. - Reloads config on HUP
  27858. - Usage info on -h or --help
  27859. - If you set User and Group config vars, it'll setu/gid to them.
  27860. Changes in version 0.0.2pre13 - 2003-10-19
  27861. o General stability:
  27862. - SSL_write no longer fails when it returns WANTWRITE and the number
  27863. of bytes in the buf has changed by the next SSL_write call.
  27864. - Fix segfault fetching directory when network is down
  27865. - Fix a variety of minor memory leaks
  27866. - Dirservers reload the fingerprints file on HUP, so I don't have
  27867. to take down the network when I approve a new router
  27868. - Default server config file has explicit Address line to specify fqdn
  27869. o Buffers:
  27870. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  27871. - Make listener connections not ever alloc bufs
  27872. o Autoconf improvements:
  27873. - don't clobber an external CFLAGS in ./configure
  27874. - Make install now works
  27875. - create var/lib/tor on make install
  27876. - autocreate a tor.sh initscript to help distribs
  27877. - autocreate the torrc and sample-server-torrc with correct paths
  27878. o Log files and Daemonizing now work:
  27879. - If --DebugLogFile is specified, log to it at -l debug
  27880. - If --LogFile is specified, use it instead of commandline
  27881. - If --RunAsDaemon is set, tor forks and backgrounds on startup