ChangeLog 695 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454
  1. Changes in version 0.2.3.18-rc - 2012-06-28
  2. o Major bugfixes:
  3. - Make our linker option detection code more robust against linkers
  4. such as on FreeBSD 8, where a bad combination of options completes
  5. successfully but makes an unrunnable binary. Fixes bug 6173;
  6. bugfix on 0.2.3.17-beta.
  7. o Minor bugfixes (on 0.2.2.x and earlier):
  8. - Avoid a false positive in the util/threads unit test by increasing
  9. the maximum timeout time. Fixes bug 6227; bugfix on 0.2.0.4-alpha.
  10. - Replace "Sending publish request" log messages with "Launching
  11. upload", so that they no longer confusingly imply that we're
  12. sending somtheing to a directory we might not even be connected
  13. to yet. Fixes bug 3311; bugfix on 0.2.0.10-alpha.
  14. - When checking for requested signatures on the latest consensus
  15. before serving it to a client, make sure to check the right
  16. consensus flavor. Bugfix on 0.2.2.6-alpha.
  17. - Downgrade "eventdns rejected address" message to LOG_PROTOCOL_WARN.
  18. Fixes bug 5932; bugfix on 0.2.2.7-alpha.
  19. o Minor bugfixes (on 0.2.3.x):
  20. - Downgrade a message about cleaning the microdescriptor cache to
  21. "info" from "notice". Fixes bug 6238; bugfix on 0.2.3.1-alpha.
  22. - Improve log message issued when a managed proxy fails to
  23. launch. Fixes bug 5099; bugfix on 0.2.3.6-alpha.
  24. - Don't do DNS lookups when parsing corrupted managed proxy protocol
  25. messages. Fixes bug 6226; bugfix on 0.2.3.6-alpha.
  26. - Avoid a warning caused by using strcspn() from glibc with clang 3.0.
  27. Bugfix on 0.2.3.13-alpha.
  28. - Make format_helper_exit_status() avoid unnecessary space padding and
  29. stop confusing log_from_pipe(). Fixes ticket 5557.
  30. - Make sure to set *socket_error in all error cases in
  31. connection_connect(), so it can't produce a warning about errno
  32. being zero from errno_to_orconn_end_reason(). Resolves ticket 6028.
  33. - Remove non-bug log messages about running with circuit timeout
  34. learning enabled from LD_BUG. Fixes bug 6169; bugfix on
  35. 0.2.3.17-beta.
  36. - Disable a spurious warning about reading on a marked and flushing
  37. connection. We shouldn't be doing that, but apparently we
  38. sometimes do. Fixes bug 6203; bugfix on 0.2.3.17-beta.
  39. - Fix a bug that stopped AllowDotExit from working on addresses
  40. that had an entry in the DNS cache. Fixes bug 6211; bugfix on
  41. 0.2.3.17-beta.
  42. - Log a BUG message at INFO if we have a networkstatus with a missing
  43. entry for some microdescriptor.
  44. o Code simplification, refactoring, unit tests:
  45. - Move tor_gettimeofday_cached() into compat_libevent.c, and use
  46. Libevent's notion of cached time when possible.
  47. - Remove duplicate code for invoking getrlimit() from control.c.
  48. - Add a unit test for the environment_variable_names_equal function.
  49. o Documentation:
  50. - Document the --defaults-torrc option, and the new (in 0.2.3)
  51. semantics for overriding, extending, and clearing lists of
  52. options. Closes bug 4748.
  53. Changes in version 0.2.3.17-beta - 2012-06-15
  54. Tor 0.2.3.17-beta enables compiler and linker hardening by default,
  55. gets our TLS handshake back on track for being able to blend in with
  56. Firefox, fixes a big bug in 0.2.3.16-alpha that broke Tor's interaction
  57. with Vidalia, and otherwise continues to get us closer to a release
  58. candidate.
  59. o Major features:
  60. - Enable gcc and ld hardening by default. Resolves ticket 5210.
  61. - Update TLS cipher list to match Firefox 8 and later. Resolves
  62. ticket 4744.
  63. - Implement the client side of proposal 198: remove support for
  64. clients falsely claiming to support standard ciphersuites that
  65. they can actually provide. As of modern OpenSSL versions, it's not
  66. necessary to fake any standard ciphersuite, and doing so prevents
  67. us from using better ciphersuites in the future, since servers
  68. can't know whether an advertised ciphersuite is really supported or
  69. not. Some hosts -- notably, ones with very old versions of OpenSSL
  70. or where OpenSSL has been built with ECC disabled -- will stand
  71. out because of this change; TBB users should not be affected.
  72. o Major bugfixes:
  73. - Change the default value for DynamicDHGroups (introduced in
  74. 0.2.3.9-alpha) to 0. This feature can make Tor relays less
  75. identifiable by their use of the mod_ssl DH group, but at
  76. the cost of some usability (#4721) and bridge tracing (#6087)
  77. regressions. Resolves ticket 5598.
  78. - Send a CRLF at the end of each STATUS_* control protocol event. This
  79. bug tickled a bug in Vidalia which would make it freeze. Fixes
  80. bug 6094; bugfix on 0.2.3.16-alpha.
  81. o Minor bugfixes:
  82. - Disable writing on marked-for-close connections when they are
  83. blocked on bandwidth, to prevent busy-looping in Libevent. Fixes
  84. bug 5263; bugfix on 0.0.2pre13, where we first added a special
  85. case for flushing marked connections.
  86. - Detect SSL handshake even when the initial attempt to write the
  87. server hello fails. Fixes bug 4592; bugfix on 0.2.0.13-alpha.
  88. - Change the AllowDotExit rules so they should actually work.
  89. We now enforce AllowDotExit only immediately after receiving an
  90. address via SOCKS or DNSPort: other sources are free to provide
  91. .exit addresses after the resolution occurs. Fixes bug 3940;
  92. bugfix on 0.2.2.1-alpha.
  93. - Fix a (harmless) integer overflow in cell statistics reported by
  94. some fast relays. Fixes bug 5849; bugfix on 0.2.2.1-alpha.
  95. - Make sure circuitbuild.c checks LearnCircuitBuildTimeout in all the
  96. right places and never depends on the consensus parameters or
  97. computes adaptive timeouts when it is disabled. Fixes bug 5049;
  98. bugfix on 0.2.2.14-alpha.
  99. - When building Tor on Windows with -DUNICODE (not default), ensure
  100. that error messages, filenames, and DNS server names are always
  101. NUL-terminated when we convert them to a single-byte encoding.
  102. Fixes bug 5909; bugfix on 0.2.2.16-alpha.
  103. - Make Tor build correctly again with -DUNICODE -D_UNICODE defined.
  104. Fixes bug 6097; bugfix on 0.2.2.16-alpha.
  105. - Fix an edge case where TestingTorNetwork is set but the authorities
  106. and relays all have an uptime of zero, where the private Tor network
  107. could briefly lack support for hidden services. Fixes bug 3886;
  108. bugfix on 0.2.2.18-alpha.
  109. - Correct the manpage's descriptions for the default values of
  110. DirReqStatistics and ExtraInfoStatistics. Fixes bug 2865; bugfix
  111. on 0.2.3.1-alpha.
  112. - Fix the documentation for the --hush and --quiet command line
  113. options, which changed their behavior back in 0.2.3.3-alpha.
  114. - Fix compilation warning with clang 3.1. Fixes bug 6141; bugfix on
  115. 0.2.3.11-alpha.
  116. o Minor features:
  117. - Rate-limit the "Weighted bandwidth is 0.000000" message, and add
  118. more information to it, so that we can track it down in case it
  119. returns again. Mitigates bug 5235.
  120. - Check CircuitBuildTimeout and LearnCircuitBuildTimeout in
  121. options_validate(); warn if LearnCircuitBuildTimeout is disabled and
  122. CircuitBuildTimeout is set unreasonably low. Resolves ticket 5452.
  123. - Warn the user when HTTPProxy, but no other proxy type, is
  124. configured. This can cause surprising behavior: it doesn't send
  125. all of Tor's traffic over the HTTPProxy -- it sends unencrypted
  126. directory traffic only. Resolves ticket 4663.
  127. - Issue a notice if a guard completes less than 40% of your circuits.
  128. Threshold is configurable by torrc option PathBiasNoticeRate and
  129. consensus parameter pb_noticepct. There is additional, off-by-
  130. default code to disable guards which fail too many circuits.
  131. Addresses ticket 5458.
  132. - Update to the June 6 2012 Maxmind GeoLite Country database.
  133. o Code simplifications and refactoring:
  134. - Remove validate_pluggable_transports_config(): its warning
  135. message is now handled by connection_or_connect().
  136. Changes in version 0.2.2.37 - 2012-06-06
  137. Tor 0.2.2.37 introduces a workaround for a critical renegotiation
  138. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  139. currently).
  140. o Major bugfixes:
  141. - Work around a bug in OpenSSL that broke renegotiation with TLS
  142. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  143. the v2 Tor connection protocol when both sides were using OpenSSL
  144. 1.0.1 would fail. Resolves ticket 6033.
  145. - When waiting for a client to renegotiate, don't allow it to add
  146. any bytes to the input buffer. This fixes a potential DoS issue.
  147. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  148. - Fix an edge case where if we fetch or publish a hidden service
  149. descriptor, we might build a 4-hop circuit and then use that circuit
  150. for exiting afterwards -- even if the new last hop doesn't obey our
  151. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  152. o Minor bugfixes:
  153. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  154. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  155. o Minor features:
  156. - Tell GCC and Clang to check for any errors in format strings passed
  157. to the tor_v*(print|scan)f functions.
  158. Changes in version 0.2.3.16-alpha - 2012-06-05
  159. Tor 0.2.3.16-alpha introduces a workaround for a critical renegotiation
  160. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  161. currently). It also fixes a variety of smaller bugs and other cleanups
  162. that get us closer to a release candidate.
  163. o Major bugfixes (general):
  164. - Work around a bug in OpenSSL that broke renegotiation with TLS
  165. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  166. the v2 Tor connection protocol when both sides were using OpenSSL
  167. 1.0.1 would fail. Resolves ticket 6033.
  168. - When waiting for a client to renegotiate, don't allow it to add
  169. any bytes to the input buffer. This fixes a potential DoS issue.
  170. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  171. - Pass correct OR address to managed proxies (like obfsproxy),
  172. even when ORListenAddress is used. Fixes bug 4865; bugfix on
  173. 0.2.3.9-alpha.
  174. - The advertised platform of a router now includes only its operating
  175. system's name (e.g., "Linux", "Darwin", "Windows 7"), and not its
  176. service pack level (for Windows) or its CPU architecture (for Unix).
  177. We also no longer include the "git-XYZ" tag in the version. Resolves
  178. part of bug 2988.
  179. o Major bugfixes (clients):
  180. - If we are unable to find any exit that supports our predicted ports,
  181. stop calling them predicted, so that we don't loop and build
  182. hopeless circuits indefinitely. Fixes bug 3296; bugfix on 0.0.9pre6,
  183. which introduced predicted ports.
  184. - Fix an edge case where if we fetch or publish a hidden service
  185. descriptor, we might build a 4-hop circuit and then use that circuit
  186. for exiting afterwards -- even if the new last hop doesn't obey our
  187. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  188. - Check at each new consensus whether our entry guards were picked
  189. long enough ago that we should rotate them. Previously, we only
  190. did this check at startup, which could lead to us holding a guard
  191. indefinitely. Fixes bug 5380; bugfix on 0.2.1.14-rc.
  192. - When fetching a bridge descriptor from a bridge authority,
  193. always do so anonymously, whether we have been able to open
  194. circuits or not. Partial fix for bug 1938; bugfix on 2.0.7-alpha.
  195. This behavior makes it *safer* to use UpdateBridgesFromAuthority,
  196. but we'll need to wait for bug 6010 before it's actually usable.
  197. o Major bugfixes (directory authorities):
  198. - When computing weight parameters, behave more robustly in the
  199. presence of a bad bwweightscale value. Previously, the authorities
  200. would crash if they agreed on a sufficiently broken weight_scale
  201. value: now, they use a reasonable default and carry on. Partial
  202. fix for 5786; bugfix on 0.2.2.17-alpha.
  203. - Check more thoroughly to prevent a rogue authority from
  204. double-voting on any consensus directory parameter. Previously,
  205. authorities would crash in this case if the total number of
  206. votes for any parameter exceeded the number of active voters,
  207. but would let it pass otherwise. Partial fix for bug 5786; bugfix
  208. on 0.2.2.2-alpha.
  209. o Minor features:
  210. - Rate-limit log messages when asked to connect anonymously to
  211. a private address. When these hit, they tended to hit fast and
  212. often. Also, don't bother trying to connect to addresses that we
  213. are sure will resolve to 127.0.0.1: getting 127.0.0.1 in a directory
  214. reply makes us think we have been lied to, even when the address the
  215. client tried to connect to was "localhost." Resolves ticket 2822.
  216. - Allow packagers to insert an extra string in server descriptor
  217. platform lines by setting the preprocessor variable TOR_BUILD_TAG.
  218. Resolves the rest of ticket 2988.
  219. - Raise the threshold of server descriptors needed (75%) and exit
  220. server descriptors needed (50%) before we will declare ourselves
  221. bootstrapped. This will make clients start building circuits a
  222. little later, but makes the initially constructed circuits less
  223. skewed and less in conflict with further directory fetches. Fixes
  224. ticket 3196.
  225. - Close any connection that sends unrecognized junk before the
  226. handshake. Solves an issue noted in bug 4369.
  227. - Improve log messages about managed transports. Resolves ticket 5070.
  228. - Tag a bridge's descriptor as "never to be sent unencrypted".
  229. This shouldn't matter, since bridges don't open non-anonymous
  230. connections to the bridge authority and don't allow unencrypted
  231. directory connections from clients, but we might as well make
  232. sure. Closes bug 5139.
  233. - Expose our view of whether we have gone dormant to the controller,
  234. via a new "GETINFO dormant" value. Torbutton and other controllers
  235. can use this to avoid doing periodic requests through Tor while
  236. it's dormant (bug 4718). Fixes bug 5954.
  237. - Tell GCC and Clang to check for any errors in format strings passed
  238. to the tor_v*(print|scan)f functions.
  239. - Update to the May 1 2012 Maxmind GeoLite Country database.
  240. o Minor bugfixes (already included in 0.2.2.36):
  241. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  242. Fixes bug 5346; bugfix on 0.0.8pre3.
  243. - Correct parsing of certain date types in parse_http_time().
  244. Without this patch, If-Modified-Since would behave
  245. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  246. Esteban Manchado Velázques.
  247. - Make our number-parsing functions always treat too-large values
  248. as an error, even when those values exceed the width of the
  249. underlying type. Previously, if the caller provided these
  250. functions with minima or maxima set to the extreme values of the
  251. underlying integer type, these functions would return those
  252. values on overflow rather than treating overflow as an error.
  253. Fixes part of bug 5786; bugfix on 0.0.9.
  254. - If we hit the error case where routerlist_insert() replaces an
  255. existing (old) server descriptor, make sure to remove that
  256. server descriptor from the old_routers list. Fix related to bug
  257. 1776. Bugfix on 0.2.2.18-alpha.
  258. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  259. circuits. Fixes issue 5259.
  260. o Minor bugfixes (coding cleanup, on 0.2.2.x and earlier):
  261. - Prevent a null-pointer dereference when receiving a data cell
  262. for a nonexistent stream when the circuit in question has an
  263. empty deliver window. We don't believe this is triggerable,
  264. since we don't currently allow deliver windows to become empty,
  265. but the logic is tricky enough that it's better to make the code
  266. robust. Fixes bug 5541; bugfix on 0.0.2pre14.
  267. - Fix a memory leak when trying to launch a DNS request when the
  268. network is disabled or the nameservers are unconfigurable. Fixes
  269. bug 5916; bugfix on Tor 0.1.2.1-alpha (for the unconfigurable
  270. nameserver case) and on 0.2.3.9-alpha (for the DisableNetwork case).
  271. - Don't hold a Windows file handle open for every file mapping;
  272. the file mapping handle is sufficient. Fixes bug 5951; bugfix on
  273. 0.1.2.1-alpha.
  274. - Avoid O(n^2) performance characteristics when parsing a large
  275. extrainfo cache. Fixes bug 5828; bugfix on 0.2.0.1-alpha.
  276. - Format more doubles with %f, not %lf. Patch from grarpamp to make
  277. Tor build correctly on older BSDs again. Fixes bug 3894; bugfix on
  278. Tor 0.2.0.8-alpha.
  279. - Make our replacement implementation of strtok_r() compatible with
  280. the standard behavior of strtok_r(). Patch by nils. Fixes bug 5091;
  281. bugfix on 0.2.2.1-alpha.
  282. - Fix a NULL-pointer dereference on a badly formed
  283. SETCIRCUITPURPOSE command. Found by mikeyc. Fixes bug 5796;
  284. bugfix on 0.2.2.9-alpha.
  285. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  286. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  287. - Defensively refactor rend_mid_rendezvous() so that protocol
  288. violations and length checks happen in the beginning. Fixes
  289. bug 5645.
  290. - Set _WIN32_WINNT to 0x0501 consistently throughout the code, so
  291. that IPv6 stuff will compile on MSVC, and compilation issues
  292. will be easier to track down. Fixes bug 5861.
  293. o Minor bugfixes (correctness, on 0.2.2.x and earlier):
  294. - Exit nodes now correctly report EADDRINUSE and EADDRNOTAVAIL as
  295. resource exhaustion, so that clients can adjust their load to
  296. try other exits. Fixes bug 4710; bugfix on 0.1.0.1-rc, which
  297. started using END_STREAM_REASON_RESOURCELIMIT.
  298. - Don't check for whether the address we're using for outbound
  299. connections has changed until after the outbound connection has
  300. completed. On Windows, getsockname() doesn't succeed until the
  301. connection is finished. Fixes bug 5374; bugfix on 0.1.1.14-alpha.
  302. - If the configuration tries to set MyFamily on a bridge, refuse to
  303. do so, and warn about the security implications. Fixes bug 4657;
  304. bugfix on 0.2.0.3-alpha.
  305. - If the client fails to set a reasonable set of ciphersuites
  306. during its v2 handshake renegotiation, allow the renegotiation to
  307. continue nevertheless (i.e. send all the required certificates).
  308. Fixes bug 4591; bugfix on 0.2.0.20-rc.
  309. - When we receive a SIGHUP and the controller __ReloadTorrcOnSIGHUP
  310. option is set to 0 (which Vidalia version 0.2.16 now does when
  311. a SAVECONF attempt fails), perform other actions that SIGHUP
  312. usually causes (like reopening the logs). Fixes bug 5095; bugfix
  313. on 0.2.1.9-alpha.
  314. - If we fail to write a microdescriptor to the disk cache, do not
  315. continue replacing the old microdescriptor file. Fixes bug 2954;
  316. bugfix on 0.2.2.6-alpha.
  317. - Exit nodes don't need to fetch certificates for authorities that
  318. they don't recognize; only directory authorities, bridges,
  319. and caches need to do that. Fixes part of bug 2297; bugfix on
  320. 0.2.2.11-alpha.
  321. - Correctly handle checking the permissions on the parent
  322. directory of a control socket in the root directory. Bug found
  323. by Esteban Manchado Velázquez. Fixes bug 5089; bugfix on Tor
  324. 0.2.2.26-beta.
  325. - When told to add a bridge with the same digest as a preexisting
  326. bridge but a different addr:port, change the addr:port as
  327. requested. Previously we would not notice the change. Fixes half
  328. of bug 5603; fix on 0.2.2.26-beta.
  329. - End AUTHCHALLENGE error messages (in the control protocol) with
  330. a CRLF. Fixes bug 5760; bugfix on 0.2.2.36 and 0.2.3.13-alpha.
  331. o Minor bugfixes (on 0.2.3.x):
  332. - Turn an assertion (that the number of handshakes received as a
  333. server is not < 1) into a warning. Fixes bug 4873; bugfix on
  334. 0.2.3.1-alpha.
  335. - Format IPv4 addresses correctly in ADDRMAP events. (Previously,
  336. we had reversed them when the answer was cached.) Fixes bug
  337. 5723; bugfix on 0.2.3.1-alpha.
  338. - Work correctly on Linux systems with accept4 support advertised in
  339. their headers, but without accept4 support in the kernel. Fix
  340. by murb. Fixes bug 5762; bugfix on 0.2.3.1-alpha.
  341. - When told to add a bridge with the same addr:port as a preexisting
  342. bridge but a different transport, change the transport as
  343. requested. Previously we would not notice the change. Fixes half
  344. of bug 5603; fix on 0.2.3.2-alpha.
  345. - Avoid a "double-reply" warning when replying to a SOCKS request
  346. with a parse error. Patch from Fabian Keil. Fixes bug 4108;
  347. bugfix on 0.2.3.4-alpha.
  348. - Fix a bug where a bridge authority crashes if it has seen no
  349. directory requests when it's time to write statistics to disk.
  350. Fixes bug 5891; bugfix on 0.2.3.6-alpha. Also fixes bug 5508 in
  351. a better way.
  352. - Don't try to open non-control listeners when DisableNetwork is set.
  353. Previously, we'd open all listeners, then immediately close them.
  354. Fixes bug 5604; bugfix on 0.2.3.9-alpha.
  355. - Don't abort the managed proxy protocol if the managed proxy
  356. sends us an unrecognized line; ignore it instead. Fixes bug
  357. 5910; bugfix on 0.2.3.9-alpha.
  358. - Fix a compile warning in crypto.c when compiling with clang 3.1.
  359. Fixes bug 5969, bugfix on 0.2.3.9-alpha.
  360. - Fix a compilation issue on GNU Hurd, which doesn't have PATH_MAX.
  361. Fixes bug 5355; bugfix on 0.2.3.11-alpha.
  362. - Remove bogus definition of "_WIN32" from src/win32/orconfig.h, to
  363. unbreak the MSVC build. Fixes bug 5858; bugfix on 0.2.3.12-alpha.
  364. - Resolve numerous small warnings and build issues with MSVC. Resolves
  365. bug 5859.
  366. o Documentation fixes:
  367. - Improve the manual's documentation for the NT Service command-line
  368. options. Addresses ticket 3964.
  369. - Clarify SessionGroup documentation slightly; resolves ticket 5437.
  370. - Document the changes to the ORPort and DirPort options, and the
  371. fact that {OR/Dir}ListenAddress is now unnecessary (and
  372. therefore deprecated). Resolves ticket 5597.
  373. o Removed files:
  374. - Remove the torrc.bridge file: we don't use it for anything, and
  375. it had become badly desynchronized from torrc.sample. Resolves
  376. bug 5622.
  377. Changes in version 0.2.2.36 - 2012-05-24
  378. Tor 0.2.2.36 updates the addresses for two of the eight directory
  379. authorities, fixes some potential anonymity and security issues,
  380. and fixes several crash bugs.
  381. Tor 0.2.1.x has reached its end-of-life. Those Tor versions have many
  382. known flaws, and nobody should be using them. You should upgrade. If
  383. you're using a Linux or BSD and its packages are obsolete, stop using
  384. those packages and upgrade anyway.
  385. o Directory authority changes:
  386. - Change IP address for maatuska (v3 directory authority).
  387. - Change IP address for ides (v3 directory authority), and rename
  388. it to turtles.
  389. o Security fixes:
  390. - When building or running with any version of OpenSSL earlier
  391. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  392. versions have a bug (CVE-2011-4576) in which their block cipher
  393. padding includes uninitialized data, potentially leaking sensitive
  394. information to any peer with whom they make a SSLv3 connection. Tor
  395. does not use SSL v3 by default, but a hostile client or server
  396. could force an SSLv3 connection in order to gain information that
  397. they shouldn't have been able to get. The best solution here is to
  398. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  399. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  400. to make sure that the bug can't happen.
  401. - Never use a bridge or a controller-supplied node as an exit, even
  402. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  403. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  404. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  405. - Only build circuits if we have a sufficient threshold of the total
  406. descriptors that are marked in the consensus with the "Exit"
  407. flag. This mitigates an attack proposed by wanoskarnet, in which
  408. all of a client's bridges collude to restrict the exit nodes that
  409. the client knows about. Fixes bug 5343.
  410. - Provide controllers with a safer way to implement the cookie
  411. authentication mechanism. With the old method, if another locally
  412. running program could convince a controller that it was the Tor
  413. process, then that program could trick the controller into telling
  414. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  415. authentication method uses a challenge-response approach to prevent
  416. this attack. Fixes bug 5185; implements proposal 193.
  417. o Major bugfixes:
  418. - Avoid logging uninitialized data when unable to decode a hidden
  419. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  420. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  421. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  422. 0.2.1.6-alpha.
  423. - Fix builds when the path to sed, openssl, or sha1sum contains
  424. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  425. on 0.2.2.1-alpha.
  426. - Correct our replacements for the timeradd() and timersub() functions
  427. on platforms that lack them (for example, Windows). The timersub()
  428. function is used when expiring circuits, while timeradd() is
  429. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  430. bugfix on 0.2.2.24-alpha.
  431. - Fix the SOCKET_OK test that we use to tell when socket
  432. creation fails so that it works on Win64. Fixes part of bug 4533;
  433. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  434. o Minor bugfixes:
  435. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  436. Fixes bug 5346; bugfix on 0.0.8pre3.
  437. - Make our number-parsing functions always treat too-large values
  438. as an error, even when those values exceed the width of the
  439. underlying type. Previously, if the caller provided these
  440. functions with minima or maxima set to the extreme values of the
  441. underlying integer type, these functions would return those
  442. values on overflow rather than treating overflow as an error.
  443. Fixes part of bug 5786; bugfix on 0.0.9.
  444. - Older Linux kernels erroneously respond to strange nmap behavior
  445. by having accept() return successfully with a zero-length
  446. socket. When this happens, just close the connection. Previously,
  447. we would try harder to learn the remote address: but there was
  448. no such remote address to learn, and our method for trying to
  449. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  450. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  451. - Correct parsing of certain date types in parse_http_time().
  452. Without this patch, If-Modified-Since would behave
  453. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  454. Esteban Manchado Velázques.
  455. - Change the BridgePassword feature (part of the "bridge community"
  456. design, which is not yet implemented) to use a time-independent
  457. comparison. The old behavior might have allowed an adversary
  458. to use timing to guess the BridgePassword value. Fixes bug 5543;
  459. bugfix on 0.2.0.14-alpha.
  460. - Detect and reject certain misformed escape sequences in
  461. configuration values. Previously, these values would cause us
  462. to crash if received in a torrc file or over an authenticated
  463. control port. Bug found by Esteban Manchado Velázquez, and
  464. independently by Robert Connolly from Matta Consulting who further
  465. noted that it allows a post-authentication heap overflow. Patch
  466. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  467. bugfix on 0.2.0.16-alpha.
  468. - Fix a compile warning when using the --enable-openbsd-malloc
  469. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  470. - During configure, detect when we're building with clang version
  471. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  472. CFLAGS. clang doesn't support them yet.
  473. - When sending an HTTP/1.1 proxy request, include a Host header.
  474. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  475. - Fix a NULL-pointer dereference on a badly formed SETCIRCUITPURPOSE
  476. command. Found by mikeyc. Fixes bug 5796; bugfix on 0.2.2.9-alpha.
  477. - If we hit the error case where routerlist_insert() replaces an
  478. existing (old) server descriptor, make sure to remove that
  479. server descriptor from the old_routers list. Fix related to bug
  480. 1776. Bugfix on 0.2.2.18-alpha.
  481. o Minor bugfixes (documentation and log messages):
  482. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  483. Fixes bug 4856; bugfix on Tor 0.0.6.
  484. - Update "ClientOnly" man page entry to explain that there isn't
  485. really any point to messing with it. Resolves ticket 5005.
  486. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  487. directory authority option (introduced in Tor 0.2.2.34).
  488. - Downgrade the "We're missing a certificate" message from notice
  489. to info: people kept mistaking it for a real problem, whereas it
  490. is seldom the problem even when we are failing to bootstrap. Fixes
  491. bug 5067; bugfix on 0.2.0.10-alpha.
  492. - Correctly spell "connect" in a log message on failure to create a
  493. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta.
  494. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  495. circuits. Fixes issue 5259.
  496. o Minor features:
  497. - Directory authorities now reject versions of Tor older than
  498. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  499. inclusive. These versions accounted for only a small fraction of
  500. the Tor network, and have numerous known security issues. Resolves
  501. issue 4788.
  502. - Update to the May 1 2012 Maxmind GeoLite Country database.
  503. - Feature removal:
  504. - When sending or relaying a RELAY_EARLY cell, we used to convert
  505. it to a RELAY cell if the connection was using the v1 link
  506. protocol. This was a workaround for older versions of Tor, which
  507. didn't handle RELAY_EARLY cells properly. Now that all supported
  508. versions can handle RELAY_EARLY cells, and now that we're enforcing
  509. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  510. remove this workaround. Addresses bug 4786.
  511. Changes in version 0.2.3.15-alpha - 2012-04-30
  512. Tor 0.2.3.15-alpha fixes a variety of smaller bugs, including making
  513. the development branch build on Windows again.
  514. o Minor bugfixes (on 0.2.2.x and earlier):
  515. - Make sure that there are no unhandled pending TLS errors before
  516. reading from a TLS stream. We had checks in 0.1.0.3-rc, but
  517. lost them in 0.1.0.5-rc when we refactored read_to_buf_tls().
  518. Bugfix on 0.1.0.5-rc; fixes bug 4528.
  519. - Fix an assert that directory authorities could trigger on sighup
  520. during some configuration state transitions. We now don't treat
  521. it as a fatal error when the new descriptor we just generated in
  522. init_keys() isn't accepted. Fixes bug 4438; bugfix on 0.2.1.9-alpha.
  523. - After we pick a directory mirror, we would refuse to use it if
  524. it's in our ExcludeExitNodes list, resulting in mysterious failures
  525. to bootstrap for people who just wanted to avoid exiting from
  526. certain locations. Fixes bug 5623; bugfix on 0.2.2.25-alpha.
  527. - When building with --enable-static-tor on OpenBSD, do not
  528. erroneously attempt to link -lrt. Fixes bug 5103.
  529. o Minor bugfixes (on 0.2.3.x):
  530. - When Tor is built with kernel headers from a recent (last few
  531. years) Linux kernel, do not fail to run on older (pre-2.6.28
  532. Linux kernels). Fixes bug 5112; bugfix on 0.2.3.1-alpha.
  533. - Fix cross-compilation issues with mingw. Bugfixes on 0.2.3.6-alpha
  534. and 0.2.3.12-alpha.
  535. - Fix compilation with miniupnpc version 1.6; patch from
  536. Anthony G. Basile. Fixes bug 5434; bugfix on 0.2.3.12-alpha.
  537. - Fix compilation with MSVC, which had defined MS_WINDOWS. Bugfix
  538. on 0.2.3.13-alpha; found and fixed by Gisle Vanem.
  539. - Fix compilation on platforms without unistd.h, or where environ
  540. is defined in stdlib.h. Fixes bug 5704; bugfix on 0.2.3.13-alpha.
  541. o Minor features:
  542. - Directory authorities are now a little more lenient at accepting
  543. older router descriptors, or newer router descriptors that don't
  544. make big changes. This should help ameliorate past and future
  545. issues where routers think they have uploaded valid descriptors,
  546. but the authorities don't think so. Fix for ticket 2479.
  547. - Make the code that clients use to detect an address change be
  548. IPv6-aware, so that it won't fill clients' logs with error
  549. messages when trying to get the IPv4 address of an IPv6
  550. connection. Implements ticket 5537.
  551. o Removed features:
  552. - Remove the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays option;
  553. authorities needed to use it for a while to keep the network working
  554. as people upgraded to 0.2.1.31, 0.2.2.34, or 0.2.3.6-alpha, but
  555. that was six months ago. As of now, it should no longer be needed
  556. or used.
  557. Changes in version 0.2.3.14-alpha - 2012-04-23
  558. Tor 0.2.3.14-alpha fixes yet more bugs to get us closer to a release
  559. candidate. It also dramatically speeds up AES: fast relays should
  560. consider switching to the newer OpenSSL library.
  561. o Directory authority changes:
  562. - Change IP address for ides (v3 directory authority), and rename
  563. it to turtles.
  564. o Major bugfixes:
  565. - Avoid logging uninitialized data when unable to decode a hidden
  566. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  567. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  568. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  569. 0.2.1.6-alpha.
  570. - If authorities are unable to get a v2 consensus document from other
  571. directory authorities, they no longer fall back to fetching
  572. them from regular directory caches. Fixes bug 5635; bugfix on
  573. 0.2.2.26-beta, where routers stopped downloading v2 consensus
  574. documents entirely.
  575. - When we start a Tor client with a normal consensus already cached,
  576. be willing to download a microdescriptor consensus. Fixes bug 4011;
  577. fix on 0.2.3.1-alpha.
  578. o Major features (performance):
  579. - When built to use OpenSSL 1.0.1, and built for an x86 or x86_64
  580. instruction set, take advantage of OpenSSL's AESNI, bitsliced, or
  581. vectorized AES implementations as appropriate. These can be much,
  582. much faster than other AES implementations.
  583. o Minor bugfixes (0.2.2.x and earlier):
  584. - Don't launch more than 10 service-side introduction-point circuits
  585. for a hidden service in five minutes. Previously, we would consider
  586. launching more introduction-point circuits if at least one second
  587. had passed without any introduction-point circuits failing. Fixes
  588. bug 4607; bugfix on 0.0.7pre1.
  589. - Change the BridgePassword feature (part of the "bridge community"
  590. design, which is not yet implemented) to use a time-independent
  591. comparison. The old behavior might have allowed an adversary
  592. to use timing to guess the BridgePassword value. Fixes bug 5543;
  593. bugfix on 0.2.0.14-alpha.
  594. - Enforce correct return behavior of tor_vsscanf() when the '%%'
  595. pattern is used. Fixes bug 5558. Bugfix on 0.2.1.13.
  596. - When sending an HTTP/1.1 proxy request, include a Host header.
  597. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  598. - Don't log that we have "decided to publish new relay descriptor"
  599. unless we are actually publishing a descriptor. Fixes bug 3942;
  600. bugfix on 0.2.2.28-beta.
  601. o Minor bugfixes (0.2.3.x):
  602. - Fix a bug where a bridge authority crashes (on a failed assert)
  603. if it has seen no directory requests when it's time to write
  604. statistics to disk. Fixes bug 5508. Bugfix on 0.2.3.6-alpha.
  605. - Fix bug stomping on ORPort option NoListen and ignoring option
  606. NoAdvertise. Fixes bug 5151; bugfix on 0.2.3.9-alpha.
  607. - In the testsuite, provide a large enough buffer in the tor_sscanf
  608. unit test. Otherwise we'd overrun that buffer and crash during
  609. the unit tests. Found by weasel. Fixes bug 5449; bugfix on
  610. 0.2.3.12-alpha.
  611. - Make sure we create the keys directory if it doesn't exist and we're
  612. about to store the dynamic Diffie-Hellman parameters. Fixes bug
  613. 5572; bugfix on 0.2.3.13-alpha.
  614. - Fix a small memory leak when trying to decode incorrect base16
  615. authenticator during SAFECOOKIE authentication. Found by
  616. Coverity Scan. Fixes CID 507. Bugfix on 0.2.3.13-alpha.
  617. o Minor features:
  618. - Add more information to a log statement that might help track down
  619. bug 4091. If you're seeing "Bug: tor_addr_is_internal() called with a
  620. non-IP address" messages (or any Bug messages, for that matter!),
  621. please let us know about it.
  622. - Relays now understand an IPv6 address when they get one from a
  623. directory server. Resolves ticket 4875.
  624. - Resolve IPv6 addresses in bridge and entry statistics to country
  625. code "??" which means we at least count them. Resolves ticket 5053;
  626. improves on 0.2.3.9-alpha.
  627. - Update to the April 3 2012 Maxmind GeoLite Country database.
  628. - Begin a doc/state-contents.txt file to explain the contents of
  629. the Tor state file. Fixes bug 2987.
  630. o Default torrc changes:
  631. - Stop listing "socksport 9050" in torrc.sample. We open a socks
  632. port on 9050 by default anyway, so this should not change anything
  633. in practice.
  634. - Stop mentioning the deprecated *ListenAddress options in
  635. torrc.sample. Fixes bug 5438.
  636. - Document unit of bandwidth related options in sample torrc.
  637. Fixes bug 5621.
  638. o Removed features:
  639. - The "torify" script no longer supports the "tsocks" socksifier
  640. tool, since tsocks doesn't support DNS and UDP right for Tor.
  641. Everyone should be using torsocks instead. Fixes bugs 3530 and
  642. 5180. Based on a patch by "ugh".
  643. o Code refactoring:
  644. - Change the symmetric cipher interface so that creating and
  645. initializing a stream cipher are no longer separate functions.
  646. - Remove all internal support for unpadded RSA. We never used it, and
  647. it would be a bad idea to start.
  648. Changes in version 0.2.3.13-alpha - 2012-03-26
  649. Tor 0.2.3.13-alpha fixes a variety of stability and correctness bugs
  650. in managed pluggable transports, as well as providing other cleanups
  651. that get us closer to a release candidate.
  652. o Directory authority changes:
  653. - Change IP address for maatuska (v3 directory authority).
  654. o Security fixes:
  655. - Provide controllers with a safer way to implement the cookie
  656. authentication mechanism. With the old method, if another locally
  657. running program could convince a controller that it was the Tor
  658. process, then that program could trick the controller into telling
  659. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  660. authentication method uses a challenge-response approach to prevent
  661. this attack. Fixes bug 5185, implements proposal 193.
  662. - Never use a bridge or a controller-supplied node as an exit, even
  663. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  664. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  665. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  666. - Only build circuits if we have a sufficient threshold of the total
  667. descriptors that are marked in the consensus with the "Exit"
  668. flag. This mitigates an attack proposed by wanoskarnet, in which
  669. all of a client's bridges collude to restrict the exit nodes that
  670. the client knows about. Fixes bug 5343.
  671. o Major bugfixes (on Tor 0.2.3.x):
  672. - Avoid an assert when managed proxies like obfsproxy are configured,
  673. and we receive HUP signals or setconf attempts too rapidly. This
  674. situation happens most commonly when Vidalia tries to attach to
  675. Tor or tries to configure the Tor it's attached to. Fixes bug 5084;
  676. bugfix on 0.2.3.6-alpha.
  677. - Fix a relay-side pluggable transports bug where managed proxies were
  678. unreachable from the Internet, because Tor asked them to bind on
  679. localhost. Fixes bug 4725; bugfix on 0.2.3.9-alpha.
  680. - Stop discarding command-line arguments when TestingTorNetwork
  681. is set. Discovered by Kevin Bauer. Fixes bug 5373; bugfix on
  682. 0.2.3.9-alpha, where task 4552 added support for two layers of
  683. torrc files.
  684. - Resume allowing the unit tests to run in gdb. This was accidentally
  685. made impossible when the DisableDebuggerAttachment option was
  686. introduced. Fixes bug 5448; bugfix on 0.2.3.9-alpha.
  687. - Resume building with nat-pmp support. Fixes bug 4955; bugfix on
  688. 0.2.3.11-alpha. Reported by Anthony G. Basile.
  689. o Minor bugfixes (on 0.2.2.x and earlier):
  690. - Ensure we don't cannibalize circuits that are longer than three hops
  691. already, so we don't end up making circuits with 5 or more
  692. hops. Patch contributed by wanoskarnet. Fixes bug 5231; bugfix on
  693. 0.1.0.1-rc which introduced cannibalization.
  694. - Detect and reject certain misformed escape sequences in
  695. configuration values. Previously, these values would cause us
  696. to crash if received in a torrc file or over an authenticated
  697. control port. Bug found by Esteban Manchado Velázquez, and
  698. independently by Robert Connolly from Matta Consulting who further
  699. noted that it allows a post-authentication heap overflow. Patch
  700. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  701. bugfix on 0.2.0.16-alpha.
  702. - Fix a compile warning when using the --enable-openbsd-malloc
  703. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  704. - Directory caches no longer refuse to clean out descriptors because
  705. of missing v2 networkstatus documents, unless they're configured
  706. to retrieve v2 networkstatus documents. Fixes bug 4838; bugfix on
  707. 0.2.2.26-beta. Patch by Daniel Bryg.
  708. - Update to the latest version of the tinytest unit testing framework.
  709. This includes a couple of bugfixes that can be relevant for
  710. running forked unit tests on Windows, and removes all reserved
  711. identifiers.
  712. o Minor bugfixes (on 0.2.3.x):
  713. - On a failed pipe() call, don't leak file descriptors. Fixes bug
  714. 4296; bugfix on 0.2.3.1-alpha.
  715. - Spec conformance: on a v3 handshake, do not send a NETINFO cell
  716. until after we have received a CERTS cell. Fixes bug 4361; bugfix
  717. on 0.2.3.6-alpha. Patch by "frosty".
  718. - When binding to an IPv6 address, set the IPV6_V6ONLY socket
  719. option, so that the IP stack doesn't decide to use it for IPv4
  720. too. Fixes bug 4760; bugfix on 0.2.3.9-alpha.
  721. - Ensure that variables set in Tor's environment cannot override
  722. environment variables that Tor passes to a managed
  723. pluggable-transport proxy. Previously, Tor would pass every
  724. variable in its environment to managed proxies along with the new
  725. ones, in such a way that on many operating systems, the inherited
  726. environment variables would override those which Tor tried to
  727. explicitly set. Bugfix on 0.2.3.12-alpha for most Unixoid systems;
  728. bugfix on 0.2.3.9-alpha for Windows.
  729. o Minor features:
  730. - A wide variety of new unit tests by Esteban Manchado Velázquez.
  731. - Shorten links in the tor-exit-notice file. Patch by Christian Kujau.
  732. - Update to the March 6 2012 Maxmind GeoLite Country database.
  733. Changes in version 0.2.3.12-alpha - 2012-02-13
  734. Tor 0.2.3.12-alpha lets fast exit relays scale better, allows clients
  735. to use bridges that run Tor 0.2.2.x, and resolves several big bugs
  736. when Tor is configured to use a pluggable transport like obfsproxy.
  737. o Major bugfixes:
  738. - Fix builds when the path to sed, openssl, or sha1sum contains
  739. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  740. on 0.2.2.1-alpha.
  741. - Set the SO_REUSEADDR socket option before we call bind() on outgoing
  742. connections. This change should allow busy exit relays to stop
  743. running out of available sockets as quickly. Fixes bug 4950;
  744. bugfix on 0.2.2.26-beta.
  745. - Allow 0.2.3.x clients to use 0.2.2.x bridges. Previously the client
  746. would ask the bridge for microdescriptors, which are only supported
  747. in 0.2.3.x, and then fail to bootstrap when it didn't get the
  748. answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha.
  749. - Properly set up obfsproxy's environment when in managed mode. The
  750. Tor Browser Bundle needs LD_LIBRARY_PATH to be passed to obfsproxy,
  751. and when you run your Tor as a daemon, there's no HOME. Fixes bugs
  752. 5076 and 5082; bugfix on 0.2.3.6-alpha.
  753. o Minor features:
  754. - Use the dead_strip option when building Tor on OS X. This reduces
  755. binary size by almost 19% when linking openssl and libevent
  756. statically, which we do for Tor Browser Bundle.
  757. - Fix broken URLs in the sample torrc file, and tell readers about
  758. the OutboundBindAddress, ExitPolicyRejectPrivate, and
  759. PublishServerDescriptor options. Addresses bug 4652.
  760. - Update to the February 7 2012 Maxmind GeoLite Country database.
  761. o Minor bugfixes:
  762. - Downgrade the "We're missing a certificate" message from notice
  763. to info: people kept mistaking it for a real problem, whereas it
  764. is seldom the problem even when we are failing to bootstrap. Fixes
  765. bug 5067; bugfix on 0.2.0.10-alpha.
  766. - Don't put "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200" in a
  767. managed pluggable transport server proxy's environment.
  768. Previously, we would put it there, even though Tor doesn't
  769. implement an 'extended server port' yet, and even though Tor
  770. almost certainly isn't listening at that address. For now, we set
  771. it to an empty string to avoid crashing older obfsproxies. Bugfix
  772. on 0.2.3.6-alpha.
  773. - Log the heartbeat message every HeartbeatPeriod seconds, not every
  774. HeartbeatPeriod + 1 seconds. Fixes bug 4942; bugfix on
  775. 0.2.3.1-alpha. Bug reported by Scott Bennett.
  776. - Calculate absolute paths correctly on Windows. Fixes bug 4973;
  777. bugfix on 0.2.3.11-alpha.
  778. - Update "ClientOnly" man page entry to explain that there isn't
  779. really any point to messing with it. Resolves ticket 5005.
  780. - Use the correct CVE number for CVE-2011-4576 in our comments and
  781. log messages. Found by "fermenthor". Resolves bug 5066; bugfix on
  782. 0.2.3.11-alpha.
  783. o Code simplifications and refactoring:
  784. - Use the _WIN32 macro throughout our code to detect Windows.
  785. (Previously we had used the obsolete 'WIN32' and the idiosyncratic
  786. 'MS_WINDOWS'.)
  787. Changes in version 0.2.3.11-alpha - 2012-01-22
  788. Tor 0.2.3.11-alpha marks feature-freeze for the 0.2.3 tree. It deploys
  789. the last step of the plan to limit maximum circuit length, includes
  790. a wide variety of hidden service performance and correctness fixes,
  791. works around an OpenSSL security flaw if your distro is too stubborn
  792. to upgrade, and fixes a bunch of smaller issues.
  793. o Major features:
  794. - Now that Tor 0.2.0.x is completely deprecated, enable the final
  795. part of "Proposal 110: Avoiding infinite length circuits" by
  796. refusing all circuit-extend requests that do not use a relay_early
  797. cell. This change helps Tor resist a class of denial-of-service
  798. attacks by limiting the maximum circuit length.
  799. - Adjust the number of introduction points that a hidden service
  800. will try to maintain based on how long its introduction points
  801. remain in use and how many introductions they handle. Fixes
  802. part of bug 3825.
  803. - Try to use system facilities for enumerating local interface
  804. addresses, before falling back to our old approach (which was
  805. binding a UDP socket, and calling getsockname() on it). That
  806. approach was scaring OS X users whose draconian firewall
  807. software warned about binding to UDP sockets, regardless of
  808. whether packets were sent. Now we try to use getifaddrs(),
  809. SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
  810. system supports. Resolves ticket 1827.
  811. o Major security workaround:
  812. - When building or running with any version of OpenSSL earlier
  813. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  814. versions have a bug (CVE-2011-4576) in which their block cipher
  815. padding includes uninitialized data, potentially leaking sensitive
  816. information to any peer with whom they make a SSLv3 connection. Tor
  817. does not use SSL v3 by default, but a hostile client or server
  818. could force an SSLv3 connection in order to gain information that
  819. they shouldn't have been able to get. The best solution here is to
  820. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  821. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  822. to make sure that the bug can't happen.
  823. o Major bugfixes:
  824. - Fix the SOCKET_OK test that we use to tell when socket
  825. creation fails so that it works on Win64. Fixes part of bug 4533;
  826. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  827. - Correct our replacements for the timeradd() and timersub() functions
  828. on platforms that lack them (for example, Windows). The timersub()
  829. function is used when expiring circuits, while timeradd() is
  830. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  831. bugfix on 0.2.2.24-alpha and 0.2.3.1-alpha.
  832. - Do not use OpenSSL 1.0.0's counter mode: it has a critical bug
  833. that was fixed in OpenSSL 1.0.0a. We test for the counter mode
  834. bug at runtime, not compile time, because some distributions hack
  835. their OpenSSL to mis-report its version. Fixes bug 4779; bugfix
  836. on 0.2.3.9-alpha. Found by Pascal.
  837. o Minor features (controller):
  838. - Use absolute path names when reporting the torrc filename in the
  839. control protocol, so a controller can more easily find the torrc
  840. file. Resolves bug 1101.
  841. - Extend the control protocol to report flags that control a circuit's
  842. path selection in CIRC events and in replies to 'GETINFO
  843. circuit-status'. Implements part of ticket 2411.
  844. - Extend the control protocol to report the hidden service address
  845. and current state of a hidden-service-related circuit in CIRC
  846. events and in replies to 'GETINFO circuit-status'. Implements part
  847. of ticket 2411.
  848. - When reporting the path to the cookie file to the controller,
  849. give an absolute path. Resolves ticket 4881.
  850. - Allow controllers to request an event notification whenever a
  851. circuit is cannibalized or its purpose is changed. Implements
  852. part of ticket 3457.
  853. - Include the creation time of a circuit in CIRC and CIRC2
  854. control-port events and the list produced by the 'GETINFO
  855. circuit-status' control-port command.
  856. o Minor features (directory authorities):
  857. - Directory authorities now reject versions of Tor older than
  858. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  859. inclusive. These versions accounted for only a small fraction of
  860. the Tor network, and have numerous known security issues. Resolves
  861. issue 4788.
  862. - Authority operators can now vote for all relays in a given
  863. set of countries to be BadDir/BadExit/Invalid/Rejected.
  864. - Provide two consensus parameters (FastFlagMinThreshold and
  865. FastFlagMaxThreshold) to control the range of allowable bandwidths
  866. for the Fast directory flag. These allow authorities to run
  867. experiments on appropriate requirements for being a "Fast" node.
  868. The AuthDirFastGuarantee config value still applies.
  869. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  870. directory authority option (introduced in Tor 0.2.2.34).
  871. o Minor features (other):
  872. - Don't disable the DirPort when we cannot exceed our AccountingMax
  873. limit during this interval because the effective bandwidthrate is
  874. low enough. This is useful in a situation where AccountMax is only
  875. used as an additional safeguard or to provide statistics.
  876. - Prepend an informative header to generated dynamic_dh_params files.
  877. - If EntryNodes are given, but UseEntryGuards is set to 0, warn that
  878. EntryNodes will have no effect. Resolves issue 2571.
  879. - Log more useful messages when we fail to disable debugger
  880. attachment.
  881. - Log which authority we're missing votes from when we go to fetch
  882. them from the other auths.
  883. - Log (at debug level) whenever a circuit's purpose is changed.
  884. - Add missing documentation for the MaxClientCircuitsPending,
  885. UseMicrodescriptors, UserspaceIOCPBuffers, and
  886. _UseFilteringSSLBufferevents options, all introduced during
  887. the 0.2.3.x series.
  888. - Update to the January 3 2012 Maxmind GeoLite Country database.
  889. o Minor bugfixes (hidden services):
  890. - Don't close hidden service client circuits which have almost
  891. finished connecting to their destination when they reach
  892. the normal circuit-build timeout. Previously, we would close
  893. introduction circuits which are waiting for an acknowledgement
  894. from the introduction point, and rendezvous circuits which have
  895. been specified in an INTRODUCE1 cell sent to a hidden service,
  896. after the normal CBT. Now, we mark them as 'timed out', and launch
  897. another rendezvous attempt in parallel. This behavior change can
  898. be disabled using the new CloseHSClientCircuitsImmediatelyOnTimeout
  899. option. Fixes part of bug 1297; bugfix on 0.2.2.2-alpha.
  900. - Don't close hidden-service-side rendezvous circuits when they
  901. reach the normal circuit-build timeout. This behaviour change can
  902. be disabled using the new
  903. CloseHSServiceRendCircuitsImmediatelyOnTimeout option. Fixes the
  904. remaining part of bug 1297; bugfix on 0.2.2.2-alpha.
  905. - Make sure we never mark the wrong rendezvous circuit as having
  906. had its introduction cell acknowleged by the introduction-point
  907. relay. Previously, when we received an INTRODUCE_ACK cell on a
  908. client-side hidden-service introduction circuit, we might have
  909. marked a rendezvous circuit other than the one we specified in
  910. the INTRODUCE1 cell as INTRO_ACKED, which would have produced
  911. a warning message and interfered with the hidden service
  912. connection-establishment process. Fixes bug 4759; bugfix on
  913. 0.2.3.3-alpha, when we added the stream-isolation feature which
  914. might cause Tor to open multiple rendezvous circuits for the same
  915. hidden service.
  916. - Don't trigger an assertion failure when we mark a new client-side
  917. hidden-service introduction circuit for close during the process
  918. of creating it. Fixes bug 4796; bugfix on 0.2.3.6-alpha. Reported
  919. by murb.
  920. o Minor bugfixes (log messages):
  921. - Correctly spell "connect" in a log message on failure to create a
  922. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta and
  923. 0.2.3.2-alpha.
  924. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  925. Fixes bug 4856; bugfix on Tor 0.0.6.
  926. - Fix the log message describing how we work around discovering
  927. that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
  928. 4837; bugfix on 0.2.2.9-alpha.
  929. - When logging about a disallowed .exit name, do not also call it
  930. an "invalid onion address". Fixes bug 3325; bugfix on 0.2.2.9-alpha.
  931. o Minor bugfixes (build fixes):
  932. - During configure, detect when we're building with clang version
  933. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  934. CFLAGS. clang doesn't support them yet.
  935. - During configure, search for library containing cos function as
  936. libm lives in libcore on some platforms (BeOS/Haiku). Linking
  937. against libm was hard-coded before. Fixes the first part of bug
  938. 4727; bugfix on 0.2.2.2-alpha. Patch and analysis by Martin Hebnes
  939. Pedersen.
  940. - Detect attempts to build Tor on (as yet hypothetical) versions
  941. of Windows where sizeof(intptr_t) != sizeof(SOCKET). Partial
  942. fix for bug 4533. Bugfix on 0.2.2.28-beta.
  943. - Preprocessor directives should not be put inside the arguments
  944. of a macro. This would break compilation with GCC releases prior
  945. to version 3.3. We would never recommend such an old GCC version,
  946. but it is apparently required for binary compatibility on some
  947. platforms (namely, certain builds of Haiku). Fixes the other part
  948. of bug 4727; bugfix on 0.2.3.3-alpha. Patch and analysis by Martin
  949. Hebnes Pedersen.
  950. o Minor bugfixes (other):
  951. - Older Linux kernels erroneously respond to strange nmap behavior
  952. by having accept() return successfully with a zero-length
  953. socket. When this happens, just close the connection. Previously,
  954. we would try harder to learn the remote address: but there was
  955. no such remote address to learn, and our method for trying to
  956. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  957. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  958. - Fix null-pointer access that could occur if TLS allocation failed.
  959. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un". This was
  960. erroneously listed as fixed in 0.2.3.9-alpha, but the fix had
  961. accidentally been reverted.
  962. - Fix our implementation of crypto_random_hostname() so it can't
  963. overflow on ridiculously large inputs. (No Tor version has ever
  964. provided this kind of bad inputs, but let's be correct in depth.)
  965. Fixes bug 4413; bugfix on 0.2.2.9-alpha. Fix by Stephen Palmateer.
  966. - Find more places in the code that should have been testing for
  967. invalid sockets using the SOCKET_OK macro. Required for a fix
  968. for bug 4533. Bugfix on 0.2.2.28-beta.
  969. - Fix an assertion failure when, while running with bufferevents, a
  970. connection finishes connecting after it is marked for close, but
  971. before it is closed. Fixes bug 4697; bugfix on 0.2.3.1-alpha.
  972. - test_util_spawn_background_ok() hardcoded the expected value
  973. for ENOENT to 2. This isn't portable as error numbers are
  974. platform specific, and particularly the hurd has ENOENT at
  975. 0x40000002. Construct expected string at runtime, using the correct
  976. value for ENOENT. Fixes bug 4733; bugfix on 0.2.3.1-alpha.
  977. - Reject attempts to disable DisableDebuggerAttachment while Tor is
  978. running. Fixes bug 4650; bugfix on 0.2.3.9-alpha.
  979. - Use an appropriate-width type for sockets in tor-fw-helper on
  980. win64. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
  981. o Feature removal:
  982. - When sending or relaying a RELAY_EARLY cell, we used to convert
  983. it to a RELAY cell if the connection was using the v1 link
  984. protocol. This was a workaround for older versions of Tor, which
  985. didn't handle RELAY_EARLY cells properly. Now that all supported
  986. versions can handle RELAY_EARLY cells, and now that we're enforcing
  987. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  988. remove this workaround. Addresses bug 4786.
  989. o Code simplifications and refactoring:
  990. - Use OpenSSL's built-in SSL_state_string_long() instead of our
  991. own homebrewed ssl_state_to_string() replacement. Patch from
  992. Emile Snyder. Fixes bug 4653.
  993. - Use macros to indicate OpenSSL versions, so we don't need to worry
  994. about accidental hexadecimal bit shifts.
  995. - Remove some workaround code for OpenSSL 0.9.6 (which is no longer
  996. supported).
  997. - Convert more instances of tor_snprintf+tor_strdup into tor_asprintf.
  998. - Use the smartlist_add_asprintf() alias more consistently.
  999. - Use a TOR_INVALID_SOCKET macro when initializing a socket to an
  1000. invalid value, rather than just -1.
  1001. - Rename a handful of old identifiers, mostly related to crypto
  1002. structures and crypto functions. By convention, our "create an
  1003. object" functions are called "type_new()", our "free an object"
  1004. functions are called "type_free()", and our types indicate that
  1005. they are types only with a final "_t". But a handful of older
  1006. types and functions broke these rules, with function names like
  1007. "type_create" or "subsystem_op_type", or with type names like
  1008. type_env_t.
  1009. Changes in version 0.2.3.10-alpha - 2011-12-16
  1010. Tor 0.2.3.10-alpha fixes a critical heap-overflow security issue in
  1011. Tor's buffers code. Absolutely everybody should upgrade.
  1012. The bug relied on an incorrect calculation when making data continuous
  1013. in one of our IO buffers, if the first chunk of the buffer was
  1014. misaligned by just the wrong amount. The miscalculation would allow an
  1015. attacker to overflow a piece of heap-allocated memory. To mount this
  1016. attack, the attacker would need to either open a SOCKS connection to
  1017. Tor's SocksPort (usually restricted to localhost), or target a Tor
  1018. instance configured to make its connections through a SOCKS proxy
  1019. (which Tor does not do by default).
  1020. Good security practice requires that all heap-overflow bugs should be
  1021. presumed to be exploitable until proven otherwise, so we are treating
  1022. this as a potential code execution attack. Please upgrade immediately!
  1023. This bug does not affect bufferevents-based builds of Tor. Special
  1024. thanks to "Vektor" for reporting this issue to us!
  1025. This release also contains a few minor bugfixes for issues discovered
  1026. in 0.2.3.9-alpha.
  1027. o Major bugfixes:
  1028. - Fix a heap overflow bug that could occur when trying to pull
  1029. data into the first chunk of a buffer, when that chunk had
  1030. already had some data drained from it. Fixes CVE-2011-2778;
  1031. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  1032. o Minor bugfixes:
  1033. - If we can't attach streams to a rendezvous circuit when we
  1034. finish connecting to a hidden service, clear the rendezvous
  1035. circuit's stream-isolation state and try to attach streams
  1036. again. Previously, we cleared rendezvous circuits' isolation
  1037. state either too early (if they were freshly built) or not at all
  1038. (if they had been built earlier and were cannibalized). Bugfix on
  1039. 0.2.3.3-alpha; fixes bug 4655.
  1040. - Fix compilation of the libnatpmp helper on non-Windows. Bugfix on
  1041. 0.2.3.9-alpha; fixes bug 4691. Reported by Anthony G. Basile.
  1042. - Fix an assertion failure when a relay with accounting enabled
  1043. starts up while dormant. Fixes bug 4702; bugfix on 0.2.3.9-alpha.
  1044. o Minor features:
  1045. - Update to the December 6 2011 Maxmind GeoLite Country database.
  1046. Changes in version 0.2.2.35 - 2011-12-16
  1047. Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
  1048. buffers code. Absolutely everybody should upgrade.
  1049. The bug relied on an incorrect calculation when making data continuous
  1050. in one of our IO buffers, if the first chunk of the buffer was
  1051. misaligned by just the wrong amount. The miscalculation would allow an
  1052. attacker to overflow a piece of heap-allocated memory. To mount this
  1053. attack, the attacker would need to either open a SOCKS connection to
  1054. Tor's SocksPort (usually restricted to localhost), or target a Tor
  1055. instance configured to make its connections through a SOCKS proxy
  1056. (which Tor does not do by default).
  1057. Good security practice requires that all heap-overflow bugs should be
  1058. presumed to be exploitable until proven otherwise, so we are treating
  1059. this as a potential code execution attack. Please upgrade immediately!
  1060. This bug does not affect bufferevents-based builds of Tor. Special
  1061. thanks to "Vektor" for reporting this issue to us!
  1062. Tor 0.2.2.35 also fixes several bugs in previous versions, including
  1063. crash bugs for unusual configurations, and a long-term bug that
  1064. would prevent Tor from starting on Windows machines with draconian
  1065. AV software.
  1066. With this release, we remind everyone that 0.2.0.x has reached its
  1067. formal end-of-life. Those Tor versions have many known flaws, and
  1068. nobody should be using them. You should upgrade -- ideally to the
  1069. 0.2.2.x series. If you're using a Linux or BSD and its packages are
  1070. obsolete, stop using those packages and upgrade anyway.
  1071. The Tor 0.2.1.x series is also approaching its end-of-life: it will no
  1072. longer receive support after some time in early 2012.
  1073. o Major bugfixes:
  1074. - Fix a heap overflow bug that could occur when trying to pull
  1075. data into the first chunk of a buffer, when that chunk had
  1076. already had some data drained from it. Fixes CVE-2011-2778;
  1077. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  1078. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  1079. that it doesn't attempt to allocate a socketpair. This could cause
  1080. some problems on Windows systems with overzealous firewalls. Fix for
  1081. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  1082. 2.0.15-stable.
  1083. - If we mark an OR connection for close based on a cell we process,
  1084. don't process any further cells on it. We already avoid further
  1085. reads on marked-for-close connections, but now we also discard the
  1086. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  1087. which was the first version where we might mark a connection for
  1088. close based on processing a cell on it.
  1089. - Correctly sanity-check that we don't underflow on a memory
  1090. allocation (and then assert) for hidden service introduction
  1091. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  1092. bugfix on 0.2.1.5-alpha.
  1093. - Fix a memory leak when we check whether a hidden service
  1094. descriptor has any usable introduction points left. Fixes bug
  1095. 4424. Bugfix on 0.2.2.25-alpha.
  1096. - Don't crash when we're running as a relay and don't have a GeoIP
  1097. file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
  1098. we've had in the 0.2.3.x branch already.
  1099. - When running as a client, do not print a misleading (and plain
  1100. wrong) log message that we're collecting "directory request"
  1101. statistics: clients don't collect statistics. Also don't create a
  1102. useless (because empty) stats file in the stats/ directory. Fixes
  1103. bug 4353; bugfix on 0.2.2.34.
  1104. o Minor bugfixes:
  1105. - Detect failure to initialize Libevent. This fix provides better
  1106. detection for future instances of bug 4457.
  1107. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  1108. function. This was eating up hideously large amounts of time on some
  1109. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  1110. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  1111. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  1112. Mansour Moufid.
  1113. - Don't warn about unused log_mutex in log.c when building with
  1114. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  1115. 0.1.0.6-rc which introduced --disable-threads.
  1116. - When configuring, starting, or stopping an NT service, stop
  1117. immediately after the service configuration attempt has succeeded
  1118. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  1119. - When sending a NETINFO cell, include the original address
  1120. received for the other side, not its canonical address. Found
  1121. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  1122. - Fix a typo in a hibernation-related log message. Fixes bug 4331;
  1123. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  1124. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  1125. occurred when a client tried to fetch a descriptor for a bridge
  1126. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  1127. - Backport fixes for a pair of compilation warnings on Windows.
  1128. Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
  1129. - If we had ever tried to call tor_addr_to_str on an address of
  1130. unknown type, we would have done a strdup on an uninitialized
  1131. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  1132. Reported by "troll_un".
  1133. - Correctly detect and handle transient lookup failures from
  1134. tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  1135. Reported by "troll_un".
  1136. - Fix null-pointer access that could occur if TLS allocation failed.
  1137. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  1138. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  1139. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  1140. o Minor features:
  1141. - Add two new config options for directory authorities:
  1142. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  1143. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  1144. that is always sufficient to satisfy the bandwidth requirement for
  1145. the Guard flag. Now it will be easier for researchers to simulate
  1146. Tor networks with different values. Resolves ticket 4484.
  1147. - When Tor ignores a hidden service specified in its configuration,
  1148. include the hidden service's directory in the warning message.
  1149. Previously, we would only tell the user that some hidden service
  1150. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  1151. - Update to the December 6 2011 Maxmind GeoLite Country database.
  1152. o Packaging changes:
  1153. - Make it easier to automate expert package builds on Windows,
  1154. by removing an absolute path from makensis.exe command.
  1155. Changes in version 0.2.3.9-alpha - 2011-12-08
  1156. Tor 0.2.3.9-alpha introduces initial IPv6 support for bridges, adds
  1157. a "DisableNetwork" security feature that bundles can use to avoid
  1158. touching the network until bridges are configured, moves forward on
  1159. the pluggable transport design, fixes a flaw in the hidden service
  1160. design that unnecessarily prevented clients with wrong clocks from
  1161. reaching hidden services, and fixes a wide variety of other issues.
  1162. o Major features:
  1163. - Clients can now connect to private bridges over IPv6. Bridges
  1164. still need at least one IPv4 address in order to connect to
  1165. other relays. Note that we don't yet handle the case where the
  1166. user has two bridge lines for the same bridge (one IPv4, one
  1167. IPv6). Implements parts of proposal 186.
  1168. - New "DisableNetwork" config option to prevent Tor from launching any
  1169. connections or accepting any connections except on a control port.
  1170. Bundles and controllers can set this option before letting Tor talk
  1171. to the rest of the network, for example to prevent any connections
  1172. to a non-bridge address. Packages like Orbot can also use this
  1173. option to instruct Tor to save power when the network is off.
  1174. - Clients and bridges can now be configured to use a separate
  1175. "transport" proxy. This approach makes the censorship arms race
  1176. easier by allowing bridges to use protocol obfuscation plugins. It
  1177. implements the "managed proxy" part of proposal 180 (ticket 3472).
  1178. - When using OpenSSL 1.0.0 or later, use OpenSSL's counter mode
  1179. implementation. It makes AES_CTR about 7% faster than our old one
  1180. (which was about 10% faster than the one OpenSSL used to provide).
  1181. Resolves ticket 4526.
  1182. - Add a "tor2web mode" for clients that want to connect to hidden
  1183. services non-anonymously (and possibly more quickly). As a safety
  1184. measure to try to keep users from turning this on without knowing
  1185. what they are doing, tor2web mode must be explicitly enabled at
  1186. compile time, and a copy of Tor compiled to run in tor2web mode
  1187. cannot be used as a normal Tor client. Implements feature 2553.
  1188. - Add experimental support for running on Windows with IOCP and no
  1189. kernel-space socket buffers. This feature is controlled by a new
  1190. "UserspaceIOCPBuffers" config option (off by default), which has
  1191. no effect unless Tor has been built with support for bufferevents,
  1192. is running on Windows, and has enabled IOCP. This may, in the long
  1193. run, help solve or mitigate bug 98.
  1194. - Use a more secure consensus parameter voting algorithm. Now at
  1195. least three directory authorities or a majority of them must
  1196. vote on a given parameter before it will be included in the
  1197. consensus. Implements proposal 178.
  1198. o Major bugfixes:
  1199. - Hidden services now ignore the timestamps on INTRODUCE2 cells.
  1200. They used to check that the timestamp was within 30 minutes
  1201. of their system clock, so they could cap the size of their
  1202. replay-detection cache, but that approach unnecessarily refused
  1203. service to clients with wrong clocks. Bugfix on 0.2.1.6-alpha, when
  1204. the v3 intro-point protocol (the first one which sent a timestamp
  1205. field in the INTRODUCE2 cell) was introduced; fixes bug 3460.
  1206. - Only use the EVP interface when AES acceleration is enabled,
  1207. to avoid a 5-7% performance regression. Resolves issue 4525;
  1208. bugfix on 0.2.3.8-alpha.
  1209. o Privacy/anonymity features (bridge detection):
  1210. - Make bridge SSL certificates a bit more stealthy by using random
  1211. serial numbers, in the same fashion as OpenSSL when generating
  1212. self-signed certificates. Implements ticket 4584.
  1213. - Introduce a new config option "DynamicDHGroups", enabled by
  1214. default, which provides each bridge with a unique prime DH modulus
  1215. to be used during SSL handshakes. This option attempts to help
  1216. against censors who might use the Apache DH modulus as a static
  1217. identifier for bridges. Addresses ticket 4548.
  1218. o Minor features (new/different config options):
  1219. - New configuration option "DisableDebuggerAttachment" (on by default)
  1220. to prevent basic debugging attachment attempts by other processes.
  1221. Supports Mac OS X and Gnu/Linux. Resolves ticket 3313.
  1222. - Allow MapAddress directives to specify matches against super-domains,
  1223. as in "MapAddress *.torproject.org *.torproject.org.torserver.exit".
  1224. Implements issue 933.
  1225. - Slightly change behavior of "list" options (that is, config
  1226. options that can appear more than once) when they appear both in
  1227. torrc and on the command line. Previously, the command-line options
  1228. would be appended to the ones from torrc. Now, the command-line
  1229. options override the torrc options entirely. This new behavior
  1230. allows the user to override list options (like exit policies and
  1231. ports to listen on) from the command line, rather than simply
  1232. appending to the list.
  1233. - You can get the old (appending) command-line behavior for "list"
  1234. options by prefixing the option name with a "+".
  1235. - You can remove all the values for a "list" option from the command
  1236. line without adding any new ones by prefixing the option name
  1237. with a "/".
  1238. - Add experimental support for a "defaults" torrc file to be parsed
  1239. before the regular torrc. Torrc options override the defaults file's
  1240. options in the same way that the command line overrides the torrc.
  1241. The SAVECONF controller command saves only those options which
  1242. differ between the current configuration and the defaults file. HUP
  1243. reloads both files. (Note: This is an experimental feature; its
  1244. behavior will probably be refined in future 0.2.3.x-alpha versions
  1245. to better meet packagers' needs.) Implements task 4552.
  1246. o Minor features:
  1247. - Try to make the introductory warning message that Tor prints on
  1248. startup more useful for actually finding help and information.
  1249. Resolves ticket 2474.
  1250. - Running "make version" now displays the version of Tor that
  1251. we're about to build. Idea from katmagic; resolves issue 4400.
  1252. - Expire old or over-used hidden service introduction points.
  1253. Required by fix for bug 3460.
  1254. - Move the replay-detection cache for the RSA-encrypted parts of
  1255. INTRODUCE2 cells to the introduction point data structures.
  1256. Previously, we would use one replay-detection cache per hidden
  1257. service. Required by fix for bug 3460.
  1258. - Reduce the lifetime of elements of hidden services' Diffie-Hellman
  1259. public key replay-detection cache from 60 minutes to 5 minutes. This
  1260. replay-detection cache is now used only to detect multiple
  1261. INTRODUCE2 cells specifying the same rendezvous point, so we can
  1262. avoid launching multiple simultaneous attempts to connect to it.
  1263. o Minor bugfixes (on Tor 0.2.2.x and earlier):
  1264. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  1265. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  1266. Mansour Moufid.
  1267. - Fix a minor formatting issue in one of tor-gencert's error messages.
  1268. Fixes bug 4574.
  1269. - Prevent a false positive from the check-spaces script, by disabling
  1270. the "whitespace between function name and (" check for functions
  1271. named 'op()'.
  1272. - Fix a log message suggesting that people contact a non-existent
  1273. email address. Fixes bug 3448.
  1274. - Fix null-pointer access that could occur if TLS allocation failed.
  1275. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  1276. - Report a real bootstrap problem to the controller on router
  1277. identity mismatch. Previously we just said "foo", which probably
  1278. made a lot of sense at the time. Fixes bug 4169; bugfix on
  1279. 0.2.1.1-alpha.
  1280. - If we had ever tried to call tor_addr_to_str() on an address of
  1281. unknown type, we would have done a strdup() on an uninitialized
  1282. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  1283. Reported by "troll_un".
  1284. - Correctly detect and handle transient lookup failures from
  1285. tor_addr_lookup(). Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  1286. Reported by "troll_un".
  1287. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  1288. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  1289. - Initialize conn->addr to a valid state in spawn_cpuworker(). Fixes
  1290. bug 4532; found by "troll_un".
  1291. o Minor bugfixes (on Tor 0.2.3.x):
  1292. - Fix a compile warning in tor_inet_pton(). Bugfix on 0.2.3.8-alpha;
  1293. fixes bug 4554.
  1294. - Don't send two ESTABLISH_RENDEZVOUS cells when opening a new
  1295. circuit for use as a hidden service client's rendezvous point.
  1296. Fixes bugs 4641 and 4171; bugfix on 0.2.3.3-alpha. Diagnosed
  1297. with help from wanoskarnet.
  1298. - Restore behavior of overriding SocksPort, ORPort, and similar
  1299. options from the command line. Bugfix on 0.2.3.3-alpha.
  1300. o Build fixes:
  1301. - Properly handle the case where the build-tree is not the same
  1302. as the source tree when generating src/common/common_sha1.i,
  1303. src/or/micro-revision.i, and src/or/or_sha1.i. Fixes bug 3953;
  1304. bugfix on 0.2.0.1-alpha.
  1305. o Code simplifications, cleanups, and refactorings:
  1306. - Remove the pure attribute from all functions that used it
  1307. previously. In many cases we assigned it incorrectly, because the
  1308. functions might assert or call impure functions, and we don't have
  1309. evidence that keeping the pure attribute is worthwhile. Implements
  1310. changes suggested in ticket 4421.
  1311. - Remove some dead code spotted by coverity. Fixes cid 432.
  1312. Bugfix on 0.2.3.1-alpha, closes bug 4637.
  1313. Changes in version 0.2.3.8-alpha - 2011-11-22
  1314. Tor 0.2.3.8-alpha fixes some crash and assert bugs, including a
  1315. socketpair-related bug that has been bothering Windows users. It adds
  1316. support to serve microdescriptors to controllers, so Vidalia's network
  1317. map can resume listing relays (once Vidalia implements its side),
  1318. and adds better support for hardware AES acceleration. Finally, it
  1319. starts the process of adjusting the bandwidth cutoff for getting the
  1320. "Fast" flag from 20KB to (currently) 32KB -- preliminary results show
  1321. that tiny relays harm performance more than they help network capacity.
  1322. o Major bugfixes:
  1323. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  1324. that it doesn't attempt to allocate a socketpair. This could cause
  1325. some problems on Windows systems with overzealous firewalls. Fix for
  1326. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  1327. 2.0.15-stable.
  1328. - Correctly sanity-check that we don't underflow on a memory
  1329. allocation (and then assert) for hidden service introduction
  1330. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  1331. bugfix on 0.2.1.5-alpha.
  1332. - Remove the artificially low cutoff of 20KB to guarantee the Fast
  1333. flag. In the past few years the average relay speed has picked
  1334. up, and while the "top 7/8 of the network get the Fast flag" and
  1335. "all relays with 20KB or more of capacity get the Fast flag" rules
  1336. used to have the same result, now the top 7/8 of the network has
  1337. a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
  1338. - Fix a rare assertion failure when checking whether a v0 hidden
  1339. service descriptor has any usable introduction points left, and
  1340. we don't have enough information to build a circuit to the first
  1341. intro point named in the descriptor. The HS client code in
  1342. 0.2.3.x no longer uses v0 HS descriptors, but this assertion can
  1343. trigger on (and crash) v0 HS authorities. Fixes bug 4411.
  1344. Bugfix on 0.2.3.1-alpha; diagnosed by frosty_un.
  1345. - Make bridge authorities not crash when they are asked for their own
  1346. descriptor. Bugfix on 0.2.3.7-alpha, reported by Lucky Green.
  1347. - When running as a client, do not print a misleading (and plain
  1348. wrong) log message that we're collecting "directory request"
  1349. statistics: clients don't collect statistics. Also don't create a
  1350. useless (because empty) stats file in the stats/ directory. Fixes
  1351. bug 4353; bugfix on 0.2.2.34 and 0.2.3.7-alpha.
  1352. o Major features:
  1353. - Allow Tor controllers like Vidalia to obtain the microdescriptor
  1354. for a relay by identity digest or nickname. Previously,
  1355. microdescriptors were only available by their own digests, so a
  1356. controller would have to ask for and parse the whole microdescriptor
  1357. consensus in order to look up a single relay's microdesc. Fixes
  1358. bug 3832; bugfix on 0.2.3.1-alpha.
  1359. - Use OpenSSL's EVP interface for AES encryption, so that all AES
  1360. operations can use hardware acceleration (if present). Resolves
  1361. ticket 4442.
  1362. o Minor bugfixes (on 0.2.2.x and earlier):
  1363. - Detect failure to initialize Libevent. This fix provides better
  1364. detection for future instances of bug 4457.
  1365. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  1366. function. This was eating up hideously large amounts of time on some
  1367. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  1368. - Don't warn about unused log_mutex in log.c when building with
  1369. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  1370. 0.1.0.6-rc which introduced --disable-threads.
  1371. - Allow manual 'authenticate' commands to the controller interface
  1372. from netcat (nc) as well as telnet. We were rejecting them because
  1373. they didn't come with the expected whitespace at the end of the
  1374. command. Bugfix on 0.1.1.1-alpha; fixes bug 2893.
  1375. - Fix some (not actually triggerable) buffer size checks in usage of
  1376. tor_inet_ntop. Fixes bug 4434; bugfix on Tor 0.2.0.1-alpha. Patch
  1377. by Anders Sundman.
  1378. - Fix parsing of some corner-cases with tor_inet_pton(). Fixes
  1379. bug 4515; bugfix on 0.2.0.1-alpha; fix by Anders Sundman.
  1380. - When configuring, starting, or stopping an NT service, stop
  1381. immediately after the service configuration attempt has succeeded
  1382. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  1383. - When sending a NETINFO cell, include the original address
  1384. received for the other side, not its canonical address. Found
  1385. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  1386. - Rename the bench_{aes,dmap} functions to test_*, so that tinytest
  1387. can pick them up when the tests aren't disabled. Bugfix on
  1388. 0.2.2.4-alpha which introduced tinytest.
  1389. - Fix a memory leak when we check whether a hidden service
  1390. descriptor has any usable introduction points left. Fixes bug
  1391. 4424. Bugfix on 0.2.2.25-alpha.
  1392. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  1393. occurred when a client tried to fetch a descriptor for a bridge
  1394. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  1395. o Minor bugfixes (on 0.2.3.x):
  1396. - Make util unit tests build correctly with MSVC. Bugfix on
  1397. 0.2.3.3-alpha. Patch by Gisle Vanem.
  1398. - Successfully detect AUTH_CHALLENGE cells with no recognized
  1399. authentication type listed. Fixes bug 4367; bugfix on 0.2.3.6-alpha.
  1400. Found by frosty_un.
  1401. - If a relay receives an AUTH_CHALLENGE cell it can't answer,
  1402. it should still send a NETINFO cell to allow the connection to
  1403. become open. Fixes bug 4368; fix on 0.2.3.6-alpha; bug found by
  1404. "frosty".
  1405. - Log less loudly when we get an invalid authentication certificate
  1406. from a source other than a directory authority: it's not unusual
  1407. to see invalid certs because of clock skew. Fixes bug 4370; bugfix
  1408. on 0.2.3.6-alpha.
  1409. - Tolerate servers with more clock skew in their authentication
  1410. certificates than previously. Fixes bug 4371; bugfix on
  1411. 0.2.3.6-alpha.
  1412. - Fix a couple of compile warnings on Windows. Fixes bug 4469; bugfix
  1413. on 0.2.3.4-alpha and 0.2.3.6-alpha.
  1414. o Minor features:
  1415. - Add two new config options for directory authorities:
  1416. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  1417. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  1418. that is always sufficient to satisfy the bandwidth requirement for
  1419. the Guard flag. Now it will be easier for researchers to simulate
  1420. Tor networks with different values. Resolves ticket 4484.
  1421. - When Tor ignores a hidden service specified in its configuration,
  1422. include the hidden service's directory in the warning message.
  1423. Previously, we would only tell the user that some hidden service
  1424. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  1425. - When we fail to initialize Libevent, retry with IOCP disabled so we
  1426. don't need to turn on multi-threading support in Libevent, which in
  1427. turn requires a working socketpair(). This is a workaround for bug
  1428. 4457, which affects Libevent versions from 2.0.1-alpha through
  1429. 2.0.15-stable.
  1430. - Detect when we try to build on a platform that doesn't define
  1431. AF_UNSPEC to 0. We don't work there, so refuse to compile.
  1432. - Update to the November 1 2011 Maxmind GeoLite Country database.
  1433. o Packaging changes:
  1434. - Make it easier to automate expert package builds on Windows,
  1435. by removing an absolute path from makensis.exe command.
  1436. o Code simplifications and refactoring:
  1437. - Remove some redundant #include directives throughout the code.
  1438. Patch from Andrea Gelmini.
  1439. - Unconditionally use OpenSSL's AES implementation instead of our
  1440. old built-in one. OpenSSL's AES has been better for a while, and
  1441. relatively few servers should still be on any version of OpenSSL
  1442. that doesn't have good optimized assembly AES.
  1443. - Use the name "CERTS" consistently to refer to the new cell type;
  1444. we were calling it CERT in some places and CERTS in others.
  1445. o Testing:
  1446. - Numerous new unit tests for functions in util.c and address.c by
  1447. Anders Sundman.
  1448. - The long-disabled benchmark tests are now split into their own
  1449. ./src/test/bench binary.
  1450. - The benchmark tests can now use more accurate timers than
  1451. gettimeofday() when such timers are available.
  1452. Changes in version 0.2.3.7-alpha - 2011-10-30
  1453. Tor 0.2.3.7-alpha fixes a crash bug in 0.2.3.6-alpha introduced by
  1454. the new v3 handshake. It also resolves yet another bridge address
  1455. enumeration issue.
  1456. o Major bugfixes:
  1457. - If we mark an OR connection for close based on a cell we process,
  1458. don't process any further cells on it. We already avoid further
  1459. reads on marked-for-close connections, but now we also discard the
  1460. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  1461. which was the first version where we might mark a connection for
  1462. close based on processing a cell on it.
  1463. - Fix a double-free bug that would occur when we received an invalid
  1464. certificate in a CERT cell in the new v3 handshake. Fixes bug 4343;
  1465. bugfix on 0.2.3.6-alpha.
  1466. - Bridges no longer include their address in NETINFO cells on outgoing
  1467. OR connections, to allow them to blend in better with clients.
  1468. Removes another avenue for enumerating bridges. Reported by
  1469. "troll_un". Fixes bug 4348; bugfix on 0.2.0.10-alpha, when NETINFO
  1470. cells were introduced.
  1471. o Trivial fixes:
  1472. - Fixed a typo in a hibernation-related log message. Fixes bug 4331;
  1473. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  1474. Changes in version 0.2.3.6-alpha - 2011-10-26
  1475. Tor 0.2.3.6-alpha includes the fix from 0.2.2.34 for a critical
  1476. anonymity vulnerability where an attacker can deanonymize Tor
  1477. users. Everybody should upgrade.
  1478. This release also features support for a new v3 connection handshake
  1479. protocol, and fixes to make hidden service connections more robust.
  1480. o Major features:
  1481. - Implement a new handshake protocol (v3) for authenticating Tors to
  1482. each other over TLS. It should be more resistant to fingerprinting
  1483. than previous protocols, and should require less TLS hacking for
  1484. future Tor implementations. Implements proposal 176.
  1485. - Allow variable-length padding cells to disguise the length of
  1486. Tor's TLS records. Implements part of proposal 184.
  1487. o Privacy/anonymity fixes (clients):
  1488. - Clients and bridges no longer send TLS certificate chains on
  1489. outgoing OR connections. Previously, each client or bridge would
  1490. use the same cert chain for all outgoing OR connections until
  1491. its IP address changes, which allowed any relay that the client
  1492. or bridge contacted to determine which entry guards it is using.
  1493. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  1494. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  1495. no longer considers that connection as suitable for satisfying a
  1496. circuit EXTEND request. Now relays can protect clients from the
  1497. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  1498. - Directory authorities no longer assign the Guard flag to relays
  1499. that haven't upgraded to the above "refuse EXTEND requests
  1500. to client connections" fix. Now directory authorities can
  1501. protect clients from the CVE-2011-2768 issue even if neither
  1502. the clients nor the relays have upgraded yet. There's a new
  1503. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  1504. to let us transition smoothly, else tomorrow there would be no
  1505. guard relays.
  1506. o Major bugfixes (hidden services):
  1507. - Improve hidden service robustness: when an attempt to connect to
  1508. a hidden service ends, be willing to refetch its hidden service
  1509. descriptors from each of the HSDir relays responsible for them
  1510. immediately. Previously, we would not consider refetching the
  1511. service's descriptors from each HSDir for 15 minutes after the last
  1512. fetch, which was inconvenient if the hidden service was not running
  1513. during the first attempt. Bugfix on 0.2.0.18-alpha; fixes bug 3335.
  1514. - When one of a hidden service's introduction points appears to be
  1515. unreachable, stop trying it. Previously, we would keep trying
  1516. to build circuits to the introduction point until we lost the
  1517. descriptor, usually because the user gave up and restarted Tor.
  1518. Partly fixes bug 3825.
  1519. - Don't launch a useless circuit after failing to use one of a
  1520. hidden service's introduction points. Previously, we would
  1521. launch a new introduction circuit, but not set the hidden service
  1522. which that circuit was intended to connect to, so it would never
  1523. actually be used. A different piece of code would then create a
  1524. new introduction circuit correctly. Bug reported by katmagic and
  1525. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  1526. o Major bugfixes (other):
  1527. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  1528. that they initiated. Relays could distinguish incoming bridge
  1529. connections from client connections, creating another avenue for
  1530. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  1531. Found by "frosty_un".
  1532. - Don't update the AccountingSoftLimitHitAt state file entry whenever
  1533. tor gets started. This prevents a wrong average bandwidth
  1534. estimate, which would cause relays to always start a new accounting
  1535. interval at the earliest possible moment. Fixes bug 2003; bugfix
  1536. on 0.2.2.7-alpha. Reported by BryonEldridge, who also helped
  1537. immensely in tracking this bug down.
  1538. - Fix a crash bug when changing node restrictions while a DNS lookup
  1539. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  1540. by "Tey'".
  1541. o Minor bugfixes (on 0.2.2.x and earlier):
  1542. - When a hidden service turns an extra service-side introduction
  1543. circuit into a general-purpose circuit, free the rend_data and
  1544. intro_key fields first, so we won't leak memory if the circuit
  1545. is cannibalized for use as another service-side introduction
  1546. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  1547. - Rephrase the log message emitted if the TestSocks check is
  1548. successful. Patch from Fabian Keil; fixes bug 4094.
  1549. - Bridges now skip DNS self-tests, to act a little more stealthily.
  1550. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  1551. bridges. Patch by "warms0x".
  1552. - Remove a confusing dollar sign from the example fingerprint in the
  1553. man page, and also make the example fingerprint a valid one. Fixes
  1554. bug 4309; bugfix on 0.2.1.3-alpha.
  1555. - Fix internal bug-checking logic that was supposed to catch
  1556. failures in digest generation so that it will fail more robustly
  1557. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  1558. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  1559. - Report any failure in init_keys() calls launched because our
  1560. IP address has changed. Spotted by Coverity Scan. Bugfix on
  1561. 0.1.1.4-alpha; fixes CID 484.
  1562. o Minor bugfixes (on 0.2.3.x):
  1563. - Fix a bug in configure.in that kept it from building a configure
  1564. script with autoconf versions earlier than 2.61. Fixes bug 2430;
  1565. bugfix on 0.2.3.1-alpha.
  1566. - Don't warn users that they are exposing a client port to the
  1567. Internet if they have specified an RFC1918 address. Previously,
  1568. we would warn if the user had specified any non-loopback
  1569. address. Bugfix on 0.2.3.3-alpha. Fixes bug 4018; reported by Tas.
  1570. - Fix memory leaks in the failing cases of the new SocksPort and
  1571. ControlPort code. Found by Coverity Scan. Bugfix on 0.2.3.3-alpha;
  1572. fixes coverity CIDs 485, 486, and 487.
  1573. o Minor features:
  1574. - When a hidden service's introduction point times out, consider
  1575. trying it again during the next attempt to connect to the
  1576. HS. Previously, we would not try it again unless a newly fetched
  1577. descriptor contained it. Required by fixes for bugs 1297 and 3825.
  1578. - The next version of Windows will be called Windows 8, and it has
  1579. a major version of 6, minor version of 2. Correctly identify that
  1580. version instead of calling it "Very recent version". Resolves
  1581. ticket 4153; reported by funkstar.
  1582. - The Bridge Authority now writes statistics on how many bridge
  1583. descriptors it gave out in total, and how many unique descriptors
  1584. it gave out. It also lists how often the most and least commonly
  1585. fetched descriptors were given out, as well as the median and
  1586. 25th/75th percentile. Implements tickets 4200 and 4294.
  1587. - Update to the October 4 2011 Maxmind GeoLite Country database.
  1588. o Code simplifications and refactoring:
  1589. - Remove some old code to remember statistics about which descriptors
  1590. we've served as a directory mirror. The feature wasn't used and
  1591. is outdated now that microdescriptors are around.
  1592. - Rename Tor functions that turn strings into addresses, so that
  1593. "parse" indicates that no hostname resolution occurs, and
  1594. "lookup" indicates that hostname resolution may occur. This
  1595. should help prevent mistakes in the future. Fixes bug 3512.
  1596. Changes in version 0.2.2.34 - 2011-10-26
  1597. Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
  1598. can deanonymize Tor users. Everybody should upgrade.
  1599. The attack relies on four components: 1) Clients reuse their TLS cert
  1600. when talking to different relays, so relays can recognize a user by
  1601. the identity key in her cert. 2) An attacker who knows the client's
  1602. identity key can probe each guard relay to see if that identity key
  1603. is connected to that guard relay right now. 3) A variety of active
  1604. attacks in the literature (starting from "Low-Cost Traffic Analysis
  1605. of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
  1606. discover the guard relays that a Tor user visiting the website is using.
  1607. 4) Clients typically pick three guards at random, so the set of guards
  1608. for a given user could well be a unique fingerprint for her. This
  1609. release fixes components #1 and #2, which is enough to block the attack;
  1610. the other two remain as open research problems. Special thanks to
  1611. "frosty_un" for reporting the issue to us!
  1612. Clients should upgrade so they are no longer recognizable by the TLS
  1613. certs they present. Relays should upgrade so they no longer allow a
  1614. remote attacker to probe them to test whether unpatched clients are
  1615. currently connected to them.
  1616. This release also fixes several vulnerabilities that allow an attacker
  1617. to enumerate bridge relays. Some bridge enumeration attacks still
  1618. remain; see for example proposal 188.
  1619. o Privacy/anonymity fixes (clients):
  1620. - Clients and bridges no longer send TLS certificate chains on
  1621. outgoing OR connections. Previously, each client or bridge would
  1622. use the same cert chain for all outgoing OR connections until
  1623. its IP address changes, which allowed any relay that the client
  1624. or bridge contacted to determine which entry guards it is using.
  1625. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  1626. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  1627. no longer considers that connection as suitable for satisfying a
  1628. circuit EXTEND request. Now relays can protect clients from the
  1629. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  1630. - Directory authorities no longer assign the Guard flag to relays
  1631. that haven't upgraded to the above "refuse EXTEND requests
  1632. to client connections" fix. Now directory authorities can
  1633. protect clients from the CVE-2011-2768 issue even if neither
  1634. the clients nor the relays have upgraded yet. There's a new
  1635. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  1636. to let us transition smoothly, else tomorrow there would be no
  1637. guard relays.
  1638. o Privacy/anonymity fixes (bridge enumeration):
  1639. - Bridge relays now do their directory fetches inside Tor TLS
  1640. connections, like all the other clients do, rather than connecting
  1641. directly to the DirPort like public relays do. Removes another
  1642. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  1643. - Bridges relays now build circuits for themselves in a more similar
  1644. way to how clients build them. Removes another avenue for
  1645. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  1646. when bridges were introduced.
  1647. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  1648. that they initiated. Relays could distinguish incoming bridge
  1649. connections from client connections, creating another avenue for
  1650. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  1651. Found by "frosty_un".
  1652. o Major bugfixes:
  1653. - Fix a crash bug when changing node restrictions while a DNS lookup
  1654. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  1655. by "Tey'".
  1656. - Don't launch a useless circuit after failing to use one of a
  1657. hidden service's introduction points. Previously, we would
  1658. launch a new introduction circuit, but not set the hidden service
  1659. which that circuit was intended to connect to, so it would never
  1660. actually be used. A different piece of code would then create a
  1661. new introduction circuit correctly. Bug reported by katmagic and
  1662. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  1663. o Minor bugfixes:
  1664. - Change an integer overflow check in the OpenBSD_Malloc code so
  1665. that GCC is less likely to eliminate it as impossible. Patch
  1666. from Mansour Moufid. Fixes bug 4059.
  1667. - When a hidden service turns an extra service-side introduction
  1668. circuit into a general-purpose circuit, free the rend_data and
  1669. intro_key fields first, so we won't leak memory if the circuit
  1670. is cannibalized for use as another service-side introduction
  1671. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  1672. - Bridges now skip DNS self-tests, to act a little more stealthily.
  1673. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  1674. bridges. Patch by "warms0x".
  1675. - Fix internal bug-checking logic that was supposed to catch
  1676. failures in digest generation so that it will fail more robustly
  1677. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  1678. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  1679. - Report any failure in init_keys() calls launched because our
  1680. IP address has changed. Spotted by Coverity Scan. Bugfix on
  1681. 0.1.1.4-alpha; fixes CID 484.
  1682. o Minor bugfixes (log messages and documentation):
  1683. - Remove a confusing dollar sign from the example fingerprint in the
  1684. man page, and also make the example fingerprint a valid one. Fixes
  1685. bug 4309; bugfix on 0.2.1.3-alpha.
  1686. - The next version of Windows will be called Windows 8, and it has
  1687. a major version of 6, minor version of 2. Correctly identify that
  1688. version instead of calling it "Very recent version". Resolves
  1689. ticket 4153; reported by funkstar.
  1690. - Downgrade log messages about circuit timeout calibration from
  1691. "notice" to "info": they don't require or suggest any human
  1692. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  1693. bugfix on 0.2.2.14-alpha.
  1694. o Minor features:
  1695. - Turn on directory request statistics by default and include them in
  1696. extra-info descriptors. Don't break if we have no GeoIP database.
  1697. Backported from 0.2.3.1-alpha; implements ticket 3951.
  1698. - Update to the October 4 2011 Maxmind GeoLite Country database.
  1699. Changes in version 0.2.1.31 - 2011-10-26
  1700. Tor 0.2.1.31 backports important security and privacy fixes for
  1701. oldstable. This release is intended only for package maintainers and
  1702. others who cannot use the 0.2.2 stable series. All others should be
  1703. using Tor 0.2.2.x or newer.
  1704. o Security fixes (also included in 0.2.2.x):
  1705. - Replace all potentially sensitive memory comparison operations
  1706. with versions whose runtime does not depend on the data being
  1707. compared. This will help resist a class of attacks where an
  1708. adversary can use variations in timing information to learn
  1709. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  1710. implementation by Robert Ransom based partially on code by DJB.)
  1711. - Fix an assert in parsing router descriptors containing IPv6
  1712. addresses. This one took down the directory authorities when
  1713. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  1714. o Privacy/anonymity fixes (also included in 0.2.2.x):
  1715. - Clients and bridges no longer send TLS certificate chains on
  1716. outgoing OR connections. Previously, each client or bridge would
  1717. use the same cert chain for all outgoing OR connections until
  1718. its IP address changes, which allowed any relay that the client
  1719. or bridge contacted to determine which entry guards it is using.
  1720. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  1721. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  1722. no longer considers that connection as suitable for satisfying a
  1723. circuit EXTEND request. Now relays can protect clients from the
  1724. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  1725. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  1726. that they initiated. Relays could distinguish incoming bridge
  1727. connections from client connections, creating another avenue for
  1728. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  1729. Found by "frosty_un".
  1730. - When receiving a hidden service descriptor, check that it is for
  1731. the hidden service we wanted. Previously, Tor would store any
  1732. hidden service descriptors that a directory gave it, whether it
  1733. wanted them or not. This wouldn't have let an attacker impersonate
  1734. a hidden service, but it did let directories pre-seed a client
  1735. with descriptors that it didn't want. Bugfix on 0.0.6.
  1736. - Avoid linkability based on cached hidden service descriptors: forget
  1737. all hidden service descriptors cached as a client when processing a
  1738. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  1739. - Make the bridge directory authority refuse to answer directory
  1740. requests for "all" descriptors. It used to include bridge
  1741. descriptors in its answer, which was a major information leak.
  1742. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  1743. - Don't attach new streams to old rendezvous circuits after SIGNAL
  1744. NEWNYM. Previously, we would keep using an existing rendezvous
  1745. circuit if it remained open (i.e. if it were kept open by a
  1746. long-lived stream, or if a new stream were attached to it before
  1747. Tor could notice that it was old and no longer in use). Bugfix on
  1748. 0.1.1.15-rc; fixes bug 3375.
  1749. o Minor bugfixes (also included in 0.2.2.x):
  1750. - When we restart our relay, we might get a successful connection
  1751. from the outside before we've started our reachability tests,
  1752. triggering a warning: "ORPort found reachable, but I have no
  1753. routerinfo yet. Failing to inform controller of success." This
  1754. bug was harmless unless Tor is running under a controller
  1755. like Vidalia, in which case the controller would never get a
  1756. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  1757. fixes bug 1172.
  1758. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  1759. enabled. Fixes bug 1526.
  1760. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  1761. anything since 0.2.1.16-rc.
  1762. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  1763. None of the cases where we did this before were wrong, but by making
  1764. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  1765. - Fix a rare crash bug that could occur when a client was configured
  1766. with a large number of bridges. Fixes bug 2629; bugfix on
  1767. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  1768. - Correct the warning displayed when a rendezvous descriptor exceeds
  1769. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  1770. John Brooks.
  1771. - Fix an uncommon assertion failure when running with DNSPort under
  1772. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  1773. - When warning about missing zlib development packages during compile,
  1774. give the correct package names. Bugfix on 0.2.0.1-alpha.
  1775. - Require that introduction point keys and onion keys have public
  1776. exponent 65537. Bugfix on 0.2.0.10-alpha.
  1777. - Do not crash when our configuration file becomes unreadable, for
  1778. example due to a permissions change, between when we start up
  1779. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  1780. on 0.0.9pre6.
  1781. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  1782. Fixes bug 3208.
  1783. - Always NUL-terminate the sun_path field of a sockaddr_un before
  1784. passing it to the kernel. (Not a security issue: kernels are
  1785. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  1786. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  1787. - Don't stack-allocate the list of supplementary GIDs when we're
  1788. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  1789. could take up to 256K, which is way too much stack. Found by
  1790. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  1791. o Minor bugfixes (only in 0.2.1.x):
  1792. - Resume using micro-version numbers in 0.2.1.x: our Debian packages
  1793. rely on them. Bugfix on 0.2.1.30.
  1794. - Use git revisions instead of svn revisions when generating our
  1795. micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  1796. o Minor features (also included in 0.2.2.x):
  1797. - Adjust the expiration time on our SSL session certificates to
  1798. better match SSL certs seen in the wild. Resolves ticket 4014.
  1799. - Allow nameservers with IPv6 address. Resolves bug 2574.
  1800. - Update to the October 4 2011 Maxmind GeoLite Country database.
  1801. Changes in version 0.2.3.5-alpha - 2011-09-28
  1802. Tor 0.2.3.5-alpha fixes two bugs that make it possible to enumerate
  1803. bridge relays; fixes an assertion error that many users started hitting
  1804. today; and adds the ability to refill token buckets more often than
  1805. once per second, allowing significant performance improvements.
  1806. o Security fixes:
  1807. - Bridge relays now do their directory fetches inside Tor TLS
  1808. connections, like all the other clients do, rather than connecting
  1809. directly to the DirPort like public relays do. Removes another
  1810. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  1811. - Bridges relays now build circuits for themselves in a more similar
  1812. way to how clients build them. Removes another avenue for
  1813. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  1814. when bridges were introduced.
  1815. o Major bugfixes:
  1816. - Fix an "Assertion md->held_by_node == 1 failed" error that could
  1817. occur when the same microdescriptor was referenced by two node_t
  1818. objects at once. Fix for bug 4118; bugfix on Tor 0.2.3.1-alpha.
  1819. o Major features (networking):
  1820. - Add a new TokenBucketRefillInterval option to refill token buckets
  1821. more frequently than once per second. This should improve network
  1822. performance, alleviate queueing problems, and make traffic less
  1823. bursty. Implements proposal 183; closes ticket 3630. Design by
  1824. Florian Tschorsch and Björn Scheuermann; implementation by
  1825. Florian Tschorsch.
  1826. o Minor bugfixes:
  1827. - Change an integer overflow check in the OpenBSD_Malloc code so
  1828. that GCC is less likely to eliminate it as impossible. Patch
  1829. from Mansour Moufid. Fixes bug 4059.
  1830. o Minor bugfixes (usability):
  1831. - Downgrade log messages about circuit timeout calibration from
  1832. "notice" to "info": they don't require or suggest any human
  1833. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  1834. bugfix on 0.2.2.14-alpha.
  1835. o Minor features (diagnostics):
  1836. - When the system call to create a listener socket fails, log the
  1837. error message explaining why. This may help diagnose bug 4027.
  1838. Changes in version 0.2.3.4-alpha - 2011-09-13
  1839. Tor 0.2.3.4-alpha includes the fixes from 0.2.2.33, including a slight
  1840. tweak to Tor's TLS handshake that makes relays and bridges that run
  1841. this new version reachable from Iran again. It also fixes a few new
  1842. bugs in 0.2.3.x, and teaches relays to recognize when they're not
  1843. listed in the network consensus and republish.
  1844. o Major bugfixes (also part of 0.2.2.33):
  1845. - Avoid an assertion failure when reloading a configuration with
  1846. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  1847. 3923; bugfix on 0.2.2.25-alpha.
  1848. o Minor features (security, also part of 0.2.2.33):
  1849. - Check for replays of the public-key encrypted portion of an
  1850. INTRODUCE1 cell, in addition to the current check for replays of
  1851. the g^x value. This prevents a possible class of active attacks
  1852. by an attacker who controls both an introduction point and a
  1853. rendezvous point, and who uses the malleability of AES-CTR to
  1854. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  1855. that these attacks is infeasible (requiring the attacker to send
  1856. on the order of zettabytes of altered cells in a short interval),
  1857. but we'd rather block them off in case there are any classes of
  1858. this attack that we missed. Reported by Willem Pinckaers.
  1859. o Minor features (also part of 0.2.2.33):
  1860. - Adjust the expiration time on our SSL session certificates to
  1861. better match SSL certs seen in the wild. Resolves ticket 4014.
  1862. - Change the default required uptime for a relay to be accepted as
  1863. a HSDir (hidden service directory) from 24 hours to 25 hours.
  1864. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  1865. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  1866. authorities to abstain from voting on assignment of the HSDir
  1867. consensus flag. Related to bug 2649.
  1868. - Update to the September 6 2011 Maxmind GeoLite Country database.
  1869. o Minor bugfixes (also part of 0.2.2.33):
  1870. - Demote the 'replay detected' log message emitted when a hidden
  1871. service receives the same Diffie-Hellman public key in two different
  1872. INTRODUCE2 cells to info level. A normal Tor client can cause that
  1873. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  1874. fixes part of bug 2442.
  1875. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  1876. level. There is nothing that a hidden service's operator can do
  1877. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  1878. of bug 2442.
  1879. - Clarify a log message specifying the characters permitted in
  1880. HiddenServiceAuthorizeClient client names. Previously, the log
  1881. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  1882. given the impression that every ASCII character between "+" and "_"
  1883. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  1884. o Build fixes (also part of 0.2.2.33):
  1885. - Clean up some code issues that prevented Tor from building on older
  1886. BSDs. Fixes bug 3894; reported by "grarpamp".
  1887. - Search for a platform-specific version of "ar" when cross-compiling.
  1888. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  1889. o Major bugfixes:
  1890. - Fix a bug where the SocksPort option (for example) would get
  1891. ignored and replaced by the default if a SocksListenAddress
  1892. option was set. Bugfix on 0.2.3.3-alpha; fixes bug 3936. Fix by
  1893. Fabian Keil.
  1894. o Major features:
  1895. - Relays now try regenerating and uploading their descriptor more
  1896. frequently if they are not listed in the consensus, or if the
  1897. version of their descriptor listed in the consensus is too
  1898. old. This fix should prevent situations where a server declines
  1899. to re-publish itself because it has done so too recently, even
  1900. though the authorities decided not to list its recent-enough
  1901. descriptor. Fix for bug 3327.
  1902. o Minor features:
  1903. - Relays now include a reason for regenerating their descriptors
  1904. in an HTTP header when uploading to the authorities. This will
  1905. make it easier to debug descriptor-upload issues in the future.
  1906. - When starting as root and then changing our UID via the User
  1907. control option, and we have a ControlSocket configured, make sure
  1908. that the ControlSocket is owned by the same account that Tor will
  1909. run under. Implements ticket 3421; fix by Jérémy Bobbio.
  1910. o Minor bugfixes:
  1911. - Abort if tor_vasprintf fails in connection_printf_to_buf (a
  1912. utility function used in the control-port code). This shouldn't
  1913. ever happen unless Tor is completely out of memory, but if it did
  1914. happen and Tor somehow recovered from it, Tor could have sent a log
  1915. message to a control port in the middle of a reply to a controller
  1916. command. Fixes part of bug 3428; bugfix on 0.1.2.3-alpha.
  1917. - Make 'FetchUselessDescriptors' cause all descriptor types and
  1918. all consensus types (including microdescriptors) to get fetched.
  1919. Fixes bug 3851; bugfix on 0.2.3.1-alpha.
  1920. o Code refactoring:
  1921. - Make a new "entry connection" struct as an internal subtype of "edge
  1922. connection", to simplify the code and make exit connections smaller.
  1923. Changes in version 0.2.2.33 - 2011-09-13
  1924. Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
  1925. TLS handshake that makes relays and bridges that run this new version
  1926. reachable from Iran again.
  1927. o Major bugfixes:
  1928. - Avoid an assertion failure when reloading a configuration with
  1929. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  1930. 3923; bugfix on 0.2.2.25-alpha.
  1931. o Minor features (security):
  1932. - Check for replays of the public-key encrypted portion of an
  1933. INTRODUCE1 cell, in addition to the current check for replays of
  1934. the g^x value. This prevents a possible class of active attacks
  1935. by an attacker who controls both an introduction point and a
  1936. rendezvous point, and who uses the malleability of AES-CTR to
  1937. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  1938. that these attacks are infeasible (requiring the attacker to send
  1939. on the order of zettabytes of altered cells in a short interval),
  1940. but we'd rather block them off in case there are any classes of
  1941. this attack that we missed. Reported by Willem Pinckaers.
  1942. o Minor features:
  1943. - Adjust the expiration time on our SSL session certificates to
  1944. better match SSL certs seen in the wild. Resolves ticket 4014.
  1945. - Change the default required uptime for a relay to be accepted as
  1946. a HSDir (hidden service directory) from 24 hours to 25 hours.
  1947. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  1948. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  1949. authorities to abstain from voting on assignment of the HSDir
  1950. consensus flag. Related to bug 2649.
  1951. - Update to the September 6 2011 Maxmind GeoLite Country database.
  1952. o Minor bugfixes (documentation and log messages):
  1953. - Correct the man page to explain that HashedControlPassword and
  1954. CookieAuthentication can both be set, in which case either method
  1955. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  1956. when we decided to allow these config options to both be set. Issue
  1957. raised by bug 3898.
  1958. - Demote the 'replay detected' log message emitted when a hidden
  1959. service receives the same Diffie-Hellman public key in two different
  1960. INTRODUCE2 cells to info level. A normal Tor client can cause that
  1961. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  1962. fixes part of bug 2442.
  1963. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  1964. level. There is nothing that a hidden service's operator can do
  1965. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  1966. of bug 2442.
  1967. - Clarify a log message specifying the characters permitted in
  1968. HiddenServiceAuthorizeClient client names. Previously, the log
  1969. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  1970. given the impression that every ASCII character between "+" and "_"
  1971. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  1972. o Build fixes:
  1973. - Provide a substitute implementation of lround() for MSVC, which
  1974. apparently lacks it. Patch from Gisle Vanem.
  1975. - Clean up some code issues that prevented Tor from building on older
  1976. BSDs. Fixes bug 3894; reported by "grarpamp".
  1977. - Search for a platform-specific version of "ar" when cross-compiling.
  1978. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  1979. Changes in version 0.2.3.3-alpha - 2011-09-01
  1980. Tor 0.2.3.3-alpha adds a new "stream isolation" feature to improve Tor's
  1981. security, and provides client-side support for the microdescriptor
  1982. and optimistic data features introduced earlier in the 0.2.3.x
  1983. series. It also includes numerous critical bugfixes in the (optional)
  1984. bufferevent-based networking backend.
  1985. o Major features (stream isolation):
  1986. - You can now configure Tor so that streams from different
  1987. applications are isolated on different circuits, to prevent an
  1988. attacker who sees your streams as they leave an exit node from
  1989. linking your sessions to one another. To do this, choose some way
  1990. to distinguish the applications: have them connect to different
  1991. SocksPorts, or have one of them use SOCKS4 while the other uses
  1992. SOCKS5, or have them pass different authentication strings to the
  1993. SOCKS proxy. Then, use the new SocksPort syntax to configure the
  1994. degree of isolation you need. This implements Proposal 171.
  1995. - There's a new syntax for specifying multiple client ports (such as
  1996. SOCKSPort, TransPort, DNSPort, NATDPort): you can now just declare
  1997. multiple *Port entries with full addr:port syntax on each.
  1998. The old *ListenAddress format is still supported, but you can't
  1999. mix it with the new *Port syntax.
  2000. o Major features (other):
  2001. - Enable microdescriptor fetching by default for clients. This allows
  2002. clients to download a much smaller amount of directory information.
  2003. To disable it (and go back to the old-style consensus and
  2004. descriptors), set "UseMicrodescriptors 0" in your torrc file.
  2005. - Tor's firewall-helper feature, introduced in 0.2.3.1-alpha (see the
  2006. "PortForwarding" config option), now supports Windows.
  2007. - When using an exit relay running 0.2.3.x, clients can now
  2008. "optimistically" send data before the exit relay reports that
  2009. the stream has opened. This saves a round trip when starting
  2010. connections where the client speaks first (such as web browsing).
  2011. This behavior is controlled by a consensus parameter (currently
  2012. disabled). To turn it on or off manually, use the "OptimisticData"
  2013. torrc option. Implements proposal 181; code by Ian Goldberg.
  2014. o Major bugfixes (bufferevents, fixes on 0.2.3.1-alpha):
  2015. - When using IOCP on Windows, we need to enable Libevent windows
  2016. threading support.
  2017. - The IOCP backend now works even when the user has not specified
  2018. the (internal, debugging-only) _UseFilteringSSLBufferevents option.
  2019. Fixes part of bug 3752.
  2020. - Correctly record the bytes we've read and written when using
  2021. bufferevents, so that we can include them in our bandwidth history
  2022. and advertised bandwidth. Fixes bug 3803.
  2023. - Apply rate-limiting only at the bottom of a chain of filtering
  2024. bufferevents. This prevents us from filling up internal read
  2025. buffers and violating rate-limits when filtering bufferevents
  2026. are enabled. Fixes part of bug 3804.
  2027. - Add high-watermarks to the output buffers for filtered
  2028. bufferevents. This prevents us from filling up internal write
  2029. buffers and wasting CPU cycles when filtering bufferevents are
  2030. enabled. Fixes part of bug 3804.
  2031. - Correctly notice when data has been written from a bufferevent
  2032. without flushing it completely. Fixes bug 3805.
  2033. - Fix a bug where server-side tunneled bufferevent-based directory
  2034. streams would get closed prematurely. Fixes bug 3814.
  2035. - Fix a use-after-free error with per-connection rate-limiting
  2036. buckets. Fixes bug 3888.
  2037. o Major bugfixes (also part of 0.2.2.31-rc):
  2038. - If we're configured to write our ControlPorts to disk, only write
  2039. them after switching UID and creating the data directory. This way,
  2040. we don't fail when starting up with a nonexistent DataDirectory
  2041. and a ControlPortWriteToFile setting based on that directory. Fixes
  2042. bug 3747; bugfix on Tor 0.2.2.26-beta.
  2043. o Minor features:
  2044. - Added a new CONF_CHANGED event so that controllers can be notified
  2045. of any configuration changes made by other controllers, or by the
  2046. user. Implements ticket 1692.
  2047. - Use evbuffer_copyout() in inspect_evbuffer(). This fixes a memory
  2048. leak when using bufferevents, and lets Libevent worry about how to
  2049. best copy data out of a buffer.
  2050. - Replace files in stats/ rather than appending to them. Now that we
  2051. include statistics in extra-info descriptors, it makes no sense to
  2052. keep old statistics forever. Implements ticket 2930.
  2053. o Minor features (build compatibility):
  2054. - Limited, experimental support for building with nmake and MSVC.
  2055. - Provide a substitute implementation of lround() for MSVC, which
  2056. apparently lacks it. Patch from Gisle Vanem.
  2057. o Minor features (also part of 0.2.2.31-rc):
  2058. - Update to the August 2 2011 Maxmind GeoLite Country database.
  2059. o Minor bugfixes (on 0.2.3.x-alpha):
  2060. - Fix a spurious warning when parsing SOCKS requests with
  2061. bufferevents enabled. Fixes bug 3615; bugfix on 0.2.3.2-alpha.
  2062. - Get rid of a harmless warning that could happen on relays running
  2063. with bufferevents. The warning was caused by someone doing an http
  2064. request to a relay's orport. Also don't warn for a few related
  2065. non-errors. Fixes bug 3700; bugfix on 0.2.3.1-alpha.
  2066. o Minor bugfixes (on 2.2.x and earlier):
  2067. - Correct the man page to explain that HashedControlPassword and
  2068. CookieAuthentication can both be set, in which case either method
  2069. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  2070. when we decided to allow these config options to both be set. Issue
  2071. raised by bug 3898.
  2072. - The "--quiet" and "--hush" options now apply not only to Tor's
  2073. behavior before logs are configured, but also to Tor's behavior in
  2074. the absense of configured logs. Fixes bug 3550; bugfix on
  2075. 0.2.0.10-alpha.
  2076. o Minor bugfixes (also part of 0.2.2.31-rc):
  2077. - Write several files in text mode, on OSes that distinguish text
  2078. mode from binary mode (namely, Windows). These files are:
  2079. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  2080. that collect those statistics; 'client_keys' and 'hostname' for
  2081. hidden services that use authentication; and (in the tor-gencert
  2082. utility) newly generated identity and signing keys. Previously,
  2083. we wouldn't specify text mode or binary mode, leading to an
  2084. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  2085. the DirRecordUsageByCountry option which would have triggered
  2086. the assertion failure was added), although this assertion failure
  2087. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  2088. - Selectively disable deprecation warnings on OS X because Lion
  2089. started deprecating the shipped copy of openssl. Fixes bug 3643.
  2090. - Remove an extra pair of quotation marks around the error
  2091. message in control-port STATUS_GENERAL BUG events. Bugfix on
  2092. 0.1.2.6-alpha; fixes bug 3732.
  2093. - When unable to format an address as a string, report its value
  2094. as "???" rather than reusing the last formatted address. Bugfix
  2095. on 0.2.1.5-alpha.
  2096. o Code simplifications and refactoring:
  2097. - Rewrite the listener-selection logic so that parsing which ports
  2098. we want to listen on is now separate from binding to the ports
  2099. we want.
  2100. o Build changes:
  2101. - Building Tor with bufferevent support now requires Libevent
  2102. 2.0.13-stable or later. Previous versions of Libevent had bugs in
  2103. SSL-related bufferevents and related issues that would make Tor
  2104. work badly with bufferevents. Requiring 2.0.13-stable also allows
  2105. Tor with bufferevents to take advantage of Libevent APIs
  2106. introduced after 2.0.8-rc.
  2107. Changes in version 0.2.2.32 - 2011-08-27
  2108. The Tor 0.2.2 release series is dedicated to the memory of Andreas
  2109. Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
  2110. a founder of the PETS community, a leader in our field, a mentor,
  2111. and a friend. He left us with these words: "I had the possibility
  2112. to contribute to this world that is not as it should be. I hope I
  2113. could help in some areas to make the world a better place, and that
  2114. I could also encourage other people to be engaged in improving the
  2115. world. Please, stay engaged. This world needs you, your love, your
  2116. initiative -- now I cannot be part of that anymore."
  2117. Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
  2118. ready. More than two years in the making, this release features improved
  2119. client performance and hidden service reliability, better compatibility
  2120. for Android, correct behavior for bridges that listen on more than
  2121. one address, more extensible and flexible directory object handling,
  2122. better reporting of network statistics, improved code security, and
  2123. many many other features and bugfixes.
  2124. Changes in version 0.2.2.31-rc - 2011-08-17
  2125. Tor 0.2.2.31-rc is the second and hopefully final release candidate
  2126. for the Tor 0.2.2.x series.
  2127. o Major bugfixes:
  2128. - Remove an extra pair of quotation marks around the error
  2129. message in control-port STATUS_GENERAL BUG events. Bugfix on
  2130. 0.1.2.6-alpha; fixes bug 3732.
  2131. - If we're configured to write our ControlPorts to disk, only write
  2132. them after switching UID and creating the data directory. This way,
  2133. we don't fail when starting up with a nonexistent DataDirectory
  2134. and a ControlPortWriteToFile setting based on that directory. Fixes
  2135. bug 3747; bugfix on Tor 0.2.2.26-beta.
  2136. o Minor features:
  2137. - Update to the August 2 2011 Maxmind GeoLite Country database.
  2138. o Minor bugfixes:
  2139. - Allow GETINFO fingerprint to return a fingerprint even when
  2140. we have not yet built a router descriptor. Fixes bug 3577;
  2141. bugfix on 0.2.0.1-alpha.
  2142. - Write several files in text mode, on OSes that distinguish text
  2143. mode from binary mode (namely, Windows). These files are:
  2144. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  2145. that collect those statistics; 'client_keys' and 'hostname' for
  2146. hidden services that use authentication; and (in the tor-gencert
  2147. utility) newly generated identity and signing keys. Previously,
  2148. we wouldn't specify text mode or binary mode, leading to an
  2149. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  2150. the DirRecordUsageByCountry option which would have triggered
  2151. the assertion failure was added), although this assertion failure
  2152. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  2153. - Selectively disable deprecation warnings on OS X because Lion
  2154. started deprecating the shipped copy of openssl. Fixes bug 3643.
  2155. - When unable to format an address as a string, report its value
  2156. as "???" rather than reusing the last formatted address. Bugfix
  2157. on 0.2.1.5-alpha.
  2158. Changes in version 0.2.3.2-alpha - 2011-07-18
  2159. Tor 0.2.3.2-alpha introduces two new experimental features:
  2160. microdescriptors and pluggable transports. It also continues cleaning
  2161. up a variety of recently introduced features.
  2162. o Major features:
  2163. - Clients can now use microdescriptors instead of regular descriptors
  2164. to build circuits. Microdescriptors are authority-generated
  2165. summaries of regular descriptors' contents, designed to change
  2166. very rarely (see proposal 158 for details). This feature is
  2167. designed to save bandwidth, especially for clients on slow internet
  2168. connections. It's off by default for now, since nearly no caches
  2169. support it, but it will be on-by-default for clients in a future
  2170. version. You can use the UseMicrodescriptors option to turn it on.
  2171. - Tor clients using bridges can now be configured to use a separate
  2172. 'transport' proxy for each bridge. This approach helps to resist
  2173. censorship by allowing bridges to use protocol obfuscation
  2174. plugins. It implements part of proposal 180. Implements ticket 2841.
  2175. - While we're trying to bootstrap, record how many TLS connections
  2176. fail in each state, and report which states saw the most failures
  2177. in response to any bootstrap failures. This feature may speed up
  2178. diagnosis of censorship events. Implements ticket 3116.
  2179. o Major bugfixes (on 0.2.3.1-alpha):
  2180. - When configuring a large set of nodes in EntryNodes (as with
  2181. 'EntryNodes {cc}' or 'EntryNodes 1.1.1.1/16'), choose only a
  2182. random subset to be guards, and choose them in random
  2183. order. Fixes bug 2798.
  2184. - Tor could crash when remembering a consensus in a non-used consensus
  2185. flavor without having a current consensus set. Fixes bug 3361.
  2186. - Comparing an unknown address to a microdescriptor's shortened exit
  2187. policy would always give a "rejected" result. Fixes bug 3599.
  2188. - Using microdescriptors as a client no longer prevents Tor from
  2189. uploading and downloading hidden service descriptors. Fixes
  2190. bug 3601.
  2191. o Minor features:
  2192. - Allow nameservers with IPv6 address. Resolves bug 2574.
  2193. - Accept attempts to include a password authenticator in the
  2194. handshake, as supported by SOCKS5. This handles SOCKS clients that
  2195. don't know how to omit a password when authenticating. Resolves
  2196. bug 1666.
  2197. - When configuring a large set of nodes in EntryNodes, and there are
  2198. enough of them listed as Guard so that we don't need to consider
  2199. the non-guard entries, prefer the ones listed with the Guard flag.
  2200. - Check for and recover from inconsistency in the microdescriptor
  2201. cache. This will make it harder for us to accidentally free a
  2202. microdescriptor without removing it from the appropriate data
  2203. structures. Fixes issue 3135; issue noted by "wanoskarnet".
  2204. - Log SSL state transitions at log level DEBUG, log domain
  2205. HANDSHAKE. This can be useful for debugging censorship events.
  2206. Implements ticket 3264.
  2207. - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
  2208. implements ticket 3439.
  2209. o Minor bugfixes (on 0.2.3.1-alpha):
  2210. - Do not free all general-purpose regular descriptors just
  2211. because microdescriptor use is enabled. Fixes bug 3113.
  2212. - Correctly link libevent_openssl when --enable-static-libevent
  2213. is passed to configure. Fixes bug 3118.
  2214. - Bridges should not complain during their heartbeat log messages that
  2215. they are unlisted in the consensus: that's more or less the point
  2216. of being a bridge. Fixes bug 3183.
  2217. - Report a SIGNAL event to controllers when acting on a delayed
  2218. SIGNAL NEWNYM command. Previously, we would report a SIGNAL
  2219. event to the controller if we acted on a SIGNAL NEWNYM command
  2220. immediately, and otherwise not report a SIGNAL event for the
  2221. command at all. Fixes bug 3349.
  2222. - Fix a crash when handling the SIGNAL controller command or
  2223. reporting ERR-level status events with bufferevents enabled. Found
  2224. by Robert Ransom. Fixes bug 3367.
  2225. - Always ship the tor-fw-helper manpage in our release tarballs.
  2226. Fixes bug 3389. Reported by Stephen Walker.
  2227. - Fix a class of double-mark-for-close bugs when bufferevents
  2228. are enabled. Fixes bug 3403.
  2229. - Update tor-fw-helper to support libnatpmp-20110618. Fixes bug 3434.
  2230. - Add SIGNAL to the list returned by the 'GETINFO events/names'
  2231. control-port command. Fixes part of bug 3465.
  2232. - Prevent using negative indices during unit test runs when read_all()
  2233. fails. Spotted by coverity.
  2234. - Fix a rare memory leak when checking the nodelist without it being
  2235. present. Found by coverity.
  2236. - Only try to download a microdescriptor-flavored consensus from
  2237. a directory cache that provides them.
  2238. o Minor bugfixes (on 0.2.2.x and earlier):
  2239. - Assert that hidden-service-related operations are not performed
  2240. using single-hop circuits. Previously, Tor would assert that
  2241. client-side streams are not attached to single-hop circuits,
  2242. but not that other sensitive operations on the client and service
  2243. side are not performed using single-hop circuits. Fixes bug 3332;
  2244. bugfix on 0.0.6.
  2245. - Don't publish a new relay descriptor when we reload our onion key,
  2246. unless the onion key has actually changed. Fixes bug 3263 and
  2247. resolves another cause of bug 1810. Bugfix on 0.1.1.11-alpha.
  2248. - Allow GETINFO fingerprint to return a fingerprint even when
  2249. we have not yet built a router descriptor. Fixes bug 3577;
  2250. bugfix on 0.2.0.1-alpha.
  2251. - Make 'tor --digests' list hashes of all Tor source files. Bugfix
  2252. on 0.2.2.4-alpha; fixes bug 3427.
  2253. o Code simplification and refactoring:
  2254. - Use tor_sscanf() in place of scanf() in more places through the
  2255. code. This makes us a little more locale-independent, and
  2256. should help shut up code-analysis tools that can't tell
  2257. a safe sscanf string from a dangerous one.
  2258. - Use tt_assert(), not tor_assert(), for checking for test failures.
  2259. This makes the unit tests more able to go on in the event that
  2260. one of them fails.
  2261. - Split connection_about_to_close() into separate functions for each
  2262. connection type.
  2263. o Build changes:
  2264. - On Windows, we now define the _WIN32_WINNT macros only if they
  2265. are not already defined. This lets the person building Tor decide,
  2266. if they want, to require a later version of Windows.
  2267. Changes in version 0.2.2.30-rc - 2011-07-07
  2268. Tor 0.2.2.30-rc is the first release candidate for the Tor 0.2.2.x
  2269. series. It fixes a few smaller bugs, but generally appears stable.
  2270. Please test it and let us know whether it is!
  2271. o Minor bugfixes:
  2272. - Send a SUCCEEDED stream event to the controller when a reverse
  2273. resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
  2274. discovered by katmagic.
  2275. - Always NUL-terminate the sun_path field of a sockaddr_un before
  2276. passing it to the kernel. (Not a security issue: kernels are
  2277. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  2278. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  2279. - Don't stack-allocate the list of supplementary GIDs when we're
  2280. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  2281. could take up to 256K, which is way too much stack. Found by
  2282. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  2283. - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
  2284. events/names' control-port command. Bugfix on 0.2.2.9-alpha;
  2285. fixes part of bug 3465.
  2286. - Fix a memory leak when receiving a descriptor for a hidden
  2287. service we didn't ask for. Found by Coverity; CID #30. Bugfix
  2288. on 0.2.2.26-beta.
  2289. o Minor features:
  2290. - Update to the July 1 2011 Maxmind GeoLite Country database.
  2291. Changes in version 0.2.2.29-beta - 2011-06-20
  2292. Tor 0.2.2.29-beta reverts an accidental behavior change for users who
  2293. have bridge lines in their torrc but don't want to use them; gets
  2294. us closer to having the control socket feature working on Debian;
  2295. and fixes a variety of smaller bugs.
  2296. o Major bugfixes:
  2297. - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
  2298. When we changed the default behavior to "use bridges if any
  2299. are listed in the torrc", we surprised users who had bridges
  2300. in their torrc files but who didn't actually want to use them.
  2301. Partial resolution for bug 3354.
  2302. o Privacy fixes:
  2303. - Don't attach new streams to old rendezvous circuits after SIGNAL
  2304. NEWNYM. Previously, we would keep using an existing rendezvous
  2305. circuit if it remained open (i.e. if it were kept open by a
  2306. long-lived stream, or if a new stream were attached to it before
  2307. Tor could notice that it was old and no longer in use). Bugfix on
  2308. 0.1.1.15-rc; fixes bug 3375.
  2309. o Minor bugfixes:
  2310. - Fix a bug when using ControlSocketsGroupWritable with User. The
  2311. directory's group would be checked against the current group, not
  2312. the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
  2313. bugfix on 0.2.2.26-beta.
  2314. - Make connection_printf_to_buf()'s behaviour sane. Its callers
  2315. expect it to emit a CRLF iff the format string ends with CRLF;
  2316. it actually emitted a CRLF iff (a) the format string ended with
  2317. CRLF or (b) the resulting string was over 1023 characters long or
  2318. (c) the format string did not end with CRLF *and* the resulting
  2319. string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
  2320. fixes part of bug 3407.
  2321. - Make send_control_event_impl()'s behaviour sane. Its callers
  2322. expect it to always emit a CRLF at the end of the string; it
  2323. might have emitted extra control characters as well. Bugfix on
  2324. 0.1.1.9-alpha; fixes another part of bug 3407.
  2325. - Make crypto_rand_int() check the value of its input correctly.
  2326. Previously, it accepted values up to UINT_MAX, but could return a
  2327. negative number if given a value above INT_MAX+1. Found by George
  2328. Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
  2329. - Avoid a segfault when reading a malformed circuit build state
  2330. with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
  2331. 0.2.2.4-alpha.
  2332. - When asked about a DNS record type we don't support via a
  2333. client DNSPort, reply with NOTIMPL rather than an empty
  2334. reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
  2335. - Fix a rare memory leak during stats writing. Found by coverity.
  2336. o Minor features:
  2337. - Update to the June 1 2011 Maxmind GeoLite Country database.
  2338. o Code simplifications and refactoring:
  2339. - Remove some dead code as indicated by coverity.
  2340. - Remove a few dead assignments during router parsing. Found by
  2341. coverity.
  2342. - Add some forgotten return value checks during unit tests. Found
  2343. by coverity.
  2344. - Don't use 1-bit wide signed bit fields. Found by coverity.
  2345. Changes in version 0.2.2.28-beta - 2011-06-04
  2346. Tor 0.2.2.28-beta makes great progress towards a new stable release: we
  2347. fixed a big bug in whether relays stay in the consensus consistently,
  2348. we moved closer to handling bridges and hidden services correctly,
  2349. and we started the process of better handling the dreaded "my Vidalia
  2350. died, and now my Tor demands a password when I try to reconnect to it"
  2351. usability issue.
  2352. o Major bugfixes:
  2353. - Don't decide to make a new descriptor when receiving a HUP signal.
  2354. This bug has caused a lot of 0.2.2.x relays to disappear from the
  2355. consensus periodically. Fixes the most common case of triggering
  2356. bug 1810; bugfix on 0.2.2.7-alpha.
  2357. - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
  2358. - Don't try to build descriptors if "ORPort auto" is set and we
  2359. don't know our actual ORPort yet. Fix for bug 3216; bugfix on
  2360. 0.2.2.26-beta.
  2361. - Resolve a crash that occurred when setting BridgeRelay to 1 with
  2362. accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
  2363. - Apply circuit timeouts to opened hidden-service-related circuits
  2364. based on the correct start time. Previously, we would apply the
  2365. circuit build timeout based on time since the circuit's creation;
  2366. it was supposed to be applied based on time since the circuit
  2367. entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
  2368. - Use the same circuit timeout for client-side introduction
  2369. circuits as for other four-hop circuits, rather than the timeout
  2370. for single-hop directory-fetch circuits; the shorter timeout may
  2371. have been appropriate with the static circuit build timeout in
  2372. 0.2.1.x and earlier, but caused many hidden service access attempts
  2373. to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
  2374. on 0.2.2.2-alpha; fixes another part of bug 1297.
  2375. - In ticket 2511 we fixed a case where you could use an unconfigured
  2376. bridge if you had configured it as a bridge the last time you ran
  2377. Tor. Now fix another edge case: if you had configured it as a bridge
  2378. but then switched to a different bridge via the controller, you
  2379. would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
  2380. fixes bug 3321.
  2381. o Major features:
  2382. - Add an __OwningControllerProcess configuration option and a
  2383. TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
  2384. that when it exits, Tor will shut down. Implements feature 3049.
  2385. - If "UseBridges 1" is set and no bridges are configured, Tor will
  2386. now refuse to build any circuits until some bridges are set.
  2387. If "UseBridges auto" is set, Tor will use bridges if they are
  2388. configured and we are not running as a server, but otherwise will
  2389. make circuits as usual. The new default is "auto". Patch by anonym,
  2390. so the Tails LiveCD can stop automatically revealing you as a Tor
  2391. user on startup.
  2392. o Minor bugfixes:
  2393. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  2394. - Remove a trailing asterisk from "exit-policy/default" in the
  2395. output of the control port command "GETINFO info/names". Bugfix
  2396. on 0.1.2.5-alpha.
  2397. - Use a wide type to hold sockets when built for 64-bit Windows builds.
  2398. Fixes bug 3270.
  2399. - Warn when the user configures two HiddenServiceDir lines that point
  2400. to the same directory. Bugfix on 0.0.6 (the version introducing
  2401. HiddenServiceDir); fixes bug 3289.
  2402. - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
  2403. part of bug 2748; bugfix on 0.2.0.10-alpha.
  2404. - Log malformed requests for rendezvous descriptors as protocol
  2405. warnings, not warnings. Also, use a more informative log message
  2406. in case someone sees it at log level warning without prior
  2407. info-level messages. Fixes the other part of bug 2748; bugfix
  2408. on 0.2.0.10-alpha.
  2409. - Clear the table recording the time of the last request for each
  2410. hidden service descriptor from each HS directory on SIGNAL NEWNYM.
  2411. Previously, we would clear our HS descriptor cache on SIGNAL
  2412. NEWNYM, but if we had previously retrieved a descriptor (or tried
  2413. to) from every directory responsible for it, we would refuse to
  2414. fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
  2415. fixes bug 3309.
  2416. - Fix a log message that said "bits" while displaying a value in
  2417. bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
  2418. 0.2.0.1-alpha.
  2419. - When checking for 1024-bit keys, check for 1024 bits, not 128
  2420. bytes. This allows Tor to correctly discard keys of length 1017
  2421. through 1023. Bugfix on 0.0.9pre5.
  2422. o Minor features:
  2423. - Relays now log the reason for publishing a new relay descriptor,
  2424. so we have a better chance of hunting down instances of bug 1810.
  2425. Resolves ticket 3252.
  2426. - Revise most log messages that refer to nodes by nickname to
  2427. instead use the "$key=nickname at address" format. This should be
  2428. more useful, especially since nicknames are less and less likely
  2429. to be unique. Resolves ticket 3045.
  2430. - Log (at info level) when purging pieces of hidden-service-client
  2431. state because of SIGNAL NEWNYM.
  2432. o Removed options:
  2433. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  2434. anything since 0.2.1.16-rc.
  2435. Changes in version 0.2.2.27-beta - 2011-05-18
  2436. Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
  2437. release, and also adds a few more general bugfixes.
  2438. o Major bugfixes:
  2439. - Fix a crash bug when changing bridges in a running Tor process.
  2440. Fixes bug 3213; bugfix on 0.2.2.26-beta.
  2441. - When the controller configures a new bridge, don't wait 10 to 60
  2442. seconds before trying to fetch its descriptor. Bugfix on
  2443. 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
  2444. o Minor bugfixes:
  2445. - Require that onion keys have exponent 65537 in microdescriptors too.
  2446. Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
  2447. - Tor used to limit HttpProxyAuthenticator values to 48 characters.
  2448. Changed the limit to 512 characters by removing base64 newlines.
  2449. Fixes bug 2752. Fix by Michael Yakubovich.
  2450. - When a client starts or stops using bridges, never use a circuit
  2451. that was built before the configuration change. This behavior could
  2452. put at risk a user who uses bridges to ensure that her traffic
  2453. only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
  2454. bug 3200.
  2455. Changes in version 0.2.2.26-beta - 2011-05-17
  2456. Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
  2457. also introduces a new "socksport auto" approach that should make it
  2458. easier to run multiple Tors on the same system, and does a lot of
  2459. cleanup to get us closer to a release candidate.
  2460. o Security/privacy fixes:
  2461. - Replace all potentially sensitive memory comparison operations
  2462. with versions whose runtime does not depend on the data being
  2463. compared. This will help resist a class of attacks where an
  2464. adversary can use variations in timing information to learn
  2465. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  2466. implementation by Robert Ransom based partially on code by DJB.)
  2467. - When receiving a hidden service descriptor, check that it is for
  2468. the hidden service we wanted. Previously, Tor would store any
  2469. hidden service descriptors that a directory gave it, whether it
  2470. wanted them or not. This wouldn't have let an attacker impersonate
  2471. a hidden service, but it did let directories pre-seed a client
  2472. with descriptors that it didn't want. Bugfix on 0.0.6.
  2473. - On SIGHUP, do not clear out all TrackHostExits mappings, client
  2474. DNS cache entries, and virtual address mappings: that's what
  2475. NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
  2476. o Major features:
  2477. - The options SocksPort, ControlPort, and so on now all accept a
  2478. value "auto" that opens a socket on an OS-selected port. A
  2479. new ControlPortWriteToFile option tells Tor to write its
  2480. actual control port or ports to a chosen file. If the option
  2481. ControlPortFileGroupReadable is set, the file is created as
  2482. group-readable. Now users can run two Tor clients on the same
  2483. system without needing to manually mess with parameters. Resolves
  2484. part of ticket 3076.
  2485. - Set SO_REUSEADDR on all sockets, not just listeners. This should
  2486. help busy exit nodes avoid running out of useable ports just
  2487. because all the ports have been used in the near past. Resolves
  2488. issue 2850.
  2489. o Minor features:
  2490. - New "GETINFO net/listeners/(type)" controller command to return
  2491. a list of addresses and ports that are bound for listeners for a
  2492. given connection type. This is useful when the user has configured
  2493. "SocksPort auto" and the controller needs to know which port got
  2494. chosen. Resolves another part of ticket 3076.
  2495. - Add a new ControlSocketsGroupWritable configuration option: when
  2496. it is turned on, ControlSockets are group-writeable by the default
  2497. group of the current user. Patch by Jérémy Bobbio; implements
  2498. ticket 2972.
  2499. - Tor now refuses to create a ControlSocket in a directory that is
  2500. world-readable (or group-readable if ControlSocketsGroupWritable
  2501. is 0). This is necessary because some operating systems do not
  2502. enforce permissions on an AF_UNIX sockets. Permissions on the
  2503. directory holding the socket, however, seems to work everywhere.
  2504. - Rate-limit a warning about failures to download v2 networkstatus
  2505. documents. Resolves part of bug 1352.
  2506. - Backport code from 0.2.3.x that allows directory authorities to
  2507. clean their microdescriptor caches. Needed to resolve bug 2230.
  2508. - When an HTTPS proxy reports "403 Forbidden", we now explain
  2509. what it means rather than calling it an unexpected status code.
  2510. Closes bug 2503. Patch from Michael Yakubovich.
  2511. - Update to the May 1 2011 Maxmind GeoLite Country database.
  2512. o Minor bugfixes:
  2513. - Authorities now clean their microdesc cache periodically and when
  2514. reading from disk initially, not only when adding new descriptors.
  2515. This prevents a bug where we could lose microdescriptors. Bugfix
  2516. on 0.2.2.6-alpha. Fixes bug 2230.
  2517. - Do not crash when our configuration file becomes unreadable, for
  2518. example due to a permissions change, between when we start up
  2519. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  2520. on 0.0.9pre6.
  2521. - Avoid a bug that would keep us from replacing a microdescriptor
  2522. cache on Windows. (We would try to replace the file while still
  2523. holding it open. That's fine on Unix, but Windows doesn't let us
  2524. do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
  2525. - Add missing explanations for the authority-related torrc options
  2526. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
  2527. man page. Resolves issue 2379.
  2528. - As an authority, do not upload our own vote or signature set to
  2529. ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
  2530. it would get flagged as a duplicate. Resolves bug 3026.
  2531. - Accept hidden service descriptors if we think we might be a hidden
  2532. service directory, regardless of what our consensus says. This
  2533. helps robustness, since clients and hidden services can sometimes
  2534. have a more up-to-date view of the network consensus than we do,
  2535. and if they think that the directory authorities list us a HSDir,
  2536. we might actually be one. Related to bug 2732; bugfix on
  2537. 0.2.0.10-alpha.
  2538. - When a controller changes TrackHostExits, remove mappings for
  2539. hosts that should no longer have their exits tracked. Bugfix on
  2540. 0.1.0.1-rc.
  2541. - When a controller changes VirtualAddrNetwork, remove any mappings
  2542. for hosts that were automapped to the old network. Bugfix on
  2543. 0.1.1.19-rc.
  2544. - When a controller changes one of the AutomapHosts* options, remove
  2545. any mappings for hosts that should no longer be automapped. Bugfix
  2546. on 0.2.0.1-alpha.
  2547. - Do not reset the bridge descriptor download status every time we
  2548. re-parse our configuration or get a configuration change. Fixes
  2549. bug 3019; bugfix on 0.2.0.3-alpha.
  2550. o Minor bugfixes (code cleanup):
  2551. - When loading the microdesc journal, remember its current size.
  2552. In 0.2.2, this helps prevent the microdesc journal from growing
  2553. without limit on authorities (who are the only ones to use it in
  2554. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  2555. Fix posted by "cypherpunks."
  2556. - The microdesc journal is supposed to get rebuilt only if it is
  2557. at least _half_ the length of the store, not _twice_ the length
  2558. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  2559. - Fix a potential null-pointer dereference while computing a
  2560. consensus. Bugfix on tor-0.2.0.3-alpha, found with the help of
  2561. clang's analyzer.
  2562. - Avoid a possible null-pointer dereference when rebuilding the mdesc
  2563. cache without actually having any descriptors to cache. Bugfix on
  2564. 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
  2565. - If we fail to compute the identity digest of a v3 legacy keypair,
  2566. warn, and don't use a buffer-full of junk instead. Bugfix on
  2567. 0.2.1.1-alpha; fixes bug 3106.
  2568. - Resolve an untriggerable issue in smartlist_string_num_isin(),
  2569. where if the function had ever in the future been used to check
  2570. for the presence of a too-large number, it would have given an
  2571. incorrect result. (Fortunately, we only used it for 16-bit
  2572. values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
  2573. - Require that introduction point keys and onion handshake keys
  2574. have a public exponent of 65537. Starts to fix bug 3207; bugfix
  2575. on 0.2.0.10-alpha.
  2576. o Removed features:
  2577. - Caches no longer download and serve v2 networkstatus documents
  2578. unless FetchV2Networkstatus flag is set: these documents haven't
  2579. haven't been used by clients or relays since 0.2.0.x. Resolves
  2580. bug 3022.
  2581. Changes in version 0.2.3.1-alpha - 2011-05-05
  2582. Tor 0.2.3.1-alpha adds some new experimental features, including support
  2583. for an improved network IO backend, IOCP networking on Windows,
  2584. microdescriptor caching, "fast-start" support for streams, and automatic
  2585. home router configuration. There are also numerous internal improvements
  2586. to try to make the code easier for developers to work with.
  2587. This is the first alpha release in a new series, so expect there to be
  2588. bugs. Users who would rather test out a more stable branch should
  2589. stay with 0.2.2.x for now.
  2590. o Major features:
  2591. - Tor can now optionally build with the "bufferevents" buffered IO
  2592. backend provided by Libevent 2. To use this feature, make sure you
  2593. have the latest possible version of Libevent, and pass the
  2594. --enable-bufferevents flag to configure when building Tor from
  2595. source. This feature will make our networking code more flexible,
  2596. let us stack layers on each other, and let us use more efficient
  2597. zero-copy transports where available.
  2598. - As an experimental feature, Tor can use IOCP for networking on Windows.
  2599. Once this code is tuned and optimized, it promises much better
  2600. performance than the select-based backend we've used in the past. To
  2601. try this feature, you must build Tor with Libevent 2, configure Tor
  2602. with the "bufferevents" buffered IO backend, and add "DisableIOCP 0" to
  2603. your torrc. There are known bugs here: only try this if you can help
  2604. debug it as it breaks.
  2605. - The EntryNodes option can now include country codes like {de} or IP
  2606. addresses or network masks. Previously we had disallowed these options
  2607. because we didn't have an efficient way to keep the list up to
  2608. date. Fixes bug 1982, but see bug 2798 for an unresolved issue here.
  2609. - Exit nodes now accept and queue data on not-yet-connected streams.
  2610. Previously, the client wasn't allowed to send data until the stream was
  2611. connected, which slowed down all connections. This change will enable
  2612. clients to perform a "fast-start" on streams and send data without
  2613. having to wait for a confirmation that the stream has opened. (Patch
  2614. from Ian Goldberg; implements the server side of Proposal 174.)
  2615. - Tor now has initial support for automatic port mapping on the many
  2616. home routers that support NAT-PMP or UPnP. (Not yet supported on
  2617. Windows). To build the support code, you'll need to have libnatpnp
  2618. library and/or the libminiupnpc library, and you'll need to enable the
  2619. feature specifically by passing "--enable-upnp" and/or
  2620. "--enable-natpnp" to configure. To turn it on, use the new
  2621. PortForwarding option.
  2622. - Caches now download, cache, and serve multiple "flavors" of the
  2623. consensus, including a flavor that describes microdescriptors.
  2624. - Caches now download, cache, and serve microdescriptors -- small
  2625. summaries of router descriptors that are authenticated by all of the
  2626. directory authorities. Once enough caches are running this code,
  2627. clients will be able to save significant amounts of directory bandwidth
  2628. by downloading microdescriptors instead of router descriptors.
  2629. o Minor features:
  2630. - Make logging resolution configurable with a new LogTimeGranularity
  2631. option, and change the default from 1 millisecond to 1 second.
  2632. Implements enhancement 1668.
  2633. - We log which torrc file we're using on startup. Implements ticket
  2634. 2444.
  2635. - Ordinarily, Tor does not count traffic from private addresses (like
  2636. 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
  2637. There is now a new option, CountPrivateBandwidth, to disable this
  2638. behavior. Patch from Daniel Cagara.
  2639. - New --enable-static-tor configure option for building Tor as
  2640. statically as possible. Idea, general hackery and thoughts from
  2641. Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
  2642. 2702.
  2643. - If you set the NumCPUs option to 0, Tor will now try to detect how
  2644. many CPUs you have. This is the new default behavior.
  2645. - Turn on directory request statistics by default and include them in
  2646. extra-info descriptors. Don't break if we have no GeoIP database.
  2647. - Relays that set "ConnDirectionStatistics 1" write statistics on the
  2648. bidirectional use of connections to disk every 24 hours.
  2649. - Add a GeoIP file digest to the extra-info descriptor. Implements
  2650. enhancement 1883.
  2651. - The NodeFamily option -- which let you declare that you want to
  2652. consider nodes to be part of a family whether they list themselves
  2653. that way or not -- now allows IP address ranges and country codes.
  2654. - Add a new 'Heartbeat' log message type to periodically log a message
  2655. describing Tor's status at level Notice. This feature is meant for
  2656. operators who log at notice, and want to make sure that their Tor
  2657. server is still working. Implementation by George Kadianakis.
  2658. o Minor bugfixes (on 0.2.2.25-alpha):
  2659. - When loading the microdesc journal, remember its current size.
  2660. In 0.2.2, this helps prevent the microdesc journal from growing
  2661. without limit on authorities (who are the only ones to use it in
  2662. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  2663. Fix posted by "cypherpunks."
  2664. - The microdesc journal is supposed to get rebuilt only if it is
  2665. at least _half_ the length of the store, not _twice_ the length
  2666. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  2667. - If as an authority we fail to compute the identity digest of a v3
  2668. legacy keypair, warn, and don't use a buffer-full of junk instead.
  2669. Bugfix on 0.2.1.1-alpha; fixes bug 3106.
  2670. - Authorities now clean their microdesc cache periodically and when
  2671. reading from disk initially, not only when adding new descriptors.
  2672. This prevents a bug where we could lose microdescriptors. Bugfix
  2673. on 0.2.2.6-alpha.
  2674. o Minor features (controller):
  2675. - Add a new SIGNAL event to the controller interface so that
  2676. controllers can be notified when Tor handles a signal. Resolves
  2677. issue 1955. Patch by John Brooks.
  2678. - Add a new GETINFO option to get total bytes read and written. Patch
  2679. from pipe, revised by atagar. Resolves ticket 2345.
  2680. - Implement some GETINFO controller fields to provide information about
  2681. the Tor process's pid, euid, username, and resource limits.
  2682. o Build changes:
  2683. - Our build system requires automake 1.6 or later to create the
  2684. Makefile.in files. Previously, you could have used 1.4.
  2685. This only affects developers and people building Tor from git;
  2686. people who build Tor from the source distribution without changing
  2687. the Makefile.am files should be fine.
  2688. - Our autogen.sh script uses autoreconf to launch autoconf, automake, and
  2689. so on. This is more robust against some of the failure modes
  2690. associated with running the autotools pieces on their own.
  2691. o Minor packaging issues:
  2692. - On OpenSUSE, create the /var/run/tor directory on startup if it is not
  2693. already created. Patch from Andreas Stieger. Fixes bug 2573.
  2694. o Code simplifications and refactoring:
  2695. - A major revision to our internal node-selecting and listing logic.
  2696. Tor already had at least two major ways to look at the question of
  2697. "which Tor servers do we know about": a list of router descriptors,
  2698. and a list of entries in the current consensus. With
  2699. microdescriptors, we're adding a third. Having so many systems
  2700. without an abstraction layer over them was hurting the codebase.
  2701. Now, we have a new "node_t" abstraction that presents a consistent
  2702. interface to a client's view of a Tor node, and holds (nearly) all
  2703. of the mutable state formerly in routerinfo_t and routerstatus_t.
  2704. - The helper programs tor-gencert, tor-resolve, and tor-checkkey
  2705. no longer link against Libevent: they never used it, but
  2706. our library structure used to force them to link it.
  2707. o Removed features:
  2708. - Remove some old code to work around even older versions of Tor that
  2709. used forked processes to handle DNS requests. Such versions of Tor
  2710. are no longer in use as servers.
  2711. o Documentation fixes:
  2712. - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
  2713. - Add missing documentation for the authority-related torrc options
  2714. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey. Resolves
  2715. issue 2379.
  2716. Changes in version 0.2.2.25-alpha - 2011-04-29
  2717. Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
  2718. robust, routers no longer overreport their bandwidth, Win7 should crash
  2719. a little less, and NEWNYM (as used by Vidalia's "new identity" button)
  2720. now prevents hidden service-related activity from being linkable. It
  2721. provides more information to Vidalia so you can see if your bridge is
  2722. working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
  2723. StrictNodes configuration options to make them more reliable, more
  2724. understandable, and more regularly applied. If you use those options,
  2725. please see the revised documentation for them in the manual page.
  2726. o Major bugfixes:
  2727. - Relays were publishing grossly inflated bandwidth values because
  2728. they were writing their state files wrong--now they write the
  2729. correct value. Also, resume reading bandwidth history from the
  2730. state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
  2731. - Improve hidden service robustness: When we find that we have
  2732. extended a hidden service's introduction circuit to a relay not
  2733. listed as an introduction point in the HS descriptor we currently
  2734. have, retry with an introduction point from the current
  2735. descriptor. Previously we would just give up. Fixes bugs 1024 and
  2736. 1930; bugfix on 0.2.0.10-alpha.
  2737. - Clients now stop trying to use an exit node associated with a given
  2738. destination by TrackHostExits if they fail to reach that exit node.
  2739. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
  2740. - Fix crash bug on platforms where gmtime and localtime can return
  2741. NULL. Windows 7 users were running into this one. Fixes part of bug
  2742. 2077. Bugfix on all versions of Tor. Found by boboper.
  2743. o Security and stability fixes:
  2744. - Don't double-free a parsable, but invalid, microdescriptor, even if
  2745. it is followed in the blob we're parsing by an unparsable
  2746. microdescriptor. Fixes an issue reported in a comment on bug 2954.
  2747. Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
  2748. - If the Nickname configuration option isn't given, Tor would pick a
  2749. nickname based on the local hostname as the nickname for a relay.
  2750. Because nicknames are not very important in today's Tor and the
  2751. "Unnamed" nickname has been implemented, this is now problematic
  2752. behavior: It leaks information about the hostname without being
  2753. useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
  2754. introduced the Unnamed nickname. Reported by tagnaq.
  2755. - Fix an uncommon assertion failure when running with DNSPort under
  2756. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  2757. - Avoid linkability based on cached hidden service descriptors: forget
  2758. all hidden service descriptors cached as a client when processing a
  2759. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  2760. o Major features:
  2761. - Export GeoIP information on bridge usage to controllers even if we
  2762. have not yet been running for 24 hours. Now Vidalia bridge operators
  2763. can get more accurate and immediate feedback about their
  2764. contributions to the network.
  2765. o Major features and bugfixes (node selection):
  2766. - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
  2767. ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
  2768. options. Previously, we had been ambiguous in describing what
  2769. counted as an "exit" node, and what operations exactly "StrictNodes
  2770. 0" would permit. This created confusion when people saw nodes built
  2771. through unexpected circuits, and made it hard to tell real bugs from
  2772. surprises. Now the intended behavior is:
  2773. . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
  2774. a node that delivers user traffic outside the Tor network.
  2775. . "Entry", in the context of EntryNodes, means a node used as the
  2776. first hop of a multihop circuit. It doesn't include direct
  2777. connections to directory servers.
  2778. . "ExcludeNodes" applies to all nodes.
  2779. . "StrictNodes" changes the behavior of ExcludeNodes only. When
  2780. StrictNodes is set, Tor should avoid all nodes listed in
  2781. ExcludeNodes, even when it will make user requests fail. When
  2782. StrictNodes is *not* set, then Tor should follow ExcludeNodes
  2783. whenever it can, except when it must use an excluded node to
  2784. perform self-tests, connect to a hidden service, provide a
  2785. hidden service, fulfill a .exit request, upload directory
  2786. information, or fetch directory information.
  2787. Collectively, the changes to implement the behavior fix bug 1090.
  2788. - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
  2789. a node is listed in both, it's treated as excluded.
  2790. - ExcludeNodes now applies to directory nodes -- as a preference if
  2791. StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
  2792. Don't exclude all the directory authorities and set StrictNodes to 1
  2793. unless you really want your Tor to break.
  2794. - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
  2795. - ExcludeExitNodes now overrides .exit requests.
  2796. - We don't use bridges listed in ExcludeNodes.
  2797. - When StrictNodes is 1:
  2798. . We now apply ExcludeNodes to hidden service introduction points
  2799. and to rendezvous points selected by hidden service users. This
  2800. can make your hidden service less reliable: use it with caution!
  2801. . If we have used ExcludeNodes on ourself, do not try relay
  2802. reachability self-tests.
  2803. . If we have excluded all the directory authorities, we will not
  2804. even try to upload our descriptor if we're a relay.
  2805. . Do not honor .exit requests to an excluded node.
  2806. - Remove a misfeature that caused us to ignore the Fast/Stable flags
  2807. when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
  2808. - When the set of permitted nodes changes, we now remove any mappings
  2809. introduced via TrackExitHosts to now-excluded nodes. Bugfix on
  2810. 0.1.0.1-rc.
  2811. - We never cannibalize a circuit that had excluded nodes on it, even
  2812. if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
  2813. - Revert a change where we would be laxer about attaching streams to
  2814. circuits than when building the circuits. This was meant to prevent
  2815. a set of bugs where streams were never attachable, but our improved
  2816. code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
  2817. - Keep track of how many times we launch a new circuit to handle a
  2818. given stream. Too many launches could indicate an inconsistency
  2819. between our "launch a circuit to handle this stream" logic and our
  2820. "attach this stream to one of the available circuits" logic.
  2821. - Improve log messages related to excluded nodes.
  2822. o Minor bugfixes:
  2823. - Fix a spurious warning when moving from a short month to a long
  2824. month on relays with month-based BandwidthAccounting. Bugfix on
  2825. 0.2.2.17-alpha; fixes bug 3020.
  2826. - When a client finds that an origin circuit has run out of 16-bit
  2827. stream IDs, we now mark it as unusable for new streams. Previously,
  2828. we would try to close the entire circuit. Bugfix on 0.0.6.
  2829. - Add a forgotten cast that caused a compile warning on OS X 10.6.
  2830. Bugfix on 0.2.2.24-alpha.
  2831. - Be more careful about reporting the correct error from a failed
  2832. connect() system call. Under some circumstances, it was possible to
  2833. look at an incorrect value for errno when sending the end reason.
  2834. Bugfix on 0.1.0.1-rc.
  2835. - Correctly handle an "impossible" overflow cases in connection byte
  2836. counting, where we write or read more than 4GB on an edge connection
  2837. in a single second. Bugfix on 0.1.2.8-beta.
  2838. - Correct the warning displayed when a rendezvous descriptor exceeds
  2839. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  2840. John Brooks.
  2841. - Clients and hidden services now use HSDir-flagged relays for hidden
  2842. service descriptor downloads and uploads even if the relays have no
  2843. DirPort set and the client has disabled TunnelDirConns. This will
  2844. eventually allow us to give the HSDir flag to relays with no
  2845. DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
  2846. - Downgrade "no current certificates known for authority" message from
  2847. Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
  2848. - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
  2849. 2917. Bugfix on 0.1.1.1-alpha.
  2850. - Only limit the lengths of single HS descriptors, even when multiple
  2851. HS descriptors are published to an HSDir relay in a single POST
  2852. operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
  2853. - Write the current time into the LastWritten line in our state file,
  2854. rather than the time from the previous write attempt. Also, stop
  2855. trying to use a time of -1 in our log statements. Fixes bug 3039;
  2856. bugfix on 0.2.2.14-alpha.
  2857. - Be more consistent in our treatment of file system paths. "~" should
  2858. get expanded to the user's home directory in the Log config option.
  2859. Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
  2860. feature for the -f and --DataDirectory options.
  2861. o Minor features:
  2862. - Make sure every relay writes a state file at least every 12 hours.
  2863. Previously, a relay could go for weeks without writing its state
  2864. file, and on a crash could lose its bandwidth history, capacity
  2865. estimates, client country statistics, and so on. Addresses bug 3012.
  2866. - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
  2867. Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
  2868. clients are already deprecated because of security bugs.
  2869. - Don't allow v0 hidden service authorities to act as clients.
  2870. Required by fix for bug 3000.
  2871. - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
  2872. by fix for bug 3000.
  2873. - Ensure that no empty [dirreq-](read|write)-history lines are added
  2874. to an extrainfo document. Implements ticket 2497.
  2875. o Code simplification and refactoring:
  2876. - Remove workaround code to handle directory responses from servers
  2877. that had bug 539 (they would send HTTP status 503 responses _and_
  2878. send a body too). Since only server versions before
  2879. 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
  2880. keep the workaround in place.
  2881. - Remove the old 'fuzzy time' logic. It was supposed to be used for
  2882. handling calculations where we have a known amount of clock skew and
  2883. an allowed amount of unknown skew. But we only used it in three
  2884. places, and we never adjusted the known/unknown skew values. This is
  2885. still something we might want to do someday, but if we do, we'll
  2886. want to do it differently.
  2887. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  2888. None of the cases where we did this before were wrong, but by making
  2889. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  2890. - Use GetTempDir to find the proper temporary directory location on
  2891. Windows when generating temporary files for the unit tests. Patch by
  2892. Gisle Vanem.
  2893. Changes in version 0.2.2.24-alpha - 2011-04-08
  2894. Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
  2895. prevented Tor clients from effectively using "multihomed" bridges,
  2896. that is, bridges that listen on multiple ports or IP addresses so users
  2897. can continue to use some of their addresses even if others get blocked.
  2898. o Major bugfixes:
  2899. - Fix a bug where bridge users who configure the non-canonical
  2900. address of a bridge automatically switch to its canonical
  2901. address. If a bridge listens at more than one address, it should be
  2902. able to advertise those addresses independently and any non-blocked
  2903. addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
  2904. bug 2510.
  2905. - If you configured Tor to use bridge A, and then quit and
  2906. configured Tor to use bridge B instead, it would happily continue
  2907. to use bridge A if it's still reachable. While this behavior is
  2908. a feature if your goal is connectivity, in some scenarios it's a
  2909. dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
  2910. - Directory authorities now use data collected from their own
  2911. uptime observations when choosing whether to assign the HSDir flag
  2912. to relays, instead of trusting the uptime value the relay reports in
  2913. its descriptor. This change helps prevent an attack where a small
  2914. set of nodes with frequently-changing identity keys can blackhole
  2915. a hidden service. (Only authorities need upgrade; others will be
  2916. fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
  2917. o Minor bugfixes:
  2918. - When we restart our relay, we might get a successful connection
  2919. from the outside before we've started our reachability tests,
  2920. triggering a warning: "ORPort found reachable, but I have no
  2921. routerinfo yet. Failing to inform controller of success." This
  2922. bug was harmless unless Tor is running under a controller
  2923. like Vidalia, in which case the controller would never get a
  2924. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  2925. fixes bug 1172.
  2926. - Make directory authorities more accurate at recording when
  2927. relays that have failed several reachability tests became
  2928. unreachable, so we can provide more accuracy at assigning Stable,
  2929. Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
  2930. - Fix an issue that prevented static linking of libevent on
  2931. some platforms (notably Linux). Fixes bug 2698; bugfix on
  2932. versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
  2933. the --with-static-libevent configure option).
  2934. - We now ask the other side of a stream (the client or the exit)
  2935. for more data on that stream when the amount of queued data on
  2936. that stream dips low enough. Previously, we wouldn't ask the
  2937. other side for more data until either it sent us more data (which
  2938. it wasn't supposed to do if it had exhausted its window!) or we
  2939. had completely flushed all our queued data. This flow control fix
  2940. should improve throughput. Fixes bug 2756; bugfix on the earliest
  2941. released versions of Tor (svn commit r152).
  2942. - Avoid a double-mark-for-free warning when failing to attach a
  2943. transparent proxy connection. (We thought we had fixed this in
  2944. 0.2.2.23-alpha, but it turns out our fix was checking the wrong
  2945. connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
  2946. bug) and 0.2.2.23-alpha (the incorrect fix).
  2947. - When warning about missing zlib development packages during compile,
  2948. give the correct package names. Bugfix on 0.2.0.1-alpha.
  2949. o Minor features:
  2950. - Directory authorities now log the source of a rejected POSTed v3
  2951. networkstatus vote.
  2952. - Make compilation with clang possible when using
  2953. --enable-gcc-warnings by removing two warning options that clang
  2954. hasn't implemented yet and by fixing a few warnings. Implements
  2955. ticket 2696.
  2956. - When expiring circuits, use microsecond timers rather than
  2957. one-second timers. This can avoid an unpleasant situation where a
  2958. circuit is launched near the end of one second and expired right
  2959. near the beginning of the next, and prevent fluctuations in circuit
  2960. timeout values.
  2961. - Use computed circuit-build timeouts to decide when to launch
  2962. parallel introduction circuits for hidden services. (Previously,
  2963. we would retry after 15 seconds.)
  2964. - Update to the April 1 2011 Maxmind GeoLite Country database.
  2965. o Packaging fixes:
  2966. - Create the /var/run/tor directory on startup on OpenSUSE if it is
  2967. not already created. Patch from Andreas Stieger. Fixes bug 2573.
  2968. o Documentation changes:
  2969. - Modernize the doxygen configuration file slightly. Fixes bug 2707.
  2970. - Resolve all doxygen warnings except those for missing documentation.
  2971. Fixes bug 2705.
  2972. - Add doxygen documentation for more functions, fields, and types.
  2973. Changes in version 0.2.2.23-alpha - 2011-03-08
  2974. Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
  2975. they restart they don't lose their bandwidth capacity estimate. This
  2976. release also fixes a diverse set of user-facing bugs, ranging from
  2977. relays overrunning their rate limiting to clients falsely warning about
  2978. clock skew to bridge descriptor leaks by our bridge directory authority.
  2979. o Major bugfixes:
  2980. - Stop sending a CLOCK_SKEW controller status event whenever
  2981. we fetch directory information from a relay that has a wrong clock.
  2982. Instead, only inform the controller when it's a trusted authority
  2983. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  2984. the rest of bug 1074.
  2985. - Fix an assert in parsing router descriptors containing IPv6
  2986. addresses. This one took down the directory authorities when
  2987. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  2988. - Make the bridge directory authority refuse to answer directory
  2989. requests for "all" descriptors. It used to include bridge
  2990. descriptors in its answer, which was a major information leak.
  2991. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  2992. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  2993. Tor would ignore their RelayBandwidthBurst setting,
  2994. potentially using more bandwidth than expected. Bugfix on
  2995. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  2996. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  2997. hidserv" in her torrc. The 'hidserv' argument never controlled
  2998. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  2999. o Major features:
  3000. - Relays now save observed peak bandwidth throughput rates to their
  3001. state file (along with total usage, which was already saved)
  3002. so that they can determine their correct estimated bandwidth on
  3003. restart. Resolves bug 1863, where Tor relays would reset their
  3004. estimated bandwidth to 0 after restarting.
  3005. - Directory authorities now take changes in router IP address and
  3006. ORPort into account when determining router stability. Previously,
  3007. if a router changed its IP or ORPort, the authorities would not
  3008. treat it as having any downtime for the purposes of stability
  3009. calculation, whereas clients would experience downtime since the
  3010. change could take a while to propagate to them. Resolves issue 1035.
  3011. - Enable Address Space Layout Randomization (ASLR) and Data Execution
  3012. Prevention (DEP) by default on Windows to make it harder for
  3013. attackers to exploit vulnerabilities. Patch from John Brooks.
  3014. o Minor bugfixes (on 0.2.1.x and earlier):
  3015. - Fix a rare crash bug that could occur when a client was configured
  3016. with a large number of bridges. Fixes bug 2629; bugfix on
  3017. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  3018. - Avoid a double mark-for-free warning when failing to attach a
  3019. transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
  3020. bug 2279.
  3021. - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
  3022. found by "cypherpunks". This bug was introduced before the first
  3023. Tor release, in svn commit r110.
  3024. - Country codes aren't supported in EntryNodes until 0.2.3.x, so
  3025. don't mention them in the manpage. Fixes bug 2450; issue
  3026. spotted by keb and G-Lo.
  3027. - Fix a bug in bandwidth history state parsing that could have been
  3028. triggered if a future version of Tor ever changed the timing
  3029. granularity at which bandwidth history is measured. Bugfix on
  3030. Tor 0.1.1.11-alpha.
  3031. - When a relay decides that its DNS is too broken for it to serve
  3032. as an exit server, it advertised itself as a non-exit, but
  3033. continued to act as an exit. This could create accidental
  3034. partitioning opportunities for users. Instead, if a relay is
  3035. going to advertise reject *:* as its exit policy, it should
  3036. really act with exit policy "reject *:*". Fixes bug 2366.
  3037. Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
  3038. - In the special case where you configure a public exit relay as your
  3039. bridge, Tor would be willing to use that exit relay as the last
  3040. hop in your circuit as well. Now we fail that circuit instead.
  3041. Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
  3042. - Fix a bug with our locking implementation on Windows that couldn't
  3043. correctly detect when a file was already locked. Fixes bug 2504,
  3044. bugfix on 0.2.1.6-alpha.
  3045. - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
  3046. Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
  3047. "piebeer".
  3048. - Set target port in get_interface_address6() correctly. Bugfix
  3049. on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
  3050. - Directory authorities are now more robust to hops back in time
  3051. when calculating router stability. Previously, if a run of uptime
  3052. or downtime appeared to be negative, the calculation could give
  3053. incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
  3054. bug 1035.
  3055. - Fix an assert that got triggered when using the TestingTorNetwork
  3056. configuration option and then issuing a GETINFO config-text control
  3057. command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
  3058. o Minor bugfixes (on 0.2.2.x):
  3059. - Clients should not weight BadExit nodes as Exits in their node
  3060. selection. Similarly, directory authorities should not count BadExit
  3061. bandwidth as Exit bandwidth when computing bandwidth-weights.
  3062. Bugfix on 0.2.2.10-alpha; fixes bug 2203.
  3063. - Correctly clear our dir_read/dir_write history when there is an
  3064. error parsing any bw history value from the state file. Bugfix on
  3065. Tor 0.2.2.15-alpha.
  3066. - Resolve a bug in verifying signatures of directory objects
  3067. with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
  3068. Fixes bug 2409. Found by "piebeer".
  3069. - Bridge authorities no longer crash on SIGHUP when they try to
  3070. publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
  3071. on 0.2.2.22-alpha.
  3072. o Minor features:
  3073. - Log less aggressively about circuit timeout changes, and improve
  3074. some other circuit timeout messages. Resolves bug 2004.
  3075. - Log a little more clearly about the times at which we're no longer
  3076. accepting new connections. Resolves bug 2181.
  3077. - Reject attempts at the client side to open connections to private
  3078. IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
  3079. a randomly chosen exit node. Attempts to do so are always
  3080. ill-defined, generally prevented by exit policies, and usually
  3081. in error. This will also help to detect loops in transparent
  3082. proxy configurations. You can disable this feature by setting
  3083. "ClientRejectInternalAddresses 0" in your torrc.
  3084. - Always treat failure to allocate an RSA key as an unrecoverable
  3085. allocation error.
  3086. - Update to the March 1 2011 Maxmind GeoLite Country database.
  3087. o Minor features (log subsystem):
  3088. - Add documentation for configuring logging at different severities in
  3089. different log domains. We've had this feature since 0.2.1.1-alpha,
  3090. but for some reason it never made it into the manpage. Fixes
  3091. bug 2215.
  3092. - Make it simpler to specify "All log domains except for A and B".
  3093. Previously you needed to say "[*,~A,~B]". Now you can just say
  3094. "[~A,~B]".
  3095. - Add a "LogMessageDomains 1" option to include the domains of log
  3096. messages along with the messages. Without this, there's no way
  3097. to use log domains without reading the source or doing a lot
  3098. of guessing.
  3099. o Packaging changes:
  3100. - Stop shipping the Tor specs files and development proposal documents
  3101. in the tarball. They are now in a separate git repository at
  3102. git://git.torproject.org/torspec.git
  3103. Changes in version 0.2.1.30 - 2011-02-23
  3104. Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
  3105. change is a slight tweak to Tor's TLS handshake that makes relays
  3106. and bridges that run this new version reachable from Iran again.
  3107. We don't expect this tweak will win the arms race long-term, but it
  3108. buys us time until we roll out a better solution.
  3109. o Major bugfixes:
  3110. - Stop sending a CLOCK_SKEW controller status event whenever
  3111. we fetch directory information from a relay that has a wrong clock.
  3112. Instead, only inform the controller when it's a trusted authority
  3113. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  3114. the rest of bug 1074.
  3115. - Fix a bounds-checking error that could allow an attacker to
  3116. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  3117. Found by "piebeer".
  3118. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  3119. Tor would ignore their RelayBandwidthBurst setting,
  3120. potentially using more bandwidth than expected. Bugfix on
  3121. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  3122. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  3123. hidserv" in her torrc. The 'hidserv' argument never controlled
  3124. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  3125. o Minor features:
  3126. - Adjust our TLS Diffie-Hellman parameters to match those used by
  3127. Apache's mod_ssl.
  3128. - Update to the February 1 2011 Maxmind GeoLite Country database.
  3129. o Minor bugfixes:
  3130. - Check for and reject overly long directory certificates and
  3131. directory tokens before they have a chance to hit any assertions.
  3132. Bugfix on 0.2.1.28. Found by "doorss".
  3133. - Bring the logic that gathers routerinfos and assesses the
  3134. acceptability of circuits into line. This prevents a Tor OP from
  3135. getting locked in a cycle of choosing its local OR as an exit for a
  3136. path (due to a .exit request) and then rejecting the circuit because
  3137. its OR is not listed yet. It also prevents Tor clients from using an
  3138. OR running in the same instance as an exit (due to a .exit request)
  3139. if the OR does not meet the same requirements expected of an OR
  3140. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  3141. o Packaging changes:
  3142. - Stop shipping the Tor specs files and development proposal documents
  3143. in the tarball. They are now in a separate git repository at
  3144. git://git.torproject.org/torspec.git
  3145. - Do not include Git version tags as though they are SVN tags when
  3146. generating a tarball from inside a repository that has switched
  3147. between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  3148. Changes in version 0.2.2.22-alpha - 2011-01-25
  3149. Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
  3150. main other change is a slight tweak to Tor's TLS handshake that makes
  3151. relays and bridges that run this new version reachable from Iran again.
  3152. We don't expect this tweak will win the arms race long-term, but it
  3153. will buy us a bit more time until we roll out a better solution.
  3154. o Major bugfixes:
  3155. - Fix a bounds-checking error that could allow an attacker to
  3156. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  3157. Found by "piebeer".
  3158. - Don't assert when changing from bridge to relay or vice versa
  3159. via the controller. The assert happened because we didn't properly
  3160. initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
  3161. bug 2433. Reported by bastik.
  3162. o Minor features:
  3163. - Adjust our TLS Diffie-Hellman parameters to match those used by
  3164. Apache's mod_ssl.
  3165. - Provide a log message stating which geoip file we're parsing
  3166. instead of just stating that we're parsing the geoip file.
  3167. Implements ticket 2432.
  3168. o Minor bugfixes:
  3169. - Check for and reject overly long directory certificates and
  3170. directory tokens before they have a chance to hit any assertions.
  3171. Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
  3172. Changes in version 0.2.2.21-alpha - 2011-01-15
  3173. Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
  3174. continues our recent code security audit work. The main fix resolves
  3175. a remote heap overflow vulnerability that can allow remote code
  3176. execution (CVE-2011-0427). Other fixes address a variety of assert
  3177. and crash bugs, most of which we think are hard to exploit remotely.
  3178. o Major bugfixes (security), also included in 0.2.1.29:
  3179. - Fix a heap overflow bug where an adversary could cause heap
  3180. corruption. This bug probably allows remote code execution
  3181. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  3182. 0.1.2.10-rc.
  3183. - Prevent a denial-of-service attack by disallowing any
  3184. zlib-compressed data whose compression factor is implausibly
  3185. high. Fixes part of bug 2324; reported by "doorss".
  3186. - Zero out a few more keys in memory before freeing them. Fixes
  3187. bug 2384 and part of bug 2385. These key instances found by
  3188. "cypherpunks", based on Andrew Case's report about being able
  3189. to find sensitive data in Tor's memory space if you have enough
  3190. permissions. Bugfix on 0.0.2pre9.
  3191. o Major bugfixes (crashes), also included in 0.2.1.29:
  3192. - Prevent calls to Libevent from inside Libevent log handlers.
  3193. This had potential to cause a nasty set of crashes, especially
  3194. if running Libevent with debug logging enabled, and running
  3195. Tor with a controller watching for low-severity log messages.
  3196. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  3197. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  3198. underflow errors there too. Fixes the other part of bug 2324.
  3199. - Fix a bug where we would assert if we ever had a
  3200. cached-descriptors.new file (or another file read directly into
  3201. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  3202. on 0.2.1.25. Found by doorss.
  3203. - Fix some potential asserts and parsing issues with grossly
  3204. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  3205. Found by doorss.
  3206. o Minor bugfixes (other), also included in 0.2.1.29:
  3207. - Fix a bug with handling misformed replies to reverse DNS lookup
  3208. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  3209. bug reported by doorss.
  3210. - Fix compilation on mingw when a pthreads compatibility library
  3211. has been installed. (We don't want to use it, so we shouldn't
  3212. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  3213. - Fix a bug where we would declare that we had run out of virtual
  3214. addresses when the address space was only half-exhausted. Bugfix
  3215. on 0.1.2.1-alpha.
  3216. - Correctly handle the case where AutomapHostsOnResolve is set but
  3217. no virtual addresses are available. Fixes bug 2328; bugfix on
  3218. 0.1.2.1-alpha. Bug found by doorss.
  3219. - Correctly handle wrapping around when we run out of virtual
  3220. address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
  3221. o Minor features, also included in 0.2.1.29:
  3222. - Update to the January 1 2011 Maxmind GeoLite Country database.
  3223. - Introduce output size checks on all of our decryption functions.
  3224. o Build changes, also included in 0.2.1.29:
  3225. - Tor does not build packages correctly with Automake 1.6 and earlier;
  3226. added a check to Makefile.am to make sure that we're building with
  3227. Automake 1.7 or later.
  3228. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  3229. because we built it with a too-old version of automake. Thus that
  3230. release broke ./configure --enable-openbsd-malloc, which is popular
  3231. among really fast exit relays on Linux.
  3232. o Major bugfixes, new in 0.2.2.21-alpha:
  3233. - Prevent crash/heap corruption when the cbtnummodes consensus
  3234. parameter is set to 0 or large values. Fixes bug 2317; bugfix
  3235. on 0.2.2.14-alpha.
  3236. o Major features, new in 0.2.2.21-alpha:
  3237. - Introduce minimum/maximum values that clients will believe
  3238. from the consensus. Now we'll have a better chance to avoid crashes
  3239. or worse when a consensus param has a weird value.
  3240. o Minor features, new in 0.2.2.21-alpha:
  3241. - Make sure to disable DirPort if running as a bridge. DirPorts aren't
  3242. used on bridges, and it makes bridge scanning somewhat easier.
  3243. - If writing the state file to disk fails, wait up to an hour before
  3244. retrying again, rather than trying again each second. Fixes bug
  3245. 2346; bugfix on Tor 0.1.1.3-alpha.
  3246. - Make Libevent log messages get delivered to controllers later,
  3247. and not from inside the Libevent log handler. This prevents unsafe
  3248. reentrant Libevent calls while still letting the log messages
  3249. get through.
  3250. - Detect platforms that brokenly use a signed size_t, and refuse to
  3251. build there. Found and analyzed by doorss and rransom.
  3252. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
  3253. Resolves bug 2314.
  3254. o Minor bugfixes, new in 0.2.2.21-alpha:
  3255. - Handle SOCKS messages longer than 128 bytes long correctly, rather
  3256. than waiting forever for them to finish. Fixes bug 2330; bugfix
  3257. on 0.2.0.16-alpha. Found by doorss.
  3258. - Add assertions to check for overflow in arguments to
  3259. base32_encode() and base32_decode(); fix a signed-unsigned
  3260. comparison there too. These bugs are not actually reachable in Tor,
  3261. but it's good to prevent future errors too. Found by doorss.
  3262. - Correctly detect failures to create DNS requests when using Libevent
  3263. versions before v2. (Before Libevent 2, we used our own evdns
  3264. implementation. Its return values for Libevent's evdns_resolve_*()
  3265. functions are not consistent with those from Libevent.) Fixes bug
  3266. 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
  3267. o Documentation, new in 0.2.2.21-alpha:
  3268. - Document the default socks host and port (127.0.0.1:9050) for
  3269. tor-resolve.
  3270. Changes in version 0.2.1.29 - 2011-01-15
  3271. Tor 0.2.1.29 continues our recent code security audit work. The main
  3272. fix resolves a remote heap overflow vulnerability that can allow remote
  3273. code execution. Other fixes address a variety of assert and crash bugs,
  3274. most of which we think are hard to exploit remotely.
  3275. o Major bugfixes (security):
  3276. - Fix a heap overflow bug where an adversary could cause heap
  3277. corruption. This bug probably allows remote code execution
  3278. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  3279. 0.1.2.10-rc.
  3280. - Prevent a denial-of-service attack by disallowing any
  3281. zlib-compressed data whose compression factor is implausibly
  3282. high. Fixes part of bug 2324; reported by "doorss".
  3283. - Zero out a few more keys in memory before freeing them. Fixes
  3284. bug 2384 and part of bug 2385. These key instances found by
  3285. "cypherpunks", based on Andrew Case's report about being able
  3286. to find sensitive data in Tor's memory space if you have enough
  3287. permissions. Bugfix on 0.0.2pre9.
  3288. o Major bugfixes (crashes):
  3289. - Prevent calls to Libevent from inside Libevent log handlers.
  3290. This had potential to cause a nasty set of crashes, especially
  3291. if running Libevent with debug logging enabled, and running
  3292. Tor with a controller watching for low-severity log messages.
  3293. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  3294. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  3295. underflow errors there too. Fixes the other part of bug 2324.
  3296. - Fix a bug where we would assert if we ever had a
  3297. cached-descriptors.new file (or another file read directly into
  3298. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  3299. on 0.2.1.25. Found by doorss.
  3300. - Fix some potential asserts and parsing issues with grossly
  3301. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  3302. Found by doorss.
  3303. o Minor bugfixes (other):
  3304. - Fix a bug with handling misformed replies to reverse DNS lookup
  3305. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  3306. bug reported by doorss.
  3307. - Fix compilation on mingw when a pthreads compatibility library
  3308. has been installed. (We don't want to use it, so we shouldn't
  3309. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  3310. - Fix a bug where we would declare that we had run out of virtual
  3311. addresses when the address space was only half-exhausted. Bugfix
  3312. on 0.1.2.1-alpha.
  3313. - Correctly handle the case where AutomapHostsOnResolve is set but
  3314. no virtual addresses are available. Fixes bug 2328; bugfix on
  3315. 0.1.2.1-alpha. Bug found by doorss.
  3316. - Correctly handle wrapping around to when we run out of virtual
  3317. address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
  3318. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  3319. because we built it with a too-old version of automake. Thus that
  3320. release broke ./configure --enable-openbsd-malloc, which is popular
  3321. among really fast exit relays on Linux.
  3322. o Minor features:
  3323. - Update to the January 1 2011 Maxmind GeoLite Country database.
  3324. - Introduce output size checks on all of our decryption functions.
  3325. o Build changes:
  3326. - Tor does not build packages correctly with Automake 1.6 and earlier;
  3327. added a check to Makefile.am to make sure that we're building with
  3328. Automake 1.7 or later.
  3329. Changes in version 0.2.2.20-alpha - 2010-12-17
  3330. Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
  3331. exploitable bugs. We also fix a variety of other significant bugs,
  3332. change the IP address for one of our directory authorities, and update
  3333. the minimum version that Tor relays must run to join the network.
  3334. o Major bugfixes:
  3335. - Fix a remotely exploitable bug that could be used to crash instances
  3336. of Tor remotely by overflowing on the heap. Remote-code execution
  3337. hasn't been confirmed, but can't be ruled out. Everyone should
  3338. upgrade. Bugfix on the 0.1.1 series and later.
  3339. - Fix a bug that could break accounting on 64-bit systems with large
  3340. time_t values, making them hibernate for impossibly long intervals.
  3341. Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
  3342. - Fix a logic error in directory_fetches_from_authorities() that
  3343. would cause all _non_-exits refusing single-hop-like circuits
  3344. to fetch from authorities, when we wanted to have _exits_ fetch
  3345. from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
  3346. fix by boboper.
  3347. - Fix a stream fairness bug that would cause newer streams on a given
  3348. circuit to get preference when reading bytes from the origin or
  3349. destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
  3350. introduced before the first Tor release, in svn revision r152.
  3351. o Directory authority changes:
  3352. - Change IP address and ports for gabelmoo (v3 directory authority).
  3353. o Minor bugfixes:
  3354. - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
  3355. Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
  3356. - Fix an off-by-one error in calculating some controller command
  3357. argument lengths. Fortunately, this mistake is harmless since
  3358. the controller code does redundant NUL termination too. Found by
  3359. boboper. Bugfix on 0.1.1.1-alpha.
  3360. - Do not dereference NULL if a bridge fails to build its
  3361. extra-info descriptor. Found by an anonymous commenter on
  3362. Trac. Bugfix on 0.2.2.19-alpha.
  3363. o Minor features:
  3364. - Update to the December 1 2010 Maxmind GeoLite Country database.
  3365. - Directory authorities now reject relays running any versions of
  3366. Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
  3367. known bugs that keep RELAY_EARLY cells from working on rendezvous
  3368. circuits. Followup to fix for bug 2081.
  3369. - Directory authorities now reject relays running any version of Tor
  3370. older than 0.2.0.26-rc. That version is the earliest that fetches
  3371. current directory information correctly. Fixes bug 2156.
  3372. - Report only the top 10 ports in exit-port stats in order not to
  3373. exceed the maximum extra-info descriptor length of 50 KB. Implements
  3374. task 2196.
  3375. Changes in version 0.2.1.28 - 2010-12-17
  3376. Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
  3377. exploitable bugs. We also took this opportunity to change the IP address
  3378. for one of our directory authorities, and to update the geoip database
  3379. we ship.
  3380. o Major bugfixes:
  3381. - Fix a remotely exploitable bug that could be used to crash instances
  3382. of Tor remotely by overflowing on the heap. Remote-code execution
  3383. hasn't been confirmed, but can't be ruled out. Everyone should
  3384. upgrade. Bugfix on the 0.1.1 series and later.
  3385. o Directory authority changes:
  3386. - Change IP address and ports for gabelmoo (v3 directory authority).
  3387. o Minor features:
  3388. - Update to the December 1 2010 Maxmind GeoLite Country database.
  3389. Changes in version 0.2.1.27 - 2010-11-23
  3390. Yet another OpenSSL security patch broke its compatibility with Tor:
  3391. Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
  3392. also took this opportunity to fix several crash bugs, integrate a new
  3393. directory authority, and update the bundled GeoIP database.
  3394. o Major bugfixes:
  3395. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  3396. No longer set the tlsext_host_name extension on server SSL objects;
  3397. but continue to set it on client SSL objects. Our goal in setting
  3398. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  3399. bugfix on 0.2.1.1-alpha.
  3400. - Do not log messages to the controller while shrinking buffer
  3401. freelists. Doing so would sometimes make the controller connection
  3402. try to allocate a buffer chunk, which would mess up the internals
  3403. of the freelist and cause an assertion failure. Fixes bug 1125;
  3404. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  3405. - Learn our external IP address when we're a relay or bridge, even if
  3406. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  3407. where we introduced bridge relays that don't need to publish to
  3408. be useful. Fixes bug 2050.
  3409. - Do even more to reject (and not just ignore) annotations on
  3410. router descriptors received anywhere but from the cache. Previously
  3411. we would ignore such annotations at first, but cache them to disk
  3412. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  3413. - When you're using bridges and your network goes away and your
  3414. bridges get marked as down, recover when you attempt a new socks
  3415. connection (if the network is back), rather than waiting up to an
  3416. hour to try fetching new descriptors for your bridges. Bugfix on
  3417. 0.2.0.3-alpha; fixes bug 1981.
  3418. o Major features:
  3419. - Move to the November 2010 Maxmind GeoLite country db (rather
  3420. than the June 2009 ip-to-country GeoIP db) for our statistics that
  3421. count how many users relays are seeing from each country. Now we'll
  3422. have more accurate data, especially for many African countries.
  3423. o New directory authorities:
  3424. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  3425. authority.
  3426. o Minor bugfixes:
  3427. - Fix an assertion failure that could occur in directory caches or
  3428. bridge users when using a very short voting interval on a testing
  3429. network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
  3430. 0.2.0.8-alpha.
  3431. - Enforce multiplicity rules when parsing annotations. Bugfix on
  3432. 0.2.0.8-alpha. Found by piebeer.
  3433. - Allow handshaking OR connections to take a full KeepalivePeriod
  3434. seconds to handshake. Previously, we would close them after
  3435. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  3436. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  3437. for analysis help.
  3438. - When building with --enable-gcc-warnings on OpenBSD, disable
  3439. warnings in system headers. This makes --enable-gcc-warnings
  3440. pass on OpenBSD 4.8.
  3441. o Minor features:
  3442. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  3443. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  3444. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  3445. Servers can start sending this code when enough clients recognize
  3446. it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
  3447. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  3448. Patch from mingw-san.
  3449. o Removed files:
  3450. - Remove the old debian/ directory from the main Tor distribution.
  3451. The official Tor-for-debian git repository lives at the URL
  3452. https://git.torproject.org/debian/tor.git
  3453. - Stop shipping the old doc/website/ directory in the tarball. We
  3454. changed the website format in late 2010, and what we shipped in
  3455. 0.2.1.26 really wasn't that useful anyway.
  3456. Changes in version 0.2.2.19-alpha - 2010-11-22
  3457. Yet another OpenSSL security patch broke its compatibility with Tor:
  3458. Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
  3459. o Major bugfixes:
  3460. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  3461. No longer set the tlsext_host_name extension on server SSL objects;
  3462. but continue to set it on client SSL objects. Our goal in setting
  3463. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  3464. bugfix on 0.2.1.1-alpha.
  3465. o Minor bugfixes:
  3466. - Try harder not to exceed the maximum length of 50 KB when writing
  3467. statistics to extra-info descriptors. This bug was triggered by very
  3468. fast relays reporting exit-port, entry, and dirreq statistics.
  3469. Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
  3470. - Publish a router descriptor even if generating an extra-info
  3471. descriptor fails. Previously we would not publish a router
  3472. descriptor without an extra-info descriptor; this can cause fast
  3473. exit relays collecting exit-port statistics to drop from the
  3474. consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
  3475. Changes in version 0.2.2.18-alpha - 2010-11-16
  3476. Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
  3477. us lately, makes unpublished bridge relays able to detect their IP
  3478. address, and fixes a wide variety of other bugs to get us much closer
  3479. to a stable release.
  3480. o Major bugfixes:
  3481. - Do even more to reject (and not just ignore) annotations on
  3482. router descriptors received anywhere but from the cache. Previously
  3483. we would ignore such annotations at first, but cache them to disk
  3484. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  3485. - Do not log messages to the controller while shrinking buffer
  3486. freelists. Doing so would sometimes make the controller connection
  3487. try to allocate a buffer chunk, which would mess up the internals
  3488. of the freelist and cause an assertion failure. Fixes bug 1125;
  3489. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  3490. - Learn our external IP address when we're a relay or bridge, even if
  3491. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  3492. where we introduced bridge relays that don't need to publish to
  3493. be useful. Fixes bug 2050.
  3494. - Maintain separate TLS contexts and certificates for incoming and
  3495. outgoing connections in bridge relays. Previously we would use the
  3496. same TLS contexts and certs for incoming and outgoing connections.
  3497. Bugfix on 0.2.0.3-alpha; addresses bug 988.
  3498. - Maintain separate identity keys for incoming and outgoing TLS
  3499. contexts in bridge relays. Previously we would use the same
  3500. identity keys for incoming and outgoing TLS contexts. Bugfix on
  3501. 0.2.0.3-alpha; addresses the other half of bug 988.
  3502. - Avoid an assertion failure when we as an authority receive a
  3503. duplicate upload of a router descriptor that we already have,
  3504. but which we previously considered an obsolete descriptor.
  3505. Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
  3506. - Avoid a crash bug triggered by looking at a dangling pointer while
  3507. setting the network status consensus. Found by Robert Ransom.
  3508. Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
  3509. - Fix a logic error where servers that _didn't_ act as exits would
  3510. try to keep their server lists more aggressively up to date than
  3511. exits, when it was supposed to be the other way around. Bugfix
  3512. on 0.2.2.17-alpha.
  3513. o Minor bugfixes (on Tor 0.2.1.x and earlier):
  3514. - When we're trying to guess whether we know our IP address as
  3515. a relay, we would log various ways that we failed to guess
  3516. our address, but never log that we ended up guessing it
  3517. successfully. Now add a log line to help confused and anxious
  3518. relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
  3519. - Bring the logic that gathers routerinfos and assesses the
  3520. acceptability of circuits into line. This prevents a Tor OP from
  3521. getting locked in a cycle of choosing its local OR as an exit for a
  3522. path (due to a .exit request) and then rejecting the circuit because
  3523. its OR is not listed yet. It also prevents Tor clients from using an
  3524. OR running in the same instance as an exit (due to a .exit request)
  3525. if the OR does not meet the same requirements expected of an OR
  3526. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  3527. - Correctly describe errors that occur when generating a TLS object.
  3528. Previously we would attribute them to a failure while generating a
  3529. TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
  3530. bug 1994.
  3531. - Enforce multiplicity rules when parsing annotations. Bugfix on
  3532. 0.2.0.8-alpha. Found by piebeer.
  3533. - Fix warnings that newer versions of autoconf produced during
  3534. ./autogen.sh. These warnings appear to be harmless in our case,
  3535. but they were extremely verbose. Fixes bug 2020.
  3536. o Minor bugfixes (on Tor 0.2.2.x):
  3537. - Enable protection of small arrays whenever we build with gcc
  3538. hardening features, not only when also building with warnings
  3539. enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
  3540. o Minor features:
  3541. - Make hidden services work better in private Tor networks by not
  3542. requiring any uptime to join the hidden service descriptor
  3543. DHT. Implements ticket 2088.
  3544. - Rate-limit the "your application is giving Tor only an IP address"
  3545. warning. Addresses bug 2000; bugfix on 0.0.8pre2.
  3546. - When AllowSingleHopExits is set, print a warning to explain to the
  3547. relay operator why most clients are avoiding her relay.
  3548. - Update to the November 1 2010 Maxmind GeoLite Country database.
  3549. o Code simplifications and refactoring:
  3550. - When we fixed bug 1038 we had to put in a restriction not to send
  3551. RELAY_EARLY cells on rend circuits. This was necessary as long
  3552. as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
  3553. active. Now remove this obsolete check. Resolves bug 2081.
  3554. - Some options used different conventions for uppercasing of acronyms
  3555. when comparing manpage and source. Fix those in favor of the
  3556. manpage, as it makes sense to capitalize acronyms.
  3557. - Remove the torrc.complete file. It hasn't been kept up to date
  3558. and users will have better luck checking out the manpage.
  3559. - Remove the obsolete "NoPublish" option; it has been flagged
  3560. as obsolete and has produced a warning since 0.1.1.18-rc.
  3561. - Remove everything related to building the expert bundle for OS X.
  3562. It has confused many users, doesn't work right on OS X 10.6,
  3563. and is hard to get rid of once installed. Resolves bug 1274.
  3564. Changes in version 0.2.2.17-alpha - 2010-09-30
  3565. Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
  3566. to use one-hop circuits (which can put the exit relays at higher risk,
  3567. plus unbalance the network); fixes a big bug in bandwidth accounting
  3568. for relays that want to limit their monthly bandwidth use; fixes a
  3569. big pile of bugs in how clients tolerate temporary network failure;
  3570. and makes our adaptive circuit build timeout feature (which improves
  3571. client performance if your network is fast while not breaking things
  3572. if your network is slow) better handle bad networks.
  3573. o Major features:
  3574. - Exit relays now try harder to block exit attempts from unknown
  3575. relays, to make it harder for people to use them as one-hop proxies
  3576. a la tortunnel. Controlled by the refuseunknownexits consensus
  3577. parameter (currently enabled), or you can override it on your
  3578. relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
  3579. o Major bugfixes (0.2.1.x and earlier):
  3580. - Fix a bug in bandwidth accounting that could make us use twice
  3581. the intended bandwidth when our interval start changes due to
  3582. daylight saving time. Now we tolerate skew in stored vs computed
  3583. interval starts: if the start of the period changes by no more than
  3584. 50% of the period's duration, we remember bytes that we transferred
  3585. in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
  3586. - Always search the Windows system directory for system DLLs, and
  3587. nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
  3588. - When you're using bridges and your network goes away and your
  3589. bridges get marked as down, recover when you attempt a new socks
  3590. connection (if the network is back), rather than waiting up to an
  3591. hour to try fetching new descriptors for your bridges. Bugfix on
  3592. 0.2.0.3-alpha; fixes bug 1981.
  3593. o Major bugfixes (on 0.2.2.x):
  3594. - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
  3595. bug 1797.
  3596. - Fix a segfault that could happen when operating a bridge relay with
  3597. no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
  3598. - The consensus bandwidth-weights (used by clients to choose fast
  3599. relays) entered an unexpected edge case in September where
  3600. Exits were much scarcer than Guards, resulting in bad weight
  3601. recommendations. Now we compute them using new constraints that
  3602. should succeed in all cases. Also alter directory authorities to
  3603. not include the bandwidth-weights line if they fail to produce
  3604. valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
  3605. - When weighting bridges during path selection, we used to trust
  3606. the bandwidths they provided in their descriptor, only capping them
  3607. at 10MB/s. This turned out to be problematic for two reasons:
  3608. Bridges could claim to handle a lot more traffic then they
  3609. actually would, thus making more clients pick them and have a
  3610. pretty effective DoS attack. The other issue is that new bridges
  3611. that might not have a good estimate for their bw capacity yet
  3612. would not get used at all unless no other bridges are available
  3613. to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
  3614. o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
  3615. - Ignore cannibalized circuits when recording circuit build times.
  3616. This should provide for a minor performance improvement for hidden
  3617. service users using 0.2.2.14-alpha, and should remove two spurious
  3618. notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
  3619. - Simplify the logic that causes us to decide if the network is
  3620. unavailable for purposes of recording circuit build times. If we
  3621. receive no cells whatsoever for the entire duration of a circuit's
  3622. full measured lifetime, the network is probably down. Also ignore
  3623. one-hop directory fetching circuit timeouts when calculating our
  3624. circuit build times. These changes should hopefully reduce the
  3625. cases where we see ridiculous circuit build timeouts for people
  3626. with spotty wireless connections. Fixes part of bug 1772; bugfix
  3627. on 0.2.2.2-alpha.
  3628. - Prevent the circuit build timeout from becoming larger than
  3629. the maximum build time we have ever seen. Also, prevent the time
  3630. period for measurement circuits from becoming larger than twice that
  3631. value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
  3632. o Minor features:
  3633. - When we run out of directory information such that we can't build
  3634. circuits, but then get enough that we can build circuits, log when
  3635. we actually construct a circuit, so the user has a better chance of
  3636. knowing what's going on. Fixes bug 1362.
  3637. - Be more generous with how much bandwidth we'd use up (with
  3638. accounting enabled) before entering "soft hibernation". Previously,
  3639. we'd refuse new connections and circuits once we'd used up 95% of
  3640. our allotment. Now, we use up 95% of our allotment, AND make sure
  3641. that we have no more than 500MB (or 3 hours of expected traffic,
  3642. whichever is lower) remaining before we enter soft hibernation.
  3643. - If we've configured EntryNodes and our network goes away and/or all
  3644. our entrynodes get marked down, optimistically retry them all when
  3645. a new socks application request appears. Fixes bug 1882.
  3646. - Add some more defensive programming for architectures that can't
  3647. handle unaligned integer accesses. We don't know of any actual bugs
  3648. right now, but that's the best time to fix them. Fixes bug 1943.
  3649. - Support line continuations in the torrc config file. If a line
  3650. ends with a single backslash character, the newline is ignored, and
  3651. the configuration value is treated as continuing on the next line.
  3652. Resolves bug 1929.
  3653. o Minor bugfixes (on 0.2.1.x and earlier):
  3654. - For bandwidth accounting, calculate our expected bandwidth rate
  3655. based on the time during which we were active and not in
  3656. soft-hibernation during the last interval. Previously, we were
  3657. also considering the time spent in soft-hibernation. If this
  3658. was a long time, we would wind up underestimating our bandwidth
  3659. by a lot, and skewing our wakeup time towards the start of the
  3660. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
  3661. o Minor bugfixes (on 0.2.2.x):
  3662. - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
  3663. which were disabled by the circuit build timeout changes in
  3664. 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
  3665. - Make sure we don't warn about missing bandwidth weights when
  3666. choosing bridges or other relays not in the consensus. Bugfix on
  3667. 0.2.2.10-alpha; fixes bug 1805.
  3668. - In our logs, do not double-report signatures from unrecognized
  3669. authorities both as "from unknown authority" and "not
  3670. present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
  3671. Changes in version 0.2.2.16-alpha - 2010-09-17
  3672. Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
  3673. evident at exit relays), and also continues to resolve all the little
  3674. bugs that have been filling up trac lately.
  3675. o Major bugfixes (stream-level fairness):
  3676. - When receiving a circuit-level SENDME for a blocked circuit, try
  3677. to package cells fairly from all the streams that had previously
  3678. been blocked on that circuit. Previously, we had started with the
  3679. oldest stream, and allowed each stream to potentially exhaust
  3680. the circuit's package window. This gave older streams on any
  3681. given circuit priority over newer ones. Fixes bug 1937. Detected
  3682. originally by Camilo Viecco. This bug was introduced before the
  3683. first Tor release, in svn commit r152: it is the new winner of
  3684. the longest-lived bug prize.
  3685. - When the exit relay got a circuit-level sendme cell, it started
  3686. reading on the exit streams, even if had 500 cells queued in the
  3687. circuit queue already, so the circuit queue just grew and grew in
  3688. some cases. We fix this by not re-enabling reading on receipt of a
  3689. sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
  3690. on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
  3691. "yetonetime".
  3692. - Newly created streams were allowed to read cells onto circuits,
  3693. even if the circuit's cell queue was blocked and waiting to drain.
  3694. This created potential unfairness, as older streams would be
  3695. blocked, but newer streams would gladly fill the queue completely.
  3696. We add code to detect this situation and prevent any stream from
  3697. getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
  3698. fixes bug 1298.
  3699. o Minor features:
  3700. - Update to the September 1 2010 Maxmind GeoLite Country database.
  3701. - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
  3702. not. This would lead to a cookie that is still not group readable.
  3703. Closes bug 1843. Suggested by katmagic.
  3704. - When logging a rate-limited warning, we now mention how many messages
  3705. got suppressed since the last warning.
  3706. - Add new "perconnbwrate" and "perconnbwburst" consensus params to
  3707. do individual connection-level rate limiting of clients. The torrc
  3708. config options with the same names trump the consensus params, if
  3709. both are present. Replaces the old "bwconnrate" and "bwconnburst"
  3710. consensus params which were broken from 0.2.2.7-alpha through
  3711. 0.2.2.14-alpha. Closes bug 1947.
  3712. - When a router changes IP address or port, authorities now launch
  3713. a new reachability test for it. Implements ticket 1899.
  3714. - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
  3715. 2 no signature, 4 required" messages about consensus signatures
  3716. easier to read, and make sure they get logged at the same severity
  3717. as the messages explaining which keys are which. Fixes bug 1290.
  3718. - Don't warn when we have a consensus that we can't verify because
  3719. of missing certificates, unless those certificates are ones
  3720. that we have been trying and failing to download. Fixes bug 1145.
  3721. - If you configure your bridge with a known identity fingerprint,
  3722. and the bridge authority is unreachable (as it is in at least
  3723. one country now), fall back to directly requesting the descriptor
  3724. from the bridge. Finishes the feature started in 0.2.0.10-alpha;
  3725. closes bug 1138.
  3726. - When building with --enable-gcc-warnings on OpenBSD, disable
  3727. warnings in system headers. This makes --enable-gcc-warnings
  3728. pass on OpenBSD 4.8.
  3729. o Minor bugfixes (on 0.2.1.x and earlier):
  3730. - Authorities will now attempt to download consensuses if their
  3731. own efforts to make a live consensus have failed. This change
  3732. means authorities that restart will fetch a valid consensus, and
  3733. it means authorities that didn't agree with the current consensus
  3734. will still fetch and serve it if it has enough signatures. Bugfix
  3735. on 0.2.0.9-alpha; fixes bug 1300.
  3736. - Ensure DNS requests launched by "RESOLVE" commands from the
  3737. controller respect the __LeaveStreamsUnattached setconf options. The
  3738. same goes for requests launched via DNSPort or transparent
  3739. proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
  3740. - Allow handshaking OR connections to take a full KeepalivePeriod
  3741. seconds to handshake. Previously, we would close them after
  3742. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  3743. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  3744. for analysis help.
  3745. - Rate-limit "Failed to hand off onionskin" warnings.
  3746. - Never relay a cell for a circuit we have already destroyed.
  3747. Between marking a circuit as closeable and finally closing it,
  3748. it may have been possible for a few queued cells to get relayed,
  3749. even though they would have been immediately dropped by the next
  3750. OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
  3751. - Never queue a cell for a circuit that's already been marked
  3752. for close.
  3753. - Never vote for a server as "Running" if we have a descriptor for
  3754. it claiming to be hibernating, and that descriptor was published
  3755. more recently than our last contact with the server. Bugfix on
  3756. 0.2.0.3-alpha; fixes bug 911.
  3757. - Squash a compile warning on OpenBSD. Reported by Tas; fixes
  3758. bug 1848.
  3759. o Minor bugfixes (on 0.2.2.x):
  3760. - Fix a regression introduced in 0.2.2.7-alpha that marked relays
  3761. down if a directory fetch fails and you've configured either
  3762. bridges or EntryNodes. The intent was to mark the relay as down
  3763. _unless_ you're using bridges or EntryNodes, since if you are
  3764. then you could quickly run out of entry points.
  3765. - Fix the Windows directory-listing code. A bug introduced in
  3766. 0.2.2.14-alpha could make Windows directory servers forget to load
  3767. some of their cached v2 networkstatus files.
  3768. - Really allow clients to use relays as bridges. Fixes bug 1776;
  3769. bugfix on 0.2.2.15-alpha.
  3770. - Demote a warn to info that happens when the CellStatistics option
  3771. was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
  3772. Reported by Moritz Bartl.
  3773. - On Windows, build correctly either with or without Unicode support.
  3774. This is necessary so that Tor can support fringe platforms like
  3775. Windows 98 (which has no Unicode), or Windows CE (which has no
  3776. non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
  3777. o Testing
  3778. - Add a unit test for cross-platform directory-listing code.
  3779. Changes in version 0.2.2.15-alpha - 2010-08-18
  3780. Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
  3781. fixes a variety of other bugs that were preventing performance
  3782. experiments from moving forward, fixes several bothersome memory leaks,
  3783. and generally closes a lot of smaller bugs that have been filling up
  3784. trac lately.
  3785. o Major bugfixes:
  3786. - Stop assigning the HSDir flag to relays that disable their
  3787. DirPort (and thus will refuse to answer directory requests). This
  3788. fix should dramatically improve the reachability of hidden services:
  3789. hidden services and hidden service clients pick six HSDir relays
  3790. to store and retrieve the hidden service descriptor, and currently
  3791. about half of the HSDir relays will refuse to work. Bugfix on
  3792. 0.2.0.10-alpha; fixes part of bug 1693.
  3793. - The PerConnBWRate and Burst config options, along with the
  3794. bwconnrate and bwconnburst consensus params, initialized each conn's
  3795. token bucket values only when the connection is established. Now we
  3796. update them if the config options change, and update them every time
  3797. we get a new consensus. Otherwise we can encounter an ugly edge
  3798. case where we initialize an OR conn to client-level bandwidth,
  3799. but then later the relay joins the consensus and we leave it
  3800. throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
  3801. - Fix a regression that caused Tor to rebind its ports if it receives
  3802. SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
  3803. o Major features:
  3804. - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
  3805. should give us approximately 40-50% more Guard-flagged nodes,
  3806. improving the anonymity the Tor network can provide and also
  3807. decreasing the dropoff in throughput that relays experience when
  3808. they first get the Guard flag.
  3809. - Allow enabling or disabling the *Statistics config options while
  3810. Tor is running.
  3811. o Minor features:
  3812. - Update to the August 1 2010 Maxmind GeoLite Country database.
  3813. - Have the controller interface give a more useful message than
  3814. "Internal Error" in response to failed GETINFO requests.
  3815. - Warn when the same option is provided more than once in a torrc
  3816. file, on the command line, or in a single SETCONF statement, and
  3817. the option is one that only accepts a single line. Closes bug 1384.
  3818. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  3819. Patch from mingw-san.
  3820. - Add support for the country code "{??}" in torrc options like
  3821. ExcludeNodes, to indicate all routers of unknown country. Closes
  3822. bug 1094.
  3823. - Relays report the number of bytes spent on answering directory
  3824. requests in extra-info descriptors similar to {read,write}-history.
  3825. Implements enhancement 1790.
  3826. o Minor bugfixes (on 0.2.1.x and earlier):
  3827. - Complain if PublishServerDescriptor is given multiple arguments that
  3828. include 0 or 1. This configuration will be rejected in the future.
  3829. Bugfix on 0.2.0.1-alpha; closes bug 1107.
  3830. - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
  3831. Bugfix on 0.2.0.13-alpha; closes bug 928.
  3832. - Change "Application request when we're believed to be offline."
  3833. notice to "Application request when we haven't used client
  3834. functionality lately.", to clarify that it's not an error. Bugfix
  3835. on 0.0.9.3; fixes bug 1222.
  3836. - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
  3837. would return "551 Internal error" rather than "552 Unrecognized key
  3838. ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
  3839. - Users can't configure a regular relay to be their bridge. It didn't
  3840. work because when Tor fetched the bridge descriptor, it found
  3841. that it already had it, and didn't realize that the purpose of the
  3842. descriptor had changed. Now we replace routers with a purpose other
  3843. than bridge with bridge descriptors when fetching them. Bugfix on
  3844. 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
  3845. refetch the descriptor with router purpose 'general', disabling
  3846. it as a bridge.
  3847. - Fix a rare bug in rend_fn unit tests: we would fail a test when
  3848. a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
  3849. on 0.2.0.10-alpha; fixes bug 1808.
  3850. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  3851. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  3852. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  3853. Servers can start sending this code when enough clients recognize
  3854. it. Also update the spec to reflect this new reason. Bugfix on
  3855. 0.1.0.1-rc; fixes part of bug 1793.
  3856. - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
  3857. when we switch from being a public relay to a bridge. Otherwise
  3858. there will still be clients that see the relay in their consensus,
  3859. and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
  3860. 932 even more.
  3861. - Instead of giving an assertion failure on an internal mismatch
  3862. on estimated freelist size, just log a BUG warning and try later.
  3863. Mitigates but does not fix bug 1125.
  3864. - Fix an assertion failure that could occur in caches or bridge users
  3865. when using a very short voting interval on a testing network.
  3866. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
  3867. o Minor bugfixes (on 0.2.2.x):
  3868. - Alter directory authorities to always consider Exit-flagged nodes
  3869. as potential Guard nodes in their votes. The actual decision to
  3870. use Exits as Guards is done in the consensus bandwidth weights.
  3871. Fixes bug 1294; bugfix on 0.2.2.10-alpha.
  3872. - When the controller is reporting the purpose of circuits that
  3873. didn't finish building before the circuit build timeout, it was
  3874. printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
  3875. - Our libevent version parsing code couldn't handle versions like
  3876. 1.4.14b-stable and incorrectly warned the user about using an
  3877. old and broken version of libevent. Treat 1.4.14b-stable like
  3878. 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
  3879. on 0.2.2.1-alpha.
  3880. - Don't use substitution references like $(VAR:MOD) when
  3881. $(asciidoc_files) is empty -- make(1) on NetBSD transforms
  3882. '$(:x)' to 'x' rather than the empty string. This bites us in
  3883. doc/ when configured with --disable-asciidoc. Bugfix on
  3884. 0.2.2.9-alpha; fixes bug 1773.
  3885. - Remove a spurious hidden service server-side log notice about
  3886. "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
  3887. bug 1741.
  3888. - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
  3889. fixes bug 1832.
  3890. - Correctly report written bytes on linked connections. Found while
  3891. implementing 1790. Bugfix on 0.2.2.4-alpha.
  3892. - Fix three memory leaks: one in circuit_build_times_parse_state(),
  3893. one in dirvote_add_signatures_to_pending_consensus(), and one every
  3894. time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
  3895. 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
  3896. o Code simplifications and refactoring:
  3897. - Take a first step towards making or.h smaller by splitting out
  3898. function definitions for all source files in src/or/. Leave
  3899. structures and defines in or.h for now.
  3900. - Remove a bunch of unused function declarations as well as a block of
  3901. #if 0'd code from the unit tests. Closes bug 1824.
  3902. - New unit tests for exit-port history statistics; refactored exit
  3903. statistics code to be more easily tested.
  3904. - Remove the old debian/ directory from the main Tor distribution.
  3905. The official Tor-for-debian git repository lives at the URL
  3906. https://git.torproject.org/debian/tor.git
  3907. Changes in version 0.2.2.14-alpha - 2010-07-12
  3908. Tor 0.2.2.14-alpha greatly improves client-side handling of
  3909. circuit build timeouts, which are used to estimate speed and improve
  3910. performance. We also move to a much better GeoIP database, port Tor to
  3911. Windows CE, introduce new compile flags that improve code security,
  3912. add an eighth v3 directory authority, and address a lot of more
  3913. minor issues.
  3914. o Major bugfixes:
  3915. - Tor directory authorities no longer crash when started with a
  3916. cached-microdesc-consensus file in their data directory. Bugfix
  3917. on 0.2.2.6-alpha; fixes bug 1532.
  3918. - Treat an unset $HOME like an empty $HOME rather than triggering an
  3919. assert. Bugfix on 0.0.8pre1; fixes bug 1522.
  3920. - Ignore negative and large circuit build timeout values that can
  3921. happen during a suspend or hibernate. These values caused various
  3922. asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
  3923. - Alter calculation of Pareto distribution parameter 'Xm' for
  3924. Circuit Build Timeout learning to use the weighted average of the
  3925. top N=3 modes (because we have three entry guards). Considering
  3926. multiple modes should improve the timeout calculation in some cases,
  3927. and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
  3928. fixes bug 1335.
  3929. - Alter calculation of Pareto distribution parameter 'Alpha' to use a
  3930. right censored distribution model. This approach improves over the
  3931. synthetic timeout generation approach that was producing insanely
  3932. high timeout values. Now we calculate build timeouts using truncated
  3933. times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
  3934. - Do not close circuits that are under construction when they reach
  3935. the circuit build timeout. Instead, leave them building (but do not
  3936. use them) for up until the time corresponding to the 95th percentile
  3937. on the Pareto CDF or 60 seconds, whichever is greater. This is done
  3938. to provide better data for the new Pareto model. This percentile
  3939. can be controlled by the consensus.
  3940. o Major features:
  3941. - Move to the June 2010 Maxmind GeoLite country db (rather than the
  3942. June 2009 ip-to-country GeoIP db) for our statistics that count
  3943. how many users relays are seeing from each country. Now we have
  3944. more accurate data for many African countries.
  3945. - Port Tor to build and run correctly on Windows CE systems, using
  3946. the wcecompat library. Contributed by Valerio Lupi.
  3947. - New "--enable-gcc-hardening" ./configure flag (off by default)
  3948. to turn on gcc compile time hardening options. It ensures
  3949. that signed ints have defined behavior (-fwrapv), enables
  3950. -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
  3951. with canaries (-fstack-protector-all), turns on ASLR protection if
  3952. supported by the kernel (-fPIE, -pie), and adds additional security
  3953. related warnings. Verified to work on Mac OS X and Debian Lenny.
  3954. - New "--enable-linker-hardening" ./configure flag (off by default)
  3955. to turn on ELF specific hardening features (relro, now). This does
  3956. not work with Mac OS X or any other non-ELF binary format.
  3957. o New directory authorities:
  3958. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  3959. authority.
  3960. o Minor features:
  3961. - New config option "WarnUnsafeSocks 0" disables the warning that
  3962. occurs whenever Tor receives a socks handshake using a version of
  3963. the socks protocol that can only provide an IP address (rather
  3964. than a hostname). Setups that do DNS locally over Tor are fine,
  3965. and we shouldn't spam the logs in that case.
  3966. - Convert the HACKING file to asciidoc, and add a few new sections
  3967. to it, explaining how we use Git, how we make changelogs, and
  3968. what should go in a patch.
  3969. - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
  3970. event, to give information on the current rate of circuit timeouts
  3971. over our stored history.
  3972. - Add ability to disable circuit build time learning via consensus
  3973. parameter and via a LearnCircuitBuildTimeout config option. Also
  3974. automatically disable circuit build time calculation if we are
  3975. either a AuthoritativeDirectory, or if we fail to write our state
  3976. file. Fixes bug 1296.
  3977. - More gracefully handle corrupt state files, removing asserts
  3978. in favor of saving a backup and resetting state.
  3979. - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
  3980. system headers.
  3981. o Minor bugfixes:
  3982. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  3983. enabled.
  3984. - When a2x fails, mention that the user could disable manpages instead
  3985. of trying to fix their asciidoc installation.
  3986. - Where available, use Libevent 2.0's periodic timers so that our
  3987. once-per-second cleanup code gets called even more closely to
  3988. once per second than it would otherwise. Fixes bug 943.
  3989. - If you run a bridge that listens on multiple IP addresses, and
  3990. some user configures a bridge address that uses a different IP
  3991. address than your bridge writes in its router descriptor, and the
  3992. user doesn't specify an identity key, their Tor would discard the
  3993. descriptor because "it isn't one of our configured bridges", and
  3994. fail to bootstrap. Now believe the descriptor and bootstrap anyway.
  3995. Bugfix on 0.2.0.3-alpha.
  3996. - If OpenSSL fails to make a duplicate of a private or public key, log
  3997. an error message and try to exit cleanly. May help with debugging
  3998. if bug 1209 ever remanifests.
  3999. - Save a couple bytes in memory allocation every time we escape
  4000. certain characters in a string. Patch from Florian Zumbiehl.
  4001. - Make it explicit that we don't cannibalize one-hop circuits. This
  4002. happens in the wild, but doesn't turn out to be a problem because
  4003. we fortunately don't use those circuits. Many thanks to outofwords
  4004. for the initial analysis and to swissknife who confirmed that
  4005. two-hop circuits are actually created.
  4006. - Make directory mirrors report non-zero dirreq-v[23]-shares again.
  4007. Fixes bug 1564; bugfix on 0.2.2.9-alpha.
  4008. - Eliminate a case where a circuit build time warning was displayed
  4009. after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
  4010. Changes in version 0.2.1.26 - 2010-05-02
  4011. Tor 0.2.1.26 addresses the recent connection and memory overload
  4012. problems we've been seeing on relays, especially relays with their
  4013. DirPort open. If your relay has been crashing, or you turned it off
  4014. because it used too many resources, give this release a try.
  4015. This release also fixes yet another instance of broken OpenSSL libraries
  4016. that was causing some relays to drop out of the consensus.
  4017. o Major bugfixes:
  4018. - Teach relays to defend themselves from connection overload. Relays
  4019. now close idle circuits early if it looks like they were intended
  4020. for directory fetches. Relays are also more aggressive about closing
  4021. TLS connections that have no circuits on them. Such circuits are
  4022. unlikely to be re-used, and tens of thousands of them were piling
  4023. up at the fast relays, causing the relays to run out of sockets
  4024. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  4025. their directory fetches over TLS).
  4026. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  4027. that claim to be earlier than 0.9.8m, but which have in reality
  4028. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  4029. behavior. Possible fix for some cases of bug 1346.
  4030. - Directory mirrors were fetching relay descriptors only from v2
  4031. directory authorities, rather than v3 authorities like they should.
  4032. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  4033. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  4034. o Minor bugfixes:
  4035. - Finally get rid of the deprecated and now harmful notion of "clique
  4036. mode", where directory authorities maintain TLS connections to
  4037. every other relay.
  4038. o Testsuite fixes:
  4039. - In the util/threads test, no longer free the test_mutex before all
  4040. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  4041. - The master thread could starve the worker threads quite badly on
  4042. certain systems, causing them to run only partially in the allowed
  4043. window. This resulted in test failures. Now the master thread sleeps
  4044. occasionally for a few microseconds while the two worker-threads
  4045. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  4046. Changes in version 0.2.2.13-alpha - 2010-04-24
  4047. Tor 0.2.2.13-alpha addresses the recent connection and memory overload
  4048. problems we've been seeing on relays, especially relays with their
  4049. DirPort open. If your relay has been crashing, or you turned it off
  4050. because it used too many resources, give this release a try.
  4051. o Major bugfixes:
  4052. - Teach relays to defend themselves from connection overload. Relays
  4053. now close idle circuits early if it looks like they were intended
  4054. for directory fetches. Relays are also more aggressive about closing
  4055. TLS connections that have no circuits on them. Such circuits are
  4056. unlikely to be re-used, and tens of thousands of them were piling
  4057. up at the fast relays, causing the relays to run out of sockets
  4058. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  4059. their directory fetches over TLS).
  4060. o Minor features:
  4061. - Finally get rid of the deprecated and now harmful notion of "clique
  4062. mode", where directory authorities maintain TLS connections to
  4063. every other relay.
  4064. - Directory authorities now do an immediate reachability check as soon
  4065. as they hear about a new relay. This change should slightly reduce
  4066. the time between setting up a relay and getting listed as running
  4067. in the consensus. It should also improve the time between setting
  4068. up a bridge and seeing use by bridge users.
  4069. - Directory authorities no longer launch a TLS connection to every
  4070. relay as they startup. Now that we have 2k+ descriptors cached,
  4071. the resulting network hiccup is becoming a burden. Besides,
  4072. authorities already avoid voting about Running for the first half
  4073. hour of their uptime.
  4074. Changes in version 0.2.2.12-alpha - 2010-04-20
  4075. Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
  4076. handle and vote on descriptors. It was causing relays to drop out of
  4077. the consensus.
  4078. o Major bugfixes:
  4079. - Many relays have been falling out of the consensus lately because
  4080. not enough authorities know about their descriptor for them to get
  4081. a majority of votes. When we deprecated the v2 directory protocol,
  4082. we got rid of the only way that v3 authorities can hear from each
  4083. other about other descriptors. Now authorities examine every v3
  4084. vote for new descriptors, and fetch them from that authority. Bugfix
  4085. on 0.2.1.23.
  4086. - Fix two typos in tor_vasprintf() that broke the compile on Windows,
  4087. and a warning in or.h related to bandwidth_weight_rule_t that
  4088. prevented clean compile on OS X. Fixes bug 1363; bugfix on
  4089. 0.2.2.11-alpha.
  4090. - Fix a segfault on relays when DirReqStatistics is enabled
  4091. and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
  4092. 0.2.2.11-alpha.
  4093. o Minor bugfixes:
  4094. - Demote a confusing TLS warning that relay operators might get when
  4095. someone tries to talk to their OrPort. It is neither the operator's
  4096. fault nor can they do anything about it. Fixes bug 1364; bugfix
  4097. on 0.2.0.14-alpha.
  4098. Changes in version 0.2.2.11-alpha - 2010-04-15
  4099. Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
  4100. libraries that was causing some relays to drop out of the consensus.
  4101. o Major bugfixes:
  4102. - Directory mirrors were fetching relay descriptors only from v2
  4103. directory authorities, rather than v3 authorities like they should.
  4104. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  4105. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  4106. - Fix a parsing error that made every possible value of
  4107. CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
  4108. on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
  4109. CircuitPriorityHalflifeMsec, so authorities can tell newer relays
  4110. about the option without breaking older ones.
  4111. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  4112. that claim to be earlier than 0.9.8m, but which have in reality
  4113. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  4114. behavior. Possible fix for some cases of bug 1346.
  4115. o Minor features:
  4116. - Experiment with a more aggressive approach to preventing clients
  4117. from making one-hop exit streams. Exit relays who want to try it
  4118. out can set "RefuseUnknownExits 1" in their torrc, and then look
  4119. for "Attempt by %s to open a stream" log messages. Let us know
  4120. how it goes!
  4121. - Add support for statically linking zlib by specifying
  4122. --enable-static-zlib, to go with our support for statically linking
  4123. openssl and libevent. Resolves bug 1358.
  4124. o Minor bugfixes:
  4125. - Fix a segfault that happens whenever a Tor client that is using
  4126. libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
  4127. fixes bug 1341.
  4128. - When we cleaned up the contrib/tor-exit-notice.html file, we left
  4129. out the first line. Fixes bug 1295.
  4130. - When building the manpage from a tarball, we required asciidoc, but
  4131. the asciidoc -> roff/html conversion was already done for the
  4132. tarball. Make 'make' complain only when we need asciidoc (either
  4133. because we're compiling directly from git, or because we altered
  4134. the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
  4135. - When none of the directory authorities vote on any params, Tor
  4136. segfaulted when trying to make the consensus from the votes. We
  4137. didn't trigger the bug in practice, because authorities do include
  4138. params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
  4139. o Testsuite fixes:
  4140. - In the util/threads test, no longer free the test_mutex before all
  4141. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  4142. - The master thread could starve the worker threads quite badly on
  4143. certain systems, causing them to run only partially in the allowed
  4144. window. This resulted in test failures. Now the master thread sleeps
  4145. occasionally for a few microseconds while the two worker-threads
  4146. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  4147. Changes in version 0.2.2.10-alpha - 2010-03-07
  4148. Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
  4149. could prevent relays from guessing their IP address correctly. It also
  4150. starts the groundwork for another client-side performance boost, since
  4151. currently we're not making efficient use of relays that have both the
  4152. Guard flag and the Exit flag.
  4153. o Major bugfixes:
  4154. - Fix a regression from our patch for bug 1244 that caused relays
  4155. to guess their IP address incorrectly if they didn't set Address
  4156. in their torrc and/or their address fails to resolve. Bugfix on
  4157. 0.2.2.9-alpha; fixes bug 1269.
  4158. o Major features (performance):
  4159. - Directory authorities now compute consensus weightings that instruct
  4160. clients how to weight relays flagged as Guard, Exit, Guard+Exit,
  4161. and no flag. Clients that use these weightings will distribute
  4162. network load more evenly across these different relay types. The
  4163. weightings are in the consensus so we can change them globally in
  4164. the future. Extra thanks to "outofwords" for finding some nasty
  4165. security bugs in the first implementation of this feature.
  4166. o Minor features (performance):
  4167. - Always perform router selections using weighted relay bandwidth,
  4168. even if we don't need a high capacity circuit at the time. Non-fast
  4169. circuits now only differ from fast ones in that they can use relays
  4170. not marked with the Fast flag. This "feature" could turn out to
  4171. be a horrible bug; we should investigate more before it goes into
  4172. a stable release.
  4173. o Minor features:
  4174. - Allow disabling building of the manpages. Skipping the manpage
  4175. speeds up the build considerably.
  4176. o Minor bugfixes (on 0.2.2.x):
  4177. - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
  4178. Bugfix on 0.2.2.9-alpha.
  4179. - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
  4180. config option. Bugfix on 0.2.2.7-alpha.
  4181. - Ship the asciidoc-helper file in the tarball, so that people can
  4182. build from source if they want to, and touching the .1.txt files
  4183. doesn't break the build. Bugfix on 0.2.2.9-alpha.
  4184. o Minor bugfixes (on 0.2.1.x or earlier):
  4185. - Fix a dereference-then-NULL-check sequence when publishing
  4186. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  4187. bug 1255.
  4188. - Fix another dereference-then-NULL-check sequence. Bugfix on
  4189. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  4190. - Make sure we treat potentially not NUL-terminated strings correctly.
  4191. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  4192. o Code simplifications and refactoring:
  4193. - Fix some urls in the exit notice file and make it XHTML1.1 strict
  4194. compliant. Based on a patch from Christian Kujau.
  4195. - Don't use sed in asciidoc-helper anymore.
  4196. - Make the build process fail if asciidoc cannot be found and
  4197. building with asciidoc isn't disabled.
  4198. Changes in version 0.2.2.9-alpha - 2010-02-22
  4199. Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
  4200. location of a directory authority, and cleans up a bunch of small bugs.
  4201. o Directory authority changes:
  4202. - Change IP address for dannenberg (v3 directory authority), and
  4203. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  4204. service directory authority) from the list.
  4205. o Major bugfixes:
  4206. - Make Tor work again on the latest OS X: when deciding whether to
  4207. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  4208. version at run-time, not compile time. We need to do this because
  4209. Apple doesn't update its dev-tools headers when it updates its
  4210. libraries in a security patch.
  4211. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  4212. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  4213. a memory leak when requesting a hidden service descriptor we've
  4214. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  4215. by aakova.
  4216. - Authorities could be tricked into giving out the Exit flag to relays
  4217. that didn't allow exiting to any ports. This bug could screw
  4218. with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
  4219. 1238. Bug discovered by Martin Kowalczyk.
  4220. - When freeing a session key, zero it out completely. We only zeroed
  4221. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  4222. patched by ekir. Fixes bug 1254.
  4223. o Minor bugfixes:
  4224. - Fix static compilation by listing the openssl libraries in the right
  4225. order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
  4226. - Resume handling .exit hostnames in a special way: originally we
  4227. stripped the .exit part and used the requested exit relay. In
  4228. 0.2.2.1-alpha we stopped treating them in any special way, meaning
  4229. if you use a .exit address then Tor will pass it on to the exit
  4230. relay. Now we reject the .exit stream outright, since that behavior
  4231. might be more expected by the user. Found and diagnosed by Scott
  4232. Bennett and Downie on or-talk.
  4233. - Don't spam the controller with events when we have no file
  4234. descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
  4235. for log messages was already solved from bug 748.)
  4236. - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
  4237. "memcpyfail".
  4238. - Make the DNSPort option work with libevent 2.x. Don't alter the
  4239. behaviour for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
  4240. - Emit a GUARD DROPPED controller event for a case we missed.
  4241. - Make more fields in the controller protocol case-insensitive, since
  4242. control-spec.txt said they were.
  4243. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  4244. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  4245. - Fix a spec conformance issue: the network-status-version token
  4246. must be the first token in a v3 consensus or vote. Discovered by
  4247. parakeep. Bugfix on 0.2.0.3-alpha.
  4248. o Code simplifications and refactoring:
  4249. - Generate our manpage and HTML documentation using Asciidoc. This
  4250. change should make it easier to maintain the documentation, and
  4251. produce nicer HTML.
  4252. - Remove the --enable-iphone option. According to reports from Marco
  4253. Bonetti, Tor builds fine without any special tweaking on recent
  4254. iPhone SDK versions.
  4255. - Removed some unnecessary files from the source distribution. The
  4256. AUTHORS file has now been merged into the people page on the
  4257. website. The roadmaps and design doc can now be found in the
  4258. projects directory in svn.
  4259. - Enabled various circuit build timeout constants to be controlled
  4260. by consensus parameters. Also set better defaults for these
  4261. parameters based on experimentation on broadband and simulated
  4262. high latency links.
  4263. o Minor features:
  4264. - The 'EXTENDCIRCUIT' control port command can now be used with
  4265. a circ id of 0 and no path. This feature will cause Tor to build
  4266. a new 'fast' general purpose circuit using its own path selection
  4267. algorithms.
  4268. - Added a BUILDTIMEOUT_SET controller event to describe changes
  4269. to the circuit build timeout.
  4270. - Future-proof the controller protocol a bit by ignoring keyword
  4271. arguments we do not recognize.
  4272. - Expand homedirs passed to tor-checkkey. This should silence a
  4273. coverity complaint about passing a user-supplied string into
  4274. open() without checking it.
  4275. Changes in version 0.2.1.25 - 2010-03-16
  4276. Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
  4277. prevent relays from guessing their IP address correctly. It also fixes
  4278. several minor potential security bugs.
  4279. o Major bugfixes:
  4280. - Fix a regression from our patch for bug 1244 that caused relays
  4281. to guess their IP address incorrectly if they didn't set Address
  4282. in their torrc and/or their address fails to resolve. Bugfix on
  4283. 0.2.1.23; fixes bug 1269.
  4284. - When freeing a session key, zero it out completely. We only zeroed
  4285. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  4286. patched by ekir. Fixes bug 1254.
  4287. o Minor bugfixes:
  4288. - Fix a dereference-then-NULL-check sequence when publishing
  4289. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  4290. bug 1255.
  4291. - Fix another dereference-then-NULL-check sequence. Bugfix on
  4292. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  4293. - Make sure we treat potentially not NUL-terminated strings correctly.
  4294. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  4295. Changes in version 0.2.1.24 - 2010-02-21
  4296. Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  4297. for sure!
  4298. o Minor bugfixes:
  4299. - Work correctly out-of-the-box with even more vendor-patched versions
  4300. of OpenSSL. In particular, make it so Debian and OS X don't need
  4301. customized patches to run/build.
  4302. Changes in version 0.2.1.23 - 2010-02-13
  4303. Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  4304. again on the latest OS X, and updates the location of a directory
  4305. authority.
  4306. o Major bugfixes (performance):
  4307. - We were selecting our guards uniformly at random, and then weighting
  4308. which of our guards we'd use uniformly at random. This imbalance
  4309. meant that Tor clients were severely limited on throughput (and
  4310. probably latency too) by the first hop in their circuit. Now we
  4311. select guards weighted by currently advertised bandwidth. We also
  4312. automatically discard guards picked using the old algorithm. Fixes
  4313. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  4314. o Major bugfixes:
  4315. - Make Tor work again on the latest OS X: when deciding whether to
  4316. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  4317. version at run-time, not compile time. We need to do this because
  4318. Apple doesn't update its dev-tools headers when it updates its
  4319. libraries in a security patch.
  4320. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  4321. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  4322. a memory leak when requesting a hidden service descriptor we've
  4323. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  4324. by aakova.
  4325. o Directory authority changes:
  4326. - Change IP address for dannenberg (v3 directory authority), and
  4327. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  4328. service directory authority) from the list.
  4329. o Minor bugfixes:
  4330. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  4331. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  4332. o Minor features:
  4333. - Avoid a mad rush at the beginning of each month when each client
  4334. rotates half of its guards. Instead we spread the rotation out
  4335. throughout the month, but we still avoid leaving a precise timestamp
  4336. in the state file about when we first picked the guard. Improves
  4337. over the behavior introduced in 0.1.2.17.
  4338. Changes in version 0.2.2.8-alpha - 2010-01-26
  4339. Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
  4340. causing bridge relays to disappear. If you're running a bridge,
  4341. please upgrade.
  4342. o Major bugfixes:
  4343. - Fix a memory corruption bug on bridges that occured during the
  4344. inclusion of stats data in extra-info descriptors. Also fix the
  4345. interface for geoip_get_bridge_stats* to prevent similar bugs in
  4346. the future. Diagnosis by Tas, patch by Karsten and Sebastian.
  4347. Fixes bug 1208; bugfix on 0.2.2.7-alpha.
  4348. o Minor bugfixes:
  4349. - Ignore OutboundBindAddress when connecting to localhost.
  4350. Connections to localhost need to come _from_ localhost, or else
  4351. local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
  4352. refuse to listen.
  4353. Changes in version 0.2.2.7-alpha - 2010-01-19
  4354. Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
  4355. as laying the groundwork for further relay-side performance fixes. It
  4356. also starts cleaning up client behavior with respect to the EntryNodes,
  4357. ExitNodes, and StrictNodes config options.
  4358. This release also rotates two directory authority keys, due to a
  4359. security breach of some of the Torproject servers.
  4360. o Directory authority changes:
  4361. - Rotate keys (both v3 identity and relay identity) for moria1
  4362. and gabelmoo.
  4363. o Major features (performance):
  4364. - We were selecting our guards uniformly at random, and then weighting
  4365. which of our guards we'd use uniformly at random. This imbalance
  4366. meant that Tor clients were severely limited on throughput (and
  4367. probably latency too) by the first hop in their circuit. Now we
  4368. select guards weighted by currently advertised bandwidth. We also
  4369. automatically discard guards picked using the old algorithm. Fixes
  4370. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  4371. - When choosing which cells to relay first, relays can now favor
  4372. circuits that have been quiet recently, to provide lower latency
  4373. for low-volume circuits. By default, relays enable or disable this
  4374. feature based on a setting in the consensus. You can override
  4375. this default by using the new "CircuitPriorityHalflife" config
  4376. option. Design and code by Ian Goldberg, Can Tang, and Chris
  4377. Alexander.
  4378. - Add separate per-conn write limiting to go with the per-conn read
  4379. limiting. We added a global write limit in Tor 0.1.2.5-alpha,
  4380. but never per-conn write limits.
  4381. - New consensus params "bwconnrate" and "bwconnburst" to let us
  4382. rate-limit client connections as they enter the network. It's
  4383. controlled in the consensus so we can turn it on and off for
  4384. experiments. It's starting out off. Based on proposal 163.
  4385. o Major features (relay selection options):
  4386. - Switch to a StrictNodes config option, rather than the previous
  4387. "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
  4388. "StrictExcludeNodes" option.
  4389. - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
  4390. change during a config reload, mark and discard all our origin
  4391. circuits. This fix should address edge cases where we change the
  4392. config options and but then choose a circuit that we created before
  4393. the change.
  4394. - If EntryNodes or ExitNodes are set, be more willing to use an
  4395. unsuitable (e.g. slow or unstable) circuit. The user asked for it,
  4396. they get it.
  4397. - Make EntryNodes config option much more aggressive even when
  4398. StrictNodes is not set. Before it would prepend your requested
  4399. entrynodes to your list of guard nodes, but feel free to use others
  4400. after that. Now it chooses only from your EntryNodes if any of
  4401. those are available, and only falls back to others if a) they're
  4402. all down and b) StrictNodes is not set.
  4403. - Now we refresh your entry guards from EntryNodes at each consensus
  4404. fetch -- rather than just at startup and then they slowly rot as
  4405. the network changes.
  4406. o Major bugfixes:
  4407. - Stop bridge directory authorities from answering dbg-stability.txt
  4408. directory queries, which would let people fetch a list of all
  4409. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  4410. o Minor features:
  4411. - Log a notice when we get a new control connection. Now it's easier
  4412. for security-conscious users to recognize when a local application
  4413. is knocking on their controller door. Suggested by bug 1196.
  4414. - New config option "CircuitStreamTimeout" to override our internal
  4415. timeout schedule for how many seconds until we detach a stream from
  4416. a circuit and try a new circuit. If your network is particularly
  4417. slow, you might want to set this to a number like 60.
  4418. - New controller command "getinfo config-text". It returns the
  4419. contents that Tor would write if you send it a SAVECONF command,
  4420. so the controller can write the file to disk itself.
  4421. - New options for SafeLogging to allow scrubbing only log messages
  4422. generated while acting as a relay.
  4423. - Ship the bridges spec file in the tarball too.
  4424. - Avoid a mad rush at the beginning of each month when each client
  4425. rotates half of its guards. Instead we spread the rotation out
  4426. throughout the month, but we still avoid leaving a precise timestamp
  4427. in the state file about when we first picked the guard. Improves
  4428. over the behavior introduced in 0.1.2.17.
  4429. o Minor bugfixes (compiling):
  4430. - Fix compilation on OS X 10.3, which has a stub mlockall() but
  4431. hides it. Bugfix on 0.2.2.6-alpha.
  4432. - Fix compilation on Solaris by removing support for the
  4433. DisableAllSwap config option. Solaris doesn't have an rlimit for
  4434. mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
  4435. 0.2.2.6-alpha.
  4436. o Minor bugfixes (crashes):
  4437. - Do not segfault when writing buffer stats when we haven't observed
  4438. a single circuit to report about. Found by Fabian Lanze. Bugfix on
  4439. 0.2.2.1-alpha.
  4440. - If we're in the pathological case where there's no exit bandwidth
  4441. but there is non-exit bandwidth, or no guard bandwidth but there
  4442. is non-guard bandwidth, don't crash during path selection. Bugfix
  4443. on 0.2.0.3-alpha.
  4444. - Fix an impossible-to-actually-trigger buffer overflow in relay
  4445. descriptor generation. Bugfix on 0.1.0.15.
  4446. o Minor bugfixes (privacy):
  4447. - Fix an instance where a Tor directory mirror might accidentally
  4448. log the IP address of a misbehaving Tor client. Bugfix on
  4449. 0.1.0.1-rc.
  4450. - Don't list Windows capabilities in relay descriptors. We never made
  4451. use of them, and maybe it's a bad idea to publish them. Bugfix
  4452. on 0.1.1.8-alpha.
  4453. o Minor bugfixes (other):
  4454. - Resolve an edge case in path weighting that could make us misweight
  4455. our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
  4456. - Fix statistics on client numbers by country as seen by bridges that
  4457. were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
  4458. intervals instead of variable 12-to-48-hour intervals.
  4459. - After we free an internal connection structure, overwrite it
  4460. with a different memory value than we use for overwriting a freed
  4461. internal circuit structure. Should help with debugging. Suggested
  4462. by bug 1055.
  4463. - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
  4464. too.
  4465. o Removed features:
  4466. - Remove the HSAuthorityRecordStats option that version 0 hidden
  4467. service authorities could have used to track statistics of overall
  4468. hidden service usage.
  4469. Changes in version 0.2.1.22 - 2010-01-19
  4470. Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
  4471. authorities -- it would tell you its whole history of bridge descriptors
  4472. if you make the right directory request. This stable update also
  4473. rotates two of the seven v3 directory authority keys and locations.
  4474. o Directory authority changes:
  4475. - Rotate keys (both v3 identity and relay identity) for moria1
  4476. and gabelmoo.
  4477. o Major bugfixes:
  4478. - Stop bridge directory authorities from answering dbg-stability.txt
  4479. directory queries, which would let people fetch a list of all
  4480. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  4481. Changes in version 0.2.1.21 - 2009-12-21
  4482. Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
  4483. library. If you use Tor on Linux / Unix and you're getting SSL
  4484. renegotiation errors, upgrading should help. We also recommend an
  4485. upgrade if you're an exit relay.
  4486. o Major bugfixes:
  4487. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  4488. handshake from working unless we explicitly tell OpenSSL that we
  4489. are using SSL renegotiation safely. We are, of course, but OpenSSL
  4490. 0.9.8l won't work unless we say we are.
  4491. - Avoid crashing if the client is trying to upload many bytes and the
  4492. circuit gets torn down at the same time, or if the flip side
  4493. happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
  4494. o Minor bugfixes:
  4495. - Do not refuse to learn about authority certs and v2 networkstatus
  4496. documents that are older than the latest consensus. This bug might
  4497. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  4498. Spotted and fixed by xmux.
  4499. - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
  4500. trigger platform-specific option misparsing case found by Coverity
  4501. Scan.
  4502. - Fix a compilation warning on Fedora 12 by removing an impossible-to-
  4503. trigger assert. Fixes bug 1173.
  4504. Changes in version 0.2.2.6-alpha - 2009-11-19
  4505. Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
  4506. support for the new lower-footprint "microdescriptor" directory design,
  4507. future-proofing our consensus format against new hash functions or
  4508. other changes, and an Android port. It also makes Tor compatible with
  4509. the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
  4510. o Major features:
  4511. - Directory authorities can now create, vote on, and serve multiple
  4512. parallel formats of directory data as part of their voting process.
  4513. Partially implements Proposal 162: "Publish the consensus in
  4514. multiple flavors".
  4515. - Directory authorities can now agree on and publish small summaries
  4516. of router information that clients can use in place of regular
  4517. server descriptors. This transition will eventually allow clients
  4518. to use far less bandwidth for downloading information about the
  4519. network. Begins the implementation of Proposal 158: "Clients
  4520. download consensus + microdescriptors".
  4521. - The directory voting system is now extensible to use multiple hash
  4522. algorithms for signatures and resource selection. Newer formats
  4523. are signed with SHA256, with a possibility for moving to a better
  4524. hash algorithm in the future.
  4525. - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
  4526. current and future memory pages via mlockall(). On supported
  4527. platforms (modern Linux and probably BSD but not Windows or OS X),
  4528. this should effectively disable any and all attempts to page out
  4529. memory. This option requires that you start your Tor as root --
  4530. if you use DisableAllSwap, please consider using the User option
  4531. to properly reduce the privileges of your Tor.
  4532. - Numerous changes, bugfixes, and workarounds from Nathan Freitas
  4533. to help Tor build correctly for Android phones.
  4534. o Major bugfixes:
  4535. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  4536. handshake from working unless we explicitly tell OpenSSL that we
  4537. are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
  4538. won't work unless we say we are.
  4539. o Minor bugfixes:
  4540. - Fix a crash bug when trying to initialize the evdns module in
  4541. Libevent 2. Bugfix on 0.2.1.16-rc.
  4542. - Stop logging at severity 'warn' when some other Tor client tries
  4543. to establish a circuit with us using weak DH keys. It's a protocol
  4544. violation, but that doesn't mean ordinary users need to hear about
  4545. it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
  4546. - Do not refuse to learn about authority certs and v2 networkstatus
  4547. documents that are older than the latest consensus. This bug might
  4548. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  4549. Spotted and fixed by xmux.
  4550. - Fix numerous small code-flaws found by Coverity Scan Rung 3.
  4551. - If all authorities restart at once right before a consensus vote,
  4552. nobody will vote about "Running", and clients will get a consensus
  4553. with no usable relays. Instead, authorities refuse to build a
  4554. consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
  4555. - If your relay can't keep up with the number of incoming create
  4556. cells, it would log one warning per failure into your logs. Limit
  4557. warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
  4558. - Bridges now use "reject *:*" as their default exit policy. Bugfix
  4559. on 0.2.0.3-alpha; fixes bug 1113.
  4560. - Fix a memory leak on directory authorities during voting that was
  4561. introduced in 0.2.2.1-alpha. Found via valgrind.
  4562. Changes in version 0.2.1.20 - 2009-10-15
  4563. Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
  4564. services at once, prepares for more performance improvements, and
  4565. fixes a bunch of smaller bugs.
  4566. The Windows and OS X bundles also include a more recent Vidalia,
  4567. and switch from Privoxy to Polipo.
  4568. The OS X installers are now drag and drop. It's best to un-install
  4569. Tor/Vidalia and then install this new bundle, rather than upgrade. If
  4570. you want to upgrade, you'll need to update the paths for Tor and Polipo
  4571. in the Vidalia Settings window.
  4572. o Major bugfixes:
  4573. - Send circuit or stream sendme cells when our window has decreased
  4574. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  4575. by Karsten when testing the "reduce circuit window" performance
  4576. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  4577. before the release of Tor 0.0.0. This is the new winner of the
  4578. oldest-bug prize.
  4579. - Fix a remotely triggerable memory leak when a consensus document
  4580. contains more than one signature from the same voter. Bugfix on
  4581. 0.2.0.3-alpha.
  4582. - Avoid segfault in rare cases when finishing an introduction circuit
  4583. as a client and finding out that we don't have an introduction key
  4584. for it. Fixes bug 1073. Reported by Aaron Swartz.
  4585. o Major features:
  4586. - Tor now reads the "circwindow" parameter out of the consensus,
  4587. and uses that value for its circuit package window rather than the
  4588. default of 1000 cells. Begins the implementation of proposal 168.
  4589. o New directory authorities:
  4590. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  4591. authority.
  4592. - Move moria1 and tonga to alternate IP addresses.
  4593. o Minor bugfixes:
  4594. - Fix a signed/unsigned compile warning in 0.2.1.19.
  4595. - Fix possible segmentation fault on directory authorities. Bugfix on
  4596. 0.2.1.14-rc.
  4597. - Fix an extremely rare infinite recursion bug that could occur if
  4598. we tried to log a message after shutting down the log subsystem.
  4599. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  4600. - Fix an obscure bug where hidden services on 64-bit big-endian
  4601. systems might mis-read the timestamp in v3 introduce cells, and
  4602. refuse to connect back to the client. Discovered by "rotor".
  4603. Bugfix on 0.2.1.6-alpha.
  4604. - We were triggering a CLOCK_SKEW controller status event whenever
  4605. we connect via the v2 connection protocol to any relay that has
  4606. a wrong clock. Instead, we should only inform the controller when
  4607. it's a trusted authority that claims our clock is wrong. Bugfix
  4608. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  4609. - We were telling the controller about CHECKING_REACHABILITY and
  4610. REACHABILITY_FAILED status events whenever we launch a testing
  4611. circuit or notice that one has failed. Instead, only tell the
  4612. controller when we want to inform the user of overall success or
  4613. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  4614. by SwissTorExit.
  4615. - Don't warn when we're using a circuit that ends with a node
  4616. excluded in ExcludeExitNodes, but the circuit is not used to access
  4617. the outside world. This should help fix bug 1090. Bugfix on
  4618. 0.2.1.6-alpha.
  4619. - Work around a small memory leak in some versions of OpenSSL that
  4620. stopped the memory used by the hostname TLS extension from being
  4621. freed.
  4622. o Minor features:
  4623. - Add a "getinfo status/accepted-server-descriptor" controller
  4624. command, which is the recommended way for controllers to learn
  4625. whether our server descriptor has been successfully received by at
  4626. least on directory authority. Un-recommend good-server-descriptor
  4627. getinfo and status events until we have a better design for them.
  4628. Changes in version 0.2.2.5-alpha - 2009-10-11
  4629. Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
  4630. o Major bugfixes:
  4631. - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
  4632. o Directory authorities:
  4633. - Temporarily (just for this release) move dizum to an alternate
  4634. IP address.
  4635. Changes in version 0.2.2.4-alpha - 2009-10-10
  4636. Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
  4637. introduces a new unit test framework, shifts directry authority
  4638. addresses around to reduce the impact from recent blocking events,
  4639. and fixes a few smaller bugs.
  4640. o Major bugfixes:
  4641. - Fix several more asserts in the circuit_build_times code, for
  4642. example one that causes Tor to fail to start once we have
  4643. accumulated 5000 build times in the state file. Bugfixes on
  4644. 0.2.2.2-alpha; fixes bug 1108.
  4645. o New directory authorities:
  4646. - Move moria1 and Tonga to alternate IP addresses.
  4647. o Minor features:
  4648. - Log SSL state transitions at debug level during handshake, and
  4649. include SSL states in error messages. This may help debug future
  4650. SSL handshake issues.
  4651. - Add a new "Handshake" log domain for activities that happen
  4652. during the TLS handshake.
  4653. - Revert to the "June 3 2009" ip-to-country file. The September one
  4654. seems to have removed most US IP addresses.
  4655. - Directory authorities now reject Tor relays with versions less than
  4656. 0.1.2.14. This step cuts out four relays from the current network,
  4657. none of which are very big.
  4658. o Minor bugfixes:
  4659. - Fix a couple of smaller issues with gathering statistics. Bugfixes
  4660. on 0.2.2.1-alpha.
  4661. - Fix two memory leaks in the error case of
  4662. circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
  4663. - Don't count one-hop circuits when we're estimating how long it
  4664. takes circuits to build on average. Otherwise we'll set our circuit
  4665. build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
  4666. - Directory authorities no longer change their opinion of, or vote on,
  4667. whether a router is Running, unless they have themselves been
  4668. online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
  4669. Fixes bug 1023.
  4670. o Code simplifications and refactoring:
  4671. - Revise our unit tests to use the "tinytest" framework, so we
  4672. can run tests in their own processes, have smarter setup/teardown
  4673. code, and so on. The unit test code has moved to its own
  4674. subdirectory, and has been split into multiple modules.
  4675. Changes in version 0.2.2.3-alpha - 2009-09-23
  4676. Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
  4677. o Major bugfixes:
  4678. - Fix an overzealous assert in our new circuit build timeout code.
  4679. Bugfix on 0.2.2.2-alpha; fixes bug 1103.
  4680. o Minor bugfixes:
  4681. - If the networkstatus consensus tells us that we should use a
  4682. negative circuit package window, ignore it. Otherwise we'll
  4683. believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
  4684. Changes in version 0.2.2.2-alpha - 2009-09-21
  4685. Tor 0.2.2.2-alpha introduces our latest performance improvement for
  4686. clients: Tor tracks the average time it takes to build a circuit, and
  4687. avoids using circuits that take too long to build. For fast connections,
  4688. this feature can cut your expected latency in half. For slow or flaky
  4689. connections, it could ruin your Tor experience. Let us know if it does!
  4690. o Major features:
  4691. - Tor now tracks how long it takes to build client-side circuits
  4692. over time, and adapts its timeout to local network performance.
  4693. Since a circuit that takes a long time to build will also provide
  4694. bad performance, we get significant latency improvements by
  4695. discarding the slowest 20% of circuits. Specifically, Tor creates
  4696. circuits more aggressively than usual until it has enough data
  4697. points for a good timeout estimate. Implements proposal 151.
  4698. We are especially looking for reports (good and bad) from users with
  4699. both EDGE and broadband connections that can move from broadband
  4700. to EDGE and find out if the build-time data in the .tor/state gets
  4701. reset without loss of Tor usability. You should also see a notice
  4702. log message telling you that Tor has reset its timeout.
  4703. - Directory authorities can now vote on arbitary integer values as
  4704. part of the consensus process. This is designed to help set
  4705. network-wide parameters. Implements proposal 167.
  4706. - Tor now reads the "circwindow" parameter out of the consensus,
  4707. and uses that value for its circuit package window rather than the
  4708. default of 1000 cells. Begins the implementation of proposal 168.
  4709. o Major bugfixes:
  4710. - Fix a remotely triggerable memory leak when a consensus document
  4711. contains more than one signature from the same voter. Bugfix on
  4712. 0.2.0.3-alpha.
  4713. o Minor bugfixes:
  4714. - Fix an extremely rare infinite recursion bug that could occur if
  4715. we tried to log a message after shutting down the log subsystem.
  4716. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  4717. - Fix parsing for memory or time units given without a space between
  4718. the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
  4719. - A networkstatus vote must contain exactly one signature. Spec
  4720. conformance issue. Bugfix on 0.2.0.3-alpha.
  4721. - Fix an obscure bug where hidden services on 64-bit big-endian
  4722. systems might mis-read the timestamp in v3 introduce cells, and
  4723. refuse to connect back to the client. Discovered by "rotor".
  4724. Bugfix on 0.2.1.6-alpha.
  4725. - We were triggering a CLOCK_SKEW controller status event whenever
  4726. we connect via the v2 connection protocol to any relay that has
  4727. a wrong clock. Instead, we should only inform the controller when
  4728. it's a trusted authority that claims our clock is wrong. Bugfix
  4729. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  4730. - We were telling the controller about CHECKING_REACHABILITY and
  4731. REACHABILITY_FAILED status events whenever we launch a testing
  4732. circuit or notice that one has failed. Instead, only tell the
  4733. controller when we want to inform the user of overall success or
  4734. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  4735. by SwissTorExit.
  4736. - Don't warn when we're using a circuit that ends with a node
  4737. excluded in ExcludeExitNodes, but the circuit is not used to access
  4738. the outside world. This should help fix bug 1090, but more problems
  4739. remain. Bugfix on 0.2.1.6-alpha.
  4740. - Work around a small memory leak in some versions of OpenSSL that
  4741. stopped the memory used by the hostname TLS extension from being
  4742. freed.
  4743. - Make our 'torify' script more portable; if we have only one of
  4744. 'torsocks' or 'tsocks' installed, don't complain to the user;
  4745. and explain our warning about tsocks better.
  4746. o Minor features:
  4747. - Add a "getinfo status/accepted-server-descriptor" controller
  4748. command, which is the recommended way for controllers to learn
  4749. whether our server descriptor has been successfully received by at
  4750. least on directory authority. Un-recommend good-server-descriptor
  4751. getinfo and status events until we have a better design for them.
  4752. - Update to the "September 4 2009" ip-to-country file.
  4753. Changes in version 0.2.2.1-alpha - 2009-08-26
  4754. Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
  4755. Tor clients to bootstrap on networks where only port 80 is reachable,
  4756. makes it more straightforward to support hardware crypto accelerators,
  4757. and starts the groundwork for gathering stats safely at relays.
  4758. o Security fixes:
  4759. - Start the process of disabling ".exit" address notation, since it
  4760. can be used for a variety of esoteric application-level attacks
  4761. on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
  4762. on 0.0.9rc5.
  4763. o New directory authorities:
  4764. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  4765. authority.
  4766. o Major features:
  4767. - New AccelName and AccelDir options add support for dynamic OpenSSL
  4768. hardware crypto acceleration engines.
  4769. - Tor now supports tunneling all of its outgoing connections over
  4770. a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
  4771. configuration options. Code by Christopher Davis.
  4772. o Major bugfixes:
  4773. - Send circuit or stream sendme cells when our window has decreased
  4774. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  4775. by Karsten when testing the "reduce circuit window" performance
  4776. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  4777. before the release of Tor 0.0.0. This is the new winner of the
  4778. oldest-bug prize.
  4779. o New options for gathering stats safely:
  4780. - Directory mirrors that set "DirReqStatistics 1" write statistics
  4781. about directory requests to disk every 24 hours. As compared to the
  4782. --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
  4783. 1) stats are written to disk exactly every 24 hours; 2) estimated
  4784. shares of v2 and v3 requests are determined as mean values, not at
  4785. the end of a measurement period; 3) unresolved requests are listed
  4786. with country code '??'; 4) directories also measure download times.
  4787. - Exit nodes that set "ExitPortStatistics 1" write statistics on the
  4788. number of exit streams and transferred bytes per port to disk every
  4789. 24 hours.
  4790. - Relays that set "CellStatistics 1" write statistics on how long
  4791. cells spend in their circuit queues to disk every 24 hours.
  4792. - Entry nodes that set "EntryStatistics 1" write statistics on the
  4793. rough number and origins of connecting clients to disk every 24
  4794. hours.
  4795. - Relays that write any of the above statistics to disk and set
  4796. "ExtraInfoStatistics 1" include the past 24 hours of statistics in
  4797. their extra-info documents.
  4798. o Minor features:
  4799. - New --digests command-line switch to output the digests of the
  4800. source files Tor was built with.
  4801. - The "torify" script now uses torsocks where available.
  4802. - The memarea code now uses a sentinel value at the end of each area
  4803. to make sure nothing writes beyond the end of an area. This might
  4804. help debug some conceivable causes of bug 930.
  4805. - Time and memory units in the configuration file can now be set to
  4806. fractional units. For example, "2.5 GB" is now a valid value for
  4807. AccountingMax.
  4808. - Certain Tor clients (such as those behind check.torproject.org) may
  4809. want to fetch the consensus in an extra early manner. To enable this
  4810. a user may now set FetchDirInfoExtraEarly to 1. This also depends on
  4811. setting FetchDirInfoEarly to 1. Previous behavior will stay the same
  4812. as only certain clients who must have this information sooner should
  4813. set this option.
  4814. - Instead of adding the svn revision to the Tor version string, report
  4815. the git commit (when we're building from a git checkout).
  4816. o Minor bugfixes:
  4817. - If any of the v3 certs we download are unparseable, we should
  4818. actually notice the failure so we don't retry indefinitely. Bugfix
  4819. on 0.2.0.x; reported by "rotator".
  4820. - If the cached cert file is unparseable, warn but don't exit.
  4821. - Fix possible segmentation fault on directory authorities. Bugfix on
  4822. 0.2.1.14-rc.
  4823. - When Tor fails to parse a descriptor of any kind, dump it to disk.
  4824. Might help diagnosing bug 1051.
  4825. o Deprecated and removed features:
  4826. - The controller no longer accepts the old obsolete "addr-mappings/"
  4827. or "unregistered-servers-" GETINFO values.
  4828. - Hidden services no longer publish version 0 descriptors, and clients
  4829. do not request or use version 0 descriptors. However, the old hidden
  4830. service authorities still accept and serve version 0 descriptors
  4831. when contacted by older hidden services/clients.
  4832. - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
  4833. always on; using them is necessary for correct forward-compatible
  4834. controllers.
  4835. - Remove support for .noconnect style addresses. Nobody was using
  4836. them, and they provided another avenue for detecting Tor users
  4837. via application-level web tricks.
  4838. o Packaging changes:
  4839. - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
  4840. installer bundles. See
  4841. https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
  4842. for details of what's new in Vidalia 0.2.3.
  4843. - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
  4844. - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
  4845. configuration file, rather than the old Privoxy.
  4846. - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
  4847. x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
  4848. - OS X Tor Expert Bundle: Tor is compiled as x86-only for
  4849. better compatibility with OS X 10.6, aka Snow Leopard.
  4850. - OS X Vidalia Bundle: The multi-package installer is now replaced
  4851. by a simple drag and drop to the /Applications folder. This change
  4852. occurred with the upgrade to Vidalia 0.2.3.
  4853. Changes in version 0.2.1.19 - 2009-07-28
  4854. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
  4855. services on Tor 0.2.1.3-alpha through 0.2.1.18.
  4856. o Major bugfixes:
  4857. - Make accessing hidden services on 0.2.1.x work right again.
  4858. Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
  4859. part of patch provided by "optimist".
  4860. o Minor features:
  4861. - When a relay/bridge is writing out its identity key fingerprint to
  4862. the "fingerprint" file and to its logs, write it without spaces. Now
  4863. it will look like the fingerprints in our bridges documentation,
  4864. and confuse fewer users.
  4865. o Minor bugfixes:
  4866. - Relays no longer publish a new server descriptor if they change
  4867. their MaxAdvertisedBandwidth config option but it doesn't end up
  4868. changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
  4869. fixes bug 1026. Patch from Sebastian.
  4870. - Avoid leaking memory every time we get a create cell but we have
  4871. so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
  4872. fixes bug 1034. Reported by BarkerJr.
  4873. Changes in version 0.2.1.18 - 2009-07-24
  4874. Tor 0.2.1.18 lays the foundations for performance improvements,
  4875. adds status events to help users diagnose bootstrap problems, adds
  4876. optional authentication/authorization for hidden services, fixes a
  4877. variety of potential anonymity problems, and includes a huge pile of
  4878. other features and bug fixes.
  4879. o Build fixes:
  4880. - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
  4881. Changes in version 0.2.1.17-rc - 2009-07-07
  4882. Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
  4883. candidate for the 0.2.1.x series. It lays the groundwork for further
  4884. client performance improvements, and also fixes a big bug with directory
  4885. authorities that were causing them to assign Guard and Stable flags
  4886. poorly.
  4887. The Windows bundles also finally include the geoip database that we
  4888. thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
  4889. should actually install Torbutton rather than giving you a cryptic
  4890. failure message (oops).
  4891. o Major features:
  4892. - Clients now use the bandwidth values in the consensus, rather than
  4893. the bandwidth values in each relay descriptor. This approach opens
  4894. the door to more accurate bandwidth estimates once the directory
  4895. authorities start doing active measurements. Implements more of
  4896. proposal 141.
  4897. o Major bugfixes:
  4898. - When Tor clients restart after 1-5 days, they discard all their
  4899. cached descriptors as too old, but they still use the cached
  4900. consensus document. This approach is good for robustness, but
  4901. bad for performance: since they don't know any bandwidths, they
  4902. end up choosing at random rather than weighting their choice by
  4903. speed. Fixed by the above feature of putting bandwidths in the
  4904. consensus. Bugfix on 0.2.0.x.
  4905. - Directory authorities were neglecting to mark relays down in their
  4906. internal histories if the relays fall off the routerlist without
  4907. ever being found unreachable. So there were relays in the histories
  4908. that haven't been seen for eight months, and are listed as being
  4909. up for eight months. This wreaked havoc on the "median wfu"
  4910. and "median mtbf" calculations, in turn making Guard and Stable
  4911. flags very wrong, hurting network performance. Fixes bugs 696 and
  4912. 969. Bugfix on 0.2.0.6-alpha.
  4913. o Minor bugfixes:
  4914. - Serve the DirPortFrontPage page even when we have been approaching
  4915. our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
  4916. - The control port would close the connection before flushing long
  4917. replies, such as the network consensus, if a QUIT command was issued
  4918. before the reply had completed. Now, the control port flushes all
  4919. pending replies before closing the connection. Also fixed a spurious
  4920. warning when a QUIT command is issued after a malformed or rejected
  4921. AUTHENTICATE command, but before the connection was closed. Patch
  4922. by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
  4923. - When we can't find an intro key for a v2 hidden service descriptor,
  4924. fall back to the v0 hidden service descriptor and log a bug message.
  4925. Workaround for bug 1024.
  4926. - Fix a log message that did not respect the SafeLogging option.
  4927. Resolves bug 1027.
  4928. o Minor features:
  4929. - If we're a relay and we change our IP address, be more verbose
  4930. about the reason that made us change. Should help track down
  4931. further bugs for relays on dynamic IP addresses.
  4932. Changes in version 0.2.0.35 - 2009-06-24
  4933. o Security fix:
  4934. - Avoid crashing in the presence of certain malformed descriptors.
  4935. Found by lark, and by automated fuzzing.
  4936. - Fix an edge case where a malicious exit relay could convince a
  4937. controller that the client's DNS question resolves to an internal IP
  4938. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  4939. o Major bugfixes:
  4940. - Finally fix the bug where dynamic-IP relays disappear when their
  4941. IP address changes: directory mirrors were mistakenly telling
  4942. them their old address if they asked via begin_dir, so they
  4943. never got an accurate answer about their new address, so they
  4944. just vanished after a day. For belt-and-suspenders, relays that
  4945. don't set Address in their config now avoid using begin_dir for
  4946. all direct connections. Should fix bugs 827, 883, and 900.
  4947. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  4948. that would occur on some exit nodes when DNS failures and timeouts
  4949. occurred in certain patterns. Fix for bug 957.
  4950. o Minor bugfixes:
  4951. - When starting with a cache over a few days old, do not leak
  4952. memory for the obsolete router descriptors in it. Bugfix on
  4953. 0.2.0.33; fixes bug 672.
  4954. - Hidden service clients didn't use a cached service descriptor that
  4955. was older than 15 minutes, but wouldn't fetch a new one either,
  4956. because there was already one in the cache. Now, fetch a v2
  4957. descriptor unless the same descriptor was added to the cache within
  4958. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  4959. Changes in version 0.2.1.16-rc - 2009-06-20
  4960. Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
  4961. a bunch of minor bugs.
  4962. o Security fixes:
  4963. - Fix an edge case where a malicious exit relay could convince a
  4964. controller that the client's DNS question resolves to an internal IP
  4965. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  4966. o Major performance improvements (on 0.2.0.x):
  4967. - Disable and refactor some debugging checks that forced a linear scan
  4968. over the whole server-side DNS cache. These accounted for over 50%
  4969. of CPU time on a relatively busy exit node's gprof profile. Found
  4970. by Jacob.
  4971. - Disable some debugging checks that appeared in exit node profile
  4972. data.
  4973. o Minor features:
  4974. - Update to the "June 3 2009" ip-to-country file.
  4975. - Do not have tor-resolve automatically refuse all .onion addresses;
  4976. if AutomapHostsOnResolve is set in your torrc, this will work fine.
  4977. o Minor bugfixes (on 0.2.0.x):
  4978. - Log correct error messages for DNS-related network errors on
  4979. Windows.
  4980. - Fix a race condition that could cause crashes or memory corruption
  4981. when running as a server with a controller listening for log
  4982. messages.
  4983. - Avoid crashing when we have a policy specified in a DirPolicy or
  4984. SocksPolicy or ReachableAddresses option with ports set on it,
  4985. and we re-load the policy. May fix bug 996.
  4986. - Hidden service clients didn't use a cached service descriptor that
  4987. was older than 15 minutes, but wouldn't fetch a new one either,
  4988. because there was already one in the cache. Now, fetch a v2
  4989. descriptor unless the same descriptor was added to the cache within
  4990. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  4991. o Minor bugfixes (on 0.2.1.x):
  4992. - Don't warn users about low port and hibernation mix when they
  4993. provide a *ListenAddress directive to fix that. Bugfix on
  4994. 0.2.1.15-rc.
  4995. - When switching back and forth between bridge mode, do not start
  4996. gathering GeoIP data until two hours have passed.
  4997. - Do not complain that the user has requested an excluded node as
  4998. an exit when the node is not really an exit. This could happen
  4999. because the circuit was for testing, or an introduction point.
  5000. Fix for bug 984.
  5001. Changes in version 0.2.1.15-rc - 2009-05-25
  5002. Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
  5003. series. It fixes a major bug on fast exit relays, as well as a variety
  5004. of more minor bugs.
  5005. o Major bugfixes (on 0.2.0.x):
  5006. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  5007. that would occur on some exit nodes when DNS failures and timeouts
  5008. occurred in certain patterns. Fix for bug 957.
  5009. o Minor bugfixes (on 0.2.0.x):
  5010. - Actually return -1 in the error case for read_bandwidth_usage().
  5011. Harmless bug, since we currently don't care about the return value
  5012. anywhere. Bugfix on 0.2.0.9-alpha.
  5013. - Provide a more useful log message if bug 977 (related to buffer
  5014. freelists) ever reappears, and do not crash right away.
  5015. - Fix an assertion failure on 64-bit platforms when we allocated
  5016. memory right up to the end of a memarea, then realigned the memory
  5017. one step beyond the end. Fixes a possible cause of bug 930.
  5018. - Protect the count of open sockets with a mutex, so we can't
  5019. corrupt it when two threads are closing or opening sockets at once.
  5020. Fix for bug 939. Bugfix on 0.2.0.1-alpha.
  5021. - Don't allow a bridge to publish its router descriptor to a
  5022. non-bridge directory authority. Fixes part of bug 932.
  5023. - When we change to or from being a bridge, reset our counts of
  5024. client usage by country. Fixes bug 932.
  5025. - Fix a bug that made stream bandwidth get misreported to the
  5026. controller.
  5027. - Stop using malloc_usable_size() to use more area than we had
  5028. actually allocated: it was safe, but made valgrind really unhappy.
  5029. - Fix a memory leak when v3 directory authorities load their keys
  5030. and cert from disk. Bugfix on 0.2.0.1-alpha.
  5031. o Minor bugfixes (on 0.2.1.x):
  5032. - Fix use of freed memory when deciding to mark a non-addable
  5033. descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
  5034. Changes in version 0.2.1.14-rc - 2009-04-12
  5035. Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
  5036. series. It begins fixing some major performance problems, and also
  5037. finally addresses the bug that was causing relays on dynamic IP
  5038. addresses to fall out of the directory.
  5039. o Major features:
  5040. - Clients replace entry guards that were chosen more than a few months
  5041. ago. This change should significantly improve client performance,
  5042. especially once more people upgrade, since relays that have been
  5043. a guard for a long time are currently overloaded.
  5044. o Major bugfixes (on 0.2.0):
  5045. - Finally fix the bug where dynamic-IP relays disappear when their
  5046. IP address changes: directory mirrors were mistakenly telling
  5047. them their old address if they asked via begin_dir, so they
  5048. never got an accurate answer about their new address, so they
  5049. just vanished after a day. For belt-and-suspenders, relays that
  5050. don't set Address in their config now avoid using begin_dir for
  5051. all direct connections. Should fix bugs 827, 883, and 900.
  5052. - Relays were falling out of the networkstatus consensus for
  5053. part of a day if they changed their local config but the
  5054. authorities discarded their new descriptor as "not sufficiently
  5055. different". Now directory authorities accept a descriptor as changed
  5056. if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
  5057. patch by Sebastian.
  5058. - Avoid crashing in the presence of certain malformed descriptors.
  5059. Found by lark, and by automated fuzzing.
  5060. o Minor features:
  5061. - When generating circuit events with verbose nicknames for
  5062. controllers, try harder to look up nicknames for routers on a
  5063. circuit. (Previously, we would look in the router descriptors we had
  5064. for nicknames, but not in the consensus.) Partial fix for bug 941.
  5065. - If the bridge config line doesn't specify a port, assume 443.
  5066. This makes bridge lines a bit smaller and easier for users to
  5067. understand.
  5068. - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
  5069. bytes (aka 20KB/s), to match our documentation. Also update
  5070. directory authorities so they always assign the Fast flag to relays
  5071. with 20KB/s of capacity. Now people running relays won't suddenly
  5072. find themselves not seeing any use, if the network gets faster
  5073. on average.
  5074. - Update to the "April 3 2009" ip-to-country file.
  5075. o Minor bugfixes:
  5076. - Avoid trying to print raw memory to the logs when we decide to
  5077. give up on downloading a given relay descriptor. Bugfix on
  5078. 0.2.1.9-alpha.
  5079. - In tor-resolve, when the Tor client to use is specified by
  5080. <hostname>:<port>, actually use the specified port rather than
  5081. defaulting to 9050. Bugfix on 0.2.1.6-alpha.
  5082. - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
  5083. - When starting with a cache over a few days old, do not leak
  5084. memory for the obsolete router descriptors in it. Bugfix on
  5085. 0.2.0.33.
  5086. - Avoid double-free on list of successfully uploaded hidden
  5087. service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
  5088. - Change memarea_strndup() implementation to work even when
  5089. duplicating a string at the end of a page. This bug was
  5090. harmless for now, but could have meant crashes later. Fix by
  5091. lark. Bugfix on 0.2.1.1-alpha.
  5092. - Limit uploaded directory documents to be 16M rather than 500K.
  5093. The directory authorities were refusing v3 consensus votes from
  5094. other authorities, since the votes are now 504K. Fixes bug 959;
  5095. bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
  5096. - Directory authorities should never send a 503 "busy" response to
  5097. requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
  5098. bug 959.
  5099. Changes in version 0.2.1.13-alpha - 2009-03-09
  5100. Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
  5101. cleanups. We're finally getting close to a release candidate.
  5102. o Major bugfixes:
  5103. - Correctly update the list of which countries we exclude as
  5104. exits, when the GeoIP file is loaded or reloaded. Diagnosed by
  5105. lark. Bugfix on 0.2.1.6-alpha.
  5106. o Minor bugfixes (on 0.2.0.x and earlier):
  5107. - Automatically detect MacOSX versions earlier than 10.4.0, and
  5108. disable kqueue from inside Tor when running with these versions.
  5109. We previously did this from the startup script, but that was no
  5110. help to people who didn't use the startup script. Resolves bug 863.
  5111. - When we had picked an exit node for a connection, but marked it as
  5112. "optional", and it turned out we had no onion key for the exit,
  5113. stop wanting that exit and try again. This situation may not
  5114. be possible now, but will probably become feasible with proposal
  5115. 158. Spotted by rovv. Fixes another case of bug 752.
  5116. - Clients no longer cache certificates for authorities they do not
  5117. recognize. Bugfix on 0.2.0.9-alpha.
  5118. - When we can't transmit a DNS request due to a network error, retry
  5119. it after a while, and eventually transmit a failing response to
  5120. the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
  5121. - If the controller claimed responsibility for a stream, but that
  5122. stream never finished making its connection, it would live
  5123. forever in circuit_wait state. Now we close it after SocksTimeout
  5124. seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
  5125. - Drop begin cells to a hidden service if they come from the middle
  5126. of a circuit. Patch from lark.
  5127. - When we erroneously receive two EXTEND cells for the same circuit
  5128. ID on the same connection, drop the second. Patch from lark.
  5129. - Fix a crash that occurs on exit nodes when a nameserver request
  5130. timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
  5131. been suppressing the bug since 0.1.2.10-alpha. Partial fix for
  5132. bug 929.
  5133. - Do not assume that a stack-allocated character array will be
  5134. 64-bit aligned on platforms that demand that uint64_t access is
  5135. aligned. Possible fix for bug 604.
  5136. - Parse dates and IPv4 addresses in a locale- and libc-independent
  5137. manner, to avoid platform-dependent behavior on malformed input.
  5138. - Build correctly when configured to build outside the main source
  5139. path. Patch from Michael Gold.
  5140. - We were already rejecting relay begin cells with destination port
  5141. of 0. Now also reject extend cells with destination port or address
  5142. of 0. Suggested by lark.
  5143. o Minor bugfixes (on 0.2.1.x):
  5144. - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
  5145. cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
  5146. - If we're an exit node, scrub the IP address to which we are exiting
  5147. in the logs. Bugfix on 0.2.1.8-alpha.
  5148. o Minor features:
  5149. - On Linux, use the prctl call to re-enable core dumps when the user
  5150. is option is set.
  5151. - New controller event NEWCONSENSUS that lists the networkstatus
  5152. lines for every recommended relay. Now controllers like Torflow
  5153. can keep up-to-date on which relays they should be using.
  5154. - Update to the "February 26 2009" ip-to-country file.
  5155. Changes in version 0.2.0.34 - 2009-02-08
  5156. Tor 0.2.0.34 features several more security-related fixes. You should
  5157. upgrade, especially if you run an exit relay (remote crash) or a
  5158. directory authority (remote infinite loop), or you're on an older
  5159. (pre-XP) or not-recently-patched Windows (remote exploit).
  5160. This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
  5161. have many known flaws, and nobody should be using them. You should
  5162. upgrade. If you're using a Linux or BSD and its packages are obsolete,
  5163. stop using those packages and upgrade anyway.
  5164. o Security fixes:
  5165. - Fix an infinite-loop bug on handling corrupt votes under certain
  5166. circumstances. Bugfix on 0.2.0.8-alpha.
  5167. - Fix a temporary DoS vulnerability that could be performed by
  5168. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  5169. - Avoid a potential crash on exit nodes when processing malformed
  5170. input. Remote DoS opportunity. Bugfix on 0.2.0.33.
  5171. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  5172. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  5173. o Minor bugfixes:
  5174. - Fix compilation on systems where time_t is a 64-bit integer.
  5175. Patch from Matthias Drochner.
  5176. - Don't consider expiring already-closed client connections. Fixes
  5177. bug 893. Bugfix on 0.0.2pre20.
  5178. Changes in version 0.2.1.12-alpha - 2009-02-08
  5179. Tor 0.2.1.12-alpha features several more security-related fixes. You
  5180. should upgrade, especially if you run an exit relay (remote crash) or
  5181. a directory authority (remote infinite loop), or you're on an older
  5182. (pre-XP) or not-recently-patched Windows (remote exploit). It also
  5183. includes a big pile of minor bugfixes and cleanups.
  5184. o Security fixes:
  5185. - Fix an infinite-loop bug on handling corrupt votes under certain
  5186. circumstances. Bugfix on 0.2.0.8-alpha.
  5187. - Fix a temporary DoS vulnerability that could be performed by
  5188. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  5189. - Avoid a potential crash on exit nodes when processing malformed
  5190. input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
  5191. o Minor bugfixes:
  5192. - Let controllers actually ask for the "clients_seen" event for
  5193. getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
  5194. reported by Matt Edman.
  5195. - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
  5196. 0.2.1.11-alpha.
  5197. - Fix a bug in address parsing that was preventing bridges or hidden
  5198. service targets from being at IPv6 addresses.
  5199. - Solve a bug that kept hardware crypto acceleration from getting
  5200. enabled when accounting was turned on. Fixes bug 907. Bugfix on
  5201. 0.0.9pre6.
  5202. - Remove a bash-ism from configure.in to build properly on non-Linux
  5203. platforms. Bugfix on 0.2.1.1-alpha.
  5204. - Fix code so authorities _actually_ send back X-Descriptor-Not-New
  5205. headers. Bugfix on 0.2.0.10-alpha.
  5206. - Don't consider expiring already-closed client connections. Fixes
  5207. bug 893. Bugfix on 0.0.2pre20.
  5208. - Fix another interesting corner-case of bug 891 spotted by rovv:
  5209. Previously, if two hosts had different amounts of clock drift, and
  5210. one of them created a new connection with just the wrong timing,
  5211. the other might decide to deprecate the new connection erroneously.
  5212. Bugfix on 0.1.1.13-alpha.
  5213. - Resolve a very rare crash bug that could occur when the user forced
  5214. a nameserver reconfiguration during the middle of a nameserver
  5215. probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
  5216. - Support changing value of ServerDNSRandomizeCase during SIGHUP.
  5217. Bugfix on 0.2.1.7-alpha.
  5218. - If we're using bridges and our network goes away, be more willing
  5219. to forgive our bridges and try again when we get an application
  5220. request. Bugfix on 0.2.0.x.
  5221. o Minor features:
  5222. - Support platforms where time_t is 64 bits long. (Congratulations,
  5223. NetBSD!) Patch from Matthias Drochner.
  5224. - Add a 'getinfo status/clients-seen' controller command, in case
  5225. controllers want to hear clients_seen events but connect late.
  5226. o Build changes:
  5227. - Disable GCC's strict alias optimization by default, to avoid the
  5228. likelihood of its introducing subtle bugs whenever our code violates
  5229. the letter of C99's alias rules.
  5230. Changes in version 0.2.0.33 - 2009-01-21
  5231. Tor 0.2.0.33 fixes a variety of bugs that were making relays less
  5232. useful to users. It also finally fixes a bug where a relay or client
  5233. that's been off for many days would take a long time to bootstrap.
  5234. This update also fixes an important security-related bug reported by
  5235. Ilja van Sprundel. You should upgrade. (We'll send out more details
  5236. about the bug once people have had some time to upgrade.)
  5237. o Security fixes:
  5238. - Fix a heap-corruption bug that may be remotely triggerable on
  5239. some platforms. Reported by Ilja van Sprundel.
  5240. o Major bugfixes:
  5241. - When a stream at an exit relay is in state "resolving" or
  5242. "connecting" and it receives an "end" relay cell, the exit relay
  5243. would silently ignore the end cell and not close the stream. If
  5244. the client never closes the circuit, then the exit relay never
  5245. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  5246. reported by "wood".
  5247. - When sending CREATED cells back for a given circuit, use a 64-bit
  5248. connection ID to find the right connection, rather than an addr:port
  5249. combination. Now that we can have multiple OR connections between
  5250. the same ORs, it is no longer possible to use addr:port to uniquely
  5251. identify a connection.
  5252. - Bridge relays that had DirPort set to 0 would stop fetching
  5253. descriptors shortly after startup, and then briefly resume
  5254. after a new bandwidth test and/or after publishing a new bridge
  5255. descriptor. Bridge users that try to bootstrap from them would
  5256. get a recent networkstatus but would get descriptors from up to
  5257. 18 hours earlier, meaning most of the descriptors were obsolete
  5258. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  5259. - Prevent bridge relays from serving their 'extrainfo' document
  5260. to anybody who asks, now that extrainfo docs include potentially
  5261. sensitive aggregated client geoip summaries. Bugfix on
  5262. 0.2.0.13-alpha.
  5263. - If the cached networkstatus consensus is more than five days old,
  5264. discard it rather than trying to use it. In theory it could be
  5265. useful because it lists alternate directory mirrors, but in practice
  5266. it just means we spend many minutes trying directory mirrors that
  5267. are long gone from the network. Also discard router descriptors as
  5268. we load them if they are more than five days old, since the onion
  5269. key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
  5270. o Minor bugfixes:
  5271. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  5272. could make gcc generate non-functional binary search code. Bugfix
  5273. on 0.2.0.10-alpha.
  5274. - Build correctly on platforms without socklen_t.
  5275. - Compile without warnings on solaris.
  5276. - Avoid potential crash on internal error during signature collection.
  5277. Fixes bug 864. Patch from rovv.
  5278. - Correct handling of possible malformed authority signing key
  5279. certificates with internal signature types. Fixes bug 880.
  5280. Bugfix on 0.2.0.3-alpha.
  5281. - Fix a hard-to-trigger resource leak when logging credential status.
  5282. CID 349.
  5283. - When we can't initialize DNS because the network is down, do not
  5284. automatically stop Tor from starting. Instead, we retry failed
  5285. dns_init() every 10 minutes, and change the exit policy to reject
  5286. *:* until one succeeds. Fixes bug 691.
  5287. - Use 64 bits instead of 32 bits for connection identifiers used with
  5288. the controller protocol, to greatly reduce risk of identifier reuse.
  5289. - When we're choosing an exit node for a circuit, and we have
  5290. no pending streams, choose a good general exit rather than one that
  5291. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  5292. - Fix another case of assuming, when a specific exit is requested,
  5293. that we know more than the user about what hosts it allows.
  5294. Fixes one case of bug 752. Patch from rovv.
  5295. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  5296. seconds. Warn the user if lower values are given in the
  5297. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  5298. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  5299. user if lower values are given in the configuration. Bugfix on
  5300. 0.1.1.17-rc. Patch by Sebastian.
  5301. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  5302. the cache because we already had a v0 descriptor with the same ID.
  5303. Bugfix on 0.2.0.18-alpha.
  5304. - Fix a race condition when freeing keys shared between main thread
  5305. and CPU workers that could result in a memory leak. Bugfix on
  5306. 0.1.0.1-rc. Fixes bug 889.
  5307. - Send a valid END cell back when a client tries to connect to a
  5308. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  5309. 840. Patch from rovv.
  5310. - Check which hops rendezvous stream cells are associated with to
  5311. prevent possible guess-the-streamid injection attacks from
  5312. intermediate hops. Fixes another case of bug 446. Based on patch
  5313. from rovv.
  5314. - If a broken client asks a non-exit router to connect somewhere,
  5315. do not even do the DNS lookup before rejecting the connection.
  5316. Fixes another case of bug 619. Patch from rovv.
  5317. - When a relay gets a create cell it can't decrypt (e.g. because it's
  5318. using the wrong onion key), we were dropping it and letting the
  5319. client time out. Now actually answer with a destroy cell. Fixes
  5320. bug 904. Bugfix on 0.0.2pre8.
  5321. o Minor bugfixes (hidden services):
  5322. - Do not throw away existing introduction points on SIGHUP. Bugfix on
  5323. 0.0.6pre1. Patch by Karsten. Fixes bug 874.
  5324. o Minor features:
  5325. - Report the case where all signatures in a detached set are rejected
  5326. differently than the case where there is an error handling the
  5327. detached set.
  5328. - When we realize that another process has modified our cached
  5329. descriptors, print out a more useful error message rather than
  5330. triggering an assertion. Fixes bug 885. Patch from Karsten.
  5331. - Implement the 0x20 hack to better resist DNS poisoning: set the
  5332. case on outgoing DNS requests randomly, and reject responses that do
  5333. not match the case correctly. This logic can be disabled with the
  5334. ServerDNSRamdomizeCase setting, if you are using one of the 0.3%
  5335. of servers that do not reliably preserve case in replies. See
  5336. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  5337. for more info.
  5338. - Check DNS replies for more matching fields to better resist DNS
  5339. poisoning.
  5340. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  5341. compress cells, which are basically all encrypted, compressed, or
  5342. both.
  5343. Changes in version 0.2.1.11-alpha - 2009-01-20
  5344. Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
  5345. week it will take a long time to bootstrap again" bug. It also fixes
  5346. an important security-related bug reported by Ilja van Sprundel. You
  5347. should upgrade. (We'll send out more details about the bug once people
  5348. have had some time to upgrade.)
  5349. o Security fixes:
  5350. - Fix a heap-corruption bug that may be remotely triggerable on
  5351. some platforms. Reported by Ilja van Sprundel.
  5352. o Major bugfixes:
  5353. - Discard router descriptors as we load them if they are more than
  5354. five days old. Otherwise if Tor is off for a long time and then
  5355. starts with cached descriptors, it will try to use the onion
  5356. keys in those obsolete descriptors when building circuits. Bugfix
  5357. on 0.2.0.x. Fixes bug 887.
  5358. o Minor features:
  5359. - Try to make sure that the version of Libevent we're running with
  5360. is binary-compatible with the one we built with. May address bug
  5361. 897 and others.
  5362. - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
  5363. for bug 905. Bugfix on 0.2.1.7-alpha.
  5364. - Add a new --enable-local-appdata configuration switch to change
  5365. the default location of the datadir on win32 from APPDATA to
  5366. LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
  5367. entirely. Patch from coderman.
  5368. o Minor bugfixes:
  5369. - Make outbound DNS packets respect the OutboundBindAddress setting.
  5370. Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
  5371. - When our circuit fails at the first hop (e.g. we get a destroy
  5372. cell back), avoid using that OR connection anymore, and also
  5373. tell all the one-hop directory requests waiting for it that they
  5374. should fail. Bugfix on 0.2.1.3-alpha.
  5375. - In the torify(1) manpage, mention that tsocks will leak your
  5376. DNS requests.
  5377. Changes in version 0.2.1.10-alpha - 2009-01-06
  5378. Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
  5379. would make the bridge relay not so useful if it had DirPort set to 0,
  5380. and one that could let an attacker learn a little bit of information
  5381. about the bridge's users), and a bug that would cause your Tor relay
  5382. to ignore a circuit create request it can't decrypt (rather than reply
  5383. with an error). It also fixes a wide variety of other bugs.
  5384. o Major bugfixes:
  5385. - If the cached networkstatus consensus is more than five days old,
  5386. discard it rather than trying to use it. In theory it could
  5387. be useful because it lists alternate directory mirrors, but in
  5388. practice it just means we spend many minutes trying directory
  5389. mirrors that are long gone from the network. Helps bug 887 a bit;
  5390. bugfix on 0.2.0.x.
  5391. - Bridge relays that had DirPort set to 0 would stop fetching
  5392. descriptors shortly after startup, and then briefly resume
  5393. after a new bandwidth test and/or after publishing a new bridge
  5394. descriptor. Bridge users that try to bootstrap from them would
  5395. get a recent networkstatus but would get descriptors from up to
  5396. 18 hours earlier, meaning most of the descriptors were obsolete
  5397. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  5398. - Prevent bridge relays from serving their 'extrainfo' document
  5399. to anybody who asks, now that extrainfo docs include potentially
  5400. sensitive aggregated client geoip summaries. Bugfix on
  5401. 0.2.0.13-alpha.
  5402. o Minor features:
  5403. - New controller event "clients_seen" to report a geoip-based summary
  5404. of which countries we've seen clients from recently. Now controllers
  5405. like Vidalia can show bridge operators that they're actually making
  5406. a difference.
  5407. - Build correctly against versions of OpenSSL 0.9.8 or later built
  5408. without support for deprecated functions.
  5409. - Update to the "December 19 2008" ip-to-country file.
  5410. o Minor bugfixes (on 0.2.0.x):
  5411. - Authorities now vote for the Stable flag for any router whose
  5412. weighted MTBF is at least 5 days, regardless of the mean MTBF.
  5413. - Do not remove routers as too old if we do not have any consensus
  5414. document. Bugfix on 0.2.0.7-alpha.
  5415. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  5416. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  5417. - When an exit relay resolves a stream address to a local IP address,
  5418. do not just keep retrying that same exit relay over and
  5419. over. Instead, just close the stream. Addresses bug 872. Bugfix
  5420. on 0.2.0.32. Patch from rovv.
  5421. - If a hidden service sends us an END cell, do not consider
  5422. retrying the connection; just close it. Patch from rovv.
  5423. - When we made bridge authorities stop serving bridge descriptors over
  5424. unencrypted links, we also broke DirPort reachability testing for
  5425. bridges. So bridges with a non-zero DirPort were printing spurious
  5426. warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
  5427. - When a relay gets a create cell it can't decrypt (e.g. because it's
  5428. using the wrong onion key), we were dropping it and letting the
  5429. client time out. Now actually answer with a destroy cell. Fixes
  5430. bug 904. Bugfix on 0.0.2pre8.
  5431. - Squeeze 2-5% out of client performance (according to oprofile) by
  5432. improving the implementation of some policy-manipulation functions.
  5433. o Minor bugfixes (on 0.2.1.x):
  5434. - Make get_interface_address() function work properly again; stop
  5435. guessing the wrong parts of our address as our address.
  5436. - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
  5437. send on that circuit. Otherwise we might violate the proposal-110
  5438. limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
  5439. thanks to Karsten.
  5440. - When we're sending non-EXTEND cells to the first hop in a circuit,
  5441. for example to use an encrypted directory connection, we don't need
  5442. to use RELAY_EARLY cells: the first hop knows what kind of cell
  5443. it is, and nobody else can even see the cell type. Conserving
  5444. RELAY_EARLY cells makes it easier to cannibalize circuits like
  5445. this later.
  5446. - Stop logging nameserver addresses in reverse order.
  5447. - If we are retrying a directory download slowly over and over, do
  5448. not automatically give up after the 254th failure. Bugfix on
  5449. 0.2.1.9-alpha.
  5450. - Resume reporting accurate "stream end" reasons to the local control
  5451. port. They were lost in the changes for Proposal 148. Bugfix on
  5452. 0.2.1.9-alpha.
  5453. o Deprecated and removed features:
  5454. - The old "tor --version --version" command, which would print out
  5455. the subversion "Id" of most of the source files, is now removed. It
  5456. turned out to be less useful than we'd expected, and harder to
  5457. maintain.
  5458. o Code simplifications and refactoring:
  5459. - Change our header file guard macros to be less likely to conflict
  5460. with system headers. Adam Langley noticed that we were conflicting
  5461. with log.h on Android.
  5462. - Tool-assisted documentation cleanup. Nearly every function or
  5463. static variable in Tor should have its own documentation now.
  5464. Changes in version 0.2.1.9-alpha - 2008-12-25
  5465. Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
  5466. o New directory authorities:
  5467. - gabelmoo (the authority run by Karsten Loesing) now has a new
  5468. IP address.
  5469. o Security fixes:
  5470. - Never use a connection with a mismatched address to extend a
  5471. circuit, unless that connection is canonical. A canonical
  5472. connection is one whose address is authenticated by the router's
  5473. identity key, either in a NETINFO cell or in a router descriptor.
  5474. - Avoid a possible memory corruption bug when receiving hidden service
  5475. descriptors. Bugfix on 0.2.1.6-alpha.
  5476. o Major bugfixes:
  5477. - Fix a logic error that would automatically reject all but the first
  5478. configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
  5479. part of bug 813/868. Bug spotted by coderman.
  5480. - When a stream at an exit relay is in state "resolving" or
  5481. "connecting" and it receives an "end" relay cell, the exit relay
  5482. would silently ignore the end cell and not close the stream. If
  5483. the client never closes the circuit, then the exit relay never
  5484. closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
  5485. reported by "wood".
  5486. - When we can't initialize DNS because the network is down, do not
  5487. automatically stop Tor from starting. Instead, retry failed
  5488. dns_init() every 10 minutes, and change the exit policy to reject
  5489. *:* until one succeeds. Fixes bug 691.
  5490. o Minor features:
  5491. - Give a better error message when an overzealous init script says
  5492. "sudo -u username tor --user username". Makes Bug 882 easier for
  5493. users to diagnose.
  5494. - When a directory authority gives us a new guess for our IP address,
  5495. log which authority we used. Hopefully this will help us debug
  5496. the recent complaints about bad IP address guesses.
  5497. - Detect svn revision properly when we're using git-svn.
  5498. - Try not to open more than one descriptor-downloading connection
  5499. to an authority at once. This should reduce load on directory
  5500. authorities. Fixes bug 366.
  5501. - Add cross-certification to newly generated certificates, so that
  5502. a signing key is enough information to look up a certificate.
  5503. Partial implementation of proposal 157.
  5504. - Start serving certificates by <identity digest, signing key digest>
  5505. pairs. Partial implementation of proposal 157.
  5506. - Clients now never report any stream end reason except 'MISC'.
  5507. Implements proposal 148.
  5508. - On platforms with a maximum syslog string length, truncate syslog
  5509. messages to that length ourselves, rather than relying on the
  5510. system to do it for us.
  5511. - Optimize out calls to time(NULL) that occur for every IO operation,
  5512. or for every cell. On systems where time() is a slow syscall,
  5513. this fix will be slightly helpful.
  5514. - Exit servers can now answer resolve requests for ip6.arpa addresses.
  5515. - When we download a descriptor that we then immediately (as
  5516. a directory authority) reject, do not retry downloading it right
  5517. away. Should save some bandwidth on authorities. Fix for bug
  5518. 888. Patch by Sebastian Hahn.
  5519. - When a download gets us zero good descriptors, do not notify
  5520. Tor that new directory information has arrived.
  5521. - Avoid some nasty corner cases in the logic for marking connections
  5522. as too old or obsolete or noncanonical for circuits. Partial
  5523. bugfix on bug 891.
  5524. o Minor features (controller):
  5525. - New CONSENSUS_ARRIVED event to note when a new consensus has
  5526. been fetched and validated.
  5527. - When we realize that another process has modified our cached
  5528. descriptors file, print out a more useful error message rather
  5529. than triggering an assertion. Fixes bug 885. Patch from Karsten.
  5530. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  5531. controllers to prevent SIGHUP from reloading the
  5532. configuration. Fixes bug 856.
  5533. o Minor bugfixes:
  5534. - Resume using the correct "REASON=" stream when telling the
  5535. controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
  5536. - When a canonical connection appears later in our internal list
  5537. than a noncanonical one for a given OR ID, always use the
  5538. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  5539. Spotted by rovv.
  5540. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  5541. seconds. Warn the user if lower values are given in the
  5542. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  5543. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  5544. user if lower values are given in the configuration. Bugfix on
  5545. 0.1.1.17-rc. Patch by Sebastian.
  5546. - Fix a race condition when freeing keys shared between main thread
  5547. and CPU workers that could result in a memory leak. Bugfix on
  5548. 0.1.0.1-rc. Fixes bug 889.
  5549. o Minor bugfixes (hidden services):
  5550. - Do not throw away existing introduction points on SIGHUP (bugfix on
  5551. 0.0.6pre1); also, do not stall hidden services because we're
  5552. throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
  5553. by John Brooks. Patch by Karsten. Fixes bug 874.
  5554. - Fix a memory leak when we decline to add a v2 rendezvous
  5555. descriptor to the cache because we already had a v0 descriptor
  5556. with the same ID. Bugfix on 0.2.0.18-alpha.
  5557. o Deprecated and removed features:
  5558. - RedirectExits has been removed. It was deprecated since
  5559. 0.2.0.3-alpha.
  5560. - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
  5561. has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  5562. - Cell pools are now always enabled; --disable-cell-pools is ignored.
  5563. o Code simplifications and refactoring:
  5564. - Rename the confusing or_is_obsolete field to the more appropriate
  5565. is_bad_for_new_circs, and move it to or_connection_t where it
  5566. belongs.
  5567. - Move edge-only flags from connection_t to edge_connection_t: not
  5568. only is this better coding, but on machines of plausible alignment,
  5569. it should save 4-8 bytes per connection_t. "Every little bit helps."
  5570. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  5571. for consistency; keep old option working for backward compatibility.
  5572. - Simplify the code for finding connections to use for a circuit.
  5573. Changes in version 0.2.1.8-alpha - 2008-12-08
  5574. Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
  5575. builds better on unusual platforms like Solaris and old OS X, and
  5576. fixes a variety of other issues.
  5577. o Major features:
  5578. - New DirPortFrontPage option that takes an html file and publishes
  5579. it as "/" on the DirPort. Now relay operators can provide a
  5580. disclaimer without needing to set up a separate webserver. There's
  5581. a sample disclaimer in contrib/tor-exit-notice.html.
  5582. o Security fixes:
  5583. - When the client is choosing entry guards, now it selects at most
  5584. one guard from a given relay family. Otherwise we could end up with
  5585. all of our entry points into the network run by the same operator.
  5586. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  5587. o Major bugfixes:
  5588. - Fix a DOS opportunity during the voting signature collection process
  5589. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  5590. - Fix a possible segfault when establishing an exit connection. Bugfix
  5591. on 0.2.1.5-alpha.
  5592. o Minor bugfixes:
  5593. - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
  5594. bug 859.
  5595. - Made Tor a little less aggressive about deleting expired
  5596. certificates. Partial fix for bug 854.
  5597. - Stop doing unaligned memory access that generated bus errors on
  5598. sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
  5599. - Fix a crash bug when changing EntryNodes from the controller. Bugfix
  5600. on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
  5601. - Make USR2 log-level switch take effect immediately. Bugfix on
  5602. 0.1.2.8-beta.
  5603. - If one win32 nameserver fails to get added, continue adding the
  5604. rest, and don't automatically fail.
  5605. - Use fcntl() for locking when flock() is not available. Should fix
  5606. compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
  5607. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  5608. could make gcc generate non-functional binary search code. Bugfix
  5609. on 0.2.0.10-alpha.
  5610. - Build correctly on platforms without socklen_t.
  5611. - Avoid potential crash on internal error during signature collection.
  5612. Fixes bug 864. Patch from rovv.
  5613. - Do not use C's stdio library for writing to log files. This will
  5614. improve logging performance by a minute amount, and will stop
  5615. leaking fds when our disk is full. Fixes bug 861.
  5616. - Stop erroneous use of O_APPEND in cases where we did not in fact
  5617. want to re-seek to the end of a file before every last write().
  5618. - Correct handling of possible malformed authority signing key
  5619. certificates with internal signature types. Fixes bug 880. Bugfix
  5620. on 0.2.0.3-alpha.
  5621. - Fix a hard-to-trigger resource leak when logging credential status.
  5622. CID 349.
  5623. o Minor features:
  5624. - Directory mirrors no longer fetch the v1 directory or
  5625. running-routers files. They are obsolete, and nobody asks for them
  5626. anymore. This is the first step to making v1 authorities obsolete.
  5627. o Minor features (controller):
  5628. - Return circuit purposes in response to GETINFO circuit-status. Fixes
  5629. bug 858.
  5630. Changes in version 0.2.0.32 - 2008-11-20
  5631. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  5632. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  5633. a smaller security flaw that might allow an attacker to access local
  5634. services, further improves hidden service performance, and fixes a
  5635. variety of other issues.
  5636. o Security fixes:
  5637. - The "User" and "Group" config options did not clear the
  5638. supplementary group entries for the Tor process. The "User" option
  5639. is now more robust, and we now set the groups to the specified
  5640. user's primary group. The "Group" option is now ignored. For more
  5641. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  5642. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  5643. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  5644. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  5645. consistently obeyed: if an exit relay refuses a stream because its
  5646. exit policy doesn't allow it, we would remember what IP address
  5647. the relay said the destination address resolves to, even if it's
  5648. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  5649. o Major bugfixes:
  5650. - Fix a DOS opportunity during the voting signature collection process
  5651. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  5652. o Major bugfixes (hidden services):
  5653. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  5654. we were failing the whole hidden service request when the v0
  5655. descriptor fetch fails, even if the v2 fetch is still pending and
  5656. might succeed. Similarly, if the last v2 fetch fails, we were
  5657. failing the whole hidden service request even if a v0 fetch is
  5658. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  5659. - When extending a circuit to a hidden service directory to upload a
  5660. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  5661. requests failed, because the router descriptor has not been
  5662. downloaded yet. In these cases, do not attempt to upload the
  5663. rendezvous descriptor, but wait until the router descriptor is
  5664. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  5665. descriptor from a hidden service directory for which the router
  5666. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  5667. on 0.2.0.10-alpha.
  5668. o Minor bugfixes:
  5669. - Fix several infrequent memory leaks spotted by Coverity.
  5670. - When testing for libevent functions, set the LDFLAGS variable
  5671. correctly. Found by Riastradh.
  5672. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  5673. bootstrapping with tunneled directory connections. Bugfix on
  5674. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  5675. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  5676. and we know that server B rejects most-but-not all connections to
  5677. port 80, we would previously reject the connection. Now, we assume
  5678. the user knows what they were asking for. Fixes bug 752. Bugfix
  5679. on 0.0.9rc5. Diagnosed by BarkerJr.
  5680. - If we overrun our per-second write limits a little, count this as
  5681. having used up our write allocation for the second, and choke
  5682. outgoing directory writes. Previously, we had only counted this when
  5683. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  5684. Bugfix on 0.2.0.x (??).
  5685. - Remove the old v2 directory authority 'lefkada' from the default
  5686. list. It has been gone for many months.
  5687. - Stop doing unaligned memory access that generated bus errors on
  5688. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  5689. - Make USR2 log-level switch take effect immediately. Bugfix on
  5690. 0.1.2.8-beta.
  5691. o Minor bugfixes (controller):
  5692. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  5693. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  5694. Changes in version 0.2.1.7-alpha - 2008-11-08
  5695. Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
  5696. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  5697. a smaller security flaw that might allow an attacker to access local
  5698. services, adds better defense against DNS poisoning attacks on exit
  5699. relays, further improves hidden service performance, and fixes a
  5700. variety of other issues.
  5701. o Security fixes:
  5702. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  5703. consistently obeyed: if an exit relay refuses a stream because its
  5704. exit policy doesn't allow it, we would remember what IP address
  5705. the relay said the destination address resolves to, even if it's
  5706. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  5707. - The "User" and "Group" config options did not clear the
  5708. supplementary group entries for the Tor process. The "User" option
  5709. is now more robust, and we now set the groups to the specified
  5710. user's primary group. The "Group" option is now ignored. For more
  5711. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  5712. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  5713. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
  5714. - Do not use or believe expired v3 authority certificates. Patch
  5715. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  5716. o Minor features:
  5717. - Now NodeFamily and MyFamily config options allow spaces in
  5718. identity fingerprints, so it's easier to paste them in.
  5719. Suggested by Lucky Green.
  5720. - Implement the 0x20 hack to better resist DNS poisoning: set the
  5721. case on outgoing DNS requests randomly, and reject responses that do
  5722. not match the case correctly. This logic can be disabled with the
  5723. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  5724. of servers that do not reliably preserve case in replies. See
  5725. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  5726. for more info.
  5727. - Preserve case in replies to DNSPort requests in order to support
  5728. the 0x20 hack for resisting DNS poisoning attacks.
  5729. o Hidden service performance improvements:
  5730. - When the client launches an introduction circuit, retry with a
  5731. new circuit after 30 seconds rather than 60 seconds.
  5732. - Launch a second client-side introduction circuit in parallel
  5733. after a delay of 15 seconds (based on work by Christian Wilms).
  5734. - Hidden services start out building five intro circuits rather
  5735. than three, and when the first three finish they publish a service
  5736. descriptor using those. Now we publish our service descriptor much
  5737. faster after restart.
  5738. o Minor bugfixes:
  5739. - Minor fix in the warning messages when you're having problems
  5740. bootstrapping; also, be more forgiving of bootstrap problems when
  5741. we're still making incremental progress on a given bootstrap phase.
  5742. - When we're choosing an exit node for a circuit, and we have
  5743. no pending streams, choose a good general exit rather than one that
  5744. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  5745. - Send a valid END cell back when a client tries to connect to a
  5746. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  5747. 840. Patch from rovv.
  5748. - If a broken client asks a non-exit router to connect somewhere,
  5749. do not even do the DNS lookup before rejecting the connection.
  5750. Fixes another case of bug 619. Patch from rovv.
  5751. - Fix another case of assuming, when a specific exit is requested,
  5752. that we know more than the user about what hosts it allows.
  5753. Fixes another case of bug 752. Patch from rovv.
  5754. - Check which hops rendezvous stream cells are associated with to
  5755. prevent possible guess-the-streamid injection attacks from
  5756. intermediate hops. Fixes another case of bug 446. Based on patch
  5757. from rovv.
  5758. - Avoid using a negative right-shift when comparing 32-bit
  5759. addresses. Possible fix for bug 845 and bug 811.
  5760. - Make the assert_circuit_ok() function work correctly on circuits that
  5761. have already been marked for close.
  5762. - Fix read-off-the-end-of-string error in unit tests when decoding
  5763. introduction points.
  5764. - Fix uninitialized size field for memory area allocation: may improve
  5765. memory performance during directory parsing.
  5766. - Treat duplicate certificate fetches as failures, so that we do
  5767. not try to re-fetch an expired certificate over and over and over.
  5768. - Do not say we're fetching a certificate when we'll in fact skip it
  5769. because of a pending download.
  5770. Changes in version 0.2.1.6-alpha - 2008-09-30
  5771. Tor 0.2.1.6-alpha further improves performance and robustness of
  5772. hidden services, starts work on supporting per-country relay selection,
  5773. and fixes a variety of smaller issues.
  5774. o Major features:
  5775. - Implement proposal 121: make it possible to build hidden services
  5776. that only certain clients are allowed to connect to. This is
  5777. enforced at several points, so that unauthorized clients are unable
  5778. to send INTRODUCE cells to the service, or even (depending on the
  5779. type of authentication) to learn introduction points. This feature
  5780. raises the bar for certain kinds of active attacks against hidden
  5781. services. Code by Karsten Loesing.
  5782. - Relays now store and serve v2 hidden service descriptors by default,
  5783. i.e., the new default value for HidServDirectoryV2 is 1. This is
  5784. the last step in proposal 114, which aims to make hidden service
  5785. lookups more reliable.
  5786. - Start work to allow node restrictions to include country codes. The
  5787. syntax to exclude nodes in a country with country code XX is
  5788. "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
  5789. refinement to decide what config options should take priority if
  5790. you ask to both use a particular node and exclude it.
  5791. - Allow ExitNodes list to include IP ranges and country codes, just
  5792. like the Exclude*Nodes lists. Patch from Robert Hogan.
  5793. o Major bugfixes:
  5794. - Fix a bug when parsing ports in tor_addr_port_parse() that caused
  5795. Tor to fail to start if you had it configured to use a bridge
  5796. relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
  5797. - When extending a circuit to a hidden service directory to upload a
  5798. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  5799. requests failed, because the router descriptor had not been
  5800. downloaded yet. In these cases, we now wait until the router
  5801. descriptor is downloaded, and then retry. Likewise, clients
  5802. now skip over a hidden service directory if they don't yet have
  5803. its router descriptor, rather than futilely requesting it and
  5804. putting mysterious complaints in the logs. Fixes bug 767. Bugfix
  5805. on 0.2.0.10-alpha.
  5806. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  5807. we were failing the whole hidden service request when the v0
  5808. descriptor fetch fails, even if the v2 fetch is still pending and
  5809. might succeed. Similarly, if the last v2 fetch fails, we were
  5810. failing the whole hidden service request even if a v0 fetch is
  5811. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  5812. - DNS replies need to have names matching their requests, but
  5813. these names should be in the questions section, not necessarily
  5814. in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
  5815. o Minor features:
  5816. - Update to the "September 1 2008" ip-to-country file.
  5817. - Allow ports 465 and 587 in the default exit policy again. We had
  5818. rejected them in 0.1.0.15, because back in 2005 they were commonly
  5819. misconfigured and ended up as spam targets. We hear they are better
  5820. locked down these days.
  5821. - Use a lockfile to make sure that two Tor processes are not
  5822. simultaneously running with the same datadir.
  5823. - Serve the latest v3 networkstatus consensus via the control
  5824. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  5825. - Better logging about stability/reliability calculations on directory
  5826. servers.
  5827. - Drop the requirement to have an open dir port for storing and
  5828. serving v2 hidden service descriptors.
  5829. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  5830. help debug WFU and MTBF calculations.
  5831. - Implement most of Proposal 152: allow specialized servers to permit
  5832. single-hop circuits, and clients to use those servers to build
  5833. single-hop circuits when using a specialized controller. Patch
  5834. from Josh Albrecht. Resolves feature request 768.
  5835. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  5836. people find host:port too confusing.
  5837. - Make TrackHostExit mappings expire a while after their last use, not
  5838. after their creation. Patch from Robert Hogan.
  5839. - Provide circuit purposes along with circuit events to the controller.
  5840. o Minor bugfixes:
  5841. - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
  5842. Reported by Tas.
  5843. - Fixed some memory leaks -- some quite frequent, some almost
  5844. impossible to trigger -- based on results from Coverity.
  5845. - When testing for libevent functions, set the LDFLAGS variable
  5846. correctly. Found by Riastradh.
  5847. - Fix an assertion bug in parsing policy-related options; possible fix
  5848. for bug 811.
  5849. - Catch and report a few more bootstrapping failure cases when Tor
  5850. fails to establish a TCP connection. Cleanup on 0.2.1.x.
  5851. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  5852. bootstrapping with tunneled directory connections. Bugfix on
  5853. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  5854. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  5855. and we know that server B rejects most-but-not all connections to
  5856. port 80, we would previously reject the connection. Now, we assume
  5857. the user knows what they were asking for. Fixes bug 752. Bugfix
  5858. on 0.0.9rc5. Diagnosed by BarkerJr.
  5859. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  5860. service directories if they have no advertised dir port. Bugfix
  5861. on 0.2.0.10-alpha.
  5862. - If we overrun our per-second write limits a little, count this as
  5863. having used up our write allocation for the second, and choke
  5864. outgoing directory writes. Previously, we had only counted this when
  5865. we had met our limits precisely. Fixes bug 824. Patch by rovv.
  5866. Bugfix on 0.2.0.x (??).
  5867. - Avoid a "0 divided by 0" calculation when calculating router uptime
  5868. at directory authorities. Bugfix on 0.2.0.8-alpha.
  5869. - Make DNS resolved controller events into "CLOSED", not
  5870. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  5871. bug 807.
  5872. - Fix a bug where an unreachable relay would establish enough
  5873. reachability testing circuits to do a bandwidth test -- if
  5874. we already have a connection to the middle hop of the testing
  5875. circuit, then it could establish the last hop by using the existing
  5876. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  5877. circuits no longer use entry guards in 0.2.1.3-alpha.
  5878. - If we have correct permissions on $datadir, we complain to stdout
  5879. and fail to start. But dangerous permissions on
  5880. $datadir/cached-status/ would cause us to open a log and complain
  5881. there. Now complain to stdout and fail to start in both cases. Fixes
  5882. bug 820, reported by seeess.
  5883. - Remove the old v2 directory authority 'lefkada' from the default
  5884. list. It has been gone for many months.
  5885. o Code simplifications and refactoring:
  5886. - Revise the connection_new functions so that a more typesafe variant
  5887. exists. This will work better with Coverity, and let us find any
  5888. actual mistakes we're making here.
  5889. - Refactor unit testing logic so that dmalloc can be used sensibly
  5890. with unit tests to check for memory leaks.
  5891. - Move all hidden-service related fields from connection and circuit
  5892. structure to substructures: this way they won't eat so much memory.
  5893. Changes in version 0.2.0.31 - 2008-09-03
  5894. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  5895. a big bug we're seeing where in rare cases traffic from one Tor stream
  5896. gets mixed into another stream, and fixes a variety of smaller issues.
  5897. o Major bugfixes:
  5898. - Make sure that two circuits can never exist on the same connection
  5899. with the same circuit ID, even if one is marked for close. This
  5900. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  5901. - Relays now reject risky extend cells: if the extend cell includes
  5902. a digest of all zeroes, or asks to extend back to the relay that
  5903. sent the extend cell, tear down the circuit. Ideas suggested
  5904. by rovv.
  5905. - If not enough of our entry guards are available so we add a new
  5906. one, we might use the new one even if it overlapped with the
  5907. current circuit's exit relay (or its family). Anonymity bugfix
  5908. pointed out by rovv.
  5909. o Minor bugfixes:
  5910. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  5911. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  5912. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  5913. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  5914. - Pick size of default geoip filename string correctly on windows.
  5915. Fixes bug 806. Bugfix on 0.2.0.30.
  5916. - Make the autoconf script accept the obsolete --with-ssl-dir
  5917. option as an alias for the actually-working --with-openssl-dir
  5918. option. Fix the help documentation to recommend --with-openssl-dir.
  5919. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  5920. - When using the TransPort option on OpenBSD, and using the User
  5921. option to change UID and drop privileges, make sure to open
  5922. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  5923. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  5924. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  5925. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  5926. on the client side when connecting to a hidden service. Bugfix
  5927. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  5928. - When closing an application-side connection because its circuit is
  5929. getting torn down, generate the stream event correctly. Bugfix on
  5930. 0.1.2.x. Anonymous patch.
  5931. Changes in version 0.2.1.5-alpha - 2008-08-31
  5932. Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
  5933. in a lot of the infrastructure for adding authorization to hidden
  5934. services, lays the groundwork for having clients read their load
  5935. balancing information out of the networkstatus consensus rather than
  5936. the individual router descriptors, addresses two potential anonymity
  5937. issues, and fixes a variety of smaller issues.
  5938. o Major features:
  5939. - Convert many internal address representations to optionally hold
  5940. IPv6 addresses.
  5941. - Generate and accept IPv6 addresses in many protocol elements.
  5942. - Make resolver code handle nameservers located at ipv6 addresses.
  5943. - Begin implementation of proposal 121 ("Client authorization for
  5944. hidden services"): configure hidden services with client
  5945. authorization, publish descriptors for them, and configure
  5946. authorization data for hidden services at clients. The next
  5947. step is to actually access hidden services that perform client
  5948. authorization.
  5949. - More progress toward proposal 141: Network status consensus
  5950. documents and votes now contain bandwidth information for each
  5951. router and a summary of that router's exit policy. Eventually this
  5952. will be used by clients so that they do not have to download every
  5953. known descriptor before building circuits.
  5954. o Major bugfixes (on 0.2.0.x and before):
  5955. - When sending CREATED cells back for a given circuit, use a 64-bit
  5956. connection ID to find the right connection, rather than an addr:port
  5957. combination. Now that we can have multiple OR connections between
  5958. the same ORs, it is no longer possible to use addr:port to uniquely
  5959. identify a connection.
  5960. - Relays now reject risky extend cells: if the extend cell includes
  5961. a digest of all zeroes, or asks to extend back to the relay that
  5962. sent the extend cell, tear down the circuit. Ideas suggested
  5963. by rovv.
  5964. - If not enough of our entry guards are available so we add a new
  5965. one, we might use the new one even if it overlapped with the
  5966. current circuit's exit relay (or its family). Anonymity bugfix
  5967. pointed out by rovv.
  5968. o Minor bugfixes:
  5969. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  5970. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  5971. - When using the TransPort option on OpenBSD, and using the User
  5972. option to change UID and drop privileges, make sure to open /dev/pf
  5973. before dropping privileges. Fixes bug 782. Patch from Christopher
  5974. Davis. Bugfix on 0.1.2.1-alpha.
  5975. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  5976. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  5977. - Add a missing safe_str() call for a debug log message.
  5978. - Use 64 bits instead of 32 bits for connection identifiers used with
  5979. the controller protocol, to greatly reduce risk of identifier reuse.
  5980. - Make the autoconf script accept the obsolete --with-ssl-dir
  5981. option as an alias for the actually-working --with-openssl-dir
  5982. option. Fix the help documentation to recommend --with-openssl-dir.
  5983. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  5984. o Minor features:
  5985. - Rate-limit too-many-sockets messages: when they happen, they happen
  5986. a lot. Resolves bug 748.
  5987. - Resist DNS poisoning a little better by making sure that names in
  5988. answer sections match.
  5989. - Print the SOCKS5 error message string as well as the error code
  5990. when a tor-resolve request fails. Patch from Jacob.
  5991. Changes in version 0.2.1.4-alpha - 2008-08-04
  5992. Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
  5993. o Major bugfixes:
  5994. - The address part of exit policies was not correctly written
  5995. to router descriptors. This generated router descriptors that failed
  5996. their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
  5997. on 0.2.1.3-alpha.
  5998. - Tor triggered a false assert when extending a circuit to a relay
  5999. but we already have a connection open to that relay. Noticed by
  6000. phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
  6001. o Minor bugfixes:
  6002. - Fix a hidden service logging bug: in some edge cases, the router
  6003. descriptor of a previously picked introduction point becomes
  6004. obsolete and we need to give up on it rather than continually
  6005. complaining that it has become obsolete. Observed by xiando. Bugfix
  6006. on 0.2.1.3-alpha.
  6007. o Removed features:
  6008. - Take out the TestVia config option, since it was a workaround for
  6009. a bug that was fixed in Tor 0.1.1.21.
  6010. Changes in version 0.2.1.3-alpha - 2008-08-03
  6011. Tor 0.2.1.3-alpha implements most of the pieces to prevent
  6012. infinite-length circuit attacks (see proposal 110); fixes a bug that
  6013. might cause exit relays to corrupt streams they send back; allows
  6014. address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
  6015. ExcludeExitNodes config options; and fixes a big pile of bugs.
  6016. o Bootstrapping bugfixes (on 0.2.1.x-alpha):
  6017. - Send a bootstrap problem "warn" event on the first problem if the
  6018. reason is NO_ROUTE (that is, our network is down).
  6019. o Major features:
  6020. - Implement most of proposal 110: The first K cells to be sent
  6021. along a circuit are marked as special "early" cells; only K "early"
  6022. cells will be allowed. Once this code is universal, we can block
  6023. certain kinds of DOS attack by requiring that EXTEND commands must
  6024. be sent using an "early" cell.
  6025. o Major bugfixes:
  6026. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  6027. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  6028. on the client side when connecting to a hidden service. Bugfix
  6029. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  6030. - Ensure that two circuits can never exist on the same connection
  6031. with the same circuit ID, even if one is marked for close. This
  6032. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  6033. o Minor features:
  6034. - When relays do their initial bandwidth measurement, don't limit
  6035. to just our entry guards for the test circuits. Otherwise we tend
  6036. to have multiple test circuits going through a single entry guard,
  6037. which makes our bandwidth test less accurate. Fixes part of bug 654;
  6038. patch contributed by Josh Albrecht.
  6039. - Add an ExcludeExitNodes option so users can list a set of nodes
  6040. that should be be excluded from the exit node position, but
  6041. allowed elsewhere. Implements proposal 151.
  6042. - Allow address patterns (e.g., 255.128.0.0/16) to appear in
  6043. ExcludeNodes and ExcludeExitNodes lists.
  6044. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  6045. be more efficient. Formerly it was quadratic in the number of
  6046. servers; now it should be linear. Fixes bug 509.
  6047. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  6048. and n_conn_id_digest fields into a separate structure that's
  6049. only needed when the circuit has not yet attached to an n_conn.
  6050. o Minor bugfixes:
  6051. - Change the contrib/tor.logrotate script so it makes the new
  6052. logs as "_tor:_tor" rather than the default, which is generally
  6053. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  6054. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  6055. warnings (occasionally), but it can also cause the compiler to
  6056. eliminate error-checking code. Suggested by Peter Gutmann.
  6057. - When a hidden service is giving up on an introduction point candidate
  6058. that was not included in the last published rendezvous descriptor,
  6059. don't reschedule publication of the next descriptor. Fixes bug 763.
  6060. Bugfix on 0.0.9.3.
  6061. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  6062. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  6063. and nobody claims to be using them. Fixes bug 754. Bugfix on
  6064. 0.1.0.1-rc. Patch from Christian Wilms.
  6065. - Fix a small alignment and memory-wasting bug on buffer chunks.
  6066. Spotted by rovv.
  6067. o Minor bugfixes (controller):
  6068. - When closing an application-side connection because its circuit
  6069. is getting torn down, generate the stream event correctly.
  6070. Bugfix on 0.1.2.x. Anonymous patch.
  6071. o Removed features:
  6072. - Remove all backward-compatibility code to support relays running
  6073. versions of Tor so old that they no longer work at all on the
  6074. Tor network.
  6075. Changes in version 0.2.0.30 - 2008-07-15
  6076. o Minor bugfixes:
  6077. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  6078. warnings (occasionally), but it can also cause the compiler to
  6079. eliminate error-checking code. Suggested by Peter Gutmann.
  6080. Changes in version 0.2.0.29-rc - 2008-07-08
  6081. Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
  6082. hidden-service performance bugs, and fixes a bunch of smaller bugs.
  6083. o Major bugfixes:
  6084. - If you have more than one bridge but don't know their keys,
  6085. you would only launch a request for the descriptor of the first one
  6086. on your list. (Tor considered launching requests for the others, but
  6087. found that it already had a connection on the way for $0000...0000
  6088. so it didn't open another.) Bugfix on 0.2.0.x.
  6089. - If you have more than one bridge but don't know their keys, and the
  6090. connection to one of the bridges failed, you would cancel all
  6091. pending bridge connections. (After all, they all have the same
  6092. digest.) Bugfix on 0.2.0.x.
  6093. - When a hidden service was trying to establish an introduction point,
  6094. and Tor had built circuits preemptively for such purposes, we
  6095. were ignoring all the preemptive circuits and launching a new one
  6096. instead. Bugfix on 0.2.0.14-alpha.
  6097. - When a hidden service was trying to establish an introduction point,
  6098. and Tor *did* manage to reuse one of the preemptively built
  6099. circuits, it didn't correctly remember which one it used,
  6100. so it asked for another one soon after, until there were no
  6101. more preemptive circuits, at which point it launched one from
  6102. scratch. Bugfix on 0.0.9.x.
  6103. - Make directory servers include the X-Your-Address-Is: http header in
  6104. their responses even for begin_dir conns. Now clients who only
  6105. ever use begin_dir connections still have a way to learn their IP
  6106. address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
  6107. o Minor bugfixes:
  6108. - Fix a macro/CPP interaction that was confusing some compilers:
  6109. some GCCs don't like #if/#endif pairs inside macro arguments.
  6110. Fixes bug 707.
  6111. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  6112. Fixes bug 704; fix from Steven Murdoch.
  6113. - When opening /dev/null in finish_daemonize(), do not pass the
  6114. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  6115. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  6116. - Correctly detect transparent proxy support on Linux hosts that
  6117. require in.h to be included before netfilter_ipv4.h. Patch
  6118. from coderman.
  6119. - Disallow session resumption attempts during the renegotiation
  6120. stage of the v2 handshake protocol. Clients should never be trying
  6121. session resumption at this point, but apparently some did, in
  6122. ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
  6123. found by Geoff Goodell.
  6124. Changes in version 0.2.1.2-alpha - 2008-06-20
  6125. Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
  6126. make it easier to set up your own private Tor network; fixes several
  6127. big bugs with using more than one bridge relay; fixes a big bug with
  6128. offering hidden services quickly after Tor starts; and uses a better
  6129. API for reporting potential bootstrapping problems to the controller.
  6130. o Major features:
  6131. - New TestingTorNetwork config option to allow adjustment of
  6132. previously constant values that, while reasonable, could slow
  6133. bootstrapping. Implements proposal 135. Patch from Karsten.
  6134. o Major bugfixes:
  6135. - If you have more than one bridge but don't know their digests,
  6136. you would only learn a request for the descriptor of the first one
  6137. on your list. (Tor considered launching requests for the others, but
  6138. found that it already had a connection on the way for $0000...0000
  6139. so it didn't open another.) Bugfix on 0.2.0.x.
  6140. - If you have more than one bridge but don't know their digests,
  6141. and the connection to one of the bridges failed, you would cancel
  6142. all pending bridge connections. (After all, they all have the
  6143. same digest.) Bugfix on 0.2.0.x.
  6144. - When establishing a hidden service, introduction points that
  6145. originate from cannibalized circuits are completely ignored and not
  6146. included in rendezvous service descriptors. This might be another
  6147. reason for delay in making a hidden service available. Bugfix
  6148. from long ago (0.0.9.x?)
  6149. o Minor features:
  6150. - Allow OpenSSL to use dynamic locks if it wants.
  6151. - When building a consensus, do not include routers that are down.
  6152. This will cut down 30% to 40% on consensus size. Implements
  6153. proposal 138.
  6154. - In directory authorities' approved-routers files, allow
  6155. fingerprints with or without space.
  6156. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  6157. controller can query our current bootstrap state in case it attaches
  6158. partway through and wants to catch up.
  6159. - Send an initial "Starting" bootstrap status event, so we have a
  6160. state to start out in.
  6161. o Minor bugfixes:
  6162. - Asking for a conditional consensus at .../consensus/<fingerprints>
  6163. would crash a dirserver if it did not already have a
  6164. consensus. Bugfix on 0.2.1.1-alpha.
  6165. - Clean up some macro/CPP interactions: some GCC versions don't like
  6166. #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
  6167. 0.2.0.x.
  6168. o Bootstrapping bugfixes (on 0.2.1.1-alpha):
  6169. - Directory authorities shouldn't complain about bootstrapping
  6170. problems just because they do a lot of reachability testing and
  6171. some of the connection attempts fail.
  6172. - Start sending "count" and "recommendation" key/value pairs in
  6173. bootstrap problem status events, so the controller can hear about
  6174. problems even before Tor decides they're worth reporting for sure.
  6175. - If you're using bridges, generate "bootstrap problem" warnings
  6176. as soon as you run out of working bridges, rather than waiting
  6177. for ten failures -- which will never happen if you have less than
  6178. ten bridges.
  6179. - If we close our OR connection because there's been a circuit
  6180. pending on it for too long, we were telling our bootstrap status
  6181. events "REASON=NONE". Now tell them "REASON=TIMEOUT".
  6182. Changes in version 0.2.1.1-alpha - 2008-06-13
  6183. Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
  6184. were making the Tor process bloat especially on Linux; makes our TLS
  6185. handshake blend in better; sends "bootstrap phase" status events to
  6186. the controller, so it can keep the user informed of progress (and
  6187. problems) fetching directory information and establishing circuits;
  6188. and adds a variety of smaller features.
  6189. o Major features:
  6190. - More work on making our TLS handshake blend in: modify the list
  6191. of ciphers advertised by OpenSSL in client mode to even more
  6192. closely resemble a common web browser. We cheat a little so that
  6193. we can advertise ciphers that the locally installed OpenSSL doesn't
  6194. know about.
  6195. - Start sending "bootstrap phase" status events to the controller,
  6196. so it can keep the user informed of progress fetching directory
  6197. information and establishing circuits. Also inform the controller
  6198. if we think we're stuck at a particular bootstrap phase. Implements
  6199. proposal 137.
  6200. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  6201. cross-platform entropy collection again. We used to use it, then
  6202. stopped using it because of a bug that could crash systems that
  6203. called RAND_poll when they had a lot of fds open. It looks like the
  6204. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  6205. at startup, and to call RAND_poll() when we reseed later only if
  6206. we have a non-buggy OpenSSL version.
  6207. o Major bugfixes:
  6208. - When we choose to abandon a new entry guard because we think our
  6209. older ones might be better, close any circuits pending on that
  6210. new entry guard connection. This fix should make us recover much
  6211. faster when our network is down and then comes back. Bugfix on
  6212. 0.1.2.8-beta; found by lodger.
  6213. o Memory fixes and improvements:
  6214. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  6215. to avoid unused RAM in buffer chunks and memory pools.
  6216. - Speed up parsing and cut down on memory fragmentation by using
  6217. stack-style allocations for parsing directory objects. Previously,
  6218. this accounted for over 40% of allocations from within Tor's code
  6219. on a typical directory cache.
  6220. - Use a Bloom filter rather than a digest-based set to track which
  6221. descriptors we need to keep around when we're cleaning out old
  6222. router descriptors. This speeds up the computation significantly,
  6223. and may reduce fragmentation.
  6224. - Reduce the default smartlist size from 32 to 16; it turns out that
  6225. most smartlists hold around 8-12 elements tops.
  6226. - Make dumpstats() log the fullness and size of openssl-internal
  6227. buffers.
  6228. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  6229. patch to their OpenSSL, turn it on to save memory on servers. This
  6230. patch will (with any luck) get included in a mainline distribution
  6231. before too long.
  6232. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  6233. compress cells, which are basically all encrypted, compressed,
  6234. or both.
  6235. o Minor bugfixes:
  6236. - Stop reloading the router list from disk for no reason when we
  6237. run out of reachable directory mirrors. Once upon a time reloading
  6238. it would set the 'is_running' flag back to 1 for them. It hasn't
  6239. done that for a long time.
  6240. - In very rare situations new hidden service descriptors were
  6241. published earlier than 30 seconds after the last change to the
  6242. service. (We currently think that a hidden service descriptor
  6243. that's been stable for 30 seconds is worth publishing.)
  6244. o Minor features:
  6245. - Allow separate log levels to be configured for different logging
  6246. domains. For example, this allows one to log all notices, warnings,
  6247. or errors, plus all memory management messages of level debug or
  6248. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  6249. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  6250. and stop using a warning that had become unfixably verbose under
  6251. GCC 4.3.
  6252. - New --hush command-line option similar to --quiet. While --quiet
  6253. disables all logging to the console on startup, --hush limits the
  6254. output to messages of warning and error severity.
  6255. - Servers support a new URL scheme for consensus downloads that
  6256. allows the client to specify which authorities are trusted.
  6257. The server then only sends the consensus if the client will trust
  6258. it. Otherwise a 404 error is sent back. Clients use this
  6259. new scheme when the server supports it (meaning it's running
  6260. 0.2.1.1-alpha or later). Implements proposal 134.
  6261. - New configure/torrc options (--enable-geoip-stats,
  6262. DirRecordUsageByCountry) to record how many IPs we've served
  6263. directory info to in each country code, how many status documents
  6264. total we've sent to each country code, and what share of the total
  6265. directory requests we should expect to see.
  6266. - Use the TLS1 hostname extension to more closely resemble browser
  6267. behavior.
  6268. - Lots of new unit tests.
  6269. - Add a macro to implement the common pattern of iterating through
  6270. two parallel lists in lockstep.
  6271. Changes in version 0.2.0.28-rc - 2008-06-13
  6272. Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
  6273. performance bug, and fixes a bunch of smaller bugs.
  6274. o Anonymity fixes:
  6275. - Fix a bug where, when we were choosing the 'end stream reason' to
  6276. put in our relay end cell that we send to the exit relay, Tor
  6277. clients on Windows were sometimes sending the wrong 'reason'. The
  6278. anonymity problem is that exit relays may be able to guess whether
  6279. the client is running Windows, thus helping partition the anonymity
  6280. set. Down the road we should stop sending reasons to exit relays,
  6281. or otherwise prevent future versions of this bug.
  6282. o Major bugfixes:
  6283. - While setting up a hidden service, some valid introduction circuits
  6284. were overlooked and abandoned. This might be the reason for
  6285. the long delay in making a hidden service available. Bugfix on
  6286. 0.2.0.14-alpha.
  6287. o Minor features:
  6288. - Update to the "June 9 2008" ip-to-country file.
  6289. - Run 'make test' as part of 'make dist', so we stop releasing so
  6290. many development snapshots that fail their unit tests.
  6291. o Minor bugfixes:
  6292. - When we're checking if we have enough dir info for each relay
  6293. to begin establishing circuits, make sure that we actually have
  6294. the descriptor listed in the consensus, not just any descriptor.
  6295. Bugfix on 0.1.2.x.
  6296. - Bridge relays no longer print "xx=0" in their extrainfo document
  6297. for every single country code in the geoip db. Bugfix on
  6298. 0.2.0.27-rc.
  6299. - Only warn when we fail to load the geoip file if we were planning to
  6300. include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
  6301. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  6302. Tor won't realize it should publish a new relay descriptor. Fixes
  6303. bug 688, reported by mfr. Bugfix on 0.1.2.x.
  6304. - When we haven't had any application requests lately, don't bother
  6305. logging that we have expired a bunch of descriptors. Bugfix
  6306. on 0.1.2.x.
  6307. - Make relay cells written on a connection count as non-padding when
  6308. tracking how long a connection has been in use. Bugfix on
  6309. 0.2.0.1-alpha. Spotted by lodger.
  6310. - Fix unit tests in 0.2.0.27-rc.
  6311. - Fix compile on Windows.
  6312. Changes in version 0.2.0.27-rc - 2008-06-03
  6313. Tor 0.2.0.27-rc adds a few features we left out of the earlier
  6314. release candidates. In particular, we now include an IP-to-country
  6315. GeoIP database, so controllers can easily look up what country a
  6316. given relay is in, and so bridge relays can give us some sanitized
  6317. summaries about which countries are making use of bridges. (See proposal
  6318. 126-geoip-fetching.txt for details.)
  6319. o Major features:
  6320. - Include an IP-to-country GeoIP file in the tarball, so bridge
  6321. relays can report sanitized summaries of the usage they're seeing.
  6322. o Minor features:
  6323. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  6324. Robert Hogan. Fixes the first part of bug 681.
  6325. - Make bridge authorities never serve extrainfo docs.
  6326. - Add support to detect Libevent versions in the 1.4.x series
  6327. on mingw.
  6328. - Fix build on gcc 4.3 with --enable-gcc-warnings set.
  6329. - Include a new contrib/tor-exit-notice.html file that exit relay
  6330. operators can put on their website to help reduce abuse queries.
  6331. o Minor bugfixes:
  6332. - When tunneling an encrypted directory connection, and its first
  6333. circuit fails, do not leave it unattached and ask the controller
  6334. to deal. Fixes the second part of bug 681.
  6335. - Make bridge authorities correctly expire old extrainfo documents
  6336. from time to time.
  6337. Changes in version 0.2.0.26-rc - 2008-05-13
  6338. Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
  6339. in Debian's OpenSSL packages. All users running any 0.2.0.x version
  6340. should upgrade, whether they're running Debian or not.
  6341. o Major security fixes:
  6342. - Use new V3 directory authority keys on the tor26, gabelmoo, and
  6343. moria1 V3 directory authorities. The old keys were generated with
  6344. a vulnerable version of Debian's OpenSSL package, and must be
  6345. considered compromised. Other authorities' keys were not generated
  6346. with an affected version of OpenSSL.
  6347. o Major bugfixes:
  6348. - List authority signatures as "unrecognized" based on DirServer
  6349. lines, not on cert cache. Bugfix on 0.2.0.x.
  6350. o Minor features:
  6351. - Add a new V3AuthUseLegacyKey option to make it easier for
  6352. authorities to change their identity keys if they have to.
  6353. Changes in version 0.2.0.25-rc - 2008-04-23
  6354. Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
  6355. o Major bugfixes:
  6356. - Remember to initialize threading before initializing logging.
  6357. Otherwise, many BSD-family implementations will crash hard on
  6358. startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
  6359. o Minor bugfixes:
  6360. - Authorities correctly free policies on bad servers on
  6361. exit. Fixes bug 672. Bugfix on 0.2.0.x.
  6362. Changes in version 0.2.0.24-rc - 2008-04-22
  6363. Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
  6364. v3 directory authority, makes relays with dynamic IP addresses and no
  6365. DirPort notice more quickly when their IP address changes, fixes a few
  6366. rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
  6367. o New directory authorities:
  6368. - Take lefkada out of the list of v3 directory authorities, since
  6369. it has been down for months.
  6370. - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
  6371. authority.
  6372. o Major bugfixes:
  6373. - Detect address changes more quickly on non-directory mirror
  6374. relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
  6375. o Minor features (security):
  6376. - Reject requests for reverse-dns lookup of names that are in
  6377. a private address space. Patch from lodger.
  6378. - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
  6379. from lodger.
  6380. o Minor bugfixes (crashes):
  6381. - Avoid a rare assert that can trigger when Tor doesn't have much
  6382. directory information yet and it tries to fetch a v2 hidden
  6383. service descriptor. Fixes bug 651, reported by nwf.
  6384. - Initialize log mutex before initializing dmalloc. Otherwise,
  6385. running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
  6386. - Use recursive pthread mutexes in order to avoid deadlock when
  6387. logging debug-level messages to a controller. Bug spotted by nwf,
  6388. bugfix on 0.2.0.16-alpha.
  6389. o Minor bugfixes (resource management):
  6390. - Keep address policies from leaking memory: start their refcount
  6391. at 1, not 2. Bugfix on 0.2.0.16-alpha.
  6392. - Free authority certificates on exit, so they don't look like memory
  6393. leaks. Bugfix on 0.2.0.19-alpha.
  6394. - Free static hashtables for policy maps and for TLS connections on
  6395. shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
  6396. - Avoid allocating extra space when computing consensuses on 64-bit
  6397. platforms. Bug spotted by aakova.
  6398. o Minor bugfixes (misc):
  6399. - Do not read the configuration file when we've only been told to
  6400. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  6401. based on patch from Sebastian Hahn.
  6402. - Exit relays that are used as a client can now reach themselves
  6403. using the .exit notation, rather than just launching an infinite
  6404. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  6405. - When attempting to open a logfile fails, tell us why.
  6406. - Fix a dumb bug that was preventing us from knowing that we should
  6407. preemptively build circuits to handle expected directory requests.
  6408. Fixes bug 660. Bugfix on 0.1.2.x.
  6409. - Warn less verbosely about clock skew from netinfo cells from
  6410. untrusted sources. Fixes bug 663.
  6411. - Make controller stream events for DNS requests more consistent,
  6412. by adding "new stream" events for DNS requests, and removing
  6413. spurious "stream closed" events" for cached reverse resolves.
  6414. Patch from mwenge. Fixes bug 646.
  6415. - Correctly notify one-hop connections when a circuit build has
  6416. failed. Possible fix for bug 669. Found by lodger.
  6417. Changes in version 0.2.0.23-rc - 2008-03-24
  6418. Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
  6419. makes bootstrapping faster if the first directory mirror you contact
  6420. is down. The bundles also include the new Vidalia 0.1.2 release.
  6421. o Major bugfixes:
  6422. - When a tunneled directory request is made to a directory server
  6423. that's down, notice after 30 seconds rather than 120 seconds. Also,
  6424. fail any begindir streams that are pending on it, so they can
  6425. retry elsewhere. This was causing multi-minute delays on bootstrap.
  6426. Changes in version 0.2.0.22-rc - 2008-03-18
  6427. Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
  6428. enables encrypted directory connections by default for non-relays, fixes
  6429. some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
  6430. other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
  6431. o Major features:
  6432. - Enable encrypted directory connections by default for non-relays,
  6433. so censor tools that block Tor directory connections based on their
  6434. plaintext patterns will no longer work. This means Tor works in
  6435. certain censored countries by default again.
  6436. o Major bugfixes:
  6437. - Make sure servers always request certificates from clients during
  6438. TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
  6439. - Do not enter a CPU-eating loop when a connection is closed in
  6440. the middle of client-side TLS renegotiation. Fixes bug 622. Bug
  6441. diagnosed by lodger; bugfix on 0.2.0.20-rc.
  6442. - Fix assertion failure that could occur when a blocked circuit
  6443. became unblocked, and it had pending client DNS requests. Bugfix
  6444. on 0.2.0.1-alpha. Fixes bug 632.
  6445. o Minor bugfixes (on 0.1.2.x):
  6446. - Generate "STATUS_SERVER" events rather than misspelled
  6447. "STATUS_SEVER" events. Caught by mwenge.
  6448. - When counting the number of bytes written on a TLS connection,
  6449. look at the BIO actually used for writing to the network, not
  6450. at the BIO used (sometimes) to buffer data for the network.
  6451. Looking at different BIOs could result in write counts on the
  6452. order of ULONG_MAX. Fixes bug 614.
  6453. - On Windows, correctly detect errors when listing the contents of
  6454. a directory. Fix from lodger.
  6455. o Minor bugfixes (on 0.2.0.x):
  6456. - Downgrade "sslv3 alert handshake failure" message to INFO.
  6457. - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
  6458. left BandwidthRate and BandwidthBurst at the default, we would be
  6459. silently limited by those defaults. Now raise them to match the
  6460. RelayBandwidth* values.
  6461. - Fix the SVK version detection logic to work correctly on a branch.
  6462. - Make --enable-openbsd-malloc work correctly on Linux with alpha
  6463. CPUs. Fixes bug 625.
  6464. - Logging functions now check that the passed severity is sane.
  6465. - Use proper log levels in the testsuite call of
  6466. get_interface_address6().
  6467. - When using a nonstandard malloc, do not use the platform values for
  6468. HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
  6469. - Make the openbsd malloc code use 8k pages on alpha CPUs and
  6470. 16k pages on ia64.
  6471. - Detect mismatched page sizes when using --enable-openbsd-malloc.
  6472. - Avoid double-marked-for-close warning when certain kinds of invalid
  6473. .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
  6474. for bug 617. Bugfix on 0.2.0.1-alpha.
  6475. - Make sure that the "NULL-means-reject *:*" convention is followed by
  6476. all the policy manipulation functions, avoiding some possible crash
  6477. bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
  6478. - Fix the implementation of ClientDNSRejectInternalAddresses so that it
  6479. actually works, and doesn't warn about every single reverse lookup.
  6480. Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
  6481. o Minor features:
  6482. - Only log guard node status when guard node status has changed.
  6483. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  6484. make "INFO" 75% less verbose.
  6485. Changes in version 0.2.0.21-rc - 2008-03-02
  6486. Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
  6487. makes Tor work well with Vidalia again, fixes a rare assert bug,
  6488. and fixes a pair of more minor bugs. The bundles also include Vidalia
  6489. 0.1.0 and Torbutton 1.1.16.
  6490. o Major bugfixes:
  6491. - The control port should declare that it requires password auth
  6492. when HashedControlSessionPassword is set too. Patch from Matt Edman;
  6493. bugfix on 0.2.0.20-rc. Fixes bug 615.
  6494. - Downgrade assert in connection_buckets_decrement() to a log message.
  6495. This may help us solve bug 614, and in any case will make its
  6496. symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
  6497. - We were sometimes miscounting the number of bytes read from the
  6498. network, causing our rate limiting to not be followed exactly.
  6499. Bugfix on 0.2.0.16-alpha. Reported by lodger.
  6500. o Minor bugfixes:
  6501. - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
  6502. OpenSSL versions should have been working fine. Diagnosis and patch
  6503. from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
  6504. Bugfix on 0.2.0.20-rc.
  6505. Changes in version 0.2.0.20-rc - 2008-02-24
  6506. Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
  6507. makes more progress towards normalizing Tor's TLS handshake, makes
  6508. hidden services work better again, helps relays bootstrap if they don't
  6509. know their IP address, adds optional support for linking in openbsd's
  6510. allocator or tcmalloc, allows really fast relays to scale past 15000
  6511. sockets, and fixes a bunch of minor bugs reported by Veracode.
  6512. o Major features:
  6513. - Enable the revised TLS handshake based on the one designed by
  6514. Steven Murdoch in proposal 124, as revised in proposal 130. It
  6515. includes version negotiation for OR connections as described in
  6516. proposal 105. The new handshake is meant to be harder for censors
  6517. to fingerprint, and it adds the ability to detect certain kinds of
  6518. man-in-the-middle traffic analysis attacks. The version negotiation
  6519. feature will allow us to improve Tor's link protocol more safely
  6520. in the future.
  6521. - Choose which bridge to use proportional to its advertised bandwidth,
  6522. rather than uniformly at random. This should speed up Tor for
  6523. bridge users. Also do this for people who set StrictEntryNodes.
  6524. - When a TrackHostExits-chosen exit fails too many times in a row,
  6525. stop using it. Bugfix on 0.1.2.x; fixes bug 437.
  6526. o Major bugfixes:
  6527. - Resolved problems with (re-)fetching hidden service descriptors.
  6528. Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
  6529. and 0.2.0.19-alpha.
  6530. - If we only ever used Tor for hidden service lookups or posts, we
  6531. would stop building circuits and start refusing connections after
  6532. 24 hours, since we falsely believed that Tor was dormant. Reported
  6533. by nwf; bugfix on 0.1.2.x.
  6534. - Servers that don't know their own IP address should go to the
  6535. authorities for their first directory fetch, even if their DirPort
  6536. is off or if they don't know they're reachable yet. This will help
  6537. them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
  6538. - When counting the number of open sockets, count not only the number
  6539. of sockets we have received from the socket() call, but also
  6540. the number we've gotten from accept() and socketpair(). This bug
  6541. made us fail to count all sockets that we were using for incoming
  6542. connections. Bugfix on 0.2.0.x.
  6543. - Fix code used to find strings within buffers, when those strings
  6544. are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
  6545. - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
  6546. - Add a new __HashedControlSessionPassword option for controllers
  6547. to use for one-off session password hashes that shouldn't get
  6548. saved to disk by SAVECONF --- Vidalia users were accumulating a
  6549. pile of HashedControlPassword lines in their torrc files, one for
  6550. each time they had restarted Tor and then clicked Save. Make Tor
  6551. automatically convert "HashedControlPassword" to this new option but
  6552. only when it's given on the command line. Partial fix for bug 586.
  6553. o Minor features (performance):
  6554. - Tune parameters for cell pool allocation to minimize amount of
  6555. RAM overhead used.
  6556. - Add OpenBSD malloc code from phk as an optional malloc
  6557. replacement on Linux: some glibc libraries do very poorly
  6558. with Tor's memory allocation patterns. Pass
  6559. --enable-openbsd-malloc to get the replacement malloc code.
  6560. - Add a --with-tcmalloc option to the configure script to link
  6561. against tcmalloc (if present). Does not yet search for
  6562. non-system include paths.
  6563. - Stop imposing an arbitrary maximum on the number of file descriptors
  6564. used for busy servers. Bug reported by Olaf Selke; patch from
  6565. Sebastian Hahn.
  6566. o Minor features (other):
  6567. - When SafeLogging is disabled, log addresses along with all TLS
  6568. errors.
  6569. - When building with --enable-gcc-warnings, check for whether Apple's
  6570. warning "-Wshorten-64-to-32" is available.
  6571. - Add a --passphrase-fd argument to the tor-gencert command for
  6572. scriptability.
  6573. o Minor bugfixes (memory leaks and code problems):
  6574. - We were leaking a file descriptor if Tor started with a zero-length
  6575. cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
  6576. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  6577. Dan Kaminsky.
  6578. - We were comparing the raw BridgePassword entry with a base64'ed
  6579. version of it, when handling a "/tor/networkstatus-bridges"
  6580. directory request. Now compare correctly. Noticed by Veracode.
  6581. - Recover from bad tracked-since value in MTBF-history file.
  6582. Should fix bug 537.
  6583. - Alter the code that tries to recover from unhandled write
  6584. errors, to not try to flush onto a socket that's given us
  6585. unhandled errors. Bugfix on 0.1.2.x.
  6586. - Make Unix controlsockets work correctly on OpenBSD. Patch from
  6587. tup. Bugfix on 0.2.0.3-alpha.
  6588. o Minor bugfixes (other):
  6589. - If we have an extra-info document for our server, always make
  6590. it available on the control port, even if we haven't gotten
  6591. a copy of it from an authority yet. Patch from mwenge.
  6592. - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
  6593. - Directory mirrors no longer include a guess at the client's IP
  6594. address if the connection appears to be coming from the same /24
  6595. network; it was producing too many wrong guesses.
  6596. - Make the new hidden service code respect the SafeLogging setting.
  6597. Bugfix on 0.2.0.x. Patch from Karsten.
  6598. - When starting as an authority, do not overwrite all certificates
  6599. cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
  6600. - If we're trying to flush the last bytes on a connection (for
  6601. example, when answering a directory request), reset the
  6602. time-to-give-up timeout every time we manage to write something
  6603. on the socket. Bugfix on 0.1.2.x.
  6604. - Change the behavior of "getinfo status/good-server-descriptor"
  6605. so it doesn't return failure when any authority disappears.
  6606. - Even though the man page said that "TrackHostExits ." should
  6607. work, nobody had ever implemented it. Bugfix on 0.1.0.x.
  6608. - Report TLS "zero return" case as a "clean close" and "IO error"
  6609. as a "close". Stop calling closes "unexpected closes": existing
  6610. Tors don't use SSL_close(), so having a connection close without
  6611. the TLS shutdown handshake is hardly unexpected.
  6612. - Send NAMESERVER_STATUS messages for a single failed nameserver
  6613. correctly.
  6614. o Code simplifications and refactoring:
  6615. - Remove the tor_strpartition function: its logic was confused,
  6616. and it was only used for one thing that could be implemented far
  6617. more easily.
  6618. Changes in version 0.2.0.19-alpha - 2008-02-09
  6619. Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
  6620. handshake, makes path selection for relays more secure and IP address
  6621. guessing more robust, and generally fixes a lot of bugs in preparation
  6622. for calling the 0.2.0 branch stable.
  6623. o Major features:
  6624. - Do not include recognizeable strings in the commonname part of
  6625. Tor's x509 certificates.
  6626. o Major bugfixes:
  6627. - If we're a relay, avoid picking ourselves as an introduction point,
  6628. a rendezvous point, or as the final hop for internal circuits. Bug
  6629. reported by taranis and lodger. Bugfix on 0.1.2.x.
  6630. - Patch from "Andrew S. Lists" to catch when we contact a directory
  6631. mirror at IP address X and he says we look like we're coming from
  6632. IP address X. Bugfix on 0.1.2.x.
  6633. o Minor features (security):
  6634. - Be more paranoid about overwriting sensitive memory on free(),
  6635. as a defensive programming tactic to ensure forward secrecy.
  6636. o Minor features (directory authority):
  6637. - Actually validate the options passed to AuthDirReject,
  6638. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  6639. - Reject router descriptors with out-of-range bandwidthcapacity or
  6640. bandwidthburst values.
  6641. o Minor features (controller):
  6642. - Reject controller commands over 1MB in length. This keeps rogue
  6643. processes from running us out of memory.
  6644. o Minor features (misc):
  6645. - Give more descriptive well-formedness errors for out-of-range
  6646. hidden service descriptor/protocol versions.
  6647. - Make memory debugging information describe more about history
  6648. of cell allocation, so we can help reduce our memory use.
  6649. o Deprecated features (controller):
  6650. - The status/version/num-versioning and status/version/num-concurring
  6651. GETINFO options are no longer useful in the v3 directory protocol:
  6652. treat them as deprecated, and warn when they're used.
  6653. o Minor bugfixes:
  6654. - When our consensus networkstatus has been expired for a while, stop
  6655. being willing to build circuits using it. Fixes bug 401. Bugfix
  6656. on 0.1.2.x.
  6657. - Directory caches now fetch certificates from all authorities
  6658. listed in a networkstatus consensus, even when they do not
  6659. recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
  6660. - When connecting to a bridge without specifying its key, insert
  6661. the connection into the identity-to-connection map as soon as
  6662. a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
  6663. - Detect versions of OS X where malloc_good_size() is present in the
  6664. library but never actually declared. Resolves bug 587. Bugfix
  6665. on 0.2.0.x.
  6666. - Stop incorrectly truncating zlib responses to directory authority
  6667. signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
  6668. - Stop recommending that every server operator send mail to tor-ops.
  6669. Resolves bug 597. Bugfix on 0.1.2.x.
  6670. - Don't trigger an assert if we start a directory authority with a
  6671. private IP address (like 127.0.0.1).
  6672. - Avoid possible failures when generating a directory with routers
  6673. with over-long versions strings, or too many flags set. Bugfix
  6674. on 0.1.2.x.
  6675. - If an attempt to launch a DNS resolve request over the control
  6676. port fails because we have overrun the limit on the number of
  6677. connections, tell the controller that the request has failed.
  6678. - Avoid using too little bandwidth when our clock skips a few
  6679. seconds. Bugfix on 0.1.2.x.
  6680. - Fix shell error when warning about missing packages in configure
  6681. script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
  6682. - Do not become confused when receiving a spurious VERSIONS-like
  6683. cell from a confused v1 client. Bugfix on 0.2.0.x.
  6684. - Re-fetch v2 (as well as v0) rendezvous descriptors when all
  6685. introduction points for a hidden service have failed. Patch from
  6686. Karsten Loesing. Bugfix on 0.2.0.x.
  6687. o Code simplifications and refactoring:
  6688. - Remove some needless generality from cpuworker code, for improved
  6689. type-safety.
  6690. - Stop overloading the circuit_t.onionskin field for both "onionskin
  6691. from a CREATE cell that we are waiting for a cpuworker to be
  6692. assigned" and "onionskin from an EXTEND cell that we are going to
  6693. send to an OR as soon as we are connected". Might help with bug 600.
  6694. - Add an in-place version of aes_crypt() so that we can avoid doing a
  6695. needless memcpy() call on each cell payload.
  6696. Changes in version 0.2.0.18-alpha - 2008-01-25
  6697. Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
  6698. fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
  6699. that can warn or reject connections to ports generally associated with
  6700. vulnerable-plaintext protocols.
  6701. o New directory authorities:
  6702. - Set up dannenberg (run by CCC) as the sixth v3 directory
  6703. authority.
  6704. o Major bugfixes:
  6705. - Fix a major memory leak when attempting to use the v2 TLS
  6706. handshake code. Bugfix on 0.2.0.x; fixes bug 589.
  6707. - We accidentally enabled the under-development v2 TLS handshake
  6708. code, which was causing log entries like "TLS error while
  6709. renegotiating handshake". Disable it again. Resolves bug 590.
  6710. - We were computing the wrong Content-Length: header for directory
  6711. responses that need to be compressed on the fly, causing clients
  6712. asking for those items to always fail. Bugfix on 0.2.0.x; partially
  6713. fixes bug 593.
  6714. o Major features:
  6715. - Avoid going directly to the directory authorities even if you're a
  6716. relay, if you haven't found yourself reachable yet or if you've
  6717. decided not to advertise your dirport yet. Addresses bug 556.
  6718. - If we've gone 12 hours since our last bandwidth check, and we
  6719. estimate we have less than 50KB bandwidth capacity but we could
  6720. handle more, do another bandwidth test.
  6721. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  6722. Tor can warn and/or refuse connections to ports commonly used with
  6723. vulnerable-plaintext protocols. Currently we warn on ports 23,
  6724. 109, 110, and 143, but we don't reject any.
  6725. o Minor bugfixes:
  6726. - When we setconf ClientOnly to 1, close any current OR and Dir
  6727. listeners. Reported by mwenge.
  6728. - When we get a consensus that's been signed by more people than
  6729. we expect, don't log about it; it's not a big deal. Reported
  6730. by Kyle Williams.
  6731. o Minor features:
  6732. - Don't answer "/tor/networkstatus-bridges" directory requests if
  6733. the request isn't encrypted.
  6734. - Make "ClientOnly 1" config option disable directory ports too.
  6735. - Patches from Karsten Loesing to make v2 hidden services more
  6736. robust: work even when there aren't enough HSDir relays available;
  6737. retry when a v2 rend desc fetch fails; but don't retry if we
  6738. already have a usable v0 rend desc.
  6739. Changes in version 0.2.0.17-alpha - 2008-01-17
  6740. Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
  6741. o Compile fixes:
  6742. - Make the tor-gencert man page get included correctly in the tarball.
  6743. Changes in version 0.2.0.16-alpha - 2008-01-17
  6744. Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
  6745. Loesing, and generally cleans up a lot of features and minor bugs.
  6746. o New directory authorities:
  6747. - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
  6748. authority.
  6749. o Major performance improvements:
  6750. - Switch our old ring buffer implementation for one more like that
  6751. used by free Unix kernels. The wasted space in a buffer with 1mb
  6752. of data will now be more like 8k than 1mb. The new implementation
  6753. also avoids realloc();realloc(); patterns that can contribute to
  6754. memory fragmentation.
  6755. o Minor features:
  6756. - Configuration files now accept C-style strings as values. This
  6757. helps encode characters not allowed in the current configuration
  6758. file format, such as newline or #. Addresses bug 557.
  6759. - Although we fixed bug 539 (where servers would send HTTP status 503
  6760. responses _and_ send a body too), there are still servers out
  6761. there that haven't upgraded. Therefore, make clients parse such
  6762. bodies when they receive them.
  6763. - When we're not serving v2 directory information, there is no reason
  6764. to actually keep any around. Remove the obsolete files and directory
  6765. on startup if they are very old and we aren't going to serve them.
  6766. o Minor performance improvements:
  6767. - Reference-count and share copies of address policy entries; only 5%
  6768. of them were actually distinct.
  6769. - Never walk through the list of logs if we know that no log is
  6770. interested in a given message.
  6771. o Minor bugfixes:
  6772. - When an authority has not signed a consensus, do not try to
  6773. download a nonexistent "certificate with key 00000000". Bugfix
  6774. on 0.2.0.x. Fixes bug 569.
  6775. - Fix a rare assert error when we're closing one of our threads:
  6776. use a mutex to protect the list of logs, so we never write to the
  6777. list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
  6778. bug 575, which is kind of the revenge of bug 222.
  6779. - Patch from Karsten Loesing to complain less at both the client
  6780. and the relay when a relay used to have the HSDir flag but doesn't
  6781. anymore, and we try to upload a hidden service descriptor.
  6782. - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
  6783. 0.2.0.15-alpha.
  6784. - Do not try to download missing certificates until we have tried
  6785. to check our fallback consensus. Fixes bug 583.
  6786. - Make bridges round reported GeoIP stats info up to the nearest
  6787. estimate, not down. Now we can distinguish between "0 people from
  6788. this country" and "1 person from this country".
  6789. - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
  6790. - Avoid possible segfault if key generation fails in
  6791. crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
  6792. - Avoid segfault in the case where a badly behaved v2 versioning
  6793. directory sends a signed networkstatus with missing client-versions.
  6794. Bugfix on 0.1.2.
  6795. - Avoid segfaults on certain complex invocations of
  6796. router_get_by_hexdigest(). Bugfix on 0.1.2.
  6797. - Correct bad index on array access in parse_http_time(). Bugfix
  6798. on 0.2.0.
  6799. - Fix possible bug in vote generation when server versions are present
  6800. but client versions are not.
  6801. - Fix rare bug on REDIRECTSTREAM control command when called with no
  6802. port set: it could erroneously report an error when none had
  6803. happened.
  6804. - Avoid bogus crash-prone, leak-prone tor_realloc when we're
  6805. compressing large objects and find ourselves with more than 4k
  6806. left over. Bugfix on 0.2.0.
  6807. - Fix a small memory leak when setting up a hidden service.
  6808. - Fix a few memory leaks that could in theory happen under bizarre
  6809. error conditions.
  6810. - Fix an assert if we post a general-purpose descriptor via the
  6811. control port but that descriptor isn't mentioned in our current
  6812. network consensus. Bug reported by Jon McLachlan; bugfix on
  6813. 0.2.0.9-alpha.
  6814. o Minor features (controller):
  6815. - Get NS events working again. Patch from tup.
  6816. - The GETCONF command now escapes and quotes configuration values
  6817. that don't otherwise fit into the torrc file.
  6818. - The SETCONF command now handles quoted values correctly.
  6819. o Minor features (directory authorities):
  6820. - New configuration options to override default maximum number of
  6821. servers allowed on a single IP address. This is important for
  6822. running a test network on a single host.
  6823. - Actually implement the -s option to tor-gencert.
  6824. - Add a manual page for tor-gencert.
  6825. o Minor features (bridges):
  6826. - Bridge authorities no longer serve bridge descriptors over
  6827. unencrypted connections.
  6828. o Minor features (other):
  6829. - Add hidden services and DNSPorts to the list of things that make
  6830. Tor accept that it has running ports. Change starting Tor with no
  6831. ports from a fatal error to a warning; we might change it back if
  6832. this turns out to confuse anybody. Fixes bug 579.
  6833. Changes in version 0.1.2.19 - 2008-01-17
  6834. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  6835. exit policy a little bit more conservative so it's safer to run an
  6836. exit relay on a home system, and fixes a variety of smaller issues.
  6837. o Security fixes:
  6838. - Exit policies now reject connections that are addressed to a
  6839. relay's public (external) IP address too, unless
  6840. ExitPolicyRejectPrivate is turned off. We do this because too
  6841. many relays are running nearby to services that trust them based
  6842. on network address.
  6843. o Major bugfixes:
  6844. - When the clock jumps forward a lot, do not allow the bandwidth
  6845. buckets to become negative. Fixes bug 544.
  6846. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  6847. on every successful resolve. Reported by Mike Perry.
  6848. - Purge old entries from the "rephist" database and the hidden
  6849. service descriptor database even when DirPort is zero.
  6850. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  6851. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  6852. crashing or mis-answering these requests.
  6853. - When we decide to send a 503 response to a request for servers, do
  6854. not then also send the server descriptors: this defeats the whole
  6855. purpose. Fixes bug 539.
  6856. o Minor bugfixes:
  6857. - Changing the ExitPolicyRejectPrivate setting should cause us to
  6858. rebuild our server descriptor.
  6859. - Fix handling of hex nicknames when answering controller requests for
  6860. networkstatus by name, or when deciding whether to warn about
  6861. unknown routers in a config option. (Patch from mwenge.)
  6862. - Fix a couple of hard-to-trigger autoconf problems that could result
  6863. in really weird results on platforms whose sys/types.h files define
  6864. nonstandard integer types.
  6865. - Don't try to create the datadir when running --verify-config or
  6866. --hash-password. Resolves bug 540.
  6867. - If we were having problems getting a particular descriptor from the
  6868. directory caches, and then we learned about a new descriptor for
  6869. that router, we weren't resetting our failure count. Reported
  6870. by lodger.
  6871. - Although we fixed bug 539 (where servers would send HTTP status 503
  6872. responses _and_ send a body too), there are still servers out there
  6873. that haven't upgraded. Therefore, make clients parse such bodies
  6874. when they receive them.
  6875. - Run correctly on systems where rlim_t is larger than unsigned long.
  6876. This includes some 64-bit systems.
  6877. - Run correctly on platforms (like some versions of OS X 10.5) where
  6878. the real limit for number of open files is OPEN_FILES, not rlim_max
  6879. from getrlimit(RLIMIT_NOFILES).
  6880. - Avoid a spurious free on base64 failure.
  6881. - Avoid segfaults on certain complex invocations of
  6882. router_get_by_hexdigest().
  6883. - Fix rare bug on REDIRECTSTREAM control command when called with no
  6884. port set: it could erroneously report an error when none had
  6885. happened.
  6886. Changes in version 0.2.0.15-alpha - 2007-12-25
  6887. Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
  6888. features added in 0.2.0.13-alpha.
  6889. o Major bugfixes:
  6890. - Fix several remotely triggerable asserts based on DirPort requests
  6891. for a v2 or v3 networkstatus object before we were prepared. This
  6892. was particularly bad for 0.2.0.13 and later bridge relays, who
  6893. would never have a v2 networkstatus and would thus always crash
  6894. when used. Bugfixes on 0.2.0.x.
  6895. - Estimate the v3 networkstatus size more accurately, rather than
  6896. estimating it at zero bytes and giving it artificially high priority
  6897. compared to other directory requests. Bugfix on 0.2.0.x.
  6898. o Minor bugfixes:
  6899. - Fix configure.in logic for cross-compilation.
  6900. - When we load a bridge descriptor from the cache, and it was
  6901. previously unreachable, mark it as retriable so we won't just
  6902. ignore it. Also, try fetching a new copy immediately. Bugfixes
  6903. on 0.2.0.13-alpha.
  6904. - The bridge GeoIP stats were counting other relays, for example
  6905. self-reachability and authority-reachability tests.
  6906. o Minor features:
  6907. - Support compilation to target iPhone; patch from cjacker huang.
  6908. To build for iPhone, pass the --enable-iphone option to configure.
  6909. Changes in version 0.2.0.14-alpha - 2007-12-23
  6910. o Major bugfixes:
  6911. - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
  6912. without a datadirectory from a previous Tor install. Reported
  6913. by Zax.
  6914. - Fix a crash when we fetch a descriptor that turns out to be
  6915. unexpected (it used to be in our networkstatus when we started
  6916. fetching it, but it isn't in our current networkstatus), and we
  6917. aren't using bridges. Bugfix on 0.2.0.x.
  6918. - Fix a crash when accessing hidden services: it would work the first
  6919. time you use a given introduction point for your service, but
  6920. on subsequent requests we'd be using garbage memory. Fixed by
  6921. Karsten Loesing. Bugfix on 0.2.0.13-alpha.
  6922. - Fix a crash when we load a bridge descriptor from disk but we don't
  6923. currently have a Bridge line for it in our torrc. Bugfix on
  6924. 0.2.0.13-alpha.
  6925. o Major features:
  6926. - If bridge authorities set BridgePassword, they will serve a
  6927. snapshot of known bridge routerstatuses from their DirPort to
  6928. anybody who knows that password. Unset by default.
  6929. o Minor bugfixes:
  6930. - Make the unit tests build again.
  6931. - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
  6932. - Make PublishServerDescriptor default to 1, so the default doesn't
  6933. have to change as we invent new directory protocol versions.
  6934. - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
  6935. be included unless sys/time.h is already included. Fixes
  6936. bug 553. Bugfix on 0.2.0.x.
  6937. - If we receive a general-purpose descriptor and then receive an
  6938. identical bridge-purpose descriptor soon after, don't discard
  6939. the next one as a duplicate.
  6940. o Minor features:
  6941. - If BridgeRelay is set to 1, then the default for
  6942. PublishServerDescriptor is now "bridge" rather than "v2,v3".
  6943. - If the user sets RelayBandwidthRate but doesn't set
  6944. RelayBandwidthBurst, then make them equal rather than erroring out.
  6945. Changes in version 0.2.0.13-alpha - 2007-12-21
  6946. Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
  6947. Goodell, fixes many more bugs, and adds a lot of infrastructure for
  6948. upcoming features.
  6949. o New directory authorities:
  6950. - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
  6951. authority.
  6952. o Major bugfixes:
  6953. - Only update guard status (usable / not usable) once we have
  6954. enough directory information. This was causing us to always pick
  6955. two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
  6956. causing us to discard all our guards on startup if we hadn't been
  6957. running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
  6958. - Purge old entries from the "rephist" database and the hidden
  6959. service descriptor databases even when DirPort is zero. Bugfix
  6960. on 0.1.2.x.
  6961. - We were ignoring our RelayBandwidthRate for the first 30 seconds
  6962. after opening a circuit -- even a relayed circuit. Bugfix on
  6963. 0.2.0.3-alpha.
  6964. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  6965. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  6966. crashing or mis-answering these types of requests.
  6967. - Relays were publishing their server descriptor to v1 and v2
  6968. directory authorities, but they didn't try publishing to v3-only
  6969. authorities. Fix this; and also stop publishing to v1 authorities.
  6970. Bugfix on 0.2.0.x.
  6971. - When we were reading router descriptors from cache, we were ignoring
  6972. the annotations -- so for example we were reading in bridge-purpose
  6973. descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
  6974. - When we decided to send a 503 response to a request for servers, we
  6975. were then also sending the server descriptors: this defeats the
  6976. whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
  6977. o Major features:
  6978. - Bridge relays now behave like clients with respect to time
  6979. intervals for downloading new consensus documents -- otherwise they
  6980. stand out. Bridge users now wait until the end of the interval,
  6981. so their bridge relay will be sure to have a new consensus document.
  6982. - Three new config options (AlternateDirAuthority,
  6983. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  6984. user selectively replace the default directory authorities by type,
  6985. rather than the all-or-nothing replacement that DirServer offers.
  6986. - Tor can now be configured to read a GeoIP file from disk in one
  6987. of two formats. This can be used by controllers to map IP addresses
  6988. to countries. Eventually, it may support exit-by-country.
  6989. - When possible, bridge relays remember which countries users
  6990. are coming from, and report aggregate information in their
  6991. extra-info documents, so that the bridge authorities can learn
  6992. where Tor is blocked.
  6993. - Bridge directory authorities now do reachability testing on the
  6994. bridges they know. They provide router status summaries to the
  6995. controller via "getinfo ns/purpose/bridge", and also dump summaries
  6996. to a file periodically.
  6997. - Stop fetching directory info so aggressively if your DirPort is
  6998. on but your ORPort is off; stop fetching v2 dir info entirely.
  6999. You can override these choices with the new FetchDirInfoEarly
  7000. config option.
  7001. o Minor bugfixes:
  7002. - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
  7003. consensus documents when there are too many relays at a single
  7004. IP address. Now clear it in v2 network status documents too, and
  7005. also clear it in routerinfo_t when the relay is no longer listed
  7006. in the relevant networkstatus document.
  7007. - Don't crash if we get an unexpected value for the
  7008. PublishServerDescriptor config option. Reported by Matt Edman;
  7009. bugfix on 0.2.0.9-alpha.
  7010. - Our new v2 hidden service descriptor format allows descriptors
  7011. that have no introduction points. But Tor crashed when we tried
  7012. to build a descriptor with no intro points (and it would have
  7013. crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
  7014. by Karsten Loesing.
  7015. - Fix building with dmalloc 5.5.2 with glibc.
  7016. - Reject uploaded descriptors and extrainfo documents if they're
  7017. huge. Otherwise we'll cache them all over the network and it'll
  7018. clog everything up. Reported by Aljosha Judmayer.
  7019. - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
  7020. via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
  7021. - When the DANGEROUS_VERSION controller status event told us we're
  7022. running an obsolete version, it used the string "OLD" to describe
  7023. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  7024. "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
  7025. - If we can't expand our list of entry guards (e.g. because we're
  7026. using bridges or we have StrictEntryNodes set), don't mark relays
  7027. down when they fail a directory request. Otherwise we're too quick
  7028. to mark all our entry points down. Bugfix on 0.1.2.x.
  7029. - Fix handling of hex nicknames when answering controller requests for
  7030. networkstatus by name, or when deciding whether to warn about unknown
  7031. routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
  7032. - Fix a couple of hard-to-trigger autoconf problems that could result
  7033. in really weird results on platforms whose sys/types.h files define
  7034. nonstandard integer types. Bugfix on 0.1.2.x.
  7035. - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
  7036. - Don't crash on name lookup when we have no current consensus. Fixes
  7037. bug 538; bugfix on 0.2.0.x.
  7038. - Only Tors that want to mirror the v2 directory info should
  7039. create the "cached-status" directory in their datadir. (All Tors
  7040. used to create it.) Bugfix on 0.2.0.9-alpha.
  7041. - Directory authorities should only automatically download Extra Info
  7042. documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
  7043. o Minor features:
  7044. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  7045. consumers. (We already do this on HUP.)
  7046. - Authorities and caches fetch the v2 networkstatus documents
  7047. less often, now that v3 is encouraged.
  7048. - Add a new config option BridgeRelay that specifies you want to
  7049. be a bridge relay. Right now the only difference is that it makes
  7050. you answer begin_dir requests, and it makes you cache dir info,
  7051. even if your DirPort isn't on.
  7052. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  7053. ask about source, timestamp of arrival, purpose, etc. We need
  7054. something like this to help Vidalia not do GeoIP lookups on bridge
  7055. addresses.
  7056. - Allow multiple HashedControlPassword config lines, to support
  7057. multiple controller passwords.
  7058. - Authorities now decide whether they're authoritative for a given
  7059. router based on the router's purpose.
  7060. - New config options AuthDirBadDir and AuthDirListBadDirs for
  7061. authorities to mark certain relays as "bad directories" in the
  7062. networkstatus documents. Also supports the "!baddir" directive in
  7063. the approved-routers file.
  7064. Changes in version 0.2.0.12-alpha - 2007-11-16
  7065. This twelfth development snapshot fixes some more build problems as
  7066. well as a few minor bugs.
  7067. o Compile fixes:
  7068. - Make it build on OpenBSD again. Patch from tup.
  7069. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
  7070. package-building for Red Hat, OS X, etc.
  7071. o Minor bugfixes (on 0.1.2.x):
  7072. - Changing the ExitPolicyRejectPrivate setting should cause us to
  7073. rebuild our server descriptor.
  7074. o Minor bugfixes (on 0.2.0.x):
  7075. - When we're lacking a consensus, don't try to perform rendezvous
  7076. operations. Reported by Karsten Loesing.
  7077. - Fix a small memory leak whenever we decide against using a
  7078. newly picked entry guard. Reported by Mike Perry.
  7079. - When authorities detected more than two relays running on the same
  7080. IP address, they were clearing all the status flags but forgetting
  7081. to clear the "hsdir" flag. So clients were being told that a
  7082. given relay was the right choice for a v2 hsdir lookup, yet they
  7083. never had its descriptor because it was marked as 'not running'
  7084. in the consensus.
  7085. - If we're trying to fetch a bridge descriptor and there's no way
  7086. the bridge authority could help us (for example, we don't know
  7087. a digest, or there is no bridge authority), don't be so eager to
  7088. fall back to asking the bridge authority.
  7089. - If we're using bridges or have strictentrynodes set, and our
  7090. chosen exit is in the same family as all our bridges/entry guards,
  7091. then be flexible about families.
  7092. o Minor features:
  7093. - When we negotiate a v2 link-layer connection (not yet implemented),
  7094. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  7095. negotiated a v1 connection for their next step. Initial code for
  7096. proposal 110.
  7097. Changes in version 0.2.0.11-alpha - 2007-11-12
  7098. This eleventh development snapshot fixes some build problems with
  7099. the previous snapshot. It also includes a more secure-by-default exit
  7100. policy for relays, fixes an enormous memory leak for exit relays, and
  7101. fixes another bug where servers were falling out of the directory list.
  7102. o Security fixes:
  7103. - Exit policies now reject connections that are addressed to a
  7104. relay's public (external) IP address too, unless
  7105. ExitPolicyRejectPrivate is turned off. We do this because too
  7106. many relays are running nearby to services that trust them based
  7107. on network address. Bugfix on 0.1.2.x.
  7108. o Major bugfixes:
  7109. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  7110. on every successful resolve. Reported by Mike Perry; bugfix
  7111. on 0.1.2.x.
  7112. - On authorities, never downgrade to old router descriptors simply
  7113. because they're listed in the consensus. This created a catch-22
  7114. where we wouldn't list a new descriptor because there was an
  7115. old one in the consensus, and we couldn't get the new one in the
  7116. consensus because we wouldn't list it. Possible fix for bug 548.
  7117. Also, this might cause bug 543 to appear on authorities; if so,
  7118. we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
  7119. o Packaging fixes on 0.2.0.10-alpha:
  7120. - We were including instructions about what to do with the
  7121. src/config/fallback-consensus file, but we weren't actually
  7122. including it in the tarball. Disable all of that for now.
  7123. o Minor features:
  7124. - Allow people to say PreferTunnelledDirConns rather than
  7125. PreferTunneledDirConns, for those alternate-spellers out there.
  7126. o Minor bugfixes:
  7127. - Don't reevaluate all the information from our consensus document
  7128. just because we've downloaded a v2 networkstatus that we intend
  7129. to cache. Fixes bug 545; bugfix on 0.2.0.x.
  7130. Changes in version 0.2.0.10-alpha - 2007-11-10
  7131. This tenth development snapshot adds a third v3 directory authority
  7132. run by Mike Perry, adds most of Karsten Loesing's new hidden service
  7133. descriptor format, fixes a bad crash bug and new bridge bugs introduced
  7134. in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
  7135. fixes some minor memory leaks in previous 0.2.0.x snapshots, and
  7136. addresses many more minor issues.
  7137. o New directory authorities:
  7138. - Set up ides (run by Mike Perry) as the third v3 directory authority.
  7139. o Major features:
  7140. - Allow tunnelled directory connections to ask for an encrypted
  7141. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  7142. connection independently. Now we can make anonymized begin_dir
  7143. connections for (e.g.) more secure hidden service posting and
  7144. fetching.
  7145. - More progress on proposal 114: code from Karsten Loesing to
  7146. implement new hidden service descriptor format.
  7147. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  7148. accommodate the growing number of servers that use the default
  7149. and are reaching it.
  7150. - Directory authorities use a new formula for selecting which nodes
  7151. to advertise as Guards: they must be in the top 7/8 in terms of
  7152. how long we have known about them, and above the median of those
  7153. nodes in terms of weighted fractional uptime.
  7154. - Make "not enough dir info yet" warnings describe *why* Tor feels
  7155. it doesn't have enough directory info yet.
  7156. o Major bugfixes:
  7157. - Stop servers from crashing if they set a Family option (or
  7158. maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
  7159. by Fabian Keil.
  7160. - Make bridge users work again -- the move to v3 directories in
  7161. 0.2.0.9-alpha had introduced a number of bugs that made bridges
  7162. no longer work for clients.
  7163. - When the clock jumps forward a lot, do not allow the bandwidth
  7164. buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
  7165. o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
  7166. - When the consensus lists a router descriptor that we previously were
  7167. mirroring, but that we considered non-canonical, reload the
  7168. descriptor as canonical. This fixes bug 543 where Tor servers
  7169. would start complaining after a few days that they don't have
  7170. enough directory information to build a circuit.
  7171. - Consider replacing the current consensus when certificates arrive
  7172. that make the pending consensus valid. Previously, we were only
  7173. considering replacement when the new certs _didn't_ help.
  7174. - Fix an assert error on startup if we didn't already have the
  7175. consensus and certs cached in our datadirectory: we were caching
  7176. the consensus in consensus_waiting_for_certs but then free'ing it
  7177. right after.
  7178. - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
  7179. Request) if we need more v3 certs but we've already got pending
  7180. requests for all of them.
  7181. - Correctly back off from failing certificate downloads. Fixes
  7182. bug 546.
  7183. - Authorities don't vote on the Running flag if they have been running
  7184. for less than 30 minutes themselves. Fixes bug 547, where a newly
  7185. started authority would vote that everyone was down.
  7186. o New requirements:
  7187. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  7188. it, it had no AES, and it hasn't seen any security patches since
  7189. 2004.
  7190. o Minor features:
  7191. - Clients now hold circuitless TLS connections open for 1.5 times
  7192. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  7193. rebuild a new circuit over them within that timeframe. Previously,
  7194. they held them open only for KeepalivePeriod (5 minutes).
  7195. - Use "If-Modified-Since" to avoid retrieving consensus
  7196. networkstatuses that we already have.
  7197. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  7198. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  7199. we start knowing some directory caches.
  7200. - When we receive a consensus from the future, warn about skew.
  7201. - Improve skew reporting: try to give the user a better log message
  7202. about how skewed they are, and how much this matters.
  7203. - When we have a certificate for an authority, believe that
  7204. certificate's claims about the authority's IP address.
  7205. - New --quiet command-line option to suppress the default console log.
  7206. Good in combination with --hash-password.
  7207. - Authorities send back an X-Descriptor-Not-New header in response to
  7208. an accepted-but-discarded descriptor upload. Partially implements
  7209. fix for bug 535.
  7210. - Make the log message for "tls error. breaking." more useful.
  7211. - Better log messages about certificate downloads, to attempt to
  7212. track down the second incarnation of bug 546.
  7213. o Minor features (bridges):
  7214. - If bridge users set UpdateBridgesFromAuthority, but the digest
  7215. they ask for is a 404 from the bridge authority, they now fall
  7216. back to trying the bridge directly.
  7217. - Bridges now use begin_dir to publish their server descriptor to
  7218. the bridge authority, even when they haven't set TunnelDirConns.
  7219. o Minor features (controller):
  7220. - When reporting clock skew, and we know that the clock is _at least
  7221. as skewed_ as some value, but we don't know the actual value,
  7222. report the value as a "minimum skew."
  7223. o Utilities:
  7224. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  7225. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  7226. Perry.
  7227. o Minor bugfixes:
  7228. - Refuse to start if both ORPort and UseBridges are set. Bugfix
  7229. on 0.2.0.x, suggested by Matt Edman.
  7230. - Don't stop fetching descriptors when FetchUselessDescriptors is
  7231. set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
  7232. reported by tup and ioerror.
  7233. - Better log message on vote from unknown authority.
  7234. - Don't log "Launching 0 request for 0 router" message.
  7235. o Minor bugfixes (memory leaks):
  7236. - Stop leaking memory every time we parse a v3 certificate. Bugfix
  7237. on 0.2.0.1-alpha.
  7238. - Stop leaking memory every time we load a v3 certificate. Bugfix
  7239. on 0.2.0.1-alpha. Fixes bug 536.
  7240. - Stop leaking a cached networkstatus on exit. Bugfix on
  7241. 0.2.0.3-alpha.
  7242. - Stop leaking voter information every time we free a consensus.
  7243. Bugfix on 0.2.0.3-alpha.
  7244. - Stop leaking signed data every time we check a voter signature.
  7245. Bugfix on 0.2.0.3-alpha.
  7246. - Stop leaking a signature every time we fail to parse a consensus or
  7247. a vote. Bugfix on 0.2.0.3-alpha.
  7248. - Stop leaking v2_download_status_map on shutdown. Bugfix on
  7249. 0.2.0.9-alpha.
  7250. - Stop leaking conn->nickname every time we make a connection to a
  7251. Tor relay without knowing its expected identity digest (e.g. when
  7252. using bridges). Bugfix on 0.2.0.3-alpha.
  7253. - Minor bugfixes (portability):
  7254. - Run correctly on platforms where rlim_t is larger than unsigned
  7255. long, and/or where the real limit for number of open files is
  7256. OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
  7257. particular, these may be needed for OS X 10.5.
  7258. Changes in version 0.1.2.18 - 2007-10-28
  7259. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  7260. hidden service introduction that were causing huge delays, and a big
  7261. bug that was causing some servers to disappear from the network status
  7262. lists for a few hours each day.
  7263. o Major bugfixes (crashes):
  7264. - If a connection is shut down abruptly because of something that
  7265. happened inside connection_flushed_some(), do not call
  7266. connection_finished_flushing(). Should fix bug 451:
  7267. "connection_stop_writing: Assertion conn->write_event failed"
  7268. Bugfix on 0.1.2.7-alpha.
  7269. - Fix possible segfaults in functions called from
  7270. rend_process_relay_cell().
  7271. o Major bugfixes (hidden services):
  7272. - Hidden services were choosing introduction points uniquely by
  7273. hexdigest, but when constructing the hidden service descriptor
  7274. they merely wrote the (potentially ambiguous) nickname.
  7275. - Clients now use the v2 intro format for hidden service
  7276. connections: they specify their chosen rendezvous point by identity
  7277. digest rather than by (potentially ambiguous) nickname. These
  7278. changes could speed up hidden service connections dramatically.
  7279. o Major bugfixes (other):
  7280. - Stop publishing a new server descriptor just because we get a
  7281. HUP signal. This led (in a roundabout way) to some servers getting
  7282. dropped from the networkstatus lists for a few hours each day.
  7283. - When looking for a circuit to cannibalize, consider family as well
  7284. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  7285. circuit cannibalization).
  7286. - When a router wasn't listed in a new networkstatus, we were leaving
  7287. the flags for that router alone -- meaning it remained Named,
  7288. Running, etc -- even though absence from the networkstatus means
  7289. that it shouldn't be considered to exist at all anymore. Now we
  7290. clear all the flags for routers that fall out of the networkstatus
  7291. consensus. Fixes bug 529.
  7292. o Minor bugfixes:
  7293. - Don't try to access (or alter) the state file when running
  7294. --list-fingerprint or --verify-config or --hash-password. Resolves
  7295. bug 499.
  7296. - When generating information telling us how to extend to a given
  7297. router, do not try to include the nickname if it is
  7298. absent. Resolves bug 467.
  7299. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  7300. a way to trigger this remotely.)
  7301. - When sending a status event to the controller telling it that an
  7302. OR address is reachable, set the port correctly. (Previously we
  7303. were reporting the dir port.)
  7304. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  7305. command. Bugfix on 0.1.2.17.
  7306. - When loading bandwidth history, do not believe any information in
  7307. the future. Fixes bug 434.
  7308. - When loading entry guard information, do not believe any information
  7309. in the future.
  7310. - When we have our clock set far in the future and generate an
  7311. onion key, then re-set our clock to be correct, we should not stop
  7312. the onion key from getting rotated.
  7313. - On some platforms, accept() can return a broken address. Detect
  7314. this more quietly, and deal accordingly. Fixes bug 483.
  7315. - It's not actually an error to find a non-pending entry in the DNS
  7316. cache when canceling a pending resolve. Don't log unless stuff
  7317. is fishy. Resolves bug 463.
  7318. - Don't reset trusted dir server list when we set a configuration
  7319. option. Patch from Robert Hogan.
  7320. - Don't try to create the datadir when running --verify-config or
  7321. --hash-password. Resolves bug 540.
  7322. Changes in version 0.2.0.9-alpha - 2007-10-24
  7323. This ninth development snapshot switches clients to the new v3 directory
  7324. system; allows servers to be listed in the network status even when they
  7325. have the same nickname as a registered server; and fixes many other
  7326. bugs including a big one that was causing some servers to disappear
  7327. from the network status lists for a few hours each day.
  7328. o Major features (directory system):
  7329. - Clients now download v3 consensus networkstatus documents instead
  7330. of v2 networkstatus documents. Clients and caches now base their
  7331. opinions about routers on these consensus documents. Clients only
  7332. download router descriptors listed in the consensus.
  7333. - Authorities now list servers who have the same nickname as
  7334. a different named server, but list them with a new flag,
  7335. "Unnamed". Now we can list servers that happen to pick the same
  7336. nickname as a server that registered two years ago and then
  7337. disappeared. Partially implements proposal 122.
  7338. - If the consensus lists a router as "Unnamed", the name is assigned
  7339. to a different router: do not identify the router by that name.
  7340. Partially implements proposal 122.
  7341. - Authorities can now come to a consensus on which method to use to
  7342. compute the consensus. This gives us forward compatibility.
  7343. o Major bugfixes:
  7344. - Stop publishing a new server descriptor just because we HUP or
  7345. when we find our DirPort to be reachable but won't actually publish
  7346. it. New descriptors without any real changes are dropped by the
  7347. authorities, and can screw up our "publish every 18 hours" schedule.
  7348. Bugfix on 0.1.2.x.
  7349. - When a router wasn't listed in a new networkstatus, we were leaving
  7350. the flags for that router alone -- meaning it remained Named,
  7351. Running, etc -- even though absence from the networkstatus means
  7352. that it shouldn't be considered to exist at all anymore. Now we
  7353. clear all the flags for routers that fall out of the networkstatus
  7354. consensus. Fixes bug 529; bugfix on 0.1.2.x.
  7355. - Fix awful behavior in DownloadExtraInfo option where we'd fetch
  7356. extrainfo documents and then discard them immediately for not
  7357. matching the latest router. Bugfix on 0.2.0.1-alpha.
  7358. o Minor features (v3 directory protocol):
  7359. - Allow tor-gencert to generate a new certificate without replacing
  7360. the signing key.
  7361. - Allow certificates to include an address.
  7362. - When we change our directory-cache settings, reschedule all voting
  7363. and download operations.
  7364. - Reattempt certificate downloads immediately on failure, as long as
  7365. we haven't failed a threshold number of times yet.
  7366. - Delay retrying consensus downloads while we're downloading
  7367. certificates to verify the one we just got. Also, count getting a
  7368. consensus that we already have (or one that isn't valid) as a failure,
  7369. and count failing to get the certificates after 20 minutes as a
  7370. failure.
  7371. - Build circuits and download descriptors even if our consensus is a
  7372. little expired. (This feature will go away once authorities are
  7373. more reliable.)
  7374. o Minor features (router descriptor cache):
  7375. - If we find a cached-routers file that's been sitting around for more
  7376. than 28 days unmodified, then most likely it's a leftover from
  7377. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  7378. routers anyway.
  7379. - When we (as a cache) download a descriptor because it was listed
  7380. in a consensus, remember when the consensus was supposed to expire,
  7381. and don't expire the descriptor until then.
  7382. o Minor features (performance):
  7383. - Call routerlist_remove_old_routers() much less often. This should
  7384. speed startup, especially on directory caches.
  7385. - Don't try to launch new descriptor downloads quite so often when we
  7386. already have enough directory information to build circuits.
  7387. - Base64 decoding was actually showing up on our profile when parsing
  7388. the initial descriptor file; switch to an in-process all-at-once
  7389. implementation that's about 3.5x times faster than calling out to
  7390. OpenSSL.
  7391. o Minor features (compilation):
  7392. - Detect non-ASCII platforms (if any still exist) and refuse to
  7393. build there: some of our code assumes that 'A' is 65 and so on.
  7394. o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
  7395. - Make the "next period" votes into "current period" votes immediately
  7396. after publishing the consensus; avoid a heisenbug that made them
  7397. stick around indefinitely.
  7398. - When we discard a vote as a duplicate, do not report this as
  7399. an error.
  7400. - Treat missing v3 keys or certificates as an error when running as a
  7401. v3 directory authority.
  7402. - When we're configured to be a v3 authority, but we're only listed
  7403. as a non-v3 authority in our DirServer line for ourself, correct
  7404. the listing.
  7405. - If an authority doesn't have a qualified hostname, just put
  7406. its address in the vote. This fixes the problem where we referred to
  7407. "moria on moria:9031."
  7408. - Distinguish between detached signatures for the wrong period, and
  7409. detached signatures for a divergent vote.
  7410. - Fix a small memory leak when computing a consensus.
  7411. - When there's no concensus, we were forming a vote every 30
  7412. minutes, but writing the "valid-after" line in our vote based
  7413. on our configured V3AuthVotingInterval: so unless the intervals
  7414. matched up, we immediately rejected our own vote because it didn't
  7415. start at the voting interval that caused us to construct a vote.
  7416. o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
  7417. - Delete unverified-consensus when the real consensus is set.
  7418. - Consider retrying a consensus networkstatus fetch immediately
  7419. after one fails: don't wait 60 seconds to notice.
  7420. - When fetching a consensus as a cache, wait until a newer consensus
  7421. should exist before trying to replace the current one.
  7422. - Use a more forgiving schedule for retrying failed consensus
  7423. downloads than for other types.
  7424. o Minor bugfixes (other directory issues):
  7425. - Correct the implementation of "download votes by digest." Bugfix on
  7426. 0.2.0.8-alpha.
  7427. - Authorities no longer send back "400 you're unreachable please fix
  7428. it" errors to Tor servers that aren't online all the time. We're
  7429. supposed to tolerate these servers now. Bugfix on 0.1.2.x.
  7430. o Minor bugfixes (controller):
  7431. - Don't reset trusted dir server list when we set a configuration
  7432. option. Patch from Robert Hogan; bugfix on 0.1.2.x.
  7433. - Respond to INT and TERM SIGNAL commands before we execute the
  7434. signal, in case the signal shuts us down. We had a patch in
  7435. 0.1.2.1-alpha that tried to do this by queueing the response on
  7436. the connection's buffer before shutting down, but that really
  7437. isn't the same thing at all. Bug located by Matt Edman.
  7438. o Minor bugfixes (misc):
  7439. - Correctly check for bad options to the "PublishServerDescriptor"
  7440. config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
  7441. - Stop leaking memory on failing case of base32_decode, and make
  7442. it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
  7443. - Don't try to download extrainfo documents when we're trying to
  7444. fetch enough directory info to build a circuit: having enough
  7445. info should get priority. Bugfix on 0.2.0.x.
  7446. - Don't complain that "your server has not managed to confirm that its
  7447. ports are reachable" if we haven't been able to build any circuits
  7448. yet. Bug found by spending four hours without a v3 consensus. Bugfix
  7449. on 0.1.2.x.
  7450. - Detect the reason for failing to mmap a descriptor file we just
  7451. wrote, and give a more useful log message. Fixes bug 533. Bugfix
  7452. on 0.1.2.x.
  7453. o Code simplifications and refactoring:
  7454. - Remove support for the old bw_accounting file: we've been storing
  7455. bandwidth accounting information in the state file since
  7456. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  7457. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  7458. downgrade to 0.1.1.x or earlier.
  7459. - New convenience code to locate a file within the DataDirectory.
  7460. - Move non-authority functionality out of dirvote.c.
  7461. - Refactor the arguments for router_pick_{directory_|trusteddir}server
  7462. so that they all take the same named flags.
  7463. o Utilities
  7464. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  7465. Unix users an easy way to script their Tor process (e.g. by
  7466. adjusting bandwidth based on the time of the day).
  7467. Changes in version 0.2.0.8-alpha - 2007-10-12
  7468. This eighth development snapshot fixes a crash bug that's been bothering
  7469. us since February 2007, lets bridge authorities store a list of bridge
  7470. descriptors they've seen, gets v3 directory voting closer to working,
  7471. starts caching v3 directory consensus documents on directory mirrors,
  7472. and fixes a variety of smaller issues including some minor memory leaks.
  7473. o Major features (router descriptor cache):
  7474. - Store routers in a file called cached-descriptors instead of in
  7475. cached-routers. Initialize cached-descriptors from cached-routers
  7476. if the old format is around. The new format allows us to store
  7477. annotations along with descriptors.
  7478. - Use annotations to record the time we received each descriptor, its
  7479. source, and its purpose.
  7480. - Disable the SETROUTERPURPOSE controller command: it is now
  7481. obsolete.
  7482. - Controllers should now specify cache=no or cache=yes when using
  7483. the +POSTDESCRIPTOR command.
  7484. - Bridge authorities now write bridge descriptors to disk, meaning
  7485. we can export them to other programs and begin distributing them
  7486. to blocked users.
  7487. o Major features (directory authorities):
  7488. - When a v3 authority is missing votes or signatures, it now tries
  7489. to fetch them.
  7490. - Directory authorities track weighted fractional uptime as well as
  7491. weighted mean-time-between failures. WFU is suitable for deciding
  7492. whether a node is "usually up", while MTBF is suitable for deciding
  7493. whether a node is "likely to stay up." We need both, because
  7494. "usually up" is a good requirement for guards, while "likely to
  7495. stay up" is a good requirement for long-lived connections.
  7496. o Major features (v3 directory system):
  7497. - Caches now download v3 network status documents as needed,
  7498. and download the descriptors listed in them.
  7499. - All hosts now attempt to download and keep fresh v3 authority
  7500. certificates, and re-attempt after failures.
  7501. - More internal-consistency checks for vote parsing.
  7502. o Major bugfixes (crashes):
  7503. - If a connection is shut down abruptly because of something that
  7504. happened inside connection_flushed_some(), do not call
  7505. connection_finished_flushing(). Should fix bug 451. Bugfix on
  7506. 0.1.2.7-alpha.
  7507. o Major bugfixes (performance):
  7508. - Fix really bad O(n^2) performance when parsing a long list of
  7509. routers: Instead of searching the entire list for an "extra-info "
  7510. string which usually wasn't there, once for every routerinfo
  7511. we read, just scan lines forward until we find one we like.
  7512. Bugfix on 0.2.0.1.
  7513. - When we add data to a write buffer in response to the data on that
  7514. write buffer getting low because of a flush, do not consider the
  7515. newly added data as a candidate for immediate flushing, but rather
  7516. make it wait until the next round of writing. Otherwise, we flush
  7517. and refill recursively, and a single greedy TLS connection can
  7518. eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
  7519. o Minor features (v3 authority system):
  7520. - Add more ways for tools to download the votes that lead to the
  7521. current consensus.
  7522. - Send a 503 when low on bandwidth and a vote, consensus, or
  7523. certificate is requested.
  7524. - If-modified-since is now implemented properly for all kinds of
  7525. certificate requests.
  7526. o Minor bugfixes (network statuses):
  7527. - Tweak the implementation of proposal 109 slightly: allow at most
  7528. two Tor servers on the same IP address, except if it's the location
  7529. of a directory authority, in which case allow five. Bugfix on
  7530. 0.2.0.3-alpha.
  7531. o Minor bugfixes (controller):
  7532. - When sending a status event to the controller telling it that an
  7533. OR address is reachable, set the port correctly. (Previously we
  7534. were reporting the dir port.) Bugfix on 0.1.2.x.
  7535. o Minor bugfixes (v3 directory system):
  7536. - Fix logic to look up a cert by its signing key digest. Bugfix on
  7537. 0.2.0.7-alpha.
  7538. - Only change the reply to a vote to "OK" if it's not already
  7539. set. This gets rid of annoying "400 OK" log messages, which may
  7540. have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
  7541. - When we get a valid consensus, recompute the voting schedule.
  7542. - Base the valid-after time of a vote on the consensus voting
  7543. schedule, not on our preferred schedule.
  7544. - Make the return values and messages from signature uploads and
  7545. downloads more sensible.
  7546. - Fix a memory leak when serving votes and consensus documents, and
  7547. another when serving certificates.
  7548. o Minor bugfixes (performance):
  7549. - Use a slightly simpler string hashing algorithm (copying Python's
  7550. instead of Java's) and optimize our digest hashing algorithm to take
  7551. advantage of 64-bit platforms and to remove some possibly-costly
  7552. voodoo.
  7553. - Fix a minor memory leak whenever we parse guards from our state
  7554. file. Bugfix on 0.2.0.7-alpha.
  7555. - Fix a minor memory leak whenever we write out a file. Bugfix on
  7556. 0.2.0.7-alpha.
  7557. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  7558. command. Bugfix on 0.2.0.5-alpha.
  7559. o Minor bugfixes (portability):
  7560. - On some platforms, accept() can return a broken address. Detect
  7561. this more quietly, and deal accordingly. Fixes bug 483.
  7562. - Stop calling tor_strlower() on uninitialized memory in some cases.
  7563. Bugfix in 0.2.0.7-alpha.
  7564. o Minor bugfixes (usability):
  7565. - Treat some 403 responses from directory servers as INFO rather than
  7566. WARN-severity events.
  7567. - It's not actually an error to find a non-pending entry in the DNS
  7568. cache when canceling a pending resolve. Don't log unless stuff is
  7569. fishy. Resolves bug 463.
  7570. o Minor bugfixes (anonymity):
  7571. - Never report that we've used more bandwidth than we're willing to
  7572. relay: it leaks how much non-relay traffic we're using. Resolves
  7573. bug 516.
  7574. - When looking for a circuit to cannibalize, consider family as well
  7575. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  7576. circuit cannibalization).
  7577. o Code simplifications and refactoring:
  7578. - Make a bunch of functions static. Remove some dead code.
  7579. - Pull out about a third of the really big routerlist.c; put it in a
  7580. new module, networkstatus.c.
  7581. - Merge the extra fields in local_routerstatus_t back into
  7582. routerstatus_t: we used to need one routerstatus_t for each
  7583. authority's opinion, plus a local_routerstatus_t for the locally
  7584. computed consensus opinion. To save space, we put the locally
  7585. modified fields into local_routerstatus_t, and only the common
  7586. stuff into routerstatus_t. But once v3 directories are in use,
  7587. clients and caches will no longer need to hold authority opinions;
  7588. thus, the rationale for keeping the types separate is now gone.
  7589. - Make the code used to reschedule and reattempt downloads more
  7590. uniform.
  7591. - Turn all 'Are we a directory server/mirror?' logic into a call to
  7592. dirserver_mode().
  7593. - Remove the code to generate the oldest (v1) directory format.
  7594. The code has been disabled since 0.2.0.5-alpha.
  7595. Changes in version 0.2.0.7-alpha - 2007-09-21
  7596. This seventh development snapshot makes bridges work again, makes bridge
  7597. authorities work for the first time, fixes two huge performance flaws
  7598. in hidden services, and fixes a variety of minor issues.
  7599. o New directory authorities:
  7600. - Set up moria1 and tor26 as the first v3 directory authorities. See
  7601. doc/spec/dir-spec.txt for details on the new directory design.
  7602. o Major bugfixes (crashes):
  7603. - Fix possible segfaults in functions called from
  7604. rend_process_relay_cell(). Bugfix on 0.1.2.x.
  7605. o Major bugfixes (bridges):
  7606. - Fix a bug that made servers send a "404 Not found" in response to
  7607. attempts to fetch their server descriptor. This caused Tor servers
  7608. to take many minutes to establish reachability for their DirPort,
  7609. and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
  7610. - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
  7611. users configure that and specify a bridge with an identity
  7612. fingerprint, now they will lookup the bridge descriptor at the
  7613. default bridge authority via a one-hop tunnel, but once circuits
  7614. are established they will switch to a three-hop tunnel for later
  7615. connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
  7616. o Major bugfixes (hidden services):
  7617. - Hidden services were choosing introduction points uniquely by
  7618. hexdigest, but when constructing the hidden service descriptor
  7619. they merely wrote the (potentially ambiguous) nickname.
  7620. - Clients now use the v2 intro format for hidden service
  7621. connections: they specify their chosen rendezvous point by identity
  7622. digest rather than by (potentially ambiguous) nickname. Both
  7623. are bugfixes on 0.1.2.x, and they could speed up hidden service
  7624. connections dramatically. Thanks to Karsten Loesing.
  7625. o Minor features (security):
  7626. - As a client, do not believe any server that tells us that an
  7627. address maps to an internal address space.
  7628. - Make it possible to enable HashedControlPassword and
  7629. CookieAuthentication at the same time.
  7630. o Minor features (guard nodes):
  7631. - Tag every guard node in our state file with the version that
  7632. we believe added it, or with our own version if we add it. This way,
  7633. if a user temporarily runs an old version of Tor and then switches
  7634. back to a new one, she doesn't automatically lose her guards.
  7635. o Minor features (speed):
  7636. - When implementing AES counter mode, update only the portions of the
  7637. counter buffer that need to change, and don't keep separate
  7638. network-order and host-order counters when they are the same (i.e.,
  7639. on big-endian hosts.)
  7640. o Minor features (controller):
  7641. - Accept LF instead of CRLF on controller, since some software has a
  7642. hard time generating real Internet newlines.
  7643. - Add GETINFO values for the server status events
  7644. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  7645. Robert Hogan.
  7646. o Removed features:
  7647. - Routers no longer include bandwidth-history lines in their
  7648. descriptors; this information is already available in extra-info
  7649. documents, and including it in router descriptors took up 60%
  7650. (!) of compressed router descriptor downloads. Completes
  7651. implementation of proposal 104.
  7652. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  7653. and TorControl.py, as they use the old v0 controller protocol,
  7654. and are obsoleted by TorFlow anyway.
  7655. - Drop support for v1 rendezvous descriptors, since we never used
  7656. them anyway, and the code has probably rotted by now. Based on
  7657. patch from Karsten Loesing.
  7658. - On OSX, stop warning the user that kqueue support in libevent is
  7659. "experimental", since it seems to have worked fine for ages.
  7660. o Minor bugfixes:
  7661. - When generating information telling us how to extend to a given
  7662. router, do not try to include the nickname if it is absent. Fixes
  7663. bug 467. Bugfix on 0.2.0.3-alpha.
  7664. - Fix a user-triggerable (but not remotely-triggerable) segfault
  7665. in expand_filename(). Bugfix on 0.1.2.x.
  7666. - Fix a memory leak when freeing incomplete requests from DNSPort.
  7667. Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
  7668. - Don't try to access (or alter) the state file when running
  7669. --list-fingerprint or --verify-config or --hash-password. (Resolves
  7670. bug 499.) Bugfix on 0.1.2.x.
  7671. - Servers used to decline to publish their DirPort if their
  7672. BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
  7673. were below a threshold. Now they only look at BandwidthRate and
  7674. RelayBandwidthRate. Bugfix on 0.1.2.x.
  7675. - Remove an optimization in the AES counter-mode code that assumed
  7676. that the counter never exceeded 2^68. When the counter can be set
  7677. arbitrarily as an IV (as it is by Karsten's new hidden services
  7678. code), this assumption no longer holds. Bugfix on 0.1.2.x.
  7679. - Resume listing "AUTHORITY" flag for authorities in network status.
  7680. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
  7681. o Code simplifications and refactoring:
  7682. - Revamp file-writing logic so we don't need to have the entire
  7683. contents of a file in memory at once before we write to disk. Tor,
  7684. meet stdio.
  7685. - Turn "descriptor store" into a full-fledged type.
  7686. - Move all NT services code into a separate source file.
  7687. - Unify all code that computes medians, percentile elements, etc.
  7688. - Get rid of a needless malloc when parsing address policies.
  7689. Changes in version 0.1.2.17 - 2007-08-30
  7690. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  7691. X bundles. Vidalia 0.0.14 makes authentication required for the
  7692. ControlPort in the default configuration, which addresses important
  7693. security risks. Everybody who uses Vidalia (or another controller)
  7694. should upgrade.
  7695. In addition, this Tor update fixes major load balancing problems with
  7696. path selection, which should speed things up a lot once many people
  7697. have upgraded.
  7698. o Major bugfixes (security):
  7699. - We removed support for the old (v0) control protocol. It has been
  7700. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  7701. become more of a headache than it's worth.
  7702. o Major bugfixes (load balancing):
  7703. - When choosing nodes for non-guard positions, weight guards
  7704. proportionally less, since they already have enough load. Patch
  7705. from Mike Perry.
  7706. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  7707. will allow fast Tor servers to get more attention.
  7708. - When we're upgrading from an old Tor version, forget our current
  7709. guards and pick new ones according to the new weightings. These
  7710. three load balancing patches could raise effective network capacity
  7711. by a factor of four. Thanks to Mike Perry for measurements.
  7712. o Major bugfixes (stream expiration):
  7713. - Expire not-yet-successful application streams in all cases if
  7714. they've been around longer than SocksTimeout. Right now there are
  7715. some cases where the stream will live forever, demanding a new
  7716. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  7717. o Minor features (controller):
  7718. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  7719. is valid before any authentication has been received. It tells
  7720. a controller what kind of authentication is expected, and what
  7721. protocol is spoken. Implements proposal 119.
  7722. o Minor bugfixes (performance):
  7723. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  7724. greatly speeding up loading cached-routers from disk on startup.
  7725. - Disable sentinel-based debugging for buffer code: we squashed all
  7726. the bugs that this was supposed to detect a long time ago, and now
  7727. its only effect is to change our buffer sizes from nice powers of
  7728. two (which platform mallocs tend to like) to values slightly over
  7729. powers of two (which make some platform mallocs sad).
  7730. o Minor bugfixes (misc):
  7731. - If exit bandwidth ever exceeds one third of total bandwidth, then
  7732. use the correct formula to weight exit nodes when choosing paths.
  7733. Based on patch from Mike Perry.
  7734. - Choose perfectly fairly among routers when choosing by bandwidth and
  7735. weighting by fraction of bandwidth provided by exits. Previously, we
  7736. would choose with only approximate fairness, and correct ourselves
  7737. if we ran off the end of the list.
  7738. - If we require CookieAuthentication but we fail to write the
  7739. cookie file, we would warn but not exit, and end up in a state
  7740. where no controller could authenticate. Now we exit.
  7741. - If we require CookieAuthentication, stop generating a new cookie
  7742. every time we change any piece of our config.
  7743. - Refuse to start with certain directory authority keys, and
  7744. encourage people using them to stop.
  7745. - Terminate multi-line control events properly. Original patch
  7746. from tup.
  7747. - Fix a minor memory leak when we fail to find enough suitable
  7748. servers to choose a circuit.
  7749. - Stop leaking part of the descriptor when we run into a particularly
  7750. unparseable piece of it.
  7751. Changes in version 0.2.0.6-alpha - 2007-08-26
  7752. This sixth development snapshot features a new Vidalia version in the
  7753. Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
  7754. the ControlPort in the default configuration, which addresses important
  7755. security risks.
  7756. In addition, this snapshot fixes major load balancing problems
  7757. with path selection, which should speed things up a lot once many
  7758. people have upgraded. The directory authorities also use a new
  7759. mean-time-between-failure approach to tracking which servers are stable,
  7760. rather than just looking at the most recent uptime.
  7761. o New directory authorities:
  7762. - Set up Tonga as the default bridge directory authority.
  7763. o Major features:
  7764. - Directory authorities now track servers by weighted
  7765. mean-times-between-failures. When we have 4 or more days of data,
  7766. use measured MTBF rather than declared uptime to decide whether
  7767. to call a router Stable. Implements proposal 108.
  7768. o Major bugfixes (load balancing):
  7769. - When choosing nodes for non-guard positions, weight guards
  7770. proportionally less, since they already have enough load. Patch
  7771. from Mike Perry.
  7772. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  7773. will allow fast Tor servers to get more attention.
  7774. - When we're upgrading from an old Tor version, forget our current
  7775. guards and pick new ones according to the new weightings. These
  7776. three load balancing patches could raise effective network capacity
  7777. by a factor of four. Thanks to Mike Perry for measurements.
  7778. o Major bugfixes (descriptor parsing):
  7779. - Handle unexpected whitespace better in malformed descriptors. Bug
  7780. found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
  7781. o Minor features:
  7782. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  7783. GETINFO for Torstat to use until it can switch to using extrainfos.
  7784. - Optionally (if built with -DEXPORTMALLINFO) export the output
  7785. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  7786. from localhost.
  7787. o Minor bugfixes:
  7788. - Do not intermix bridge routers with controller-added
  7789. routers. (Bugfix on 0.2.0.x)
  7790. - Do not fail with an assert when accept() returns an unexpected
  7791. address family. Addresses but does not wholly fix bug 483. (Bugfix
  7792. on 0.2.0.x)
  7793. - Let directory authorities startup even when they can't generate
  7794. a descriptor immediately, e.g. because they don't know their
  7795. address.
  7796. - Stop putting the authentication cookie in a file called "0"
  7797. in your working directory if you don't specify anything for the
  7798. new CookieAuthFile option. Reported by Matt Edman.
  7799. - Make it possible to read the PROTOCOLINFO response in a way that
  7800. conforms to our control-spec. Reported by Matt Edman.
  7801. - Fix a minor memory leak when we fail to find enough suitable
  7802. servers to choose a circuit. Bugfix on 0.1.2.x.
  7803. - Stop leaking part of the descriptor when we run into a particularly
  7804. unparseable piece of it. Bugfix on 0.1.2.x.
  7805. - Unmap the extrainfo cache file on exit.
  7806. Changes in version 0.2.0.5-alpha - 2007-08-19
  7807. This fifth development snapshot fixes compilation on Windows again;
  7808. fixes an obnoxious client-side bug that slowed things down and put
  7809. extra load on the network; gets us closer to using the v3 directory
  7810. voting scheme; makes it easier for Tor controllers to use cookie-based
  7811. authentication; and fixes a variety of other bugs.
  7812. o Removed features:
  7813. - Version 1 directories are no longer generated in full. Instead,
  7814. authorities generate and serve "stub" v1 directories that list
  7815. no servers. This will stop Tor versions 0.1.0.x and earlier from
  7816. working, but (for security reasons) nobody should be running those
  7817. versions anyway.
  7818. o Major bugfixes (compilation, 0.2.0.x):
  7819. - Try to fix Win32 compilation again: improve checking for IPv6 types.
  7820. - Try to fix MSVC compilation: build correctly on platforms that do
  7821. not define s6_addr16 or s6_addr32.
  7822. - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
  7823. Zhou.
  7824. o Major bugfixes (stream expiration):
  7825. - Expire not-yet-successful application streams in all cases if
  7826. they've been around longer than SocksTimeout. Right now there are
  7827. some cases where the stream will live forever, demanding a new
  7828. circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
  7829. reported by lodger.
  7830. o Minor features (directory servers):
  7831. - When somebody requests a list of statuses or servers, and we have
  7832. none of those, return a 404 rather than an empty 200.
  7833. o Minor features (directory voting):
  7834. - Store v3 consensus status consensuses on disk, and reload them
  7835. on startup.
  7836. o Minor features (security):
  7837. - Warn about unsafe ControlPort configurations.
  7838. - Refuse to start with certain directory authority keys, and
  7839. encourage people using them to stop.
  7840. o Minor features (controller):
  7841. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  7842. is valid before any authentication has been received. It tells
  7843. a controller what kind of authentication is expected, and what
  7844. protocol is spoken. Implements proposal 119.
  7845. - New config option CookieAuthFile to choose a new location for the
  7846. cookie authentication file, and config option
  7847. CookieAuthFileGroupReadable to make it group-readable.
  7848. o Minor features (unit testing):
  7849. - Add command-line arguments to unit-test executable so that we can
  7850. invoke any chosen test from the command line rather than having
  7851. to run the whole test suite at once; and so that we can turn on
  7852. logging for the unit tests.
  7853. o Minor bugfixes (on 0.1.2.x):
  7854. - If we require CookieAuthentication but we fail to write the
  7855. cookie file, we would warn but not exit, and end up in a state
  7856. where no controller could authenticate. Now we exit.
  7857. - If we require CookieAuthentication, stop generating a new cookie
  7858. every time we change any piece of our config.
  7859. - When loading bandwidth history, do not believe any information in
  7860. the future. Fixes bug 434.
  7861. - When loading entry guard information, do not believe any information
  7862. in the future.
  7863. - When we have our clock set far in the future and generate an
  7864. onion key, then re-set our clock to be correct, we should not stop
  7865. the onion key from getting rotated.
  7866. - Clean up torrc sample config file.
  7867. - Do not automatically run configure from autogen.sh. This
  7868. non-standard behavior tended to annoy people who have built other
  7869. programs.
  7870. o Minor bugfixes (on 0.2.0.x):
  7871. - Fix a bug with AutomapHostsOnResolve that would always cause
  7872. the second request to fail. Bug reported by Kate. Bugfix on
  7873. 0.2.0.3-alpha.
  7874. - Fix a bug in ADDRMAP controller replies that would sometimes
  7875. try to print a NULL. Patch from tup.
  7876. - Read v3 directory authority keys from the right location.
  7877. - Numerous bugfixes to directory voting code.
  7878. Changes in version 0.1.2.16 - 2007-08-01
  7879. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  7880. remote attacker in certain situations to rewrite the user's torrc
  7881. configuration file. This can completely compromise anonymity of users
  7882. in most configurations, including those running the Vidalia bundles,
  7883. TorK, etc. Or worse.
  7884. o Major security fixes:
  7885. - Close immediately after missing authentication on control port;
  7886. do not allow multiple authentication attempts.
  7887. Changes in version 0.2.0.4-alpha - 2007-08-01
  7888. This fourth development snapshot fixes a critical security vulnerability
  7889. for most users, specifically those running Vidalia, TorK, etc. Everybody
  7890. should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
  7891. o Major security fixes:
  7892. - Close immediately after missing authentication on control port;
  7893. do not allow multiple authentication attempts.
  7894. o Major bugfixes (compilation):
  7895. - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
  7896. defined there.
  7897. o Minor features (performance):
  7898. - Be even more aggressive about releasing RAM from small
  7899. empty buffers. Thanks to our free-list code, this shouldn't be too
  7900. performance-intensive.
  7901. - Disable sentinel-based debugging for buffer code: we squashed all
  7902. the bugs that this was supposed to detect a long time ago, and
  7903. now its only effect is to change our buffer sizes from nice
  7904. powers of two (which platform mallocs tend to like) to values
  7905. slightly over powers of two (which make some platform mallocs sad).
  7906. - Log malloc statistics from mallinfo() on platforms where it
  7907. exists.
  7908. Changes in version 0.2.0.3-alpha - 2007-07-29
  7909. This third development snapshot introduces new experimental
  7910. blocking-resistance features and a preliminary version of the v3
  7911. directory voting design, and includes many other smaller features
  7912. and bugfixes.
  7913. o Major features:
  7914. - The first pieces of our "bridge" design for blocking-resistance
  7915. are implemented. People can run bridge directory authorities;
  7916. people can run bridges; and people can configure their Tor clients
  7917. with a set of bridges to use as the first hop into the Tor network.
  7918. See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
  7919. details.
  7920. - Create listener connections before we setuid to the configured
  7921. User and Group. Now non-Windows users can choose port values
  7922. under 1024, start Tor as root, and have Tor bind those ports
  7923. before it changes to another UID. (Windows users could already
  7924. pick these ports.)
  7925. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  7926. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  7927. on "vserver" accounts. (Patch from coderman.)
  7928. - Be even more aggressive about separating local traffic from relayed
  7929. traffic when RelayBandwidthRate is set. (Refines proposal 111.)
  7930. o Major features (experimental):
  7931. - First cut of code for "v3 dir voting": directory authorities will
  7932. vote on a common network status document rather than each publishing
  7933. their own opinion. This code needs more testing and more corner-case
  7934. handling before it's ready for use.
  7935. o Security fixes:
  7936. - Directory authorities now call routers Fast if their bandwidth is
  7937. at least 100KB/s, and consider their bandwidth adequate to be a
  7938. Guard if it is at least 250KB/s, no matter the medians. This fix
  7939. complements proposal 107. [Bugfix on 0.1.2.x]
  7940. - Directory authorities now never mark more than 3 servers per IP as
  7941. Valid and Running. (Implements proposal 109, by Kevin Bauer and
  7942. Damon McCoy.)
  7943. - Minor change to organizationName and commonName generation
  7944. procedures in TLS certificates during Tor handshakes, to invalidate
  7945. some earlier censorware approaches. This is not a long-term
  7946. solution, but applying it will give us a bit of time to look into
  7947. the epidemiology of countermeasures as they spread.
  7948. o Major bugfixes (directory):
  7949. - Rewrite directory tokenization code to never run off the end of
  7950. a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
  7951. o Minor features (controller):
  7952. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  7953. match requests to applications. (Patch from Robert Hogan.)
  7954. - Report address and port correctly on connections to DNSPort. (Patch
  7955. from Robert Hogan.)
  7956. - Add a RESOLVE command to launch hostname lookups. (Original patch
  7957. from Robert Hogan.)
  7958. - Add GETINFO status/enough-dir-info to let controllers tell whether
  7959. Tor has downloaded sufficient directory information. (Patch
  7960. from Tup.)
  7961. - You can now use the ControlSocket option to tell Tor to listen for
  7962. controller connections on Unix domain sockets on systems that
  7963. support them. (Patch from Peter Palfrader.)
  7964. - STREAM NEW events are generated for DNSPort requests and for
  7965. tunneled directory connections. (Patch from Robert Hogan.)
  7966. - New "GETINFO address-mappings/*" command to get address mappings
  7967. with expiry information. "addr-mappings/*" is now deprecated.
  7968. (Patch from Tup.)
  7969. o Minor features (misc):
  7970. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  7971. from croup.)
  7972. - The tor-gencert tool for v3 directory authorities now creates all
  7973. files as readable to the file creator only, and write-protects
  7974. the authority identity key.
  7975. - When dumping memory usage, list bytes used in buffer memory
  7976. free-lists.
  7977. - When running with dmalloc, dump more stats on hup and on exit.
  7978. - Directory authorities now fail quickly and (relatively) harmlessly
  7979. if they generate a network status document that is somehow
  7980. malformed.
  7981. o Traffic load balancing improvements:
  7982. - If exit bandwidth ever exceeds one third of total bandwidth, then
  7983. use the correct formula to weight exit nodes when choosing paths.
  7984. (Based on patch from Mike Perry.)
  7985. - Choose perfectly fairly among routers when choosing by bandwidth and
  7986. weighting by fraction of bandwidth provided by exits. Previously, we
  7987. would choose with only approximate fairness, and correct ourselves
  7988. if we ran off the end of the list. [Bugfix on 0.1.2.x]
  7989. o Performance improvements:
  7990. - Be more aggressive with freeing buffer RAM or putting it on the
  7991. memory free lists.
  7992. - Use Critical Sections rather than Mutexes for synchronizing threads
  7993. on win32; Mutexes are heavier-weight, and designed for synchronizing
  7994. between processes.
  7995. o Deprecated and removed features:
  7996. - RedirectExits is now deprecated.
  7997. - Stop allowing address masks that do not correspond to bit prefixes.
  7998. We have warned about these for a really long time; now it's time
  7999. to reject them. (Patch from croup.)
  8000. o Minor bugfixes (directory):
  8001. - Fix another crash bug related to extra-info caching. (Bug found by
  8002. Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
  8003. - Directories no longer return a "304 not modified" when they don't
  8004. have the networkstatus the client asked for. Also fix a memory
  8005. leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
  8006. - We had accidentally labelled 0.1.2.x directory servers as not
  8007. suitable for begin_dir requests, and had labelled no directory
  8008. servers as suitable for uploading extra-info documents. [Bugfix
  8009. on 0.2.0.1-alpha]
  8010. o Minor bugfixes (dns):
  8011. - Fix a crash when DNSPort is set more than once. (Patch from Robert
  8012. Hogan.) [Bugfix on 0.2.0.2-alpha]
  8013. - Add DNSPort connections to the global connection list, so that we
  8014. can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
  8015. on 0.2.0.2-alpha]
  8016. - Fix a dangling reference that could lead to a crash when DNSPort is
  8017. changed or closed (Patch from Robert Hogan.) [Bugfix on
  8018. 0.2.0.2-alpha]
  8019. o Minor bugfixes (controller):
  8020. - Provide DNS expiry times in GMT, not in local time. For backward
  8021. compatibility, ADDRMAP events only provide GMT expiry in an extended
  8022. field. "GETINFO address-mappings" always does the right thing.
  8023. - Use CRLF line endings properly in NS events.
  8024. - Terminate multi-line control events properly. (Original patch
  8025. from tup.) [Bugfix on 0.1.2.x-alpha]
  8026. - Do not include spaces in SOURCE_ADDR fields in STREAM
  8027. events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
  8028. Changes in version 0.1.2.15 - 2007-07-17
  8029. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  8030. problems, fixes compilation on BSD, and fixes a variety of other
  8031. bugs. Everybody should upgrade.
  8032. o Major bugfixes (compilation):
  8033. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  8034. o Major bugfixes (crashes):
  8035. - Try even harder not to dereference the first character after
  8036. an mmap(). Reported by lodger.
  8037. - Fix a crash bug in directory authorities when we re-number the
  8038. routerlist while inserting a new router.
  8039. - When the cached-routers file is an even multiple of the page size,
  8040. don't run off the end and crash. (Fixes bug 455; based on idea
  8041. from croup.)
  8042. - Fix eventdns.c behavior on Solaris: It is critical to include
  8043. orconfig.h _before_ sys/types.h, so that we can get the expected
  8044. definition of _FILE_OFFSET_BITS.
  8045. o Major bugfixes (security):
  8046. - Fix a possible buffer overrun when using BSD natd support. Bug
  8047. found by croup.
  8048. - When sending destroy cells from a circuit's origin, don't include
  8049. the reason for tearing down the circuit. The spec says we didn't,
  8050. and now we actually don't. Reported by lodger.
  8051. - Keep streamids from different exits on a circuit separate. This
  8052. bug may have allowed other routers on a given circuit to inject
  8053. cells into streams. Reported by lodger; fixes bug 446.
  8054. - If there's a never-before-connected-to guard node in our list,
  8055. never choose any guards past it. This way we don't expand our
  8056. guard list unless we need to.
  8057. o Minor bugfixes (guard nodes):
  8058. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  8059. don't get overused as guards.
  8060. o Minor bugfixes (directory):
  8061. - Correctly count the number of authorities that recommend each
  8062. version. Previously, we were under-counting by 1.
  8063. - Fix a potential crash bug when we load many server descriptors at
  8064. once and some of them make others of them obsolete. Fixes bug 458.
  8065. o Minor bugfixes (hidden services):
  8066. - Stop tearing down the whole circuit when the user asks for a
  8067. connection to a port that the hidden service didn't configure.
  8068. Resolves bug 444.
  8069. o Minor bugfixes (misc):
  8070. - On Windows, we were preventing other processes from reading
  8071. cached-routers while Tor was running. Reported by janbar.
  8072. - Fix a possible (but very unlikely) bug in picking routers by
  8073. bandwidth. Add a log message to confirm that it is in fact
  8074. unlikely. Patch from lodger.
  8075. - Backport a couple of memory leak fixes.
  8076. - Backport miscellaneous cosmetic bugfixes.
  8077. Changes in version 0.2.0.2-alpha - 2007-06-02
  8078. o Major bugfixes on 0.2.0.1-alpha:
  8079. - Fix an assertion failure related to servers without extra-info digests.
  8080. Resolves bugs 441 and 442.
  8081. o Minor features (directory):
  8082. - Support "If-Modified-Since" when answering HTTP requests for
  8083. directories, running-routers documents, and network-status documents.
  8084. (There's no need to support it for router descriptors, since those
  8085. are downloaded by descriptor digest.)
  8086. o Minor build issues:
  8087. - Clear up some MIPSPro compiler warnings.
  8088. - When building from a tarball on a machine that happens to have SVK
  8089. installed, report the micro-revision as whatever version existed
  8090. in the tarball, not as "x".
  8091. Changes in version 0.2.0.1-alpha - 2007-06-01
  8092. This early development snapshot provides new features for people running
  8093. Tor as both a client and a server (check out the new RelayBandwidth
  8094. config options); lets Tor run as a DNS proxy; and generally moves us
  8095. forward on a lot of fronts.
  8096. o Major features, server usability:
  8097. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  8098. a separate set of token buckets for relayed traffic. Right now
  8099. relayed traffic is defined as answers to directory requests, and
  8100. OR connections that don't have any local circuits on them.
  8101. o Major features, client usability:
  8102. - A client-side DNS proxy feature to replace the need for
  8103. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  8104. for DNS requests on port 9999, use the Tor network to resolve them
  8105. anonymously, and send the reply back like a regular DNS server.
  8106. The code still only implements a subset of DNS.
  8107. - Make PreferTunneledDirConns and TunnelDirConns work even when
  8108. we have no cached directory info. This means Tor clients can now
  8109. do all of their connections protected by TLS.
  8110. o Major features, performance and efficiency:
  8111. - Directory authorities accept and serve "extra info" documents for
  8112. routers. These documents contain fields from router descriptors
  8113. that aren't usually needed, and that use a lot of excess
  8114. bandwidth. Once these fields are removed from router descriptors,
  8115. the bandwidth savings should be about 60%. [Partially implements
  8116. proposal 104.]
  8117. - Servers upload extra-info documents to any authority that accepts
  8118. them. Authorities (and caches that have been configured to download
  8119. extra-info documents) download them as needed. [Partially implements
  8120. proposal 104.]
  8121. - Change the way that Tor buffers data that it is waiting to write.
  8122. Instead of queueing data cells in an enormous ring buffer for each
  8123. client->OR or OR->OR connection, we now queue cells on a separate
  8124. queue for each circuit. This lets us use less slack memory, and
  8125. will eventually let us be smarter about prioritizing different kinds
  8126. of traffic.
  8127. - Use memory pools to allocate cells with better speed and memory
  8128. efficiency, especially on platforms where malloc() is inefficient.
  8129. - Stop reading on edge connections when their corresponding circuit
  8130. buffers are full; start again as the circuits empty out.
  8131. o Major features, other:
  8132. - Add an HSAuthorityRecordStats option that hidden service authorities
  8133. can use to track statistics of overall hidden service usage without
  8134. logging information that would be very useful to an attacker.
  8135. - Start work implementing multi-level keys for directory authorities:
  8136. Add a standalone tool to generate key certificates. (Proposal 103.)
  8137. o Security fixes:
  8138. - Directory authorities now call routers Stable if they have an
  8139. uptime of at least 30 days, even if that's not the median uptime
  8140. in the network. Implements proposal 107, suggested by Kevin Bauer
  8141. and Damon McCoy.
  8142. o Minor fixes (resource management):
  8143. - Count the number of open sockets separately from the number
  8144. of active connection_t objects. This will let us avoid underusing
  8145. our allocated connection limit.
  8146. - We no longer use socket pairs to link an edge connection to an
  8147. anonymous directory connection or a DirPort test connection.
  8148. Instead, we track the link internally and transfer the data
  8149. in-process. This saves two sockets per "linked" connection (at the
  8150. client and at the server), and avoids the nasty Windows socketpair()
  8151. workaround.
  8152. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  8153. for every single inactive connection_t. Free items from the
  8154. 4k/16k-buffer free lists when they haven't been used for a while.
  8155. o Minor features (build):
  8156. - Make autoconf search for libevent, openssl, and zlib consistently.
  8157. - Update deprecated macros in configure.in.
  8158. - When warning about missing headers, tell the user to let us
  8159. know if the compile succeeds anyway, so we can downgrade the
  8160. warning.
  8161. - Include the current subversion revision as part of the version
  8162. string: either fetch it directly if we're in an SVN checkout, do
  8163. some magic to guess it if we're in an SVK checkout, or use
  8164. the last-detected version if we're building from a .tar.gz.
  8165. Use this version consistently in log messages.
  8166. o Minor features (logging):
  8167. - Always prepend "Bug: " to any log message about a bug.
  8168. - Put a platform string (e.g. "Linux i686") in the startup log
  8169. message, so when people paste just their logs, we know if it's
  8170. OpenBSD or Windows or what.
  8171. - When logging memory usage, break down memory used in buffers by
  8172. buffer type.
  8173. o Minor features (directory system):
  8174. - New config option V2AuthoritativeDirectory that all directory
  8175. authorities should set. This will let future authorities choose
  8176. not to serve V2 directory information.
  8177. - Directory authorities allow multiple router descriptors and/or extra
  8178. info documents to be uploaded in a single go. This will make
  8179. implementing proposal 104 simpler.
  8180. o Minor features (controller):
  8181. - Add a new config option __DisablePredictedCircuits designed for
  8182. use by the controller, when we don't want Tor to build any circuits
  8183. preemptively.
  8184. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  8185. so we can exit from the middle of the circuit.
  8186. - Implement "getinfo status/circuit-established".
  8187. - Implement "getinfo status/version/..." so a controller can tell
  8188. whether the current version is recommended, and whether any versions
  8189. are good, and how many authorities agree. (Patch from shibz.)
  8190. o Minor features (hidden services):
  8191. - Allow multiple HiddenServicePort directives with the same virtual
  8192. port; when they occur, the user is sent round-robin to one
  8193. of the target ports chosen at random. Partially fixes bug 393 by
  8194. adding limited ad-hoc round-robining.
  8195. o Minor features (other):
  8196. - More unit tests.
  8197. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  8198. resolve request for hosts matching a given pattern causes Tor to
  8199. generate an internal virtual address mapping for that host. This
  8200. allows DNSPort to work sensibly with hidden service users. By
  8201. default, .exit and .onion addresses are remapped; the list of
  8202. patterns can be reconfigured with AutomapHostsSuffixes.
  8203. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  8204. address. Thanks to the AutomapHostsOnResolve option, this is no
  8205. longer a completely silly thing to do.
  8206. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  8207. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  8208. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  8209. minus 1 byte: the actual maximum declared bandwidth.
  8210. o Removed features:
  8211. - Removed support for the old binary "version 0" controller protocol.
  8212. This has been deprecated since 0.1.1, and warnings have been issued
  8213. since 0.1.2. When we encounter a v0 control message, we now send
  8214. back an error and close the connection.
  8215. - Remove the old "dns worker" server DNS code: it hasn't been default
  8216. since 0.1.2.2-alpha, and all the servers seem to be using the new
  8217. eventdns code.
  8218. o Minor bugfixes (portability):
  8219. - Even though Windows is equally happy with / and \ as path separators,
  8220. try to use \ consistently on Windows and / consistently on Unix: it
  8221. makes the log messages nicer.
  8222. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  8223. - Read resolv.conf files correctly on platforms where read() returns
  8224. partial results on small file reads.
  8225. o Minor bugfixes (directory):
  8226. - Correctly enforce that elements of directory objects do not appear
  8227. more often than they are allowed to appear.
  8228. - When we are reporting the DirServer line we just parsed, we were
  8229. logging the second stanza of the key fingerprint, not the first.
  8230. o Minor bugfixes (logging):
  8231. - When we hit an EOF on a log (probably because we're shutting down),
  8232. don't try to remove the log from the list: just mark it as
  8233. unusable. (Bulletproofs against bug 222.)
  8234. o Minor bugfixes (other):
  8235. - In the exitlist script, only consider the most recently published
  8236. server descriptor for each server. Also, when the user requests
  8237. a list of servers that _reject_ connections to a given address,
  8238. explicitly exclude the IPs that also have servers that accept
  8239. connections to that address. (Resolves bug 405.)
  8240. - Stop allowing hibernating servers to be "stable" or "fast".
  8241. - On Windows, we were preventing other processes from reading
  8242. cached-routers while Tor was running. (Reported by janbar)
  8243. - Make the NodeFamilies config option work. (Reported by
  8244. lodger -- it has never actually worked, even though we added it
  8245. in Oct 2004.)
  8246. - Check return values from pthread_mutex functions.
  8247. - Don't save non-general-purpose router descriptors to the disk cache,
  8248. because we have no way of remembering what their purpose was when
  8249. we restart.
  8250. - Add even more asserts to hunt down bug 417.
  8251. - Build without verbose warnings even on (not-yet-released) gcc 4.2.
  8252. - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
  8253. Add a log message to confirm that it is in fact unlikely.
  8254. o Minor bugfixes (controller):
  8255. - Make 'getinfo fingerprint' return a 551 error if we're not a
  8256. server, so we match what the control spec claims we do. Reported
  8257. by daejees.
  8258. - Fix a typo in an error message when extendcircuit fails that
  8259. caused us to not follow the \r\n-based delimiter protocol. Reported
  8260. by daejees.
  8261. o Code simplifications and refactoring:
  8262. - Stop passing around circuit_t and crypt_path_t pointers that are
  8263. implicit in other procedure arguments.
  8264. - Drop the old code to choke directory connections when the
  8265. corresponding OR connections got full: thanks to the cell queue
  8266. feature, OR conns don't get full any more.
  8267. - Make dns_resolve() handle attaching connections to circuits
  8268. properly, so the caller doesn't have to.
  8269. - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
  8270. - Keep the connection array as a dynamic smartlist_t, rather than as
  8271. a fixed-sized array. This is important, as the number of connections
  8272. is becoming increasingly decoupled from the number of sockets.
  8273. Changes in version 0.1.2.14 - 2007-05-25
  8274. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  8275. change especially affects those who serve or use hidden services),
  8276. and fixes several other crash- and security-related bugs.
  8277. o Directory authority changes:
  8278. - Two directory authorities (moria1 and moria2) just moved to new
  8279. IP addresses. This change will particularly affect those who serve
  8280. or use hidden services.
  8281. o Major bugfixes (crashes):
  8282. - If a directory server runs out of space in the connection table
  8283. as it's processing a begin_dir request, it will free the exit stream
  8284. but leave it attached to the circuit, leading to unpredictable
  8285. behavior. (Reported by seeess, fixes bug 425.)
  8286. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  8287. to corrupt memory under some really unlikely scenarios.
  8288. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  8289. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  8290. by lodger.)
  8291. o Major bugfixes (security):
  8292. - When choosing an entry guard for a circuit, avoid using guards
  8293. that are in the same family as the chosen exit -- not just guards
  8294. that are exactly the chosen exit. (Reported by lodger.)
  8295. o Major bugfixes (resource management):
  8296. - If a directory authority is down, skip it when deciding where to get
  8297. networkstatus objects or descriptors. Otherwise we keep asking
  8298. every 10 seconds forever. Fixes bug 384.
  8299. - Count it as a failure if we fetch a valid network-status but we
  8300. don't want to keep it. Otherwise we'll keep fetching it and keep
  8301. not wanting to keep it. Fixes part of bug 422.
  8302. - If all of our dirservers have given us bad or no networkstatuses
  8303. lately, then stop hammering them once per minute even when we
  8304. think they're failed. Fixes another part of bug 422.
  8305. o Minor bugfixes:
  8306. - Actually set the purpose correctly for descriptors inserted with
  8307. purpose=controller.
  8308. - When we have k non-v2 authorities in our DirServer config,
  8309. we ignored the last k authorities in the list when updating our
  8310. network-statuses.
  8311. - Correctly back-off from requesting router descriptors that we are
  8312. having a hard time downloading.
  8313. - Read resolv.conf files correctly on platforms where read() returns
  8314. partial results on small file reads.
  8315. - Don't rebuild the entire router store every time we get 32K of
  8316. routers: rebuild it when the journal gets very large, or when
  8317. the gaps in the store get very large.
  8318. o Minor features:
  8319. - When routers publish SVN revisions in their router descriptors,
  8320. authorities now include those versions correctly in networkstatus
  8321. documents.
  8322. - Warn when using a version of libevent before 1.3b to run a server on
  8323. OSX or BSD: these versions interact badly with userspace threads.
  8324. Changes in version 0.1.2.13 - 2007-04-24
  8325. This release features some major anonymity fixes, such as safer path
  8326. selection; better client performance; faster bootstrapping, better
  8327. address detection, and better DNS support for servers; write limiting as
  8328. well as read limiting to make servers easier to run; and a huge pile of
  8329. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  8330. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  8331. of the Freenode IRC network, remembering his patience and vision for
  8332. free speech on the Internet.
  8333. o Minor fixes:
  8334. - Fix a memory leak when we ask for "all" networkstatuses and we
  8335. get one we don't recognize.
  8336. - Add more asserts to hunt down bug 417.
  8337. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  8338. Changes in version 0.1.2.12-rc - 2007-03-16
  8339. o Major bugfixes:
  8340. - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
  8341. directory information requested inside Tor connections (i.e. via
  8342. begin_dir cells). It only triggered when the same connection was
  8343. serving other data at the same time. Reported by seeess.
  8344. o Minor bugfixes:
  8345. - When creating a circuit via the controller, send a 'launched'
  8346. event when we're done, so we follow the spec better.
  8347. Changes in version 0.1.2.11-rc - 2007-03-15
  8348. o Minor bugfixes (controller), reported by daejees:
  8349. - Correct the control spec to match how the code actually responds
  8350. to 'getinfo addr-mappings/*'.
  8351. - The control spec described a GUARDS event, but the code
  8352. implemented a GUARD event. Standardize on GUARD, but let people
  8353. ask for GUARDS too.
  8354. Changes in version 0.1.2.10-rc - 2007-03-07
  8355. o Major bugfixes (Windows):
  8356. - Do not load the NT services library functions (which may not exist)
  8357. just to detect if we're a service trying to shut down. Now we run
  8358. on Win98 and friends again.
  8359. o Minor bugfixes (other):
  8360. - Clarify a couple of log messages.
  8361. - Fix a misleading socks5 error number.
  8362. Changes in version 0.1.2.9-rc - 2007-03-02
  8363. o Major bugfixes (Windows):
  8364. - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
  8365. of the usual GCC "%llu". This prevents a bug when saving 64-bit
  8366. int configuration values: the high-order 32 bits would get
  8367. truncated. In particular, we were being bitten by the default
  8368. MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
  8369. and maybe also bug 397.)
  8370. o Minor bugfixes (performance):
  8371. - Use OpenSSL's AES implementation on platforms where it's faster.
  8372. This could save us as much as 10% CPU usage.
  8373. o Minor bugfixes (server):
  8374. - Do not rotate onion key immediately after setting it for the first
  8375. time.
  8376. o Minor bugfixes (directory authorities):
  8377. - Stop calling servers that have been hibernating for a long time
  8378. "stable". Also, stop letting hibernating or obsolete servers affect
  8379. uptime and bandwidth cutoffs.
  8380. - Stop listing hibernating servers in the v1 directory.
  8381. o Minor bugfixes (hidden services):
  8382. - Upload hidden service descriptors slightly less often, to reduce
  8383. load on authorities.
  8384. o Minor bugfixes (other):
  8385. - Fix an assert that could trigger if a controller quickly set then
  8386. cleared EntryNodes. Bug found by Udo van den Heuvel.
  8387. - On architectures where sizeof(int)>4, still clamp declarable bandwidth
  8388. to INT32_MAX.
  8389. - Fix a potential race condition in the rpm installer. Found by
  8390. Stefan Nordhausen.
  8391. - Try to fix eventdns warnings once and for all: do not treat a dns rcode
  8392. of 2 as indicating that the server is completely bad; it sometimes
  8393. means that the server is just bad for the request in question. (may fix
  8394. the last of bug 326.)
  8395. - Disable encrypted directory connections when we don't have a server
  8396. descriptor for the destination. We'll get this working again in
  8397. the 0.2.0 branch.
  8398. Changes in version 0.1.2.8-beta - 2007-02-26
  8399. o Major bugfixes (crashes):
  8400. - Stop crashing when the controller asks us to resetconf more than
  8401. one config option at once. (Vidalia 0.0.11 does this.)
  8402. - Fix a crash that happened on Win98 when we're given command-line
  8403. arguments: don't try to load NT service functions from advapi32.dll
  8404. except when we need them. (Bug introduced in 0.1.2.7-alpha;
  8405. resolves bug 389.)
  8406. - Fix a longstanding obscure crash bug that could occur when
  8407. we run out of DNS worker processes. (Resolves bug 390.)
  8408. o Major bugfixes (hidden services):
  8409. - Correctly detect whether hidden service descriptor downloads are
  8410. in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
  8411. o Major bugfixes (accounting):
  8412. - When we start during an accounting interval before it's time to wake
  8413. up, remember to wake up at the correct time. (May fix bug 342.)
  8414. o Minor bugfixes (controller):
  8415. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  8416. clear the corresponding on_circuit variable, and remember later
  8417. that we don't need to send a redundant CLOSED event. Resolves part
  8418. 3 of bug 367.
  8419. - Report events where a resolve succeeded or where we got a socks
  8420. protocol error correctly, rather than calling both of them
  8421. "INTERNAL".
  8422. - Change reported stream target addresses to IP consistently when
  8423. we finally get the IP from an exit node.
  8424. - Send log messages to the controller even if they happen to be very
  8425. long.
  8426. o Minor bugfixes (other):
  8427. - Display correct results when reporting which versions are
  8428. recommended, and how recommended they are. (Resolves bug 383.)
  8429. - Improve our estimates for directory bandwidth to be less random:
  8430. guess that an unrecognized directory will have the average bandwidth
  8431. from all known directories, not that it will have the average
  8432. bandwidth from those directories earlier than it on the list.
  8433. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  8434. and hup, stop triggering an assert based on an empty onion_key.
  8435. - On platforms with no working mmap() equivalent, don't warn the
  8436. user when cached-routers doesn't exist.
  8437. - Warn the user when mmap() [or its equivalent] fails for some reason
  8438. other than file-not-found.
  8439. - Don't warn the user when cached-routers.new doesn't exist: that's
  8440. perfectly fine when starting up for the first time.
  8441. - When EntryNodes are configured, rebuild the guard list to contain,
  8442. in order: the EntryNodes that were guards before; the rest of the
  8443. EntryNodes; the nodes that were guards before.
  8444. - Mask out all signals in sub-threads; only the libevent signal
  8445. handler should be processing them. This should prevent some crashes
  8446. on some machines using pthreads. (Patch from coderman.)
  8447. - Fix switched arguments on memset in the implementation of
  8448. tor_munmap() for systems with no mmap() call.
  8449. - When Tor receives a router descriptor that it asked for, but
  8450. no longer wants (because it has received fresh networkstatuses
  8451. in the meantime), do not warn the user. Cache the descriptor if
  8452. we're a cache; drop it if we aren't.
  8453. - Make earlier entry guards _really_ get retried when the network
  8454. comes back online.
  8455. - On a malformed DNS reply, always give an error to the corresponding
  8456. DNS request.
  8457. - Build with recent libevents on platforms that do not define the
  8458. nonstandard types "u_int8_t" and friends.
  8459. o Minor features (controller):
  8460. - Warn the user when an application uses the obsolete binary v0
  8461. control protocol. We're planning to remove support for it during
  8462. the next development series, so it's good to give people some
  8463. advance warning.
  8464. - Add STREAM_BW events to report per-entry-stream bandwidth
  8465. use. (Patch from Robert Hogan.)
  8466. - Rate-limit SIGNEWNYM signals in response to controllers that
  8467. impolitely generate them for every single stream. (Patch from
  8468. mwenge; closes bug 394.)
  8469. - Make REMAP stream events have a SOURCE (cache or exit), and
  8470. make them generated in every case where we get a successful
  8471. connected or resolved cell.
  8472. o Minor bugfixes (performance):
  8473. - Call router_have_min_dir_info half as often. (This is showing up in
  8474. some profiles, but not others.)
  8475. - When using GCC, make log_debug never get called at all, and its
  8476. arguments never get evaluated, when no debug logs are configured.
  8477. (This is showing up in some profiles, but not others.)
  8478. o Minor features:
  8479. - Remove some never-implemented options. Mark PathlenCoinWeight as
  8480. obsolete.
  8481. - Implement proposal 106: Stop requiring clients to have well-formed
  8482. certificates; stop checking nicknames in certificates. (Clients
  8483. have certificates so that they can look like Tor servers, but in
  8484. the future we might want to allow them to look like regular TLS
  8485. clients instead. Nicknames in certificates serve no purpose other
  8486. than making our protocol easier to recognize on the wire.)
  8487. - Revise messages on handshake failure again to be even more clear about
  8488. which are incoming connections and which are outgoing.
  8489. - Discard any v1 directory info that's over 1 month old (for
  8490. directories) or over 1 week old (for running-routers lists).
  8491. - Do not warn when individual nodes in the configuration's EntryNodes,
  8492. ExitNodes, etc are down: warn only when all possible nodes
  8493. are down. (Fixes bug 348.)
  8494. - Always remove expired routers and networkstatus docs before checking
  8495. whether we have enough information to build circuits. (Fixes
  8496. bug 373.)
  8497. - Put a lower-bound on MaxAdvertisedBandwidth.
  8498. Changes in version 0.1.2.7-alpha - 2007-02-06
  8499. o Major bugfixes (rate limiting):
  8500. - Servers decline directory requests much more aggressively when
  8501. they're low on bandwidth. Otherwise they end up queueing more and
  8502. more directory responses, which can't be good for latency.
  8503. - But never refuse directory requests from local addresses.
  8504. - Fix a memory leak when sending a 503 response for a networkstatus
  8505. request.
  8506. - Be willing to read or write on local connections (e.g. controller
  8507. connections) even when the global rate limiting buckets are empty.
  8508. - If our system clock jumps back in time, don't publish a negative
  8509. uptime in the descriptor. Also, don't let the global rate limiting
  8510. buckets go absurdly negative.
  8511. - Flush local controller connection buffers periodically as we're
  8512. writing to them, so we avoid queueing 4+ megabytes of data before
  8513. trying to flush.
  8514. o Major bugfixes (NT services):
  8515. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  8516. command-line flag so that admins can override the default by saying
  8517. "tor --service install --user "SomeUser"". This will not affect
  8518. existing installed services. Also, warn the user that the service
  8519. will look for its configuration file in the service user's
  8520. %appdata% directory. (We can't do the 'hardwire the user's appdata
  8521. directory' trick any more, since we may not have read access to that
  8522. directory.)
  8523. o Major bugfixes (other):
  8524. - Previously, we would cache up to 16 old networkstatus documents
  8525. indefinitely, if they came from nontrusted authorities. Now we
  8526. discard them if they are more than 10 days old.
  8527. - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
  8528. Del Vecchio).
  8529. - Detect and reject malformed DNS responses containing circular
  8530. pointer loops.
  8531. - If exits are rare enough that we're not marking exits as guards,
  8532. ignore exit bandwidth when we're deciding the required bandwidth
  8533. to become a guard.
  8534. - When we're handling a directory connection tunneled over Tor,
  8535. don't fill up internal memory buffers with all the data we want
  8536. to tunnel; instead, only add it if the OR connection that will
  8537. eventually receive it has some room for it. (This can lead to
  8538. slowdowns in tunneled dir connections; a better solution will have
  8539. to wait for 0.2.0.)
  8540. o Minor bugfixes (dns):
  8541. - Add some defensive programming to eventdns.c in an attempt to catch
  8542. possible memory-stomping bugs.
  8543. - Detect and reject DNS replies containing IPv4 or IPv6 records with
  8544. an incorrect number of bytes. (Previously, we would ignore the
  8545. extra bytes.)
  8546. - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
  8547. in the correct order, and doesn't crash.
  8548. - Free memory held in recently-completed DNS lookup attempts on exit.
  8549. This was not a memory leak, but may have been hiding memory leaks.
  8550. - Handle TTL values correctly on reverse DNS lookups.
  8551. - Treat failure to parse resolv.conf as an error.
  8552. o Minor bugfixes (other):
  8553. - Fix crash with "tor --list-fingerprint" (reported by seeess).
  8554. - When computing clock skew from directory HTTP headers, consider what
  8555. time it was when we finished asking for the directory, not what
  8556. time it is now.
  8557. - Expire socks connections if they spend too long waiting for the
  8558. handshake to finish. Previously we would let them sit around for
  8559. days, if the connecting application didn't close them either.
  8560. - And if the socks handshake hasn't started, don't send a
  8561. "DNS resolve socks failed" handshake reply; just close it.
  8562. - Stop using C functions that OpenBSD's linker doesn't like.
  8563. - Don't launch requests for descriptors unless we have networkstatuses
  8564. from at least half of the authorities. This delays the first
  8565. download slightly under pathological circumstances, but can prevent
  8566. us from downloading a bunch of descriptors we don't need.
  8567. - Do not log IPs with TLS failures for incoming TLS
  8568. connections. (Fixes bug 382.)
  8569. - If the user asks to use invalid exit nodes, be willing to use
  8570. unstable ones.
  8571. - Stop using the reserved ac_cv namespace in our configure script.
  8572. - Call stat() slightly less often; use fstat() when possible.
  8573. - Refactor the way we handle pending circuits when an OR connection
  8574. completes or fails, in an attempt to fix a rare crash bug.
  8575. - Only rewrite a conn's address based on X-Forwarded-For: headers
  8576. if it's a parseable public IP address; and stop adding extra quotes
  8577. to the resulting address.
  8578. o Major features:
  8579. - Weight directory requests by advertised bandwidth. Now we can
  8580. let servers enable write limiting but still allow most clients to
  8581. succeed at their directory requests. (We still ignore weights when
  8582. choosing a directory authority; I hope this is a feature.)
  8583. o Minor features:
  8584. - Create a new file ReleaseNotes which was the old ChangeLog. The
  8585. new ChangeLog file now includes the summaries for all development
  8586. versions too.
  8587. - Check for addresses with invalid characters at the exit as well
  8588. as at the client, and warn less verbosely when they fail. You can
  8589. override this by setting ServerDNSAllowNonRFC953Addresses to 1.
  8590. - Adapt a patch from goodell to let the contrib/exitlist script
  8591. take arguments rather than require direct editing.
  8592. - Inform the server operator when we decide not to advertise a
  8593. DirPort due to AccountingMax enabled or a low BandwidthRate. It
  8594. was confusing Zax, so now we're hopefully more helpful.
  8595. - Bring us one step closer to being able to establish an encrypted
  8596. directory tunnel without knowing a descriptor first. Still not
  8597. ready yet. As part of the change, now assume we can use a
  8598. create_fast cell if we don't know anything about a router.
  8599. - Allow exit nodes to use nameservers running on ports other than 53.
  8600. - Servers now cache reverse DNS replies.
  8601. - Add an --ignore-missing-torrc command-line option so that we can
  8602. get the "use sensible defaults if the configuration file doesn't
  8603. exist" behavior even when specifying a torrc location on the command
  8604. line.
  8605. o Minor features (controller):
  8606. - Track reasons for OR connection failure; make these reasons
  8607. available via the controller interface. (Patch from Mike Perry.)
  8608. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  8609. can learn when clients are sending malformed hostnames to Tor.
  8610. - Clean up documentation for controller status events.
  8611. - Add a REMAP status to stream events to note that a stream's
  8612. address has changed because of a cached address or a MapAddress
  8613. directive.
  8614. Changes in version 0.1.2.6-alpha - 2007-01-09
  8615. o Major bugfixes:
  8616. - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
  8617. connection handles more than 4 gigs in either direction, we crash.
  8618. - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
  8619. advertised exit node, somebody might try to exit from us when
  8620. we're bootstrapping and before we've built our descriptor yet.
  8621. Refuse the connection rather than crashing.
  8622. o Minor bugfixes:
  8623. - Warn if we (as a server) find that we've resolved an address that we
  8624. weren't planning to resolve.
  8625. - Warn that using select() on any libevent version before 1.1 will be
  8626. unnecessarily slow (even for select()).
  8627. - Flush ERR-level controller status events just like we currently
  8628. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  8629. the controller from learning about current events.
  8630. o Minor features (more controller status events):
  8631. - Implement EXTERNAL_ADDRESS server status event so controllers can
  8632. learn when our address changes.
  8633. - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
  8634. can learn when directories reject our descriptor.
  8635. - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
  8636. can learn when a client application is speaking a non-socks protocol
  8637. to our SocksPort.
  8638. - Implement DANGEROUS_SOCKS client status event so controllers
  8639. can learn when a client application is leaking DNS addresses.
  8640. - Implement BUG general status event so controllers can learn when
  8641. Tor is unhappy about its internal invariants.
  8642. - Implement CLOCK_SKEW general status event so controllers can learn
  8643. when Tor thinks the system clock is set incorrectly.
  8644. - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
  8645. server status events so controllers can learn when their descriptors
  8646. are accepted by a directory.
  8647. - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
  8648. server status events so controllers can learn about Tor's progress in
  8649. deciding whether it's reachable from the outside.
  8650. - Implement BAD_LIBEVENT general status event so controllers can learn
  8651. when we have a version/method combination in libevent that needs to
  8652. be changed.
  8653. - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
  8654. and DNS_USELESS server status events so controllers can learn
  8655. about changes to DNS server status.
  8656. o Minor features (directory):
  8657. - Authorities no longer recommend exits as guards if this would shift
  8658. too much load to the exit nodes.
  8659. Changes in version 0.1.2.5-alpha - 2007-01-06
  8660. o Major features:
  8661. - Enable write limiting as well as read limiting. Now we sacrifice
  8662. capacity if we're pushing out lots of directory traffic, rather
  8663. than overrunning the user's intended bandwidth limits.
  8664. - Include TLS overhead when counting bandwidth usage; previously, we
  8665. would count only the bytes sent over TLS, but not the bytes used
  8666. to send them.
  8667. - Support running the Tor service with a torrc not in the same
  8668. directory as tor.exe and default to using the torrc located in
  8669. the %appdata%\Tor\ of the user who installed the service. Patch
  8670. from Matt Edman.
  8671. - Servers now check for the case when common DNS requests are going to
  8672. wildcarded addresses (i.e. all getting the same answer), and change
  8673. their exit policy to reject *:* if it's happening.
  8674. - Implement BEGIN_DIR cells, so we can connect to the directory
  8675. server via TLS to do encrypted directory requests rather than
  8676. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  8677. config options if you like.
  8678. o Minor features (config and docs):
  8679. - Start using the state file to store bandwidth accounting data:
  8680. the bw_accounting file is now obsolete. We'll keep generating it
  8681. for a while for people who are still using 0.1.2.4-alpha.
  8682. - Try to batch changes to the state file so that we do as few
  8683. disk writes as possible while still storing important things in
  8684. a timely fashion.
  8685. - The state file and the bw_accounting file get saved less often when
  8686. the AvoidDiskWrites config option is set.
  8687. - Make PIDFile work on Windows (untested).
  8688. - Add internal descriptions for a bunch of configuration options:
  8689. accessible via controller interface and in comments in saved
  8690. options files.
  8691. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  8692. NNTP by default, so this seems like a sensible addition.
  8693. - Clients now reject hostnames with invalid characters. This should
  8694. avoid some inadvertent info leaks. Add an option
  8695. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  8696. is running a private network with hosts called @, !, and #.
  8697. - Add a maintainer script to tell us which options are missing
  8698. documentation: "make check-docs".
  8699. - Add a new address-spec.txt document to describe our special-case
  8700. addresses: .exit, .onion, and .noconnnect.
  8701. o Minor features (DNS):
  8702. - Ongoing work on eventdns infrastructure: now it has dns server
  8703. and ipv6 support. One day Tor will make use of it.
  8704. - Add client-side caching for reverse DNS lookups.
  8705. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  8706. - When we change nameservers or IP addresses, reset and re-launch
  8707. our tests for DNS hijacking.
  8708. o Minor features (directory):
  8709. - Authorities now specify server versions in networkstatus. This adds
  8710. about 2% to the size of compressed networkstatus docs, and allows
  8711. clients to tell which servers support BEGIN_DIR and which don't.
  8712. The implementation is forward-compatible with a proposed future
  8713. protocol version scheme not tied to Tor versions.
  8714. - DirServer configuration lines now have an orport= option so
  8715. clients can open encrypted tunnels to the authorities without
  8716. having downloaded their descriptors yet. Enabled for moria1,
  8717. moria2, tor26, and lefkada now in the default configuration.
  8718. - Directory servers are more willing to send a 503 "busy" if they
  8719. are near their write limit, especially for v1 directory requests.
  8720. Now they can use their limited bandwidth for actual Tor traffic.
  8721. - Clients track responses with status 503 from dirservers. After a
  8722. dirserver has given us a 503, we try not to use it until an hour has
  8723. gone by, or until we have no dirservers that haven't given us a 503.
  8724. - When we get a 503 from a directory, and we're not a server, we don't
  8725. count the failure against the total number of failures allowed
  8726. for the thing we're trying to download.
  8727. - Report X-Your-Address-Is correctly from tunneled directory
  8728. connections; don't report X-Your-Address-Is when it's an internal
  8729. address; and never believe reported remote addresses when they're
  8730. internal.
  8731. - Protect against an unlikely DoS attack on directory servers.
  8732. - Add a BadDirectory flag to network status docs so that authorities
  8733. can (eventually) tell clients about caches they believe to be
  8734. broken.
  8735. o Minor features (controller):
  8736. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  8737. - Reimplement GETINFO so that info/names stays in sync with the
  8738. actual keys.
  8739. - Implement "GETINFO fingerprint".
  8740. - Implement "SETEVENTS GUARD" so controllers can get updates on
  8741. entry guard status as it changes.
  8742. o Minor features (clean up obsolete pieces):
  8743. - Remove some options that have been deprecated since at least
  8744. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  8745. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  8746. to set log options.
  8747. - We no longer look for identity and onion keys in "identity.key" and
  8748. "onion.key" -- these were replaced by secret_id_key and
  8749. secret_onion_key in 0.0.8pre1.
  8750. - We no longer require unrecognized directory entries to be
  8751. preceded by "opt".
  8752. o Major bugfixes (security):
  8753. - Stop sending the HttpProxyAuthenticator string to directory
  8754. servers when directory connections are tunnelled through Tor.
  8755. - Clients no longer store bandwidth history in the state file.
  8756. - Do not log introduction points for hidden services if SafeLogging
  8757. is set.
  8758. - When generating bandwidth history, round down to the nearest
  8759. 1k. When storing accounting data, round up to the nearest 1k.
  8760. - When we're running as a server, remember when we last rotated onion
  8761. keys, so that we will rotate keys once they're a week old even if
  8762. we never stay up for a week ourselves.
  8763. o Major bugfixes (other):
  8764. - Fix a longstanding bug in eventdns that prevented the count of
  8765. timed-out resolves from ever being reset. This bug caused us to
  8766. give up on a nameserver the third time it timed out, and try it
  8767. 10 seconds later... and to give up on it every time it timed out
  8768. after that.
  8769. - Take out the '5 second' timeout from the connection retry
  8770. schedule. Now the first connect attempt will wait a full 10
  8771. seconds before switching to a new circuit. Perhaps this will help
  8772. a lot. Based on observations from Mike Perry.
  8773. - Fix a bug on the Windows implementation of tor_mmap_file() that
  8774. would prevent the cached-routers file from ever loading. Reported
  8775. by John Kimble.
  8776. o Minor bugfixes:
  8777. - Fix an assert failure when a directory authority sets
  8778. AuthDirRejectUnlisted and then receives a descriptor from an
  8779. unlisted router. Reported by seeess.
  8780. - Avoid a double-free when parsing malformed DirServer lines.
  8781. - Fix a bug when a BSD-style PF socket is first used. Patch from
  8782. Fabian Keil.
  8783. - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
  8784. to resolve an address at a given exit node even when they ask for
  8785. it by name.
  8786. - Servers no longer ever list themselves in their "family" line,
  8787. even if configured to do so. This makes it easier to configure
  8788. family lists conveniently.
  8789. - When running as a server, don't fall back to 127.0.0.1 when no
  8790. nameservers are configured in /etc/resolv.conf; instead, make the
  8791. user fix resolv.conf or specify nameservers explicitly. (Resolves
  8792. bug 363.)
  8793. - Stop accepting certain malformed ports in configured exit policies.
  8794. - Don't re-write the fingerprint file every restart, unless it has
  8795. changed.
  8796. - Stop warning when a single nameserver fails: only warn when _all_ of
  8797. our nameservers have failed. Also, when we only have one nameserver,
  8798. raise the threshold for deciding that the nameserver is dead.
  8799. - Directory authorities now only decide that routers are reachable
  8800. if their identity keys are as expected.
  8801. - When the user uses bad syntax in the Log config line, stop
  8802. suggesting other bad syntax as a replacement.
  8803. - Correctly detect ipv6 DNS capability on OpenBSD.
  8804. o Minor bugfixes (controller):
  8805. - Report the circuit number correctly in STREAM CLOSED events. Bug
  8806. reported by Mike Perry.
  8807. - Do not report bizarre values for results of accounting GETINFOs
  8808. when the last second's write or read exceeds the allotted bandwidth.
  8809. - Report "unrecognized key" rather than an empty string when the
  8810. controller tries to fetch a networkstatus that doesn't exist.
  8811. Changes in version 0.1.1.26 - 2006-12-14
  8812. o Security bugfixes:
  8813. - Stop sending the HttpProxyAuthenticator string to directory
  8814. servers when directory connections are tunnelled through Tor.
  8815. - Clients no longer store bandwidth history in the state file.
  8816. - Do not log introduction points for hidden services if SafeLogging
  8817. is set.
  8818. o Minor bugfixes:
  8819. - Fix an assert failure when a directory authority sets
  8820. AuthDirRejectUnlisted and then receives a descriptor from an
  8821. unlisted router (reported by seeess).
  8822. Changes in version 0.1.2.4-alpha - 2006-12-03
  8823. o Major features:
  8824. - Add support for using natd; this allows FreeBSDs earlier than
  8825. 5.1.2 to have ipfw send connections through Tor without using
  8826. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  8827. o Minor features:
  8828. - Make all connections to addresses of the form ".noconnect"
  8829. immediately get closed. This lets application/controller combos
  8830. successfully test whether they're talking to the same Tor by
  8831. watching for STREAM events.
  8832. - Make cross.sh cross-compilation script work even when autogen.sh
  8833. hasn't been run. (Patch from Michael Mohr.)
  8834. - Statistics dumped by -USR2 now include a breakdown of public key
  8835. operations, for profiling.
  8836. o Major bugfixes:
  8837. - Fix a major leak when directory authorities parse their
  8838. approved-routers list, a minor memory leak when we fail to pick
  8839. an exit node, and a few rare leaks on errors.
  8840. - Handle TransPort connections even when the server sends data before
  8841. the client sends data. Previously, the connection would just hang
  8842. until the client sent data. (Patch from tup based on patch from
  8843. Zajcev Evgeny.)
  8844. - Avoid assert failure when our cached-routers file is empty on
  8845. startup.
  8846. o Minor bugfixes:
  8847. - Don't log spurious warnings when we see a circuit close reason we
  8848. don't recognize; it's probably just from a newer version of Tor.
  8849. - Have directory authorities allow larger amounts of drift in uptime
  8850. without replacing the server descriptor: previously, a server that
  8851. restarted every 30 minutes could have 48 "interesting" descriptors
  8852. per day.
  8853. - Start linking to the Tor specification and Tor reference manual
  8854. correctly in the Windows installer.
  8855. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  8856. Tor/Privoxy we also uninstall Vidalia.
  8857. - Resume building on Irix64, and fix a lot of warnings from its
  8858. MIPSpro C compiler.
  8859. - Don't corrupt last_guessed_ip in router_new_address_suggestion()
  8860. when we're running as a client.
  8861. Changes in version 0.1.1.25 - 2006-11-04
  8862. o Major bugfixes:
  8863. - When a client asks us to resolve (rather than connect to)
  8864. an address, and we have a cached answer, give them the cached
  8865. answer. Previously, we would give them no answer at all.
  8866. - We were building exactly the wrong circuits when we predict
  8867. hidden service requirements, meaning Tor would have to build all
  8868. its circuits on demand.
  8869. - If none of our live entry guards have a high uptime, but we
  8870. require a guard with a high uptime, try adding a new guard before
  8871. we give up on the requirement. This patch should make long-lived
  8872. connections more stable on average.
  8873. - When testing reachability of our DirPort, don't launch new
  8874. tests when there's already one in progress -- unreachable
  8875. servers were stacking up dozens of testing streams.
  8876. o Security bugfixes:
  8877. - When the user sends a NEWNYM signal, clear the client-side DNS
  8878. cache too. Otherwise we continue to act on previous information.
  8879. o Minor bugfixes:
  8880. - Avoid a memory corruption bug when creating a hash table for
  8881. the first time.
  8882. - Avoid possibility of controller-triggered crash when misusing
  8883. certain commands from a v0 controller on platforms that do not
  8884. handle printf("%s",NULL) gracefully.
  8885. - Avoid infinite loop on unexpected controller input.
  8886. - Don't log spurious warnings when we see a circuit close reason we
  8887. don't recognize; it's probably just from a newer version of Tor.
  8888. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  8889. Tor/Privoxy we also uninstall Vidalia.
  8890. Changes in version 0.1.2.3-alpha - 2006-10-29
  8891. o Minor features:
  8892. - Prepare for servers to publish descriptors less often: never
  8893. discard a descriptor simply for being too old until either it is
  8894. recommended by no authorities, or until we get a better one for
  8895. the same router. Make caches consider retaining old recommended
  8896. routers for even longer.
  8897. - If most authorities set a BadExit flag for a server, clients
  8898. don't think of it as a general-purpose exit. Clients only consider
  8899. authorities that advertise themselves as listing bad exits.
  8900. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  8901. headers for content, so that we can work better in the presence of
  8902. caching HTTP proxies.
  8903. - Allow authorities to list nodes as bad exits by fingerprint or by
  8904. address.
  8905. o Minor features, controller:
  8906. - Add a REASON field to CIRC events; for backward compatibility, this
  8907. field is sent only to controllers that have enabled the extended
  8908. event format. Also, add additional reason codes to explain why
  8909. a given circuit has been destroyed or truncated. (Patches from
  8910. Mike Perry)
  8911. - Add a REMOTE_REASON field to extended CIRC events to tell the
  8912. controller about why a remote OR told us to close a circuit.
  8913. - Stream events also now have REASON and REMOTE_REASON fields,
  8914. working much like those for circuit events.
  8915. - There's now a GETINFO ns/... field so that controllers can ask Tor
  8916. about the current status of a router.
  8917. - A new event type "NS" to inform a controller when our opinion of
  8918. a router's status has changed.
  8919. - Add a GETINFO events/names and GETINFO features/names so controllers
  8920. can tell which events and features are supported.
  8921. - A new CLEARDNSCACHE signal to allow controllers to clear the
  8922. client-side DNS cache without expiring circuits.
  8923. o Security bugfixes:
  8924. - When the user sends a NEWNYM signal, clear the client-side DNS
  8925. cache too. Otherwise we continue to act on previous information.
  8926. o Minor bugfixes:
  8927. - Avoid sending junk to controllers or segfaulting when a controller
  8928. uses EVENT_NEW_DESC with verbose nicknames.
  8929. - Stop triggering asserts if the controller tries to extend hidden
  8930. service circuits (reported by mwenge).
  8931. - Avoid infinite loop on unexpected controller input.
  8932. - When the controller does a "GETINFO network-status", tell it
  8933. about even those routers whose descriptors are very old, and use
  8934. long nicknames where appropriate.
  8935. - Change NT service functions to be loaded on demand. This lets us
  8936. build with MinGW without breaking Tor for Windows 98 users.
  8937. - Do DirPort reachability tests less often, since a single test
  8938. chews through many circuits before giving up.
  8939. - In the hidden service example in torrc.sample, stop recommending
  8940. esoteric and discouraged hidden service options.
  8941. - When stopping an NT service, wait up to 10 sec for it to actually
  8942. stop. Patch from Matt Edman; resolves bug 295.
  8943. - Fix handling of verbose nicknames with ORCONN controller events:
  8944. make them show up exactly when requested, rather than exactly when
  8945. not requested.
  8946. - When reporting verbose nicknames in entry_guards_getinfo(), avoid
  8947. printing a duplicate "$" in the keys we send (reported by mwenge).
  8948. - Correctly set maximum connection limit on Cygwin. (This time
  8949. for sure!)
  8950. - Try to detect Windows correctly when cross-compiling.
  8951. - Detect the size of the routers file correctly even if it is
  8952. corrupted (on systems without mmap) or not page-aligned (on systems
  8953. with mmap). This bug was harmless.
  8954. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  8955. to open a stream fails; now we do in more cases. This should
  8956. make clients able to find a good exit faster in some cases, since
  8957. unhandleable requests will now get an error rather than timing out.
  8958. - Resolve two memory leaks when rebuilding the on-disk router cache
  8959. (reported by fookoowa).
  8960. - Clean up minor code warnings suggested by the MIPSpro C compiler,
  8961. and reported by some Centos users.
  8962. - Controller signals now work on non-Unix platforms that don't define
  8963. SIGUSR1 and SIGUSR2 the way we expect.
  8964. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  8965. values before failing, and always enables eventdns.
  8966. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  8967. Try to fix this in configure.in by checking for most functions
  8968. before we check for libevent.
  8969. Changes in version 0.1.2.2-alpha - 2006-10-07
  8970. o Major features:
  8971. - Make our async eventdns library on-by-default for Tor servers,
  8972. and plan to deprecate the separate dnsworker threads.
  8973. - Add server-side support for "reverse" DNS lookups (using PTR
  8974. records so clients can determine the canonical hostname for a given
  8975. IPv4 address). Only supported by servers using eventdns; servers
  8976. now announce in their descriptors whether they support eventdns.
  8977. - Specify and implement client-side SOCKS5 interface for reverse DNS
  8978. lookups (see doc/socks-extensions.txt).
  8979. - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
  8980. connect to directory servers through Tor. Previously, clients needed
  8981. to find Tor exits to make private connections to directory servers.
  8982. - Avoid choosing Exit nodes for entry or middle hops when the
  8983. total bandwidth available from non-Exit nodes is much higher than
  8984. the total bandwidth available from Exit nodes.
  8985. - Workaround for name servers (like Earthlink's) that hijack failing
  8986. DNS requests and replace the no-such-server answer with a "helpful"
  8987. redirect to an advertising-driven search portal. Also work around
  8988. DNS hijackers who "helpfully" decline to hijack known-invalid
  8989. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  8990. lets you turn it off.
  8991. - Send out a burst of long-range padding cells once we've established
  8992. that we're reachable. Spread them over 4 circuits, so hopefully
  8993. a few will be fast. This exercises our bandwidth and bootstraps
  8994. us into the directory more quickly.
  8995. o New/improved config options:
  8996. - Add new config option "ResolvConf" to let the server operator
  8997. choose an alternate resolve.conf file when using eventdns.
  8998. - Add an "EnforceDistinctSubnets" option to control our "exclude
  8999. servers on the same /16" behavior. It's still on by default; this
  9000. is mostly for people who want to operate private test networks with
  9001. all the machines on the same subnet.
  9002. - If one of our entry guards is on the ExcludeNodes list, or the
  9003. directory authorities don't think it's a good guard, treat it as
  9004. if it were unlisted: stop using it as a guard, and throw it off
  9005. the guards list if it stays that way for a long time.
  9006. - Allow directory authorities to be marked separately as authorities
  9007. for the v1 directory protocol, the v2 directory protocol, and
  9008. as hidden service directories, to make it easier to retire old
  9009. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  9010. to continue being hidden service authorities too.
  9011. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  9012. o Minor features, controller:
  9013. - Fix CIRC controller events so that controllers can learn the
  9014. identity digests of non-Named servers used in circuit paths.
  9015. - Let controllers ask for more useful identifiers for servers. Instead
  9016. of learning identity digests for un-Named servers and nicknames
  9017. for Named servers, the new identifiers include digest, nickname,
  9018. and indication of Named status. Off by default; see control-spec.txt
  9019. for more information.
  9020. - Add a "getinfo address" controller command so it can display Tor's
  9021. best guess to the user.
  9022. - New controller event to alert the controller when our server
  9023. descriptor has changed.
  9024. - Give more meaningful errors on controller authentication failure.
  9025. o Minor features, other:
  9026. - When asked to resolve a hostname, don't use non-exit servers unless
  9027. requested to do so. This allows servers with broken DNS to be
  9028. useful to the network.
  9029. - Divide eventdns log messages into warn and info messages.
  9030. - Reserve the nickname "Unnamed" for routers that can't pick
  9031. a hostname: any router can call itself Unnamed; directory
  9032. authorities will never allocate Unnamed to any particular router;
  9033. clients won't believe that any router is the canonical Unnamed.
  9034. - Only include function names in log messages for info/debug messages.
  9035. For notice/warn/err, the content of the message should be clear on
  9036. its own, and printing the function name only confuses users.
  9037. - Avoid some false positives during reachability testing: don't try
  9038. to test via a server that's on the same /24 as us.
  9039. - If we fail to build a circuit to an intended enclave, and it's
  9040. not mandatory that we use that enclave, stop wanting it.
  9041. - When eventdns is enabled, allow multithreaded builds on NetBSD and
  9042. OpenBSD. (We had previously disabled threads on these platforms
  9043. because they didn't have working thread-safe resolver functions.)
  9044. o Major bugfixes, anonymity/security:
  9045. - If a client asked for a server by name, and there's a named server
  9046. in our network-status but we don't have its descriptor yet, we
  9047. could return an unnamed server instead.
  9048. - Fix NetBSD bug that could allow someone to force uninitialized RAM
  9049. to be sent to a server's DNS resolver. This only affects NetBSD
  9050. and other platforms that do not bounds-check tolower().
  9051. - Reject (most) attempts to use Tor circuits with length one. (If
  9052. many people start using Tor as a one-hop proxy, exit nodes become
  9053. a more attractive target for compromise.)
  9054. - Just because your DirPort is open doesn't mean people should be
  9055. able to remotely teach you about hidden service descriptors. Now
  9056. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  9057. o Major bugfixes, other:
  9058. - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
  9059. - When a client asks the server to resolve (not connect to)
  9060. an address, and it has a cached answer, give them the cached answer.
  9061. Previously, the server would give them no answer at all.
  9062. - Allow really slow clients to not hang up five minutes into their
  9063. directory downloads (suggested by Adam J. Richter).
  9064. - We were building exactly the wrong circuits when we anticipated
  9065. hidden service requirements, meaning Tor would have to build all
  9066. its circuits on demand.
  9067. - Avoid crashing when we mmap a router cache file of size 0.
  9068. - When testing reachability of our DirPort, don't launch new
  9069. tests when there's already one in progress -- unreachable
  9070. servers were stacking up dozens of testing streams.
  9071. o Minor bugfixes, correctness:
  9072. - If we're a directory mirror and we ask for "all" network status
  9073. documents, we would discard status documents from authorities
  9074. we don't recognize.
  9075. - Avoid a memory corruption bug when creating a hash table for
  9076. the first time.
  9077. - Avoid controller-triggered crash when misusing certain commands
  9078. from a v0 controller on platforms that do not handle
  9079. printf("%s",NULL) gracefully.
  9080. - Don't crash when a controller sends a third argument to an
  9081. "extendcircuit" request.
  9082. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  9083. response; fix error code when "getinfo dir/status/" fails.
  9084. - Avoid crash when telling controller stream-status and a stream
  9085. is detached.
  9086. - Patch from Adam Langley to fix assert() in eventdns.c.
  9087. - Fix a debug log message in eventdns to say "X resolved to Y"
  9088. instead of "X resolved to X".
  9089. - Make eventdns give strings for DNS errors, not just error numbers.
  9090. - Track unreachable entry guards correctly: don't conflate
  9091. 'unreachable by us right now' with 'listed as down by the directory
  9092. authorities'. With the old code, if a guard was unreachable by
  9093. us but listed as running, it would clog our guard list forever.
  9094. - Behave correctly in case we ever have a network with more than
  9095. 2GB/s total advertised capacity.
  9096. - Make TrackExitHosts case-insensitive, and fix the behavior of
  9097. ".suffix" TrackExitHosts items to avoid matching in the middle of
  9098. an address.
  9099. - Finally fix the openssl warnings from newer gccs that believe that
  9100. ignoring a return value is okay, but casting a return value and
  9101. then ignoring it is a sign of madness.
  9102. - Prevent the contrib/exitlist script from printing the same
  9103. result more than once.
  9104. - Patch from Steve Hildrey: Generate network status correctly on
  9105. non-versioning dirservers.
  9106. - Don't listen to the X-Your-Address-Is hint if you did the lookup
  9107. via Tor; otherwise you'll think you're the exit node's IP address.
  9108. o Minor bugfixes, performance:
  9109. - Two small performance improvements on parsing descriptors.
  9110. - Major performance improvement on inserting descriptors: change
  9111. algorithm from O(n^2) to O(n).
  9112. - Make the common memory allocation path faster on machines where
  9113. malloc(0) returns a pointer.
  9114. - Start remembering X-Your-Address-Is directory hints even if you're
  9115. a client, so you can become a server more smoothly.
  9116. - Avoid duplicate entries on MyFamily line in server descriptor.
  9117. o Packaging, features:
  9118. - Remove architecture from OS X builds. The official builds are
  9119. now universal binaries.
  9120. - The Debian package now uses --verify-config when (re)starting,
  9121. to distinguish configuration errors from other errors.
  9122. - Update RPMs to require libevent 1.1b.
  9123. o Packaging, bugfixes:
  9124. - Patches so Tor builds with MinGW on Windows.
  9125. - Patches so Tor might run on Cygwin again.
  9126. - Resume building on non-gcc compilers and ancient gcc. Resume
  9127. building with the -O0 compile flag. Resume building cleanly on
  9128. Debian woody.
  9129. - Run correctly on OS X platforms with case-sensitive filesystems.
  9130. - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
  9131. - Add autoconf checks so Tor can build on Solaris x86 again.
  9132. o Documentation
  9133. - Documented (and renamed) ServerDNSSearchDomains and
  9134. ServerDNSResolvConfFile options.
  9135. - Be clearer that the *ListenAddress directives can be repeated
  9136. multiple times.
  9137. Changes in version 0.1.1.24 - 2006-09-29
  9138. o Major bugfixes:
  9139. - Allow really slow clients to not hang up five minutes into their
  9140. directory downloads (suggested by Adam J. Richter).
  9141. - Fix major performance regression from 0.1.0.x: instead of checking
  9142. whether we have enough directory information every time we want to
  9143. do something, only check when the directory information has changed.
  9144. This should improve client CPU usage by 25-50%.
  9145. - Don't crash if, after a server has been running for a while,
  9146. it can't resolve its hostname.
  9147. o Minor bugfixes:
  9148. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  9149. - Don't crash when the controller receives a third argument to an
  9150. "extendcircuit" request.
  9151. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  9152. response; fix error code when "getinfo dir/status/" fails.
  9153. - Fix configure.in to not produce broken configure files with
  9154. more recent versions of autoconf. Thanks to Clint for his auto*
  9155. voodoo.
  9156. - Fix security bug on NetBSD that could allow someone to force
  9157. uninitialized RAM to be sent to a server's DNS resolver. This
  9158. only affects NetBSD and other platforms that do not bounds-check
  9159. tolower().
  9160. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  9161. methods: these are known to be buggy.
  9162. - If we're a directory mirror and we ask for "all" network status
  9163. documents, we would discard status documents from authorities
  9164. we don't recognize.
  9165. Changes in version 0.1.2.1-alpha - 2006-08-27
  9166. o Major features:
  9167. - Add "eventdns" async dns library from Adam Langley, tweaked to
  9168. build on OSX and Windows. Only enabled if you pass the
  9169. --enable-eventdns argument to configure.
  9170. - Allow servers with no hostname or IP address to learn their
  9171. IP address by asking the directory authorities. This code only
  9172. kicks in when you would normally have exited with a "no address"
  9173. error. Nothing's authenticated, so use with care.
  9174. - Rather than waiting a fixed amount of time between retrying
  9175. application connections, we wait only 5 seconds for the first,
  9176. 10 seconds for the second, and 15 seconds for each retry after
  9177. that. Hopefully this will improve the expected user experience.
  9178. - Patch from Tup to add support for transparent AP connections:
  9179. this basically bundles the functionality of trans-proxy-tor
  9180. into the Tor mainline. Now hosts with compliant pf/netfilter
  9181. implementations can redirect TCP connections straight to Tor
  9182. without diverting through SOCKS. Needs docs.
  9183. - Busy directory servers save lots of memory by spooling server
  9184. descriptors, v1 directories, and v2 networkstatus docs to buffers
  9185. as needed rather than en masse. Also mmap the cached-routers
  9186. files, so we don't need to keep the whole thing in memory too.
  9187. - Automatically avoid picking more than one node from the same
  9188. /16 network when constructing a circuit.
  9189. - Revise and clean up the torrc.sample that we ship with; add
  9190. a section for BandwidthRate and BandwidthBurst.
  9191. o Minor features:
  9192. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  9193. split connection_t into edge, or, dir, control, and base structs.
  9194. These will save quite a bit of memory on busy servers, and they'll
  9195. also help us track down bugs in the code and bugs in the spec.
  9196. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  9197. or later. Log when we are doing this, so we can diagnose it when
  9198. it fails. (Also, recommend libevent 1.1b for kqueue and
  9199. win32 methods; deprecate libevent 1.0b harder; make libevent
  9200. recommendation system saner.)
  9201. - Start being able to build universal binaries on OS X (thanks
  9202. to Phobos).
  9203. - Export the default exit policy via the control port, so controllers
  9204. don't need to guess what it is / will be later.
  9205. - Add a man page entry for ProtocolWarnings.
  9206. - Add TestVia config option to the man page.
  9207. - Remove even more protocol-related warnings from Tor server logs,
  9208. such as bad TLS handshakes and malformed begin cells.
  9209. - Stop fetching descriptors if you're not a dir mirror and you
  9210. haven't tried to establish any circuits lately. [This currently
  9211. causes some dangerous behavior, because when you start up again
  9212. you'll use your ancient server descriptors.]
  9213. - New DirPort behavior: if you have your dirport set, you download
  9214. descriptors aggressively like a directory mirror, whether or not
  9215. your ORPort is set.
  9216. - Get rid of the router_retry_connections notion. Now routers
  9217. no longer try to rebuild long-term connections to directory
  9218. authorities, and directory authorities no longer try to rebuild
  9219. long-term connections to all servers. We still don't hang up
  9220. connections in these two cases though -- we need to look at it
  9221. more carefully to avoid flapping, and we likely need to wait til
  9222. 0.1.1.x is obsolete.
  9223. - Drop compatibility with obsolete Tors that permit create cells
  9224. to have the wrong circ_id_type.
  9225. - Re-enable per-connection rate limiting. Get rid of the "OP
  9226. bandwidth" concept. Lay groundwork for "bandwidth classes" --
  9227. separate global buckets that apply depending on what sort of conn
  9228. it is.
  9229. - Start publishing one minute or so after we find our ORPort
  9230. to be reachable. This will help reduce the number of descriptors
  9231. we have for ourselves floating around, since it's quite likely
  9232. other things (e.g. DirPort) will change during that minute too.
  9233. - Fork the v1 directory protocol into its own spec document,
  9234. and mark dir-spec.txt as the currently correct (v2) spec.
  9235. o Major bugfixes:
  9236. - When we find our DirPort to be reachable, publish a new descriptor
  9237. so we'll tell the world (reported by pnx).
  9238. - Publish a new descriptor after we hup/reload. This is important
  9239. if our config has changed such that we'll want to start advertising
  9240. our DirPort now, etc.
  9241. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  9242. - When we have a state file we cannot parse, tell the user and
  9243. move it aside. Now we avoid situations where the user starts
  9244. Tor in 1904, Tor writes a state file with that timestamp in it,
  9245. the user fixes her clock, and Tor refuses to start.
  9246. - Fix configure.in to not produce broken configure files with
  9247. more recent versions of autoconf. Thanks to Clint for his auto*
  9248. voodoo.
  9249. - "tor --verify-config" now exits with -1(255) or 0 depending on
  9250. whether the config options are bad or good.
  9251. - Resolve bug 321 when using dnsworkers: append a period to every
  9252. address we resolve at the exit node, so that we do not accidentally
  9253. pick up local addresses, and so that failing searches are retried
  9254. in the resolver search domains. (This is already solved for
  9255. eventdns.) (This breaks Blossom servers for now.)
  9256. - If we are using an exit enclave and we can't connect, e.g. because
  9257. its webserver is misconfigured to not listen on localhost, then
  9258. back off and try connecting from somewhere else before we fail.
  9259. o Minor bugfixes:
  9260. - Start compiling on MinGW on Windows (patches from Mike Chiussi).
  9261. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  9262. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  9263. when the IP address is mapped through MapAddress to a hostname.
  9264. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  9265. useless IPv6 DNS resolves.
  9266. - Patch suggested by Karsten Loesing: respond to SIGNAL command
  9267. before we execute the signal, in case the signal shuts us down.
  9268. - Clean up AllowInvalidNodes man page entry.
  9269. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  9270. - Add more asserts to track down an assert error on a windows Tor
  9271. server with connection_add being called with socket == -1.
  9272. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  9273. - Fix misleading log messages: an entry guard that is "unlisted",
  9274. as well as not known to be "down" (because we've never heard
  9275. of it), is not therefore "up".
  9276. - Remove code to special-case "-cvs" ending, since it has not
  9277. actually mattered since 0.0.9.
  9278. - Make our socks5 handling more robust to broken socks clients:
  9279. throw out everything waiting on the buffer in between socks
  9280. handshake phases, since they can't possibly (so the theory
  9281. goes) have predicted what we plan to respond to them.
  9282. Changes in version 0.1.1.23 - 2006-07-30
  9283. o Major bugfixes:
  9284. - Fast Tor servers, especially exit nodes, were triggering asserts
  9285. due to a bug in handling the list of pending DNS resolves. Some
  9286. bugs still remain here; we're hunting them.
  9287. - Entry guards could crash clients by sending unexpected input.
  9288. - More fixes on reachability testing: if you find yourself reachable,
  9289. then don't ever make any client requests (so you stop predicting
  9290. circuits), then hup or have your clock jump, then later your IP
  9291. changes, you won't think circuits are working, so you won't try to
  9292. test reachability, so you won't publish.
  9293. o Minor bugfixes:
  9294. - Avoid a crash if the controller does a resetconf firewallports
  9295. and then a setconf fascistfirewall=1.
  9296. - Avoid an integer underflow when the dir authority decides whether
  9297. a router is stable: we might wrongly label it stable, and compute
  9298. a slightly wrong median stability, when a descriptor is published
  9299. later than now.
  9300. - Fix a place where we might trigger an assert if we can't build our
  9301. own server descriptor yet.
  9302. Changes in version 0.1.1.22 - 2006-07-05
  9303. o Major bugfixes:
  9304. - Fix a big bug that was causing servers to not find themselves
  9305. reachable if they changed IP addresses. Since only 0.1.1.22+
  9306. servers can do reachability testing correctly, now we automatically
  9307. make sure to test via one of these.
  9308. - Fix to allow clients and mirrors to learn directory info from
  9309. descriptor downloads that get cut off partway through.
  9310. - Directory authorities had a bug in deciding if a newly published
  9311. descriptor was novel enough to make everybody want a copy -- a few
  9312. servers seem to be publishing new descriptors many times a minute.
  9313. o Minor bugfixes:
  9314. - Fix a rare bug that was causing some servers to complain about
  9315. "closing wedged cpuworkers" and skip some circuit create requests.
  9316. - Make the Exit flag in directory status documents actually work.
  9317. Changes in version 0.1.1.21 - 2006-06-10
  9318. o Crash and assert fixes from 0.1.1.20:
  9319. - Fix a rare crash on Tor servers that have enabled hibernation.
  9320. - Fix a seg fault on startup for Tor networks that use only one
  9321. directory authority.
  9322. - Fix an assert from a race condition that occurs on Tor servers
  9323. while exiting, where various threads are trying to log that they're
  9324. exiting, and delete the logs, at the same time.
  9325. - Make our unit tests pass again on certain obscure platforms.
  9326. o Other fixes:
  9327. - Add support for building SUSE RPM packages.
  9328. - Speed up initial bootstrapping for clients: if we are making our
  9329. first ever connection to any entry guard, then don't mark it down
  9330. right after that.
  9331. - When only one Tor server in the network is labelled as a guard,
  9332. and we've already picked him, we would cycle endlessly picking him
  9333. again, being unhappy about it, etc. Now we specifically exclude
  9334. current guards when picking a new guard.
  9335. - Servers send create cells more reliably after the TLS connection
  9336. is established: we were sometimes forgetting to send half of them
  9337. when we had more than one pending.
  9338. - If we get a create cell that asks us to extend somewhere, but the
  9339. Tor server there doesn't match the expected digest, we now send
  9340. a destroy cell back, rather than silently doing nothing.
  9341. - Make options->RedirectExit work again.
  9342. - Make cookie authentication for the controller work again.
  9343. - Stop being picky about unusual characters in the arguments to
  9344. mapaddress. It's none of our business.
  9345. - Add a new config option "TestVia" that lets you specify preferred
  9346. middle hops to use for test circuits. Perhaps this will let me
  9347. debug the reachability problems better.
  9348. o Log / documentation fixes:
  9349. - If we're a server and some peer has a broken TLS certificate, don't
  9350. log about it unless ProtocolWarnings is set, i.e., we want to hear
  9351. about protocol violations by others.
  9352. - Fix spelling of VirtualAddrNetwork in man page.
  9353. - Add a better explanation at the top of the autogenerated torrc file
  9354. about what happened to our old torrc.
  9355. Changes in version 0.1.1.20 - 2006-05-23
  9356. o Bugfixes:
  9357. - Downgrade a log severity where servers complain that they're
  9358. invalid.
  9359. - Avoid a compile warning on FreeBSD.
  9360. - Remove string size limit on NEWDESC messages; solve bug 291.
  9361. - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
  9362. more thoroughly when we're running on windows.
  9363. Changes in version 0.1.1.19-rc - 2006-05-03
  9364. o Minor bugs:
  9365. - Regenerate our local descriptor if it's dirty and we try to use
  9366. it locally (e.g. if it changes during reachability detection).
  9367. - If we setconf our ORPort to 0, we continued to listen on the
  9368. old ORPort and receive connections.
  9369. - Avoid a second warning about machine/limits.h on Debian
  9370. GNU/kFreeBSD.
  9371. - Be willing to add our own routerinfo into the routerlist.
  9372. Now authorities will include themselves in their directories
  9373. and network-statuses.
  9374. - Stop trying to upload rendezvous descriptors to every
  9375. directory authority: only try the v1 authorities.
  9376. - Servers no longer complain when they think they're not
  9377. registered with the directory authorities. There were too many
  9378. false positives.
  9379. - Backport dist-rpm changes so rpms can be built without errors.
  9380. o Features:
  9381. - Implement an option, VirtualAddrMask, to set which addresses
  9382. get handed out in response to mapaddress requests. This works
  9383. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  9384. Changes in version 0.1.1.18-rc - 2006-04-10
  9385. o Major fixes:
  9386. - Work harder to download live network-statuses from all the
  9387. directory authorities we know about. Improve the threshold
  9388. decision logic so we're more robust to edge cases.
  9389. - When fetching rendezvous descriptors, we were willing to ask
  9390. v2 authorities too, which would always return 404.
  9391. o Minor fixes:
  9392. - Stop listing down or invalid nodes in the v1 directory. This will
  9393. reduce its bulk by about 1/3, and reduce load on directory
  9394. mirrors.
  9395. - When deciding whether a router is Fast or Guard-worthy, consider
  9396. his advertised BandwidthRate and not just the BandwidthCapacity.
  9397. - No longer ship INSTALL and README files -- they are useless now.
  9398. - Force rpmbuild to behave and honor target_cpu.
  9399. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  9400. - Start to include translated versions of the tor-doc-*.html
  9401. files, along with the screenshots. Still needs more work.
  9402. - Start sending back 512 and 451 errors if mapaddress fails,
  9403. rather than not sending anything back at all.
  9404. - When we fail to bind or listen on an incoming or outgoing
  9405. socket, we should close it before failing. otherwise we just
  9406. leak it. (thanks to weasel for finding.)
  9407. - Allow "getinfo dir/status/foo" to work, as long as your DirPort
  9408. is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
  9409. - Make NoPublish (even though deprecated) work again.
  9410. - Fix a minor security flaw where a versioning auth dirserver
  9411. could list a recommended version many times in a row to make
  9412. clients more convinced that it's recommended.
  9413. - Fix crash bug if there are two unregistered servers running
  9414. with the same nickname, one of them is down, and you ask for
  9415. them by nickname in your EntryNodes or ExitNodes. Also, try
  9416. to pick the one that's running rather than an arbitrary one.
  9417. - Fix an infinite loop we could hit if we go offline for too long.
  9418. - Complain when we hit WSAENOBUFS on recv() or write() too.
  9419. Perhaps this will help us hunt the bug.
  9420. - If you're not a versioning dirserver, don't put the string
  9421. "client-versions \nserver-versions \n" in your network-status.
  9422. - Lower the minimum required number of file descriptors to 1000,
  9423. so we can have some overhead for Valgrind on Linux, where the
  9424. default ulimit -n is 1024.
  9425. o New features:
  9426. - Add tor.dizum.com as the fifth authoritative directory server.
  9427. - Add a new config option FetchUselessDescriptors, off by default,
  9428. for when you plan to run "exitlist" on your client and you want
  9429. to know about even the non-running descriptors.
  9430. Changes in version 0.1.1.17-rc - 2006-03-28
  9431. o Major fixes:
  9432. - Clients and servers since 0.1.1.10-alpha have been expiring
  9433. connections whenever they are idle for 5 minutes and they *do*
  9434. have circuits on them. Oops. With this new version, clients will
  9435. discard their previous entry guard choices and avoid choosing
  9436. entry guards running these flawed versions.
  9437. - Fix memory leak when uncompressing concatenated zlib streams. This
  9438. was causing substantial leaks over time on Tor servers.
  9439. - The v1 directory was including servers as much as 48 hours old,
  9440. because that's how the new routerlist->routers works. Now only
  9441. include them if they're 20 hours old or less.
  9442. o Minor fixes:
  9443. - Resume building on irix64, netbsd 2.0, etc.
  9444. - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
  9445. "-Wall -g -O2".
  9446. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  9447. and it is confusing some users.
  9448. - Mirrors stop caching the v1 directory so often.
  9449. - Make the max number of old descriptors that a cache will hold
  9450. rise with the number of directory authorities, so we can scale.
  9451. - Change our win32 uname() hack to be more forgiving about what
  9452. win32 versions it thinks it's found.
  9453. o New features:
  9454. - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
  9455. server.
  9456. - When the controller's *setconf commands fail, collect an error
  9457. message in a string and hand it back to the controller.
  9458. - Make the v2 dir's "Fast" flag based on relative capacity, just
  9459. like "Stable" is based on median uptime. Name everything in the
  9460. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  9461. - Log server fingerprint on startup, so new server operators don't
  9462. have to go hunting around their filesystem for it.
  9463. - Return a robots.txt on our dirport to discourage google indexing.
  9464. - Let the controller ask for GETINFO dir/status/foo so it can ask
  9465. directly rather than connecting to the dir port. Only works when
  9466. dirport is set for now.
  9467. o New config options rather than constants in the code:
  9468. - SocksTimeout: How long do we let a socks connection wait
  9469. unattached before we fail it?
  9470. - CircuitBuildTimeout: Cull non-open circuits that were born
  9471. at least this many seconds ago.
  9472. - CircuitIdleTimeout: Cull open clean circuits that were born
  9473. at least this many seconds ago.
  9474. Changes in version 0.1.1.16-rc - 2006-03-18
  9475. o Bugfixes on 0.1.1.15-rc:
  9476. - Fix assert when the controller asks to attachstream a connect-wait
  9477. or resolve-wait stream.
  9478. - Now do address rewriting when the controller asks us to attach
  9479. to a particular circuit too. This will let Blossom specify
  9480. "moria2.exit" without having to learn what moria2's IP address is.
  9481. - Make the "tor --verify-config" command-line work again, so people
  9482. can automatically check if their torrc will parse.
  9483. - Authoritative dirservers no longer require an open connection from
  9484. a server to consider him "reachable". We need this change because
  9485. when we add new auth dirservers, old servers won't know not to
  9486. hang up on them.
  9487. - Let Tor build on Sun CC again.
  9488. - Fix an off-by-one buffer size in dirserv.c that magically never
  9489. hit our three authorities but broke sjmurdoch's own tor network.
  9490. - If we as a directory mirror don't know of any v1 directory
  9491. authorities, then don't try to cache any v1 directories.
  9492. - Stop warning about unknown servers in our family when they are
  9493. given as hex digests.
  9494. - Stop complaining as quickly to the server operator that he
  9495. hasn't registered his nickname/key binding.
  9496. - Various cleanups so we can add new V2 Auth Dirservers.
  9497. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  9498. reflect the updated flags in our v2 dir protocol.
  9499. - Resume allowing non-printable characters for exit streams (both
  9500. for connecting and for resolving). Now we tolerate applications
  9501. that don't follow the RFCs. But continue to block malformed names
  9502. at the socks side.
  9503. o Bugfixes on 0.1.0.x:
  9504. - Fix assert bug in close_logs(): when we close and delete logs,
  9505. remove them all from the global "logfiles" list.
  9506. - Fix minor integer overflow in calculating when we expect to use up
  9507. our bandwidth allocation before hibernating.
  9508. - Fix a couple of bugs in OpenSSL detection. Also, deal better when
  9509. there are multiple SSLs installed with different versions.
  9510. - When we try to be a server and Address is not explicitly set and
  9511. our hostname resolves to a private IP address, try to use an
  9512. interface address if it has a public address. Now Windows machines
  9513. that think of themselves as localhost can work by default.
  9514. o New features:
  9515. - Let the controller ask for GETINFO dir/server/foo so it can ask
  9516. directly rather than connecting to the dir port.
  9517. - Let the controller tell us about certain router descriptors
  9518. that it doesn't want Tor to use in circuits. Implement
  9519. SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
  9520. - New config option SafeSocks to reject all application connections
  9521. using unsafe socks protocols. Defaults to off.
  9522. Changes in version 0.1.1.15-rc - 2006-03-11
  9523. o Bugfixes and cleanups:
  9524. - When we're printing strings from the network, don't try to print
  9525. non-printable characters. This protects us against shell escape
  9526. sequence exploits, and also against attacks to fool humans into
  9527. misreading their logs.
  9528. - Fix a bug where Tor would fail to establish any connections if you
  9529. left it off for 24 hours and then started it: we were happy with
  9530. the obsolete network statuses, but they all referred to router
  9531. descriptors that were too old to fetch, so we ended up with no
  9532. valid router descriptors.
  9533. - Fix a seg fault in the controller's "getinfo orconn-status"
  9534. command while listing status on incoming handshaking connections.
  9535. Introduce a status name "NEW" for these connections.
  9536. - If we get a linelist or linelist_s config option from the torrc
  9537. (e.g. ExitPolicy) and it has no value, warn and skip rather than
  9538. silently resetting it to its default.
  9539. - Don't abandon entry guards until they've been down or gone for
  9540. a whole month.
  9541. - Cleaner and quieter log messages.
  9542. o New features:
  9543. - New controller signal NEWNYM that makes new application requests
  9544. use clean circuits.
  9545. - Add a new circuit purpose 'controller' to let the controller ask
  9546. for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
  9547. controller command to let you specify the purpose if you're
  9548. starting a new circuit. Add a new SETCIRCUITPURPOSE controller
  9549. command to let you change a circuit's purpose after it's been
  9550. created.
  9551. - Accept "private:*" in routerdesc exit policies; not generated yet
  9552. because older Tors do not understand it.
  9553. - Add BSD-style contributed startup script "rc.subr" from Peter
  9554. Thoenen.
  9555. Changes in version 0.1.1.14-alpha - 2006-02-20
  9556. o Bugfixes on 0.1.1.x:
  9557. - Don't die if we ask for a stdout or stderr log (even implicitly)
  9558. and we're set to RunAsDaemon -- just warn.
  9559. - We still had a few bugs in the OR connection rotation code that
  9560. caused directory servers to slowly aggregate connections to other
  9561. fast Tor servers. This time for sure!
  9562. - Make log entries on Win32 include the name of the function again.
  9563. - We were treating a pair of exit policies if they were equal even
  9564. if one said accept and the other said reject -- causing us to
  9565. not always publish a new descriptor since we thought nothing
  9566. had changed.
  9567. - Retry pending server downloads as well as pending networkstatus
  9568. downloads when we unexpectedly get a socks request.
  9569. - We were ignoring the IS_FAST flag in the directory status,
  9570. meaning we were willing to pick trivial-bandwidth nodes for "fast"
  9571. connections.
  9572. - If the controller's SAVECONF command fails (e.g. due to file
  9573. permissions), let the controller know that it failed.
  9574. o Features:
  9575. - If we're trying to be a Tor server and running Windows 95/98/ME
  9576. as a server, explain that we'll likely crash.
  9577. - When we're a server, a client asks for an old-style directory,
  9578. and our write bucket is empty, don't give it to him. This way
  9579. small servers can continue to serve the directory *sometimes*,
  9580. without getting overloaded.
  9581. - Compress exit policies even more -- look for duplicate lines
  9582. and remove them.
  9583. - Clients now honor the "guard" flag in the router status when
  9584. picking entry guards, rather than looking at is_fast or is_stable.
  9585. - Retain unrecognized lines in $DATADIR/state file, so that we can
  9586. be forward-compatible.
  9587. - Generate 18.0.0.0/8 address policy format in descs when we can;
  9588. warn when the mask is not reducible to a bit-prefix.
  9589. - Let the user set ControlListenAddress in the torrc. This can be
  9590. dangerous, but there are some cases (like a secured LAN) where it
  9591. makes sense.
  9592. - Split ReachableAddresses into ReachableDirAddresses and
  9593. ReachableORAddresses, so we can restrict Dir conns to port 80
  9594. and OR conns to port 443.
  9595. - Now we can target arch and OS in rpm builds (contributed by
  9596. Phobos). Also make the resulting dist-rpm filename match the
  9597. target arch.
  9598. - New config options to help controllers: FetchServerDescriptors
  9599. and FetchHidServDescriptors for whether to fetch server
  9600. info and hidserv info or let the controller do it, and
  9601. PublishServerDescriptor and PublishHidServDescriptors.
  9602. - Also let the controller set the __AllDirActionsPrivate config
  9603. option if you want all directory fetches/publishes to happen via
  9604. Tor (it assumes your controller bootstraps your circuits).
  9605. Changes in version 0.1.0.17 - 2006-02-17
  9606. o Crash bugfixes on 0.1.0.x:
  9607. - When servers with a non-zero DirPort came out of hibernation,
  9608. sometimes they would trigger an assert.
  9609. o Other important bugfixes:
  9610. - On platforms that don't have getrlimit (like Windows), we were
  9611. artificially constraining ourselves to a max of 1024
  9612. connections. Now just assume that we can handle as many as 15000
  9613. connections. Hopefully this won't cause other problems.
  9614. o Backported features:
  9615. - When we're a server, a client asks for an old-style directory,
  9616. and our write bucket is empty, don't give it to him. This way
  9617. small servers can continue to serve the directory *sometimes*,
  9618. without getting overloaded.
  9619. - Whenever you get a 503 in response to a directory fetch, try
  9620. once more. This will become important once servers start sending
  9621. 503's whenever they feel busy.
  9622. - Fetch a new directory every 120 minutes, not every 40 minutes.
  9623. Now that we have hundreds of thousands of users running the old
  9624. directory algorithm, it's starting to hurt a lot.
  9625. - Bump up the period for forcing a hidden service descriptor upload
  9626. from 20 minutes to 1 hour.
  9627. Changes in version 0.1.1.13-alpha - 2006-02-09
  9628. o Crashes in 0.1.1.x:
  9629. - When you tried to setconf ORPort via the controller, Tor would
  9630. crash. So people using TorCP to become a server were sad.
  9631. - Solve (I hope) the stack-smashing bug that we were seeing on fast
  9632. servers. The problem appears to be something do with OpenSSL's
  9633. random number generation, or how we call it, or something. Let me
  9634. know if the crashes continue.
  9635. - Turn crypto hardware acceleration off by default, until we find
  9636. somebody smart who can test it for us. (It appears to produce
  9637. seg faults in at least some cases.)
  9638. - Fix a rare assert error when we've tried all intro points for
  9639. a hidden service and we try fetching the service descriptor again:
  9640. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
  9641. o Major fixes:
  9642. - Fix a major load balance bug: we were round-robining in 16 KB
  9643. chunks, and servers with bandwidthrate of 20 KB, while downloading
  9644. a 600 KB directory, would starve their other connections. Now we
  9645. try to be a bit more fair.
  9646. - Dir authorities and mirrors were never expiring the newest
  9647. descriptor for each server, causing memory and directory bloat.
  9648. - Fix memory-bloating and connection-bloating bug on servers: We
  9649. were never closing any connection that had ever had a circuit on
  9650. it, because we were checking conn->n_circuits == 0, yet we had a
  9651. bug that let it go negative.
  9652. - Make Tor work using squid as your http proxy again -- squid
  9653. returns an error if you ask for a URL that's too long, and it uses
  9654. a really generic error message. Plus, many people are behind a
  9655. transparent squid so they don't even realize it.
  9656. - On platforms that don't have getrlimit (like Windows), we were
  9657. artificially constraining ourselves to a max of 1024
  9658. connections. Now just assume that we can handle as many as 15000
  9659. connections. Hopefully this won't cause other problems.
  9660. - Add a new config option ExitPolicyRejectPrivate which defaults to
  9661. 1. This means all exit policies will begin with rejecting private
  9662. addresses, unless the server operator explicitly turns it off.
  9663. o Major features:
  9664. - Clients no longer download descriptors for non-running
  9665. descriptors.
  9666. - Before we add new directory authorities, we should make it
  9667. clear that only v1 authorities should receive/publish hidden
  9668. service descriptors.
  9669. o Minor features:
  9670. - As soon as we've fetched some more directory info, immediately
  9671. try to download more server descriptors. This way we don't have
  9672. a 10 second pause during initial bootstrapping.
  9673. - Remove even more loud log messages that the server operator can't
  9674. do anything about.
  9675. - When we're running an obsolete or un-recommended version, make
  9676. the log message more clear about what the problem is and what
  9677. versions *are* still recommended.
  9678. - Provide a more useful warn message when our onion queue gets full:
  9679. the CPU is too slow or the exit policy is too liberal.
  9680. - Don't warn when we receive a 503 from a dirserver/cache -- this
  9681. will pave the way for them being able to refuse if they're busy.
  9682. - When we fail to bind a listener, try to provide a more useful
  9683. log message: e.g., "Is Tor already running?"
  9684. - Adjust tor-spec to parameterize cell and key lengths. Now Ian
  9685. Goldberg can prove things about our handshake protocol more
  9686. easily.
  9687. - MaxConn has been obsolete for a while now. Document the ConnLimit
  9688. config option, which is a *minimum* number of file descriptors
  9689. that must be available else Tor refuses to start.
  9690. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  9691. if you log to syslog and want something other than LOG_DAEMON.
  9692. - Make dirservers generate a separate "guard" flag to mean,
  9693. "would make a good entry guard". Make clients parse it and vote
  9694. on it. Not used by clients yet.
  9695. - Implement --with-libevent-dir option to ./configure. Also, improve
  9696. search techniques to find libevent, and use those for openssl too.
  9697. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
  9698. - Only start testing reachability once we've established a
  9699. circuit. This will make startup on dirservers less noisy.
  9700. - Don't try to upload hidden service descriptors until we have
  9701. established a circuit.
  9702. - Fix the controller's "attachstream 0" command to treat conn like
  9703. it just connected, doing address remapping, handling .exit and
  9704. .onion idioms, and so on. Now we're more uniform in making sure
  9705. that the controller hears about new and closing connections.
  9706. Changes in version 0.1.1.12-alpha - 2006-01-11
  9707. o Bugfixes on 0.1.1.x:
  9708. - The fix to close duplicate server connections was closing all
  9709. Tor client connections if they didn't establish a circuit
  9710. quickly enough. Oops.
  9711. - Fix minor memory issue (double-free) that happened on exit.
  9712. o Bugfixes on 0.1.0.x:
  9713. - Tor didn't warn when it failed to open a log file.
  9714. Changes in version 0.1.1.11-alpha - 2006-01-10
  9715. o Crashes in 0.1.1.x:
  9716. - Include all the assert/crash fixes from 0.1.0.16.
  9717. - If you start Tor and then quit very quickly, there were some
  9718. races that tried to free things that weren't allocated yet.
  9719. - Fix a rare memory stomp if you're running hidden services.
  9720. - Fix segfault when specifying DirServer in config without nickname.
  9721. - Fix a seg fault when you finish connecting to a server but at
  9722. that moment you dump his server descriptor.
  9723. - Extendcircuit and Attachstream controller commands would
  9724. assert/crash if you don't give them enough arguments.
  9725. - Fix an assert error when we're out of space in the connection_list
  9726. and we try to post a hidden service descriptor (reported by weasel).
  9727. - If you specify a relative torrc path and you set RunAsDaemon in
  9728. your torrc, then it chdir()'s to the new directory. If you HUP,
  9729. it tries to load the new torrc location, fails, and exits.
  9730. The fix: no longer allow a relative path to torrc using -f.
  9731. o Major features:
  9732. - Implement "entry guards": automatically choose a handful of entry
  9733. nodes and stick with them for all circuits. Only pick new guards
  9734. when the ones you have are unsuitable, and if the old guards
  9735. become suitable again, switch back. This will increase security
  9736. dramatically against certain end-point attacks. The EntryNodes
  9737. config option now provides some hints about which entry guards you
  9738. want to use most; and StrictEntryNodes means to only use those.
  9739. - New directory logic: download by descriptor digest, not by
  9740. fingerprint. Caches try to download all listed digests from
  9741. authorities; clients try to download "best" digests from caches.
  9742. This avoids partitioning and isolating attacks better.
  9743. - Make the "stable" router flag in network-status be the median of
  9744. the uptimes of running valid servers, and make clients pay
  9745. attention to the network-status flags. Thus the cutoff adapts
  9746. to the stability of the network as a whole, making IRC, IM, etc
  9747. connections more reliable.
  9748. o Major fixes:
  9749. - Tor servers with dynamic IP addresses were needing to wait 18
  9750. hours before they could start doing reachability testing using
  9751. the new IP address and ports. This is because they were using
  9752. the internal descriptor to learn what to test, yet they were only
  9753. rebuilding the descriptor once they decided they were reachable.
  9754. - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
  9755. to download certain server descriptors, throw them away, and then
  9756. fetch them again after 30 minutes. Now mirrors throw away these
  9757. server descriptors so clients can't get them.
  9758. - We were leaving duplicate connections to other ORs open for a week,
  9759. rather than closing them once we detect a duplicate. This only
  9760. really affected authdirservers, but it affected them a lot.
  9761. - Spread the authdirservers' reachability testing over the entire
  9762. testing interval, so we don't try to do 500 TLS's at once every
  9763. 20 minutes.
  9764. o Minor fixes:
  9765. - If the network is down, and we try to connect to a conn because
  9766. we have a circuit in mind, and we timeout (30 seconds) because the
  9767. network never answers, we were expiring the circuit, but we weren't
  9768. obsoleting the connection or telling the entry_guards functions.
  9769. - Some Tor servers process billions of cells per day. These statistics
  9770. need to be uint64_t's.
  9771. - Check for integer overflows in more places, when adding elements
  9772. to smartlists. This could possibly prevent a buffer overflow
  9773. on malicious huge inputs. I don't see any, but I haven't looked
  9774. carefully.
  9775. - ReachableAddresses kept growing new "reject *:*" lines on every
  9776. setconf/reload.
  9777. - When you "setconf log" via the controller, it should remove all
  9778. logs. We were automatically adding back in a "log notice stdout".
  9779. - Newly bootstrapped Tor networks couldn't establish hidden service
  9780. circuits until they had nodes with high uptime. Be more tolerant.
  9781. - We were marking servers down when they could not answer every piece
  9782. of the directory request we sent them. This was far too harsh.
  9783. - Fix the torify (tsocks) config file to not use Tor for localhost
  9784. connections.
  9785. - Directory authorities now go to the proper authority when asking for
  9786. a networkstatus, even when they want a compressed one.
  9787. - Fix a harmless bug that was causing Tor servers to log
  9788. "Got an end because of misc error, but we're not an AP. Closing."
  9789. - Authorities were treating their own descriptor changes as cosmetic,
  9790. meaning the descriptor available in the network-status and the
  9791. descriptor that clients downloaded were different.
  9792. - The OS X installer was adding a symlink for tor_resolve but
  9793. the binary was called tor-resolve (reported by Thomas Hardly).
  9794. - Workaround a problem with some http proxies where they refuse GET
  9795. requests that specify "Content-Length: 0" (reported by Adrian).
  9796. - Fix wrong log message when you add a "HiddenServiceNodes" config
  9797. line without any HiddenServiceDir line (reported by Chris Thomas).
  9798. o Minor features:
  9799. - Write the TorVersion into the state file so we have a prayer of
  9800. keeping forward and backward compatibility.
  9801. - Revive the FascistFirewall config option rather than eliminating it:
  9802. now it's a synonym for ReachableAddresses *:80,*:443.
  9803. - Clients choose directory servers from the network status lists,
  9804. not from their internal list of router descriptors. Now they can
  9805. go to caches directly rather than needing to go to authorities
  9806. to bootstrap.
  9807. - Directory authorities ignore router descriptors that have only
  9808. cosmetic differences: do this for 0.1.0.x servers now too.
  9809. - Add a new flag to network-status indicating whether the server
  9810. can answer v2 directory requests too.
  9811. - Authdirs now stop whining so loudly about bad descriptors that
  9812. they fetch from other dirservers. So when there's a log complaint,
  9813. it's for sure from a freshly uploaded descriptor.
  9814. - Reduce memory requirements in our structs by changing the order
  9815. of fields.
  9816. - There used to be two ways to specify your listening ports in a
  9817. server descriptor: on the "router" line and with a separate "ports"
  9818. line. Remove support for the "ports" line.
  9819. - New config option "AuthDirRejectUnlisted" for auth dirservers as
  9820. a panic button: if we get flooded with unusable servers we can
  9821. revert to only listing servers in the approved-routers file.
  9822. - Auth dir servers can now mark a fingerprint as "!reject" or
  9823. "!invalid" in the approved-routers file (as its nickname), to
  9824. refuse descriptors outright or include them but marked as invalid.
  9825. - Servers store bandwidth history across restarts/crashes.
  9826. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  9827. get a better idea of why their circuits failed. Not used yet.
  9828. - Directory mirrors now cache up to 16 unrecognized network-status
  9829. docs. Now we can add new authdirservers and they'll be cached too.
  9830. - When picking a random directory, prefer non-authorities if any
  9831. are known.
  9832. - New controller option "getinfo desc/all-recent" to fetch the
  9833. latest server descriptor for every router that Tor knows about.
  9834. Changes in version 0.1.0.16 - 2006-01-02
  9835. o Crash bugfixes on 0.1.0.x:
  9836. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  9837. corrupting the heap, losing FDs, or crashing when we need to resize
  9838. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  9839. - It turns out sparc64 platforms crash on unaligned memory access
  9840. too -- so detect and avoid this.
  9841. - Handle truncated compressed data correctly (by detecting it and
  9842. giving an error).
  9843. - Fix possible-but-unlikely free(NULL) in control.c.
  9844. - When we were closing connections, there was a rare case that
  9845. stomped on memory, triggering seg faults and asserts.
  9846. - Avoid potential infinite recursion when building a descriptor. (We
  9847. don't know that it ever happened, but better to fix it anyway.)
  9848. - We were neglecting to unlink marked circuits from soon-to-close OR
  9849. connections, which caused some rare scribbling on freed memory.
  9850. - Fix a memory stomping race bug when closing the joining point of two
  9851. rendezvous circuits.
  9852. - Fix an assert in time parsing found by Steven Murdoch.
  9853. o Other bugfixes on 0.1.0.x:
  9854. - When we're doing reachability testing, provide more useful log
  9855. messages so the operator knows what to expect.
  9856. - Do not check whether DirPort is reachable when we are suppressing
  9857. advertising it because of hibernation.
  9858. - When building with -static or on Solaris, we sometimes needed -ldl.
  9859. - When we're deciding whether a stream has enough circuits around
  9860. that can handle it, count the freshly dirty ones and not the ones
  9861. that are so dirty they won't be able to handle it.
  9862. - When we're expiring old circuits, we had a logic error that caused
  9863. us to close new rendezvous circuits rather than old ones.
  9864. - Give a more helpful log message when you try to change ORPort via
  9865. the controller: you should upgrade Tor if you want that to work.
  9866. - We were failing to parse Tor versions that start with "Tor ".
  9867. - Tolerate faulty streams better: when a stream fails for reason
  9868. exitpolicy, stop assuming that the router is lying about his exit
  9869. policy. When a stream fails for reason misc, allow it to retry just
  9870. as if it was resolvefailed. When a stream has failed three times,
  9871. reset its failure count so we can try again and get all three tries.
  9872. Changes in version 0.1.1.10-alpha - 2005-12-11
  9873. o Correctness bugfixes on 0.1.0.x:
  9874. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  9875. corrupting the heap, losing FDs, or crashing when we need to resize
  9876. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  9877. - Stop doing the complex voodoo overkill checking for insecure
  9878. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  9879. - When we were closing connections, there was a rare case that
  9880. stomped on memory, triggering seg faults and asserts.
  9881. - We were neglecting to unlink marked circuits from soon-to-close OR
  9882. connections, which caused some rare scribbling on freed memory.
  9883. - When we're deciding whether a stream has enough circuits around
  9884. that can handle it, count the freshly dirty ones and not the ones
  9885. that are so dirty they won't be able to handle it.
  9886. - Recover better from TCP connections to Tor servers that are
  9887. broken but don't tell you (it happens!); and rotate TLS
  9888. connections once a week.
  9889. - When we're expiring old circuits, we had a logic error that caused
  9890. us to close new rendezvous circuits rather than old ones.
  9891. - Fix a scary-looking but apparently harmless bug where circuits
  9892. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  9893. servers, and never switch to state CIRCUIT_STATE_OPEN.
  9894. - When building with -static or on Solaris, we sometimes needed to
  9895. build with -ldl.
  9896. - Give a useful message when people run Tor as the wrong user,
  9897. rather than telling them to start chowning random directories.
  9898. - We were failing to inform the controller about new .onion streams.
  9899. o Security bugfixes on 0.1.0.x:
  9900. - Refuse server descriptors if the fingerprint line doesn't match
  9901. the included identity key. Tor doesn't care, but other apps (and
  9902. humans) might actually be trusting the fingerprint line.
  9903. - We used to kill the circuit when we receive a relay command we
  9904. don't recognize. Now we just drop it.
  9905. - Start obeying our firewall options more rigorously:
  9906. . If we can't get to a dirserver directly, try going via Tor.
  9907. . Don't ever try to connect (as a client) to a place our
  9908. firewall options forbid.
  9909. . If we specify a proxy and also firewall options, obey the
  9910. firewall options even when we're using the proxy: some proxies
  9911. can only proxy to certain destinations.
  9912. - Fix a bug found by Lasse Overlier: when we were making internal
  9913. circuits (intended to be cannibalized later for rendezvous and
  9914. introduction circuits), we were picking them so that they had
  9915. useful exit nodes. There was no need for this, and it actually
  9916. aids some statistical attacks.
  9917. - Start treating internal circuits and exit circuits separately.
  9918. It's important to keep them separate because internal circuits
  9919. have their last hops picked like middle hops, rather than like
  9920. exit hops. So exiting on them will break the user's expectations.
  9921. o Bugfixes on 0.1.1.x:
  9922. - Take out the mis-feature where we tried to detect IP address
  9923. flapping for people with DynDNS, and chose not to upload a new
  9924. server descriptor sometimes.
  9925. - Try to be compatible with OpenSSL 0.9.6 again.
  9926. - Log fix: when the controller is logging about .onion addresses,
  9927. sometimes it didn't include the ".onion" part of the address.
  9928. - Don't try to modify options->DirServers internally -- if the
  9929. user didn't specify any, just add the default ones directly to
  9930. the trusted dirserver list. This fixes a bug where people running
  9931. controllers would use SETCONF on some totally unrelated config
  9932. option, and Tor would start yelling at them about changing their
  9933. DirServer lines.
  9934. - Let the controller's redirectstream command specify a port, in
  9935. case the controller wants to change that too.
  9936. - When we requested a pile of server descriptors, we sometimes
  9937. accidentally launched a duplicate request for the first one.
  9938. - Bugfix for trackhostexits: write down the fingerprint of the
  9939. chosen exit, not its nickname, because the chosen exit might not
  9940. be verified.
  9941. - When parsing foo.exit, if foo is unknown, and we are leaving
  9942. circuits unattached, set the chosen_exit field and leave the
  9943. address empty. This matters because controllers got confused
  9944. otherwise.
  9945. - Directory authorities no longer try to download server
  9946. descriptors that they know they will reject.
  9947. o Features and updates:
  9948. - Replace balanced trees with hash tables: this should make stuff
  9949. significantly faster.
  9950. - Resume using the AES counter-mode implementation that we ship,
  9951. rather than OpenSSL's. Ours is significantly faster.
  9952. - Many other CPU and memory improvements.
  9953. - Add a new config option FastFirstHopPK (on by default) so clients
  9954. do a trivial crypto handshake for their first hop, since TLS has
  9955. already taken care of confidentiality and authentication.
  9956. - Add a new config option TestSocks so people can see if their
  9957. applications are using socks4, socks4a, socks5-with-ip, or
  9958. socks5-with-hostname. This way they don't have to keep mucking
  9959. with tcpdump and wondering if something got cached somewhere.
  9960. - Warn when listening on a public address for socks. I suspect a
  9961. lot of people are setting themselves up as open socks proxies,
  9962. and they have no idea that jerks on the Internet are using them,
  9963. since they simply proxy the traffic into the Tor network.
  9964. - Add "private:*" as an alias in configuration for policies. Now
  9965. you can simplify your exit policy rather than needing to list
  9966. every single internal or nonroutable network space.
  9967. - Add a new controller event type that allows controllers to get
  9968. all server descriptors that were uploaded to a router in its role
  9969. as authoritative dirserver.
  9970. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  9971. tor-doc-server.html, and stylesheet.css in the tarball.
  9972. - Stop shipping tor-doc.html in the tarball.
  9973. Changes in version 0.1.1.9-alpha - 2005-11-15
  9974. o Usability improvements:
  9975. - Start calling it FooListenAddress rather than FooBindAddress,
  9976. since few of our users know what it means to bind an address
  9977. or port.
  9978. - Reduce clutter in server logs. We're going to try to make
  9979. them actually usable now. New config option ProtocolWarnings that
  9980. lets you hear about how _other Tors_ are breaking the protocol. Off
  9981. by default.
  9982. - Divide log messages into logging domains. Once we put some sort
  9983. of interface on this, it will let people looking at more verbose
  9984. log levels specify the topics they want to hear more about.
  9985. - Make directory servers return better http 404 error messages
  9986. instead of a generic "Servers unavailable".
  9987. - Check for even more Windows version flags when writing the platform
  9988. string in server descriptors, and note any we don't recognize.
  9989. - Clean up more of the OpenSSL memory when exiting, so we can detect
  9990. memory leaks better.
  9991. - Make directory authorities be non-versioning, non-naming by
  9992. default. Now we can add new directory servers without requiring
  9993. their operators to pay close attention.
  9994. - When logging via syslog, include the pid whenever we provide
  9995. a log entry. Suggested by Todd Fries.
  9996. o Performance improvements:
  9997. - Directory servers now silently throw away new descriptors that
  9998. haven't changed much if the timestamps are similar. We do this to
  9999. tolerate older Tor servers that upload a new descriptor every 15
  10000. minutes. (It seemed like a good idea at the time.)
  10001. - Inline bottleneck smartlist functions; use fast versions by default.
  10002. - Add a "Map from digest to void*" abstraction digestmap_t so we
  10003. can do less hex encoding/decoding. Use it in router_get_by_digest()
  10004. to resolve a performance bottleneck.
  10005. - Allow tor_gzip_uncompress to extract as much as possible from
  10006. truncated compressed data. Try to extract as many
  10007. descriptors as possible from truncated http responses (when
  10008. DIR_PURPOSE_FETCH_ROUTERDESC).
  10009. - Make circ->onionskin a pointer, not a static array. moria2 was using
  10010. 125000 circuit_t's after it had been up for a few weeks, which
  10011. translates to 20+ megs of wasted space.
  10012. - The private half of our EDH handshake keys are now chosen out
  10013. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  10014. o Security improvements:
  10015. - Start making directory caches retain old routerinfos, so soon
  10016. clients can start asking by digest of descriptor rather than by
  10017. fingerprint of server.
  10018. - Add half our entropy from RAND_poll in OpenSSL. This knows how
  10019. to use egd (if present), openbsd weirdness (if present), vms/os2
  10020. weirdness (if we ever port there), and more in the future.
  10021. o Bugfixes on 0.1.0.x:
  10022. - Do round-robin writes of at most 16 kB per write. This might be
  10023. more fair on loaded Tor servers, and it might resolve our Windows
  10024. crash bug. It might also slow things down.
  10025. - Our TLS handshakes were generating a single public/private
  10026. keypair for the TLS context, rather than making a new one for
  10027. each new connections. Oops. (But we were still rotating them
  10028. periodically, so it's not so bad.)
  10029. - When we were cannibalizing a circuit with a particular exit
  10030. node in mind, we weren't checking to see if that exit node was
  10031. already present earlier in the circuit. Oops.
  10032. - When a Tor server's IP changes (e.g. from a dyndns address),
  10033. upload a new descriptor so clients will learn too.
  10034. - Really busy servers were keeping enough circuits open on stable
  10035. connections that they were wrapping around the circuit_id
  10036. space. (It's only two bytes.) This exposed a bug where we would
  10037. feel free to reuse a circuit_id even if it still exists but has
  10038. been marked for close. Try to fix this bug. Some bug remains.
  10039. - If we would close a stream early (e.g. it asks for a .exit that
  10040. we know would refuse it) but the LeaveStreamsUnattached config
  10041. option is set by the controller, then don't close it.
  10042. o Bugfixes on 0.1.1.8-alpha:
  10043. - Fix a big pile of memory leaks, some of them serious.
  10044. - Do not try to download a routerdesc if we would immediately reject
  10045. it as obsolete.
  10046. - Resume inserting a newline between all router descriptors when
  10047. generating (old style) signed directories, since our spec says
  10048. we do.
  10049. - When providing content-type application/octet-stream for
  10050. server descriptors using .z, we were leaving out the
  10051. content-encoding header. Oops. (Everything tolerated this just
  10052. fine, but that doesn't mean we need to be part of the problem.)
  10053. - Fix a potential seg fault in getconf and getinfo using version 1
  10054. of the controller protocol.
  10055. - Avoid crash: do not check whether DirPort is reachable when we
  10056. are suppressing it because of hibernation.
  10057. - Make --hash-password not crash on exit.
  10058. Changes in version 0.1.1.8-alpha - 2005-10-07
  10059. o New features (major):
  10060. - Clients don't download or use the directory anymore. Now they
  10061. download and use network-statuses from the trusted dirservers,
  10062. and fetch individual server descriptors as needed from mirrors.
  10063. See dir-spec.txt for all the gory details.
  10064. - Be more conservative about whether to advertise our DirPort.
  10065. The main change is to not advertise if we're running at capacity
  10066. and either a) we could hibernate or b) our capacity is low and
  10067. we're using a default DirPort.
  10068. - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
  10069. o New features (minor):
  10070. - Try to be smart about when to retry network-status and
  10071. server-descriptor fetches. Still needs some tuning.
  10072. - Stop parsing, storing, or using running-routers output (but
  10073. mirrors still cache and serve it).
  10074. - Consider a threshold of versioning dirservers (dirservers who have
  10075. an opinion about which Tor versions are still recommended) before
  10076. deciding whether to warn the user that he's obsolete.
  10077. - Dirservers can now reject/invalidate by key and IP, with the
  10078. config options "AuthDirInvalid" and "AuthDirReject". This is
  10079. useful since currently we automatically list servers as running
  10080. and usable even if we know they're jerks.
  10081. - Provide dire warnings to any users who set DirServer; move it out
  10082. of torrc.sample and into torrc.complete.
  10083. - Add MyFamily to torrc.sample in the server section.
  10084. - Add nicknames to the DirServer line, so we can refer to them
  10085. without requiring all our users to memorize their IP addresses.
  10086. - When we get an EOF or a timeout on a directory connection, note
  10087. how many bytes of serverdesc we are dropping. This will help
  10088. us determine whether it is smart to parse incomplete serverdesc
  10089. responses.
  10090. - Add a new function to "change pseudonyms" -- that is, to stop
  10091. using any currently-dirty circuits for new streams, so we don't
  10092. link new actions to old actions. Currently it's only called on
  10093. HUP (or SIGNAL RELOAD).
  10094. - On sighup, if UseHelperNodes changed to 1, use new circuits.
  10095. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  10096. OpenSSL. Also, reseed our entropy every hour, not just at
  10097. startup. And entropy in 512-bit chunks, not 160-bit chunks.
  10098. o Fixes on 0.1.1.7-alpha:
  10099. - Nobody ever implemented EVENT_ADDRMAP for control protocol
  10100. version 0, so don't let version 0 controllers ask for it.
  10101. - If you requested something with too many newlines via the
  10102. v1 controller protocol, you could crash tor.
  10103. - Fix a number of memory leaks, including some pretty serious ones.
  10104. - Re-enable DirPort testing again, so Tor servers will be willing
  10105. to advertise their DirPort if it's reachable.
  10106. - On TLS handshake, only check the other router's nickname against
  10107. its expected nickname if is_named is set.
  10108. o Fixes forward-ported from 0.1.0.15:
  10109. - Don't crash when we don't have any spare file descriptors and we
  10110. try to spawn a dns or cpu worker.
  10111. - Make the numbers in read-history and write-history into uint64s,
  10112. so they don't overflow and publish negatives in the descriptor.
  10113. o Fixes on 0.1.0.x:
  10114. - For the OS X package's modified privoxy config file, comment
  10115. out the "logfile" line so we don't log everything passed
  10116. through privoxy.
  10117. - We were whining about using socks4 or socks5-with-local-lookup
  10118. even when it's an IP in the "virtual" range we designed exactly
  10119. for this case.
  10120. - We were leaking some memory every time the client changes IPs.
  10121. - Never call free() on tor_malloc()d memory. This will help us
  10122. use dmalloc to detect memory leaks.
  10123. - Check for named servers when looking them up by nickname;
  10124. warn when we'recalling a non-named server by its nickname;
  10125. don't warn twice about the same name.
  10126. - Try to list MyFamily elements by key, not by nickname, and warn
  10127. if we've not heard of the server.
  10128. - Make windows platform detection (uname equivalent) smarter.
  10129. - It turns out sparc64 doesn't like unaligned access either.
  10130. Changes in version 0.1.0.15 - 2005-09-23
  10131. o Bugfixes on 0.1.0.x:
  10132. - Reject ports 465 and 587 (spam targets) in default exit policy.
  10133. - Don't crash when we don't have any spare file descriptors and we
  10134. try to spawn a dns or cpu worker.
  10135. - Get rid of IgnoreVersion undocumented config option, and make us
  10136. only warn, never exit, when we're running an obsolete version.
  10137. - Don't try to print a null string when your server finds itself to
  10138. be unreachable and the Address config option is empty.
  10139. - Make the numbers in read-history and write-history into uint64s,
  10140. so they don't overflow and publish negatives in the descriptor.
  10141. - Fix a minor memory leak in smartlist_string_remove().
  10142. - We were only allowing ourselves to upload a server descriptor at
  10143. most every 20 minutes, even if it changed earlier than that.
  10144. - Clean up log entries that pointed to old URLs.
  10145. Changes in version 0.1.1.7-alpha - 2005-09-14
  10146. o Fixes on 0.1.1.6-alpha:
  10147. - Exit servers were crashing when people asked them to make a
  10148. connection to an address not in their exit policy.
  10149. - Looking up a non-existent stream for a v1 control connection would
  10150. cause a segfault.
  10151. - Fix a seg fault if we ask a dirserver for a descriptor by
  10152. fingerprint but he doesn't know about him.
  10153. - SETCONF was appending items to linelists, not clearing them.
  10154. - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
  10155. out and refuse the setconf if it would fail.
  10156. - Downgrade the dirserver log messages when whining about
  10157. unreachability.
  10158. o New features:
  10159. - Add Peter Palfrader's check-tor script to tor/contrib/
  10160. It lets you easily check whether a given server (referenced by
  10161. nickname) is reachable by you.
  10162. - Numerous changes to move towards client-side v2 directories. Not
  10163. enabled yet.
  10164. o Fixes on 0.1.0.x:
  10165. - If the user gave tor an odd number of command-line arguments,
  10166. we were silently ignoring the last one. Now we complain and fail.
  10167. [This wins the oldest-bug prize -- this bug has been present since
  10168. November 2002, as released in Tor 0.0.0.]
  10169. - Do not use unaligned memory access on alpha, mips, or mipsel.
  10170. It *works*, but is very slow, so we treat them as if it doesn't.
  10171. - Retry directory requests if we fail to get an answer we like
  10172. from a given dirserver (we were retrying before, but only if
  10173. we fail to connect).
  10174. - When writing the RecommendedVersions line, sort them first.
  10175. - When the client asked for a rendezvous port that the hidden
  10176. service didn't want to provide, we were sending an IP address
  10177. back along with the end cell. Fortunately, it was zero. But stop
  10178. that anyway.
  10179. - Correct "your server is reachable" log entries to indicate that
  10180. it was self-testing that told us so.
  10181. Changes in version 0.1.1.6-alpha - 2005-09-09
  10182. o Fixes on 0.1.1.5-alpha:
  10183. - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
  10184. - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
  10185. - Fix bug with tor_memmem finding a match at the end of the string.
  10186. - Make unit tests run without segfaulting.
  10187. - Resolve some solaris x86 compile warnings.
  10188. - Handle duplicate lines in approved-routers files without warning.
  10189. - Fix bug where as soon as a server refused any requests due to his
  10190. exit policy (e.g. when we ask for localhost and he tells us that's
  10191. 127.0.0.1 and he won't do it), we decided he wasn't obeying his
  10192. exit policy using him for any exits.
  10193. - Only do openssl hardware accelerator stuff if openssl version is
  10194. at least 0.9.7.
  10195. o New controller features/fixes:
  10196. - Add a "RESETCONF" command so you can set config options like
  10197. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  10198. a config option in the torrc with no value, then it clears it
  10199. entirely (rather than setting it to its default).
  10200. - Add a "GETINFO config-file" to tell us where torrc is.
  10201. - Avoid sending blank lines when GETINFO replies should be empty.
  10202. - Add a QUIT command for the controller (for using it manually).
  10203. - Fix a bug in SAVECONF that was adding default dirservers and
  10204. other redundant entries to the torrc file.
  10205. o Start on the new directory design:
  10206. - Generate, publish, cache, serve new network-status format.
  10207. - Publish individual descriptors (by fingerprint, by "all", and by
  10208. "tell me yours").
  10209. - Publish client and server recommended versions separately.
  10210. - Allow tor_gzip_uncompress() to handle multiple concatenated
  10211. compressed strings. Serve compressed groups of router
  10212. descriptors. The compression logic here could be more
  10213. memory-efficient.
  10214. - Distinguish v1 authorities (all currently trusted directories)
  10215. from v2 authorities (all trusted directories).
  10216. - Change DirServers config line to note which dirs are v1 authorities.
  10217. - Add configuration option "V1AuthoritativeDirectory 1" which
  10218. moria1, moria2, and tor26 should set.
  10219. - Remove option when getting directory cache to see whether they
  10220. support running-routers; they all do now. Replace it with one
  10221. to see whether caches support v2 stuff.
  10222. o New features:
  10223. - Dirservers now do their own external reachability testing of each
  10224. Tor server, and only list them as running if they've been found to
  10225. be reachable. We also send back warnings to the server's logs if
  10226. it uploads a descriptor that we already believe is unreachable.
  10227. - Implement exit enclaves: if we know an IP address for the
  10228. destination, and there's a running Tor server at that address
  10229. which allows exit to the destination, then extend the circuit to
  10230. that exit first. This provides end-to-end encryption and end-to-end
  10231. authentication. Also, if the user wants a .exit address or enclave,
  10232. use 4 hops rather than 3, and cannibalize a general circ for it
  10233. if you can.
  10234. - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
  10235. controller. Also, rotate dns and cpu workers if the controller
  10236. changes options that will affect them; and initialize the dns
  10237. worker cache tree whether or not we start out as a server.
  10238. - Only upload a new server descriptor when options change, 18
  10239. hours have passed, uptime is reset, or bandwidth changes a lot.
  10240. - Check [X-]Forwarded-For headers in HTTP requests when generating
  10241. log messages. This lets people run dirservers (and caches) behind
  10242. Apache but still know which IP addresses are causing warnings.
  10243. o Config option changes:
  10244. - Replace (Fascist)Firewall* config options with a new
  10245. ReachableAddresses option that understands address policies.
  10246. For example, "ReachableAddresses *:80,*:443"
  10247. - Get rid of IgnoreVersion undocumented config option, and make us
  10248. only warn, never exit, when we're running an obsolete version.
  10249. - Make MonthlyAccountingStart config option truly obsolete now.
  10250. o Fixes on 0.1.0.x:
  10251. - Reject ports 465 and 587 in the default exit policy, since
  10252. people have started using them for spam too.
  10253. - It turns out we couldn't bootstrap a network since we added
  10254. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  10255. has never gone down. Add an AssumeReachable config option to let
  10256. servers and dirservers bootstrap. When we're trying to build a
  10257. high-uptime or high-bandwidth circuit but there aren't enough
  10258. suitable servers, try being less picky rather than simply failing.
  10259. - Our logic to decide if the OR we connected to was the right guy
  10260. was brittle and maybe open to a mitm for unverified routers.
  10261. - We weren't cannibalizing circuits correctly for
  10262. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  10263. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  10264. build those from scratch. This should make hidden services faster.
  10265. - Predict required circuits better, with an eye toward making hidden
  10266. services faster on the service end.
  10267. - Retry streams if the exit node sends back a 'misc' failure. This
  10268. should result in fewer random failures. Also, after failing
  10269. from resolve failed or misc, reset the num failures, so we give
  10270. it a fair shake next time we try.
  10271. - Clean up the rendezvous warn log msgs, and downgrade some to info.
  10272. - Reduce severity on logs about dns worker spawning and culling.
  10273. - When we're shutting down and we do something like try to post a
  10274. server descriptor or rendezvous descriptor, don't complain that
  10275. we seem to be unreachable. Of course we are, we're shutting down.
  10276. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  10277. We don't use them yet, but maybe one day our DNS resolver will be
  10278. able to discover them.
  10279. - Make ContactInfo mandatory for authoritative directory servers.
  10280. - Require server descriptors to list IPv4 addresses -- hostnames
  10281. are no longer allowed. This also fixes some potential security
  10282. problems with people providing hostnames as their address and then
  10283. preferentially resolving them to partition users.
  10284. - Change log line for unreachability to explicitly suggest /etc/hosts
  10285. as the culprit. Also make it clearer what IP address and ports we're
  10286. testing for reachability.
  10287. - Put quotes around user-supplied strings when logging so users are
  10288. more likely to realize if they add bad characters (like quotes)
  10289. to the torrc.
  10290. - Let auth dir servers start without specifying an Address config
  10291. option.
  10292. - Make unit tests (and other invocations that aren't the real Tor)
  10293. run without launching listeners, creating subdirectories, and so on.
  10294. Changes in version 0.1.1.5-alpha - 2005-08-08
  10295. o Bugfixes included in 0.1.0.14.
  10296. o Bugfixes on 0.1.0.x:
  10297. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  10298. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  10299. it would silently using ignore the 6668.
  10300. Changes in version 0.1.0.14 - 2005-08-08
  10301. o Bugfixes on 0.1.0.x:
  10302. - Fix the other half of the bug with crypto handshakes
  10303. (CVE-2005-2643).
  10304. - Fix an assert trigger if you send a 'signal term' via the
  10305. controller when it's listening for 'event info' messages.
  10306. Changes in version 0.1.1.4-alpha - 2005-08-04
  10307. o Bugfixes included in 0.1.0.13.
  10308. o Features:
  10309. - Improve tor_gettimeofday() granularity on windows.
  10310. - Make clients regenerate their keys when their IP address changes.
  10311. - Implement some more GETINFO goodness: expose helper nodes, config
  10312. options, getinfo keys.
  10313. Changes in version 0.1.0.13 - 2005-08-04
  10314. o Bugfixes on 0.1.0.x:
  10315. - Fix a critical bug in the security of our crypto handshakes.
  10316. - Fix a size_t underflow in smartlist_join_strings2() that made
  10317. it do bad things when you hand it an empty smartlist.
  10318. - Fix Windows installer to ship Tor license (thanks to Aphex for
  10319. pointing out this oversight) and put a link to the doc directory
  10320. in the start menu.
  10321. - Explicitly set no-unaligned-access for sparc: it turns out the
  10322. new gcc's let you compile broken code, but that doesn't make it
  10323. not-broken.
  10324. Changes in version 0.1.1.3-alpha - 2005-07-23
  10325. o Bugfixes on 0.1.1.2-alpha:
  10326. - Fix a bug in handling the controller's "post descriptor"
  10327. function.
  10328. - Fix several bugs in handling the controller's "extend circuit"
  10329. function.
  10330. - Fix a bug in handling the controller's "stream status" event.
  10331. - Fix an assert failure if we have a controller listening for
  10332. circuit events and we go offline.
  10333. - Re-allow hidden service descriptors to publish 0 intro points.
  10334. - Fix a crash when generating your hidden service descriptor if
  10335. you don't have enough intro points already.
  10336. o New features on 0.1.1.2-alpha:
  10337. - New controller function "getinfo accounting", to ask how
  10338. many bytes we've used in this time period.
  10339. - Experimental support for helper nodes: a lot of the risk from
  10340. a small static adversary comes because users pick new random
  10341. nodes every time they rebuild a circuit. Now users will try to
  10342. stick to the same small set of entry nodes if they can. Not
  10343. enabled by default yet.
  10344. o Bugfixes on 0.1.0.12:
  10345. - If you're an auth dir server, always publish your dirport,
  10346. even if you haven't yet found yourself to be reachable.
  10347. - Fix a size_t underflow in smartlist_join_strings2() that made
  10348. it do bad things when you hand it an empty smartlist.
  10349. Changes in version 0.1.0.12 - 2005-07-18
  10350. o New directory servers:
  10351. - tor26 has changed IP address.
  10352. o Bugfixes on 0.1.0.x:
  10353. - Fix a possible double-free in tor_gzip_uncompress().
  10354. - When --disable-threads is set, do not search for or link against
  10355. pthreads libraries.
  10356. - Don't trigger an assert if an authoritative directory server
  10357. claims its dirport is 0.
  10358. - Fix bug with removing Tor as an NT service: some people were
  10359. getting "The service did not return an error." Thanks to Matt
  10360. Edman for the fix.
  10361. Changes in version 0.1.1.2-alpha - 2005-07-15
  10362. o New directory servers:
  10363. - tor26 has changed IP address.
  10364. o Bugfixes on 0.1.0.x, crashes/leaks:
  10365. - Port the servers-not-obeying-their-exit-policies fix from
  10366. 0.1.0.11.
  10367. - Fix an fd leak in start_daemon().
  10368. - On Windows, you can't always reopen a port right after you've
  10369. closed it. So change retry_listeners() to only close and re-open
  10370. ports that have changed.
  10371. - Fix a possible double-free in tor_gzip_uncompress().
  10372. o Bugfixes on 0.1.0.x, usability:
  10373. - When tor_socketpair() fails in Windows, give a reasonable
  10374. Windows-style errno back.
  10375. - Let people type "tor --install" as well as "tor -install" when
  10376. they
  10377. want to make it an NT service.
  10378. - NT service patch from Matt Edman to improve error messages.
  10379. - When the controller asks for a config option with an abbreviated
  10380. name, give the full name in our response.
  10381. - Correct the man page entry on TrackHostExitsExpire.
  10382. - Looks like we were never delivering deflated (i.e. compressed)
  10383. running-routers lists, even when asked. Oops.
  10384. - When --disable-threads is set, do not search for or link against
  10385. pthreads libraries.
  10386. o Bugfixes on 0.1.1.x:
  10387. - Fix a seg fault with autodetecting which controller version is
  10388. being used.
  10389. o Features:
  10390. - New hidden service descriptor format: put a version in it, and
  10391. let people specify introduction/rendezvous points that aren't
  10392. in "the directory" (which is subjective anyway).
  10393. - Allow the DEBUG controller event to work again. Mark certain log
  10394. entries as "don't tell this to controllers", so we avoid cycles.
  10395. Changes in version 0.1.0.11 - 2005-06-30
  10396. o Bugfixes on 0.1.0.x:
  10397. - Fix major security bug: servers were disregarding their
  10398. exit policies if clients behaved unexpectedly.
  10399. - Make OS X init script check for missing argument, so we don't
  10400. confuse users who invoke it incorrectly.
  10401. - Fix a seg fault in "tor --hash-password foo".
  10402. - The MAPADDRESS control command was broken.
  10403. Changes in version 0.1.1.1-alpha - 2005-06-29
  10404. o Bugfixes:
  10405. - Make OS X init script check for missing argument, so we don't
  10406. confuse users who invoke it incorrectly.
  10407. - Fix a seg fault in "tor --hash-password foo".
  10408. - Fix a possible way to DoS dirservers.
  10409. - When we complain that your exit policy implicitly allows local or
  10410. private address spaces, name them explicitly so operators can
  10411. fix it.
  10412. - Make the log message less scary when all the dirservers are
  10413. temporarily unreachable.
  10414. - We were printing the number of idle dns workers incorrectly when
  10415. culling them.
  10416. o Features:
  10417. - Revised controller protocol (version 1) that uses ascii rather
  10418. than binary. Add supporting libraries in python and java so you
  10419. can use the controller from your applications without caring how
  10420. our protocol works.
  10421. - Spiffy new support for crypto hardware accelerators. Can somebody
  10422. test this?
  10423. Changes in version 0.0.9.10 - 2005-06-16
  10424. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  10425. - Refuse relay cells that claim to have a length larger than the
  10426. maximum allowed. This prevents a potential attack that could read
  10427. arbitrary memory (e.g. keys) from an exit server's process
  10428. (CVE-2005-2050).
  10429. Changes in version 0.1.0.10 - 2005-06-14
  10430. o Allow a few EINVALs from libevent before dying. Warn on kqueue with
  10431. libevent before 1.1a.
  10432. Changes in version 0.1.0.9-rc - 2005-06-09
  10433. o Bugfixes:
  10434. - Reset buf->highwater every time buf_shrink() is called, not just on
  10435. a successful shrink. This was causing significant memory bloat.
  10436. - Fix buffer overflow when checking hashed passwords.
  10437. - Security fix: if seeding the RNG on Win32 fails, quit.
  10438. - Allow seeding the RNG on Win32 even when you're not running as
  10439. Administrator.
  10440. - Disable threading on Solaris too. Something is wonky with it,
  10441. cpuworkers, and reentrant libs.
  10442. - Reenable the part of the code that tries to flush as soon as an
  10443. OR outbuf has a full TLS record available. Perhaps this will make
  10444. OR outbufs not grow as huge except in rare cases, thus saving lots
  10445. of CPU time plus memory.
  10446. - Reject malformed .onion addresses rather then passing them on as
  10447. normal web requests.
  10448. - Adapt patch from Adam Langley: fix possible memory leak in
  10449. tor_lookup_hostname().
  10450. - Initialize libevent later in the startup process, so the logs are
  10451. already established by the time we start logging libevent warns.
  10452. - Use correct errno on win32 if libevent fails.
  10453. - Check and warn about known-bad/slow libevent versions.
  10454. - Pay more attention to the ClientOnly config option.
  10455. - Have torctl.in/tor.sh.in check for location of su binary (needed
  10456. on FreeBSD)
  10457. - Correct/add man page entries for LongLivedPorts, ExitPolicy,
  10458. KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
  10459. HttpProxyAuthenticator
  10460. - Stop warning about sigpipes in the logs. We're going to
  10461. pretend that getting these occassionally is normal and fine.
  10462. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
  10463. certain
  10464. installer screens; and don't put stuff into StartupItems unless
  10465. the user asks you to.
  10466. - Require servers that use the default dirservers to have public IP
  10467. addresses. We have too many servers that are configured with private
  10468. IPs and their admins never notice the log entries complaining that
  10469. their descriptors are being rejected.
  10470. - Add OSX uninstall instructions. An actual uninstall script will
  10471. come later.
  10472. Changes in version 0.1.0.8-rc - 2005-05-23
  10473. o Bugfixes:
  10474. - It turns out that kqueue on OS X 10.3.9 was causing kernel
  10475. panics. Disable kqueue on all OS X Tors.
  10476. - Fix RPM: remove duplicate line accidentally added to the rpm
  10477. spec file.
  10478. - Disable threads on openbsd too, since its gethostaddr is not
  10479. reentrant either.
  10480. - Tolerate libevent 0.8 since it still works, even though it's
  10481. ancient.
  10482. - Enable building on Red Hat 9.0 again.
  10483. - Allow the middle hop of the testing circuit to be running any
  10484. version, now that most of them have the bugfix to let them connect
  10485. to unknown servers. This will allow reachability testing to work
  10486. even when 0.0.9.7-0.0.9.9 become obsolete.
  10487. - Handle relay cells with rh.length too large. This prevents
  10488. a potential attack that could read arbitrary memory (maybe even
  10489. keys) from the exit server's process.
  10490. - We screwed up the dirport reachability testing when we don't yet
  10491. have a cached version of the directory. Hopefully now fixed.
  10492. - Clean up router_load_single_router() (used by the controller),
  10493. so it doesn't seg fault on error.
  10494. - Fix a minor memory leak when somebody establishes an introduction
  10495. point at your Tor server.
  10496. - If a socks connection ends because read fails, don't warn that
  10497. you're not sending a socks reply back.
  10498. o Features:
  10499. - Add HttpProxyAuthenticator config option too, that works like
  10500. the HttpsProxyAuthenticator config option.
  10501. - Encode hashed controller passwords in hex instead of base64,
  10502. to make it easier to write controllers.
  10503. Changes in version 0.1.0.7-rc - 2005-05-17
  10504. o Bugfixes:
  10505. - Fix a bug in the OS X package installer that prevented it from
  10506. installing on Tiger.
  10507. - Fix a script bug in the OS X package installer that made it
  10508. complain during installation.
  10509. - Find libevent even if it's hiding in /usr/local/ and your
  10510. CFLAGS and LDFLAGS don't tell you to look there.
  10511. - Be able to link with libevent as a shared library (the default
  10512. after 1.0d), even if it's hiding in /usr/local/lib and even
  10513. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  10514. assuming you're running gcc. Otherwise fail and give a useful
  10515. error message.
  10516. - Fix a bug in the RPM packager: set home directory for _tor to
  10517. something more reasonable when first installing.
  10518. - Free a minor amount of memory that is still reachable on exit.
  10519. Changes in version 0.1.0.6-rc - 2005-05-14
  10520. o Bugfixes:
  10521. - Implement --disable-threads configure option. Disable threads on
  10522. netbsd by default, because it appears to have no reentrant resolver
  10523. functions.
  10524. - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
  10525. release (1.1) detects and disables kqueue if it's broken.
  10526. - Append default exit policy before checking for implicit internal
  10527. addresses. Now we don't log a bunch of complaints on startup
  10528. when using the default exit policy.
  10529. - Some people were putting "Address " in their torrc, and they had
  10530. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  10531. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  10532. LOCALSTATEDIR/tor instead.
  10533. - Fix fragmented-message bug in TorControl.py.
  10534. - Resolve a minor bug which would prevent unreachable dirports
  10535. from getting suppressed in the published descriptor.
  10536. - When the controller gave us a new descriptor, we weren't resolving
  10537. it immediately, so Tor would think its address was 0.0.0.0 until
  10538. we fetched a new directory.
  10539. - Fix an uppercase/lowercase case error in suppressing a bogus
  10540. libevent warning on some Linuxes.
  10541. o Features:
  10542. - Begin scrubbing sensitive strings from logs by default. Turn off
  10543. the config option SafeLogging if you need to do debugging.
  10544. - Switch to a new buffer management algorithm, which tries to avoid
  10545. reallocing and copying quite as much. In first tests it looks like
  10546. it uses *more* memory on average, but less cpu.
  10547. - First cut at support for "create-fast" cells. Clients can use
  10548. these when extending to their first hop, since the TLS already
  10549. provides forward secrecy and authentication. Not enabled on
  10550. clients yet.
  10551. - When dirservers refuse a router descriptor, we now log its
  10552. contactinfo, platform, and the poster's IP address.
  10553. - Call tor_free_all instead of connections_free_all after forking, to
  10554. save memory on systems that need to fork.
  10555. - Whine at you if you're a server and you don't set your contactinfo.
  10556. - Implement --verify-config command-line option to check if your torrc
  10557. is valid without actually launching Tor.
  10558. - Rewrite address "serifos.exit" to "localhost.serifos.exit"
  10559. rather than just rejecting it.
  10560. Changes in version 0.1.0.5-rc - 2005-04-27
  10561. o Bugfixes:
  10562. - Stop trying to print a null pointer if an OR conn fails because
  10563. we didn't like its cert.
  10564. o Features:
  10565. - Switch our internal buffers implementation to use a ring buffer,
  10566. to hopefully improve performance for fast servers a lot.
  10567. - Add HttpsProxyAuthenticator support (basic auth only), based
  10568. on patch from Adam Langley.
  10569. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  10570. the fast servers that have been joining lately.
  10571. - Give hidden service accesses extra time on the first attempt,
  10572. since 60 seconds is often only barely enough. This might improve
  10573. robustness more.
  10574. - Improve performance for dirservers: stop re-parsing the whole
  10575. directory every time you regenerate it.
  10576. - Add more debugging info to help us find the weird dns freebsd
  10577. pthreads bug; cleaner debug messages to help track future issues.
  10578. Changes in version 0.0.9.9 - 2005-04-23
  10579. o Bugfixes on 0.0.9.x:
  10580. - If unofficial Tor clients connect and send weird TLS certs, our
  10581. Tor server triggers an assert. This release contains a minimal
  10582. backport from the broader fix that we put into 0.1.0.4-rc.
  10583. Changes in version 0.1.0.4-rc - 2005-04-23
  10584. o Bugfixes:
  10585. - If unofficial Tor clients connect and send weird TLS certs, our
  10586. Tor server triggers an assert. Stop asserting, and start handling
  10587. TLS errors better in other situations too.
  10588. - When the controller asks us to tell it about all the debug-level
  10589. logs, it turns out we were generating debug-level logs while
  10590. telling it about them, which turns into a bad loop. Now keep
  10591. track of whether you're sending a debug log to the controller,
  10592. and don't log when you are.
  10593. - Fix the "postdescriptor" feature of the controller interface: on
  10594. non-complete success, only say "done" once.
  10595. o Features:
  10596. - Clients are now willing to load balance over up to 2mB, not 1mB,
  10597. of advertised bandwidth capacity.
  10598. - Add a NoPublish config option, so you can be a server (e.g. for
  10599. testing running Tor servers in other Tor networks) without
  10600. publishing your descriptor to the primary dirservers.
  10601. Changes in version 0.1.0.3-rc - 2005-04-08
  10602. o Improvements on 0.1.0.2-rc:
  10603. - Client now retries when streams end early for 'hibernating' or
  10604. 'resource limit' reasons, rather than failing them.
  10605. - More automated handling for dirserver operators:
  10606. - Automatically approve nodes running 0.1.0.2-rc or later,
  10607. now that the the reachability detection stuff is working.
  10608. - Now we allow two unverified servers with the same nickname
  10609. but different keys. But if a nickname is verified, only that
  10610. nickname+key are allowed.
  10611. - If you're an authdirserver connecting to an address:port,
  10612. and it's not the OR you were expecting, forget about that
  10613. descriptor. If he *was* the one you were expecting, then forget
  10614. about all other descriptors for that address:port.
  10615. - Allow servers to publish descriptors from 12 hours in the future.
  10616. Corollary: only whine about clock skew from the dirserver if
  10617. he's a trusted dirserver (since now even verified servers could
  10618. have quite wrong clocks).
  10619. - Adjust maximum skew and age for rendezvous descriptors: let skew
  10620. be 48 hours rather than 90 minutes.
  10621. - Efficiency improvements:
  10622. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  10623. it much faster to look up a circuit for each relay cell.
  10624. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  10625. since they're eating our cpu on exit nodes.
  10626. - Stop wasting time doing a case insensitive comparison for every
  10627. dns name every time we do any lookup. Canonicalize the names to
  10628. lowercase and be done with it.
  10629. - Start sending 'truncated' cells back rather than destroy cells,
  10630. if the circuit closes in front of you. This means we won't have
  10631. to abandon partially built circuits.
  10632. - Only warn once per nickname from add_nickname_list_to_smartlist
  10633. per failure, so an entrynode or exitnode choice that's down won't
  10634. yell so much.
  10635. - Put a note in the torrc about abuse potential with the default
  10636. exit policy.
  10637. - Revise control spec and implementation to allow all log messages to
  10638. be sent to controller with their severities intact (suggested by
  10639. Matt Edman). Update TorControl to handle new log event types.
  10640. - Provide better explanation messages when controller's POSTDESCRIPTOR
  10641. fails.
  10642. - Stop putting nodename in the Platform string in server descriptors.
  10643. It doesn't actually help, and it is confusing/upsetting some people.
  10644. o Bugfixes on 0.1.0.2-rc:
  10645. - We were printing the host mask wrong in exit policies in server
  10646. descriptors. This isn't a critical bug though, since we were still
  10647. obeying the exit policy internally.
  10648. - Fix Tor when compiled with libevent but without pthreads: move
  10649. connection_unregister() from _connection_free() to
  10650. connection_free().
  10651. - Fix an assert trigger (already fixed in 0.0.9.x): when we have
  10652. the rare mysterious case of accepting a conn on 0.0.0.0:0, then
  10653. when we look through the connection array, we'll find any of the
  10654. cpu/dnsworkers. This is no good.
  10655. o Bugfixes on 0.0.9.8:
  10656. - Fix possible bug on threading platforms (e.g. win32) which was
  10657. leaking a file descriptor whenever a cpuworker or dnsworker died.
  10658. - When using preferred entry or exit nodes, ignore whether the
  10659. circuit wants uptime or capacity. They asked for the nodes, they
  10660. get the nodes.
  10661. - chdir() to your datadirectory at the *end* of the daemonize process,
  10662. not the beginning. This was a problem because the first time you
  10663. run tor, if your datadir isn't there, and you have runasdaemon set
  10664. to 1, it will try to chdir to it before it tries to create it. Oops.
  10665. - Handle changed router status correctly when dirserver reloads
  10666. fingerprint file. We used to be dropping all unverified descriptors
  10667. right then. The bug was hidden because we would immediately
  10668. fetch a directory from another dirserver, which would include the
  10669. descriptors we just dropped.
  10670. - When we're connecting to an OR and he's got a different nickname/key
  10671. than we were expecting, only complain loudly if we're an OP or a
  10672. dirserver. Complaining loudly to the OR admins just confuses them.
  10673. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  10674. artificially capped at 500kB.
  10675. Changes in version 0.0.9.8 - 2005-04-07
  10676. o Bugfixes on 0.0.9.x:
  10677. - We have a bug that I haven't found yet. Sometimes, very rarely,
  10678. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  10679. thinks of itself as idle. This meant that no new circuits ever got
  10680. established. Here's a workaround to kill any cpuworker that's been
  10681. busy for more than 100 seconds.
  10682. Changes in version 0.1.0.2-rc - 2005-04-01
  10683. o Bugfixes on 0.1.0.1-rc:
  10684. - Fixes on reachability detection:
  10685. - Don't check for reachability while hibernating.
  10686. - If ORPort is reachable but DirPort isn't, still publish the
  10687. descriptor, but zero out DirPort until it's found reachable.
  10688. - When building testing circs for ORPort testing, use only
  10689. high-bandwidth nodes, so fewer circuits fail.
  10690. - Complain about unreachable ORPort separately from unreachable
  10691. DirPort, so the user knows what's going on.
  10692. - Make sure we only conclude ORPort reachability if we didn't
  10693. initiate the conn. Otherwise we could falsely conclude that
  10694. we're reachable just because we connected to the guy earlier
  10695. and he used that same pipe to extend to us.
  10696. - Authdirservers shouldn't do ORPort reachability detection,
  10697. since they're in clique mode, so it will be rare to find a
  10698. server not already connected to them.
  10699. - When building testing circuits, always pick middle hops running
  10700. Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
  10701. bug. (This is a kludge; it will go away when 0.0.9.x becomes
  10702. obsolete.)
  10703. - When we decide we're reachable, actually publish our descriptor
  10704. right then.
  10705. - Fix bug in redirectstream in the controller.
  10706. - Fix the state descriptor strings so logs don't claim edge streams
  10707. are in a different state than they actually are.
  10708. - Use recent libevent features when possible (this only really affects
  10709. win32 and osx right now, because the new libevent with these
  10710. features hasn't been released yet). Add code to suppress spurious
  10711. libevent log msgs.
  10712. - Prevent possible segfault in connection_close_unattached_ap().
  10713. - Fix newlines on torrc in win32.
  10714. - Improve error msgs when tor-resolve fails.
  10715. o Improvements on 0.0.9.x:
  10716. - New experimental script tor/contrib/ExerciseServer.py (needs more
  10717. work) that uses the controller interface to build circuits and
  10718. fetch pages over them. This will help us bootstrap servers that
  10719. have lots of capacity but haven't noticed it yet.
  10720. - New experimental script tor/contrib/PathDemo.py (needs more work)
  10721. that uses the controller interface to let you choose whole paths
  10722. via addresses like
  10723. "<hostname>.<path,separated by dots>.<length of path>.path"
  10724. - When we've connected to an OR and handshaked but didn't like
  10725. the result, we were closing the conn without sending destroy
  10726. cells back for pending circuits. Now send those destroys.
  10727. Changes in version 0.0.9.7 - 2005-04-01
  10728. o Bugfixes on 0.0.9.x:
  10729. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  10730. - Compare identity to identity, not to nickname, when extending to
  10731. a router not already in the directory. This was preventing us from
  10732. extending to unknown routers. Oops.
  10733. - Make sure to create OS X Tor user in <500 range, so we aren't
  10734. creating actual system users.
  10735. - Note where connection-that-hasn't-sent-end was marked, and fix
  10736. a few really loud instances of this harmless bug (it's fixed more
  10737. in 0.1.0.x).
  10738. Changes in version 0.1.0.1-rc - 2005-03-28
  10739. o New features:
  10740. - Add reachability testing. Your Tor server will automatically try
  10741. to see if its ORPort and DirPort are reachable from the outside,
  10742. and it won't upload its descriptor until it decides they are.
  10743. - Handle unavailable hidden services better. Handle slow or busy
  10744. hidden services better.
  10745. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  10746. config option.
  10747. - New exit policy: accept most low-numbered ports, rather than
  10748. rejecting most low-numbered ports.
  10749. - More Tor controller support (still experimental). See
  10750. http://tor.eff.org/doc/control-spec.txt for all the new features,
  10751. including signals to emulate unix signals from any platform;
  10752. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  10753. closestream; closecircuit; etc.
  10754. - Make nt services work and start on startup on win32 (based on
  10755. patch by Matt Edman).
  10756. - Add a new AddressMap config directive to rewrite incoming socks
  10757. addresses. This lets you, for example, declare an implicit
  10758. required exit node for certain sites.
  10759. - Add a new TrackHostExits config directive to trigger addressmaps
  10760. for certain incoming socks addresses -- for sites that break when
  10761. your exit keeps changing (based on patch by Mike Perry).
  10762. - Redo the client-side dns cache so it's just an addressmap too.
  10763. - Notice when our IP changes, and reset stats/uptime/reachability.
  10764. - When an application is using socks5, give him the whole variety of
  10765. potential socks5 responses (connect refused, host unreachable, etc),
  10766. rather than just "success" or "failure".
  10767. - A more sane version numbering system. See
  10768. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  10769. - New contributed script "exitlist": a simple python script to
  10770. parse directories and find Tor nodes that exit to listed
  10771. addresses/ports.
  10772. - New contributed script "privoxy-tor-toggle" to toggle whether
  10773. Privoxy uses Tor. Seems to be configured for Debian by default.
  10774. - Report HTTP reasons to client when getting a response from directory
  10775. servers -- so you can actually know what went wrong.
  10776. - New config option MaxAdvertisedBandwidth which lets you advertise
  10777. a low bandwidthrate (to not attract as many circuits) while still
  10778. allowing a higher bandwidthrate in reality.
  10779. o Robustness/stability fixes:
  10780. - Make Tor use Niels Provos's libevent instead of its current
  10781. poll-but-sometimes-select mess. This will let us use faster async
  10782. cores (like epoll, kpoll, and /dev/poll), and hopefully work better
  10783. on Windows too.
  10784. - pthread support now too. This was forced because when we forked,
  10785. we ended up wasting a lot of duplicate ram over time. Also switch
  10786. to foo_r versions of some library calls to allow reentry and
  10787. threadsafeness.
  10788. - Better handling for heterogeneous / unreliable nodes:
  10789. - Annotate circuits w/ whether they aim to contain high uptime nodes
  10790. and/or high capacity nodes. When building circuits, choose
  10791. appropriate nodes.
  10792. - This means that every single node in an intro rend circuit,
  10793. not just the last one, will have a minimum uptime.
  10794. - New config option LongLivedPorts to indicate application streams
  10795. that will want high uptime circuits.
  10796. - Servers reset uptime when a dir fetch entirely fails. This
  10797. hopefully reflects stability of the server's network connectivity.
  10798. - If somebody starts his tor server in Jan 2004 and then fixes his
  10799. clock, don't make his published uptime be a year.
  10800. - Reset published uptime when you wake up from hibernation.
  10801. - Introduce a notion of 'internal' circs, which are chosen without
  10802. regard to the exit policy of the last hop. Intro and rendezvous
  10803. circs must be internal circs, to avoid leaking information. Resolve
  10804. and connect streams can use internal circs if they want.
  10805. - New circuit pooling algorithm: make sure to have enough circs around
  10806. to satisfy any predicted ports, and also make sure to have 2 internal
  10807. circs around if we've required internal circs lately (and with high
  10808. uptime if we've seen that lately too).
  10809. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  10810. which describes how often we retry making new circuits if current
  10811. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  10812. how long we're willing to make use of an already-dirty circuit.
  10813. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  10814. circ as necessary, if there are any completed ones lying around
  10815. when we try to launch one.
  10816. - Make hidden services try to establish a rendezvous for 30 seconds,
  10817. rather than for n (where n=3) attempts to build a circuit.
  10818. - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
  10819. "ShutdownWaitLength".
  10820. - Try to be more zealous about calling connection_edge_end when
  10821. things go bad with edge conns in connection.c.
  10822. - Revise tor-spec to add more/better stream end reasons.
  10823. - Revise all calls to connection_edge_end to avoid sending "misc",
  10824. and to take errno into account where possible.
  10825. o Bug fixes:
  10826. - Fix a race condition that can trigger an assert, when we have a
  10827. pending create cell and an OR connection fails right then.
  10828. - Fix several double-mark-for-close bugs, e.g. where we were finding
  10829. a conn for a cell even if that conn is already marked for close.
  10830. - Make sequence of log messages when starting on win32 with no config
  10831. file more reasonable.
  10832. - When choosing an exit node for a new non-internal circ, don't take
  10833. into account whether it'll be useful for any pending x.onion
  10834. addresses -- it won't.
  10835. - Turn addr_policy_compare from a tristate to a quadstate; this should
  10836. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  10837. for google.com" problem.
  10838. - Make "platform" string in descriptor more accurate for Win32 servers,
  10839. so it's not just "unknown platform".
  10840. - Fix an edge case in parsing config options (thanks weasel).
  10841. If they say "--" on the commandline, it's not an option.
  10842. - Reject odd-looking addresses at the client (e.g. addresses that
  10843. contain a colon), rather than having the server drop them because
  10844. they're malformed.
  10845. - tor-resolve requests were ignoring .exit if there was a working circuit
  10846. they could use instead.
  10847. - REUSEADDR on normal platforms means you can rebind to the port
  10848. right after somebody else has let it go. But REUSEADDR on win32
  10849. means to let you bind to the port _even when somebody else
  10850. already has it bound_! So, don't do that on Win32.
  10851. - Change version parsing logic: a version is "obsolete" if it is not
  10852. recommended and (1) there is a newer recommended version in the
  10853. same series, or (2) there are no recommended versions in the same
  10854. series, but there are some recommended versions in a newer series.
  10855. A version is "new" if it is newer than any recommended version in
  10856. the same series.
  10857. - Stop most cases of hanging up on a socks connection without sending
  10858. the socks reject.
  10859. o Helpful fixes:
  10860. - Require BandwidthRate to be at least 20kB/s for servers.
  10861. - When a dirserver causes you to give a warn, mention which dirserver
  10862. it was.
  10863. - New config option DirAllowPrivateAddresses for authdirservers.
  10864. Now by default they refuse router descriptors that have non-IP or
  10865. private-IP addresses.
  10866. - Stop publishing socksport in the directory, since it's not
  10867. actually meant to be public. For compatibility, publish a 0 there
  10868. for now.
  10869. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  10870. smart" value, that is low for servers and high for clients.
  10871. - If our clock jumps forward by 100 seconds or more, assume something
  10872. has gone wrong with our network and abandon all not-yet-used circs.
  10873. - Warn when exit policy implicitly allows local addresses.
  10874. - If we get an incredibly skewed timestamp from a dirserver mirror
  10875. that isn't a verified OR, don't warn -- it's probably him that's
  10876. wrong.
  10877. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  10878. cookies to disk and doesn't log each web request to disk. (Thanks
  10879. to Brett Carrington for pointing this out.)
  10880. - When a client asks us for a dir mirror and we don't have one,
  10881. launch an attempt to get a fresh one.
  10882. - If we're hibernating and we get a SIGINT, exit immediately.
  10883. - Add --with-dmalloc ./configure option, to track memory leaks.
  10884. - And try to free all memory on closing, so we can detect what
  10885. we're leaking.
  10886. - Cache local dns resolves correctly even when they're .exit
  10887. addresses.
  10888. - Give a better warning when some other server advertises an
  10889. ORPort that is actually an apache running ssl.
  10890. - Add "opt hibernating 1" to server descriptor to make it clearer
  10891. whether the server is hibernating.
  10892. Changes in version 0.0.9.6 - 2005-03-24
  10893. o Bugfixes on 0.0.9.x (crashes and asserts):
  10894. - Add new end stream reasons to maintainance branch. Fix bug where
  10895. reason (8) could trigger an assert. Prevent bug from recurring.
  10896. - Apparently win32 stat wants paths to not end with a slash.
  10897. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  10898. blowing away the circuit that conn->cpath_layer points to, then
  10899. checking to see if the circ is well-formed. Backport check to make
  10900. sure we dont use the cpath on a closed connection.
  10901. - Prevent circuit_resume_edge_reading_helper() from trying to package
  10902. inbufs for marked-for-close streams.
  10903. - Don't crash on hup if your options->address has become unresolvable.
  10904. - Some systems (like OS X) sometimes accept() a connection and tell
  10905. you the remote host is 0.0.0.0:0. If this happens, due to some
  10906. other mis-features, we get confused; so refuse the conn for now.
  10907. o Bugfixes on 0.0.9.x (other):
  10908. - Fix harmless but scary "Unrecognized content encoding" warn message.
  10909. - Add new stream error reason: TORPROTOCOL reason means "you are not
  10910. speaking a version of Tor I understand; say bye-bye to your stream."
  10911. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  10912. into the future, now that we are more tolerant of skew. This
  10913. resolves a bug where a Tor server would refuse to cache a directory
  10914. because all the directories it gets are too far in the future;
  10915. yet the Tor server never logs any complaints about clock skew.
  10916. - Mac packaging magic: make man pages useable, and do not overwrite
  10917. existing torrc files.
  10918. - Make OS X log happily to /var/log/tor/tor.log
  10919. Changes in version 0.0.9.5 - 2005-02-22
  10920. o Bugfixes on 0.0.9.x:
  10921. - Fix an assert race at exit nodes when resolve requests fail.
  10922. - Stop picking unverified dir mirrors--it only leads to misery.
  10923. - Patch from Matt Edman to make NT services work better. Service
  10924. support is still not compiled into the executable by default.
  10925. - Patch from Dmitri Bely so the Tor service runs better under
  10926. the win32 SYSTEM account.
  10927. - Make tor-resolve actually work (?) on Win32.
  10928. - Fix a sign bug when getrlimit claims to have 4+ billion
  10929. file descriptors available.
  10930. - Stop refusing to start when bandwidthburst == bandwidthrate.
  10931. - When create cells have been on the onion queue more than five
  10932. seconds, just send back a destroy and take them off the list.
  10933. Changes in version 0.0.9.4 - 2005-02-03
  10934. o Bugfixes on 0.0.9:
  10935. - Fix an assert bug that took down most of our servers: when
  10936. a server claims to have 1 GB of bandwidthburst, don't
  10937. freak out.
  10938. - Don't crash as badly if we have spawned the max allowed number
  10939. of dnsworkers, or we're out of file descriptors.
  10940. - Block more file-sharing ports in the default exit policy.
  10941. - MaxConn is now automatically set to the hard limit of max
  10942. file descriptors we're allowed (ulimit -n), minus a few for
  10943. logs, etc.
  10944. - Give a clearer message when servers need to raise their
  10945. ulimit -n when they start running out of file descriptors.
  10946. - SGI Compatibility patches from Jan Schaumann.
  10947. - Tolerate a corrupt cached directory better.
  10948. - When a dirserver hasn't approved your server, list which one.
  10949. - Go into soft hibernation after 95% of the bandwidth is used,
  10950. not 99%. This is especially important for daily hibernators who
  10951. have a small accounting max. Hopefully it will result in fewer
  10952. cut connections when the hard hibernation starts.
  10953. - Load-balance better when using servers that claim more than
  10954. 800kB/s of capacity.
  10955. - Make NT services work (experimental, only used if compiled in).
  10956. Changes in version 0.0.9.3 - 2005-01-21
  10957. o Bugfixes on 0.0.9:
  10958. - Backport the cpu use fixes from main branch, so busy servers won't
  10959. need as much processor time.
  10960. - Work better when we go offline and then come back, or when we
  10961. run Tor at boot before the network is up. We do this by
  10962. optimistically trying to fetch a new directory whenever an
  10963. application request comes in and we think we're offline -- the
  10964. human is hopefully a good measure of when the network is back.
  10965. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  10966. long as you keep using them; actually publish hidserv descriptors
  10967. shortly after they change, rather than waiting 20-40 minutes.
  10968. - Enable Mac startup script by default.
  10969. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  10970. - When you update AllowUnverifiedNodes or FirewallPorts via the
  10971. controller's setconf feature, we were always appending, never
  10972. resetting.
  10973. - When you update HiddenServiceDir via setconf, it was screwing up
  10974. the order of reading the lines, making it fail.
  10975. - Do not rewrite a cached directory back to the cache; otherwise we
  10976. will think it is recent and not fetch a newer one on startup.
  10977. - Workaround for webservers that lie about Content-Encoding: Tor
  10978. now tries to autodetect compressed directories and compression
  10979. itself. This lets us Proxypass dir fetches through apache.
  10980. Changes in version 0.0.9.2 - 2005-01-04
  10981. o Bugfixes on 0.0.9 (crashes and asserts):
  10982. - Fix an assert on startup when the disk is full and you're logging
  10983. to a file.
  10984. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  10985. style address, then we'd crash.
  10986. - Fix an assert trigger when the running-routers string we get from
  10987. a dirserver is broken.
  10988. - Make worker threads start and run on win32. Now win32 servers
  10989. may work better.
  10990. - Bandaid (not actually fix, but now it doesn't crash) an assert
  10991. where the dns worker dies mysteriously and the main Tor process
  10992. doesn't remember anything about the address it was resolving.
  10993. o Bugfixes on 0.0.9 (Win32):
  10994. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  10995. name out of the warning/assert messages.
  10996. - Fix a superficial "unhandled error on read" bug on win32.
  10997. - The win32 installer no longer requires a click-through for our
  10998. license, since our Free Software license grants rights but does not
  10999. take any away.
  11000. - Win32: When connecting to a dirserver fails, try another one
  11001. immediately. (This was already working for non-win32 Tors.)
  11002. - Stop trying to parse $HOME on win32 when hunting for default
  11003. DataDirectory.
  11004. - Make tor-resolve.c work on win32 by calling network_init().
  11005. o Bugfixes on 0.0.9 (other):
  11006. - Make 0.0.9.x build on Solaris again.
  11007. - Due to a fencepost error, we were blowing away the \n when reporting
  11008. confvalue items in the controller. So asking for multiple config
  11009. values at once couldn't work.
  11010. - When listing circuits that are pending on an opening OR connection,
  11011. if we're an OR we were listing circuits that *end* at us as
  11012. being pending on every listener, dns/cpu worker, etc. Stop that.
  11013. - Dirservers were failing to create 'running-routers' or 'directory'
  11014. strings if we had more than some threshold of routers. Fix them so
  11015. they can handle any number of routers.
  11016. - Fix a superficial "Duplicate mark for close" bug.
  11017. - Stop checking for clock skew for OR connections, even for servers.
  11018. - Fix a fencepost error that was chopping off the last letter of any
  11019. nickname that is the maximum allowed nickname length.
  11020. - Update URLs in log messages so they point to the new website.
  11021. - Fix a potential problem in mangling server private keys while
  11022. writing to disk (not triggered yet, as far as we know).
  11023. - Include the licenses for other free software we include in Tor,
  11024. now that we're shipping binary distributions more regularly.
  11025. Changes in version 0.0.9.1 - 2004-12-15
  11026. o Bugfixes on 0.0.9:
  11027. - Make hibernation actually work.
  11028. - Make HashedControlPassword config option work.
  11029. - When we're reporting event circuit status to a controller,
  11030. don't use the stream status code.
  11031. Changes in version 0.0.9 - 2004-12-12
  11032. o Cleanups:
  11033. - Clean up manpage and torrc.sample file.
  11034. - Clean up severities and text of log warnings.
  11035. o Mistakes:
  11036. - Make servers trigger an assert when they enter hibernation.
  11037. Changes in version 0.0.9rc7 - 2004-12-08
  11038. o Bugfixes on 0.0.9rc:
  11039. - Fix a stack-trashing crash when an exit node begins hibernating.
  11040. - Avoid looking at unallocated memory while considering which
  11041. ports we need to build circuits to cover.
  11042. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  11043. we shouldn't hold-open-until-flush if the eof arrived first.
  11044. - Fix a bug with init_cookie_authentication() in the controller.
  11045. - When recommending new-format log lines, if the upper bound is
  11046. LOG_ERR, leave it implicit.
  11047. o Bugfixes on 0.0.8.1:
  11048. - Fix a whole slew of memory leaks.
  11049. - Fix isspace() and friends so they still make Solaris happy
  11050. but also so they don't trigger asserts on win32.
  11051. - Fix parse_iso_time on platforms without strptime (eg win32).
  11052. - win32: tolerate extra "readable" events better.
  11053. - win32: when being multithreaded, leave parent fdarray open.
  11054. - Make unit tests work on win32.
  11055. Changes in version 0.0.9rc6 - 2004-12-06
  11056. o Bugfixes on 0.0.9pre:
  11057. - Clean up some more integer underflow opportunities (not exploitable
  11058. we think).
  11059. - While hibernating, hup should not regrow our listeners.
  11060. - Send an end to the streams we close when we hibernate, rather
  11061. than just chopping them off.
  11062. - React to eof immediately on non-open edge connections.
  11063. o Bugfixes on 0.0.8.1:
  11064. - Calculate timeout for waiting for a connected cell from the time
  11065. we sent the begin cell, not from the time the stream started. If
  11066. it took a long time to establish the circuit, we would time out
  11067. right after sending the begin cell.
  11068. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  11069. of * as always matching, so we were picking reject *:* nodes as
  11070. exit nodes too. Oops.
  11071. o Features:
  11072. - New circuit building strategy: keep a list of ports that we've
  11073. used in the past 6 hours, and always try to have 2 circuits open
  11074. or on the way that will handle each such port. Seed us with port
  11075. 80 so web users won't complain that Tor is "slow to start up".
  11076. - Make kill -USR1 dump more useful stats about circuits.
  11077. - When warning about retrying or giving up, print the address, so
  11078. the user knows which one it's talking about.
  11079. - If you haven't used a clean circuit in an hour, throw it away,
  11080. just to be on the safe side. (This means after 6 hours a totally
  11081. unused Tor client will have no circuits open.)
  11082. Changes in version 0.0.9rc5 - 2004-12-01
  11083. o Bugfixes on 0.0.8.1:
  11084. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  11085. - Let resolve conns retry/expire also, rather than sticking around
  11086. forever.
  11087. - If we are using select, make sure we stay within FD_SETSIZE.
  11088. o Bugfixes on 0.0.9pre:
  11089. - Fix integer underflow in tor_vsnprintf() that may be exploitable,
  11090. but doesn't seem to be currently; thanks to Ilja van Sprundel for
  11091. finding it.
  11092. - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
  11093. instead. Impose minima and maxima for all *Period options; impose
  11094. even tighter maxima for fetching if we are a caching dirserver.
  11095. Clip rather than rejecting.
  11096. - Fetch cached running-routers from servers that serve it (that is,
  11097. authdirservers and servers running 0.0.9rc5-cvs or later.)
  11098. o Features:
  11099. - Accept *:706 (silc) in default exit policy.
  11100. - Implement new versioning format for post 0.1.
  11101. - Support "foo.nickname.exit" addresses, to let Alice request the
  11102. address "foo" as viewed by exit node "nickname". Based on a patch
  11103. by Geoff Goodell.
  11104. - Make tor --version --version dump the cvs Id of every file.
  11105. Changes in version 0.0.9rc4 - 2004-11-28
  11106. o Bugfixes on 0.0.8.1:
  11107. - Make windows sockets actually non-blocking (oops), and handle
  11108. win32 socket errors better.
  11109. o Bugfixes on 0.0.9rc1:
  11110. - Actually catch the -USR2 signal.
  11111. Changes in version 0.0.9rc3 - 2004-11-25
  11112. o Bugfixes on 0.0.8.1:
  11113. - Flush the log file descriptor after we print "Tor opening log file",
  11114. so we don't see those messages days later.
  11115. o Bugfixes on 0.0.9rc1:
  11116. - Make tor-resolve work again.
  11117. - Avoid infinite loop in tor-resolve if tor hangs up on it.
  11118. - Fix an assert trigger for clients/servers handling resolves.
  11119. Changes in version 0.0.9rc2 - 2004-11-24
  11120. o Bugfixes on 0.0.9rc1:
  11121. - I broke socks5 support while fixing the eof bug.
  11122. - Allow unitless bandwidths and intervals; they default to bytes
  11123. and seconds.
  11124. - New servers don't start out hibernating; they are active until
  11125. they run out of bytes, so they have a better estimate of how
  11126. long it takes, and so their operators can know they're working.
  11127. Changes in version 0.0.9rc1 - 2004-11-23
  11128. o Bugfixes on 0.0.8.1:
  11129. - Finally fix a bug that's been plaguing us for a year:
  11130. With high load, circuit package window was reaching 0. Whenever
  11131. we got a circuit-level sendme, we were reading a lot on each
  11132. socket, but only writing out a bit. So we would eventually reach
  11133. eof. This would be noticed and acted on even when there were still
  11134. bytes sitting in the inbuf.
  11135. - When poll() is interrupted, we shouldn't believe the revents values.
  11136. o Bugfixes on 0.0.9pre6:
  11137. - Fix hibernate bug that caused pre6 to be broken.
  11138. - Don't keep rephist info for routers that haven't had activity for
  11139. 24 hours. (This matters now that clients have keys, since we track
  11140. them too.)
  11141. - Never call close_temp_logs while validating log options.
  11142. - Fix backslash-escaping on tor.sh.in and torctl.in.
  11143. o Features:
  11144. - Implement weekly/monthly/daily accounting: now you specify your
  11145. hibernation properties by
  11146. AccountingMax N bytes|KB|MB|GB|TB
  11147. AccountingStart day|week|month [day] HH:MM
  11148. Defaults to "month 1 0:00".
  11149. - Let bandwidth and interval config options be specified as 5 bytes,
  11150. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  11151. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  11152. get back to normal.)
  11153. - If your requested entry or exit node has advertised bandwidth 0,
  11154. pick it anyway.
  11155. - Be more greedy about filling up relay cells -- we try reading again
  11156. once we've processed the stuff we read, in case enough has arrived
  11157. to fill the last cell completely.
  11158. - Apply NT service patch from Osamu Fujino. Still needs more work.
  11159. Changes in version 0.0.9pre6 - 2004-11-15
  11160. o Bugfixes on 0.0.8.1:
  11161. - Fix assert failure on malformed socks4a requests.
  11162. - Use identity comparison, not nickname comparison, to choose which
  11163. half of circuit-ID-space each side gets to use. This is needed
  11164. because sometimes we think of a router as a nickname, and sometimes
  11165. as a hex ID, and we can't predict what the other side will do.
  11166. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  11167. write() call will fail and we handle it there.
  11168. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  11169. and smartlist_len, which are two major profiling offenders.
  11170. o Bugfixes on 0.0.9pre5:
  11171. - Fix a bug in read_all that was corrupting config files on windows.
  11172. - When we're raising the max number of open file descriptors to
  11173. 'unlimited', don't log that we just raised it to '-1'.
  11174. - Include event code with events, as required by control-spec.txt.
  11175. - Don't give a fingerprint when clients do --list-fingerprint:
  11176. it's misleading, because it will never be the same again.
  11177. - Stop using strlcpy in tor_strndup, since it was slowing us
  11178. down a lot.
  11179. - Remove warn on startup about missing cached-directory file.
  11180. - Make kill -USR1 work again.
  11181. - Hibernate if we start tor during the "wait for wakeup-time" phase
  11182. of an accounting interval. Log our hibernation plans better.
  11183. - Authoritative dirservers now also cache their directory, so they
  11184. have it on start-up.
  11185. o Features:
  11186. - Fetch running-routers; cache running-routers; compress
  11187. running-routers; serve compressed running-routers.z
  11188. - Add NSI installer script contributed by J Doe.
  11189. - Commit VC6 and VC7 workspace/project files.
  11190. - Commit a tor.spec for making RPM files, with help from jbash.
  11191. - Add contrib/torctl.in contributed by Glenn Fink.
  11192. - Implement the control-spec's SAVECONF command, to write your
  11193. configuration to torrc.
  11194. - Get cookie authentication for the controller closer to working.
  11195. - Include control-spec.txt in the tarball.
  11196. - When set_conf changes our server descriptor, upload a new copy.
  11197. But don't upload it too often if there are frequent changes.
  11198. - Document authentication config in man page, and document signals
  11199. we catch.
  11200. - Clean up confusing parts of man page and torrc.sample.
  11201. - Make expand_filename handle ~ and ~username.
  11202. - Use autoconf to enable largefile support where necessary. Use
  11203. ftello where available, since ftell can fail at 2GB.
  11204. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  11205. log more informatively.
  11206. - Give a slightly more useful output for "tor -h".
  11207. - Refuse application socks connections to port 0.
  11208. - Check clock skew for verified servers, but allow unverified
  11209. servers and clients to have any clock skew.
  11210. - Break DirFetchPostPeriod into:
  11211. - DirFetchPeriod for fetching full directory,
  11212. - StatusFetchPeriod for fetching running-routers,
  11213. - DirPostPeriod for posting server descriptor,
  11214. - RendPostPeriod for posting hidden service descriptors.
  11215. - Make sure the hidden service descriptors are at a random offset
  11216. from each other, to hinder linkability.
  11217. Changes in version 0.0.9pre5 - 2004-11-09
  11218. o Bugfixes on 0.0.9pre4:
  11219. - Fix a seg fault in unit tests (doesn't affect main program).
  11220. - Fix an assert bug where a hidden service provider would fail if
  11221. the first hop of his rendezvous circuit was down.
  11222. - Hidden service operators now correctly handle version 1 style
  11223. INTRODUCE1 cells (nobody generates them still, so not a critical
  11224. bug).
  11225. - If do_hup fails, actually notice.
  11226. - Handle more errnos from accept() without closing the listener.
  11227. Some OpenBSD machines were closing their listeners because
  11228. they ran out of file descriptors.
  11229. - Send resolve cells to exit routers that are running a new
  11230. enough version of the resolve code to work right.
  11231. - Better handling of winsock includes on non-MSV win32 compilers.
  11232. - Some people had wrapped their tor client/server in a script
  11233. that would restart it whenever it died. This did not play well
  11234. with our "shut down if your version is obsolete" code. Now people
  11235. don't fetch a new directory if their local cached version is
  11236. recent enough.
  11237. - Make our autogen.sh work on ksh as well as bash.
  11238. o Major Features:
  11239. - Hibernation: New config option "AccountingMaxKB" lets you
  11240. set how many KBytes per month you want to allow your server to
  11241. consume. Rather than spreading those bytes out evenly over the
  11242. month, we instead hibernate for some of the month and pop up
  11243. at a deterministic time, work until the bytes are consumed, then
  11244. hibernate again. Config option "MonthlyAccountingStart" lets you
  11245. specify which day of the month your billing cycle starts on.
  11246. - Control interface: a separate program can now talk to your
  11247. client/server over a socket, and get/set config options, receive
  11248. notifications of circuits and streams starting/finishing/dying,
  11249. bandwidth used, etc. The next step is to get some GUIs working.
  11250. Let us know if you want to help out. See doc/control-spec.txt .
  11251. - Ship a contrib/tor-control.py as an example script to interact
  11252. with the control port.
  11253. - "tor --hash-password zzyxz" will output a salted password for
  11254. use in authenticating to the control interface.
  11255. - New log format in config:
  11256. "Log minsev[-maxsev] stdout|stderr|syslog" or
  11257. "Log minsev[-maxsev] file /var/foo"
  11258. o Minor Features:
  11259. - DirPolicy config option, to let people reject incoming addresses
  11260. from their dirserver.
  11261. - "tor --list-fingerprint" will list your identity key fingerprint
  11262. and then exit.
  11263. - Add "pass" target for RedirectExit, to make it easier to break
  11264. out of a sequence of RedirectExit rules.
  11265. - Clients now generate a TLS cert too, in preparation for having
  11266. them act more like real nodes.
  11267. - Ship src/win32/ in the tarball, so people can use it to build.
  11268. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  11269. is broken.
  11270. - New "router-status" line in directory, to better bind each verified
  11271. nickname to its identity key.
  11272. - Deprecate unofficial config option abbreviations, and abbreviations
  11273. not on the command line.
  11274. - Add a pure-C tor-resolve implementation.
  11275. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  11276. 1024) file descriptors.
  11277. o Code security improvements, inspired by Ilja:
  11278. - Replace sprintf with snprintf. (I think they were all safe, but
  11279. hey.)
  11280. - Replace strcpy/strncpy with strlcpy in more places.
  11281. - Avoid strcat; use snprintf or strlcat instead.
  11282. - snprintf wrapper with consistent (though not C99) overflow behavior.
  11283. Changes in version 0.0.9pre4 - 2004-10-17
  11284. o Bugfixes on 0.0.9pre3:
  11285. - If the server doesn't specify an exit policy, use the real default
  11286. exit policy, not reject *:*.
  11287. - Ignore fascistfirewall when uploading/downloading hidden service
  11288. descriptors, since we go through Tor for those; and when using
  11289. an HttpProxy, since we assume it can reach them all.
  11290. - When looking for an authoritative dirserver, use only the ones
  11291. configured at boot. Don't bother looking in the directory.
  11292. - The rest of the fix for get_default_conf_file() on older win32.
  11293. - Make 'Routerfile' config option obsolete.
  11294. o Features:
  11295. - New 'MyFamily nick1,...' config option for a server to
  11296. specify other servers that shouldn't be used in the same circuit
  11297. with it. Only believed if nick1 also specifies us.
  11298. - New 'NodeFamily nick1,nick2,...' config option for a client to
  11299. specify nodes that it doesn't want to use in the same circuit.
  11300. - New 'Redirectexit pattern address:port' config option for a
  11301. server to redirect exit connections, e.g. to a local squid.
  11302. Changes in version 0.0.9pre3 - 2004-10-13
  11303. o Bugfixes on 0.0.8.1:
  11304. - Better torrc example lines for dirbindaddress and orbindaddress.
  11305. - Improved bounds checking on parsed ints (e.g. config options and
  11306. the ones we find in directories.)
  11307. - Better handling of size_t vs int, so we're more robust on 64
  11308. bit platforms.
  11309. - Fix the rest of the bug where a newly started OR would appear
  11310. as unverified even after we've added his fingerprint and hupped
  11311. the dirserver.
  11312. - Fix a bug from 0.0.7: when read() failed on a stream, we would
  11313. close it without sending back an end. So 'connection refused'
  11314. would simply be ignored and the user would get no response.
  11315. o Bugfixes on 0.0.9pre2:
  11316. - Serving the cached-on-disk directory to people is bad. We now
  11317. provide no directory until we've fetched a fresh one.
  11318. - Workaround for bug on windows where cached-directories get crlf
  11319. corruption.
  11320. - Make get_default_conf_file() work on older windows too.
  11321. - If we write a *:* exit policy line in the descriptor, don't write
  11322. any more exit policy lines.
  11323. o Features:
  11324. - Use only 0.0.9pre1 and later servers for resolve cells.
  11325. - Make the dirservers file obsolete.
  11326. - Include a dir-signing-key token in directories to tell the
  11327. parsing entity which key is being used to sign.
  11328. - Remove the built-in bulky default dirservers string.
  11329. - New config option "Dirserver %s:%d [fingerprint]", which can be
  11330. repeated as many times as needed. If no dirservers specified,
  11331. default to moria1,moria2,tor26.
  11332. - Make moria2 advertise a dirport of 80, so people behind firewalls
  11333. will be able to get a directory.
  11334. - Http proxy support
  11335. - Dirservers translate requests for http://%s:%d/x to /x
  11336. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  11337. be routed through this host.
  11338. - Clients ask for /tor/x rather than /x for new enough dirservers.
  11339. This way we can one day coexist peacefully with apache.
  11340. - Clients specify a "Host: %s%d" http header, to be compatible
  11341. with more proxies, and so running squid on an exit node can work.
  11342. Changes in version 0.0.8.1 - 2004-10-13
  11343. o Bugfixes:
  11344. - Fix a seg fault that can be triggered remotely for Tor
  11345. clients/servers with an open dirport.
  11346. - Fix a rare assert trigger, where routerinfos for entries in
  11347. our cpath would expire while we're building the path.
  11348. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  11349. - Fix a rare seg fault for people running hidden services on
  11350. intermittent connections.
  11351. - Fix a bug in parsing opt keywords with objects.
  11352. - Fix a stale pointer assert bug when a stream detaches and
  11353. reattaches.
  11354. - Fix a string format vulnerability (probably not exploitable)
  11355. in reporting stats locally.
  11356. - Fix an assert trigger: sometimes launching circuits can fail
  11357. immediately, e.g. because too many circuits have failed recently.
  11358. - Fix a compile warning on 64 bit platforms.
  11359. Changes in version 0.0.9pre2 - 2004-10-03
  11360. o Bugfixes:
  11361. - Make fetching a cached directory work for 64-bit platforms too.
  11362. - Make zlib.h a required header, not an optional header.
  11363. Changes in version 0.0.9pre1 - 2004-10-01
  11364. o Bugfixes:
  11365. - Stop using separate defaults for no-config-file and
  11366. empty-config-file. Now you have to explicitly turn off SocksPort,
  11367. if you don't want it open.
  11368. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  11369. - Improve man page to mention more of the 0.0.8 features.
  11370. - Fix a rare seg fault for people running hidden services on
  11371. intermittent connections.
  11372. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  11373. happier.
  11374. - Fix more dns related bugs: send back resolve_failed and end cells
  11375. more reliably when the resolve fails, rather than closing the
  11376. circuit and then trying to send the cell. Also attach dummy resolve
  11377. connections to a circuit *before* calling dns_resolve(), to fix
  11378. a bug where cached answers would never be sent in RESOLVED cells.
  11379. - When we run out of disk space, or other log writing error, don't
  11380. crash. Just stop logging to that log and continue.
  11381. - We were starting to daemonize before we opened our logs, so if
  11382. there were any problems opening logs, we would complain to stderr,
  11383. which wouldn't work, and then mysteriously exit.
  11384. - Fix a rare bug where sometimes a verified OR would connect to us
  11385. before he'd uploaded his descriptor, which would cause us to
  11386. assign conn->nickname as though he's unverified. Now we look through
  11387. the fingerprint list to see if he's there.
  11388. - Fix a rare assert trigger, where routerinfos for entries in
  11389. our cpath would expire while we're building the path.
  11390. o Features:
  11391. - Clients can ask dirservers for /dir.z to get a compressed version
  11392. of the directory. Only works for servers running 0.0.9, of course.
  11393. - Make clients cache directories and use them to seed their router
  11394. lists at startup. This means clients have a datadir again.
  11395. - Configuration infrastructure support for warning on obsolete
  11396. options.
  11397. - Respond to content-encoding headers by trying to uncompress as
  11398. appropriate.
  11399. - Reply with a deflated directory when a client asks for "dir.z".
  11400. We could use allow-encodings instead, but allow-encodings isn't
  11401. specified in HTTP 1.0.
  11402. - Raise the max dns workers from 50 to 100.
  11403. - Discourage people from setting their dirfetchpostperiod more often
  11404. than once per minute.
  11405. - Protect dirservers from overzealous descriptor uploading -- wait
  11406. 10 seconds after directory gets dirty, before regenerating.
  11407. Changes in version 0.0.8 - 2004-08-25
  11408. o Port it to SunOS 5.9 / Athena
  11409. Changes in version 0.0.8rc2 - 2004-08-20
  11410. o Make it compile on cygwin again.
  11411. o When picking unverified routers, skip those with low uptime and/or
  11412. low bandwidth, depending on what properties you care about.
  11413. Changes in version 0.0.8rc1 - 2004-08-18
  11414. o Changes from 0.0.7.3:
  11415. - Bugfixes:
  11416. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  11417. don't put it into the client dns cache.
  11418. - If a begin failed due to exit policy, but we believe the IP address
  11419. should have been allowed, switch that router to exitpolicy reject *:*
  11420. until we get our next directory.
  11421. - Features:
  11422. - Clients choose nodes proportional to advertised bandwidth.
  11423. - Avoid using nodes with low uptime as introduction points.
  11424. - Handle servers with dynamic IP addresses: don't replace
  11425. options->Address with the resolved one at startup, and
  11426. detect our address right before we make a routerinfo each time.
  11427. - 'FascistFirewall' option to pick dirservers and ORs on specific
  11428. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  11429. which ports are open. (Defaults to 80,443)
  11430. - Be more aggressive about trying to make circuits when the network
  11431. has changed (e.g. when you unsuspend your laptop).
  11432. - Check for time skew on http headers; report date in response to
  11433. "GET /".
  11434. - If the entrynode config line has only one node, don't pick it as
  11435. an exitnode.
  11436. - Add strict{entry|exit}nodes config options. If set to 1, then
  11437. we refuse to build circuits that don't include the specified entry
  11438. or exit nodes.
  11439. - OutboundBindAddress config option, to bind to a specific
  11440. IP address for outgoing connect()s.
  11441. - End truncated log entries (e.g. directories) with "[truncated]".
  11442. o Patches to 0.0.8preX:
  11443. - Bugfixes:
  11444. - Patches to compile and run on win32 again (maybe)?
  11445. - Fix crash when looking for ~/.torrc with no $HOME set.
  11446. - Fix a race bug in the unit tests.
  11447. - Handle verified/unverified name collisions better when new
  11448. routerinfo's arrive in a directory.
  11449. - Sometimes routers were getting entered into the stats before
  11450. we'd assigned their identity_digest. Oops.
  11451. - Only pick and establish intro points after we've gotten a
  11452. directory.
  11453. - Features:
  11454. - AllowUnverifiedNodes config option to let circuits choose no-name
  11455. routers in entry,middle,exit,introduction,rendezvous positions.
  11456. Allow middle and rendezvous positions by default.
  11457. - Add a man page for tor-resolve.
  11458. Changes in version 0.0.7.3 - 2004-08-12
  11459. o Stop dnsworkers from triggering an assert failure when you
  11460. ask them to resolve the host "".
  11461. Changes in version 0.0.8pre3 - 2004-08-09
  11462. o Changes from 0.0.7.2:
  11463. - Allow multiple ORs with same nickname in routerlist -- now when
  11464. people give us one identity key for a nickname, then later
  11465. another, we don't constantly complain until the first expires.
  11466. - Remember used bandwidth (both in and out), and publish 15-minute
  11467. snapshots for the past day into our descriptor.
  11468. - You can now fetch $DIRURL/running-routers to get just the
  11469. running-routers line, not the whole descriptor list. (But
  11470. clients don't use this yet.)
  11471. - When people mistakenly use Tor as an http proxy, point them
  11472. at the tor-doc.html rather than the INSTALL.
  11473. - Remove our mostly unused -- and broken -- hex_encode()
  11474. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  11475. for pointing out this bug.)
  11476. - Rotate onion keys every 12 hours, not every 2 hours, so we have
  11477. fewer problems with people using the wrong key.
  11478. - Change the default exit policy to reject the default edonkey,
  11479. kazaa, gnutella ports.
  11480. - Add replace_file() to util.[ch] to handle win32's rename().
  11481. o Changes from 0.0.8preX:
  11482. - Fix two bugs in saving onion keys to disk when rotating, so
  11483. hopefully we'll get fewer people using old onion keys.
  11484. - Fix an assert error that was making SocksPolicy not work.
  11485. - Be willing to expire routers that have an open dirport -- it's
  11486. just the authoritative dirservers we want to not forget.
  11487. - Reject tor-resolve requests for .onion addresses early, so we
  11488. don't build a whole rendezvous circuit and then fail.
  11489. - When you're warning a server that he's unverified, don't cry
  11490. wolf unpredictably.
  11491. - Fix a race condition: don't try to extend onto a connection
  11492. that's still handshaking.
  11493. - For servers in clique mode, require the conn to be open before
  11494. you'll choose it for your path.
  11495. - Fix some cosmetic bugs about duplicate mark-for-close, lack of
  11496. end relay cell, etc.
  11497. - Measure bandwidth capacity over the last 24 hours, not just 12
  11498. - Bugfix: authoritative dirservers were making and signing a new
  11499. directory for each client, rather than reusing the cached one.
  11500. Changes in version 0.0.8pre2 - 2004-08-04
  11501. o Changes from 0.0.7.2:
  11502. - Security fixes:
  11503. - Check directory signature _before_ you decide whether you're
  11504. you're running an obsolete version and should exit.
  11505. - Check directory signature _before_ you parse the running-routers
  11506. list to decide who's running or verified.
  11507. - Bugfixes and features:
  11508. - Check return value of fclose while writing to disk, so we don't
  11509. end up with broken files when servers run out of disk space.
  11510. - Log a warning if the user uses an unsafe socks variant, so people
  11511. are more likely to learn about privoxy or socat.
  11512. - Dirservers now include RFC1123-style dates in the HTTP headers,
  11513. which one day we will use to better detect clock skew.
  11514. o Changes from 0.0.8pre1:
  11515. - Make it compile without warnings again on win32.
  11516. - Log a warning if you're running an unverified server, to let you
  11517. know you might want to get it verified.
  11518. - Only pick a default nickname if you plan to be a server.
  11519. Changes in version 0.0.8pre1 - 2004-07-23
  11520. o Bugfixes:
  11521. - Made our unit tests compile again on OpenBSD 3.5, and tor
  11522. itself compile again on OpenBSD on a sparc64.
  11523. - We were neglecting milliseconds when logging on win32, so
  11524. everything appeared to happen at the beginning of each second.
  11525. o Protocol changes:
  11526. - 'Extend' relay cell payloads now include the digest of the
  11527. intended next hop's identity key. Now we can verify that we're
  11528. extending to the right router, and also extend to routers we
  11529. hadn't heard of before.
  11530. o Features:
  11531. - Tor nodes can now act as relays (with an advertised ORPort)
  11532. without being manually verified by the dirserver operators.
  11533. - Uploaded descriptors of unverified routers are now accepted
  11534. by the dirservers, and included in the directory.
  11535. - Verified routers are listed by nickname in the running-routers
  11536. list; unverified routers are listed as "$<fingerprint>".
  11537. - We now use hash-of-identity-key in most places rather than
  11538. nickname or addr:port, for improved security/flexibility.
  11539. - To avoid Sybil attacks, paths still use only verified servers.
  11540. But now we have a chance to play around with hybrid approaches.
  11541. - Nodes track bandwidth usage to estimate capacity (not used yet).
  11542. - ClientOnly option for nodes that never want to become servers.
  11543. - Directory caching.
  11544. - "AuthoritativeDir 1" option for the official dirservers.
  11545. - Now other nodes (clients and servers) will cache the latest
  11546. directory they've pulled down.
  11547. - They can enable their DirPort to serve it to others.
  11548. - Clients will pull down a directory from any node with an open
  11549. DirPort, and check the signature/timestamp correctly.
  11550. - Authoritative dirservers now fetch directories from other
  11551. authdirservers, to stay better synced.
  11552. - Running-routers list tells who's down also, along with noting
  11553. if they're verified (listed by nickname) or unverified (listed
  11554. by hash-of-key).
  11555. - Allow dirservers to serve running-router list separately.
  11556. This isn't used yet.
  11557. - ORs connect-on-demand to other ORs
  11558. - If you get an extend cell to an OR you're not connected to,
  11559. connect, handshake, and forward the create cell.
  11560. - The authoritative dirservers stay connected to everybody,
  11561. and everybody stays connected to 0.0.7 servers, but otherwise
  11562. clients/servers expire unused connections after 5 minutes.
  11563. - When servers get a sigint, they delay 30 seconds (refusing new
  11564. connections) then exit. A second sigint causes immediate exit.
  11565. - File and name management:
  11566. - Look for .torrc if no CONFDIR "torrc" is found.
  11567. - If no datadir is defined, then choose, make, and secure ~/.tor
  11568. as datadir.
  11569. - If torrc not found, exitpolicy reject *:*.
  11570. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  11571. - If no nickname is defined, derive default from hostname.
  11572. - Rename secret key files, e.g. identity.key -> secret_id_key,
  11573. to discourage people from mailing their identity key to tor-ops.
  11574. - Refuse to build a circuit before the directory has arrived --
  11575. it won't work anyway, since you won't know the right onion keys
  11576. to use.
  11577. - Try other dirservers immediately if the one you try is down. This
  11578. should tolerate down dirservers better now.
  11579. - Parse tor version numbers so we can do an is-newer-than check
  11580. rather than an is-in-the-list check.
  11581. - New socks command 'resolve', to let us shim gethostbyname()
  11582. locally.
  11583. - A 'tor_resolve' script to access the socks resolve functionality.
  11584. - A new socks-extensions.txt doc file to describe our
  11585. interpretation and extensions to the socks protocols.
  11586. - Add a ContactInfo option, which gets published in descriptor.
  11587. - Publish OR uptime in descriptor (and thus in directory) too.
  11588. - Write tor version at the top of each log file
  11589. - New docs in the tarball:
  11590. - tor-doc.html.
  11591. - Document that you should proxy your SSL traffic too.
  11592. Changes in version 0.0.7.2 - 2004-07-07
  11593. o A better fix for the 0.0.0.0 problem, that will hopefully
  11594. eliminate the remaining related assertion failures.
  11595. Changes in version 0.0.7.1 - 2004-07-04
  11596. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  11597. since internally we use 0.0.0.0 to signify "not yet resolved".
  11598. Changes in version 0.0.7 - 2004-06-07
  11599. o Updated the man page to reflect the new features.
  11600. Changes in version 0.0.7rc2 - 2004-06-06
  11601. o Changes from 0.0.7rc1:
  11602. - Make it build on Win32 again.
  11603. o Changes from 0.0.6.2:
  11604. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  11605. settings too.
  11606. Changes in version 0.0.7rc1 - 2004-06-02
  11607. o Bugfixes:
  11608. - On sighup, we were adding another log without removing the first
  11609. one. So log messages would get duplicated n times for n sighups.
  11610. - Several cases of using a connection after we'd freed it. The
  11611. problem was that connections that are pending resolve are in both
  11612. the pending_resolve tree, and also the circuit's resolving_streams
  11613. list. When you want to remove one, you must remove it from both.
  11614. - Fix a double-mark-for-close where an end cell arrived for a
  11615. resolving stream, and then the resolve failed.
  11616. - Check directory signatures based on name of signer, not on whom
  11617. we got the directory from. This will let us cache directories more
  11618. easily.
  11619. o Features:
  11620. - Crank up some of our constants to handle more users.
  11621. Changes in version 0.0.7pre1 - 2004-06-02
  11622. o Fixes for crashes and other obnoxious bugs:
  11623. - Fix an epipe bug: sometimes when directory connections failed
  11624. to connect, we would give them a chance to flush before closing
  11625. them.
  11626. - When we detached from a circuit because of resolvefailed, we
  11627. would immediately try the same circuit twice more, and then
  11628. give up on the resolve thinking we'd tried three different
  11629. exit nodes.
  11630. - Limit the number of intro circuits we'll attempt to build for a
  11631. hidden service per 15-minute period.
  11632. - Check recommended-software string *early*, before actually parsing
  11633. the directory. Thus we can detect an obsolete version and exit,
  11634. even if the new directory format doesn't parse.
  11635. o Fixes for security bugs:
  11636. - Remember which nodes are dirservers when you startup, and if a
  11637. random OR enables his dirport, don't automatically assume he's
  11638. a trusted dirserver.
  11639. o Other bugfixes:
  11640. - Directory connections were asking the wrong poll socket to
  11641. start writing, and not asking themselves to start writing.
  11642. - When we detached from a circuit because we sent a begin but
  11643. didn't get a connected, we would use it again the first time;
  11644. but after that we would correctly switch to a different one.
  11645. - Stop warning when the first onion decrypt attempt fails; they
  11646. will sometimes legitimately fail now that we rotate keys.
  11647. - Override unaligned-access-ok check when $host_cpu is ia64 or
  11648. arm. Apparently they allow it but the kernel whines.
  11649. - Dirservers try to reconnect periodically too, in case connections
  11650. have failed.
  11651. - Fix some memory leaks in directory servers.
  11652. - Allow backslash in Win32 filenames.
  11653. - Made Tor build complain-free on FreeBSD, hopefully without
  11654. breaking other BSD builds. We'll see.
  11655. o Features:
  11656. - Doxygen markup on all functions and global variables.
  11657. - Make directory functions update routerlist, not replace it. So
  11658. now directory disagreements are not so critical a problem.
  11659. - Remove the upper limit on number of descriptors in a dirserver's
  11660. directory (not that we were anywhere close).
  11661. - Allow multiple logfiles at different severity ranges.
  11662. - Allow *BindAddress to specify ":port" rather than setting *Port
  11663. separately. Allow multiple instances of each BindAddress config
  11664. option, so you can bind to multiple interfaces if you want.
  11665. - Allow multiple exit policy lines, which are processed in order.
  11666. Now we don't need that huge line with all the commas in it.
  11667. - Enable accept/reject policies on SOCKS connections, so you can bind
  11668. to 0.0.0.0 but still control who can use your OP.
  11669. Changes in version 0.0.6.2 - 2004-05-16
  11670. o Our integrity-checking digest was checking only the most recent cell,
  11671. not the previous cells like we'd thought.
  11672. Thanks to Stefan Mark for finding the flaw!
  11673. Changes in version 0.0.6.1 - 2004-05-06
  11674. o Fix two bugs in our AES counter-mode implementation (this affected
  11675. onion-level stream encryption, but not TLS-level). It turns
  11676. out we were doing something much more akin to a 16-character
  11677. polyalphabetic cipher. Oops.
  11678. Thanks to Stefan Mark for finding the flaw!
  11679. o Retire moria3 as a directory server, and add tor26 as a directory
  11680. server.
  11681. Changes in version 0.0.6 - 2004-05-02
  11682. [version bump only]
  11683. Changes in version 0.0.6rc4 - 2004-05-01
  11684. o Update the built-in dirservers list to use the new directory format
  11685. o Fix a rare seg fault: if a node offering a hidden service attempts
  11686. to build a circuit to Alice's rendezvous point and fails before it
  11687. reaches the last hop, it retries with a different circuit, but
  11688. then dies.
  11689. o Handle windows socket errors correctly.
  11690. Changes in version 0.0.6rc3 - 2004-04-28
  11691. o Don't expire non-general excess circuits (if we had enough
  11692. circuits open, we were expiring rendezvous circuits -- even
  11693. when they had a stream attached. oops.)
  11694. o Fetch randomness from /dev/urandom better (not via fopen/fread)
  11695. o Better debugging for tls errors
  11696. o Some versions of openssl have an SSL_pending function that erroneously
  11697. returns bytes when there is a non-application record pending.
  11698. o Set Content-Type on the directory and hidserv descriptor.
  11699. o Remove IVs from cipher code, since AES-ctr has none.
  11700. o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  11701. o We were using an array of length zero in a few places.
  11702. o win32's gethostbyname can't resolve an IP to an IP.
  11703. o win32's close can't close a socket.
  11704. Changes in version 0.0.6rc2 - 2004-04-26
  11705. o Fix a bug where we were closing tls connections intermittently.
  11706. It turns out openssl keeps its errors around -- so if an error
  11707. happens, and you don't ask about it, and then another openssl
  11708. operation happens and succeeds, and you ask if there was an error,
  11709. it tells you about the first error. Fun fun.
  11710. o Fix a bug that's been lurking since 27 may 03 (!)
  11711. When passing back a destroy cell, we would use the wrong circ id.
  11712. 'Mostly harmless', but still worth fixing.
  11713. o Since we don't support truncateds much, don't bother sending them;
  11714. just close the circ.
  11715. o check for <machine/limits.h> so we build on NetBSD again (I hope).
  11716. o don't crash if a conn that sent a begin has suddenly lost its circuit
  11717. (this was quite rare).
  11718. Changes in version 0.0.6rc1 - 2004-04-25
  11719. o We now rotate link (tls context) keys and onion keys.
  11720. o CREATE cells now include oaep padding, so you can tell
  11721. if you decrypted them correctly.
  11722. o Add bandwidthburst to server descriptor.
  11723. o Directories now say which dirserver signed them.
  11724. o Use a tor_assert macro that logs failed assertions too.
  11725. Changes in version 0.0.6pre5 - 2004-04-18
  11726. o changes from 0.0.6pre4:
  11727. - make tor build on broken freebsd 5.2 installs
  11728. - fix a failed assert when you try an intro point, get a nack, and try
  11729. a second one and it works.
  11730. - when alice uses a port that the hidden service doesn't accept,
  11731. it now sends back an end cell (denied by exit policy). otherwise
  11732. alice would just have to wait to time out.
  11733. - fix another rare bug: when we had tried all the intro
  11734. points for a hidden service, we fetched the descriptor
  11735. again, but we left our introcirc thinking it had already
  11736. sent an intro, so it kept waiting for a response...
  11737. - bugfix: when you sleep your hidden-service laptop, as soon
  11738. as it wakes up it tries to upload a service descriptor, but
  11739. socketpair fails for some reason (localhost not up yet?).
  11740. now we simply give up on that upload, and we'll try again later.
  11741. i'd still like to find the bug though.
  11742. - if an intro circ waiting for an ack dies before getting one, then
  11743. count it as a nack
  11744. - we were reusing stale service descriptors and refetching usable
  11745. ones. oops.
  11746. Changes in version 0.0.6pre4 - 2004-04-14
  11747. o changes from 0.0.6pre3:
  11748. - when bob fails to connect to the rendezvous point, and his
  11749. circ didn't fail because of the rendezvous point itself, then
  11750. he retries a couple of times
  11751. - we expire introduction and rendezvous circs more thoroughly
  11752. (sometimes they were hanging around forever)
  11753. - we expire unattached rendezvous streams that have been around
  11754. too long (they were sticking around forever).
  11755. - fix a measly fencepost error that was crashing everybody with
  11756. a strict glibc.
  11757. Changes in version 0.0.6pre3 - 2004-04-14
  11758. o changes from 0.0.6pre2:
  11759. - make hup work again
  11760. - fix some memory leaks for dirservers
  11761. - allow more skew in rendezvous descriptor timestamps, to help
  11762. handle people like blanu who don't know what time it is
  11763. - normal circs are 3 hops, but some rend/intro circs are 4, if
  11764. the initiator doesn't get to choose the last hop
  11765. - send acks for introductions, so alice can know whether to try
  11766. again
  11767. - bob publishes intro points more correctly
  11768. o changes from 0.0.5:
  11769. - fix an assert trigger that's been plaguing us since the days
  11770. of 0.0.2prexx (thanks weasel!)
  11771. - retry stream correctly when we fail to connect because of
  11772. exit-policy-reject (should try another) or can't-resolve-address
  11773. (also should try another, because dns on random internet servers
  11774. is flaky).
  11775. - when we hup a dirserver and we've *removed* a server from the
  11776. approved-routers list, now we remove that server from the
  11777. in-memory directories too
  11778. Changes in version 0.0.6pre2 - 2004-04-08
  11779. o We fixed our base32 implementation. Now it works on all architectures.
  11780. Changes in version 0.0.6pre1 - 2004-04-08
  11781. o Features:
  11782. - Hidden services and rendezvous points are implemented. Go to
  11783. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  11784. hidden services. (This only works via a socks4a proxy such as
  11785. Privoxy, and currently it's quite slow.)
  11786. Changes in version 0.0.5 - 2004-03-30
  11787. [version bump only]
  11788. Changes in version 0.0.5rc3 - 2004-03-29
  11789. o Install torrc as torrc.sample -- we no longer clobber your
  11790. torrc. (Woo!)
  11791. o Re-enable recommendedversion checking (we broke it in rc2, oops)
  11792. o Add in a 'notice' log level for things the operator should hear
  11793. but that aren't warnings
  11794. Changes in version 0.0.5rc2 - 2004-03-29
  11795. o Hold socks connection open until reply is flushed (if possible)
  11796. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  11797. the dns farm to do it.
  11798. o Fix c99 aliasing warnings in rephist.c
  11799. o Don't include server descriptors that are older than 24 hours in the
  11800. directory.
  11801. o Give socks 'reject' replies their whole 15s to attempt to flush,
  11802. rather than seeing the 60s timeout and assuming the flush had failed.
  11803. o Clean automake droppings from the cvs repository
  11804. Changes in version 0.0.5rc1 - 2004-03-28
  11805. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  11806. o Only build circuits after we've fetched the directory: clients were
  11807. using only the directory servers before they'd fetched a directory.
  11808. This also means longer startup time; so it goes.
  11809. o Fix an assert trigger where an OP would fail to handshake, and we'd
  11810. expect it to have a nickname.
  11811. o Work around a tsocks bug: do a socks reject when AP connection dies
  11812. early, else tsocks goes into an infinite loop.
  11813. Changes in version 0.0.4 - 2004-03-26
  11814. o When connecting to a dirserver or OR and the network is down,
  11815. we would crash.
  11816. Changes in version 0.0.3 - 2004-03-26
  11817. o Warn and fail if server chose a nickname with illegal characters
  11818. o Port to Solaris and Sparc:
  11819. - include missing header fcntl.h
  11820. - have autoconf find -lsocket -lnsl automatically
  11821. - deal with hardware word alignment
  11822. - make uname() work (solaris has a different return convention)
  11823. - switch from using signal() to sigaction()
  11824. o Preliminary work on reputation system:
  11825. - Keep statistics on success/fail of connect attempts; they're published
  11826. by kill -USR1 currently.
  11827. - Add a RunTesting option to try to learn link state by creating test
  11828. circuits, even when SocksPort is off.
  11829. - Remove unused open circuits when there are too many.
  11830. Changes in version 0.0.2 - 2004-03-19
  11831. - Include strlcpy and strlcat for safer string ops
  11832. - define INADDR_NONE so we compile (but still not run) on solaris
  11833. Changes in version 0.0.2pre27 - 2004-03-14
  11834. o Bugfixes:
  11835. - Allow internal tor networks (we were rejecting internal IPs,
  11836. now we allow them if they're set explicitly).
  11837. - And fix a few endian issues.
  11838. Changes in version 0.0.2pre26 - 2004-03-14
  11839. o New features:
  11840. - If a stream times out after 15s without a connected cell, don't
  11841. try that circuit again: try a new one.
  11842. - Retry streams at most 4 times. Then give up.
  11843. - When a dirserver gets a descriptor from an unknown router, it
  11844. logs its fingerprint (so the dirserver operator can choose to
  11845. accept it even without mail from the server operator).
  11846. - Inform unapproved servers when we reject their descriptors.
  11847. - Make tor build on Windows again. It works as a client, who knows
  11848. about as a server.
  11849. - Clearer instructions in the torrc for how to set up a server.
  11850. - Be more efficient about reading fd's when our global token bucket
  11851. (used for rate limiting) becomes empty.
  11852. o Bugfixes:
  11853. - Stop asserting that computers always go forward in time. It's
  11854. simply not true.
  11855. - When we sent a cell (e.g. destroy) and then marked an OR connection
  11856. expired, we might close it before finishing a flush if the other
  11857. side isn't reading right then.
  11858. - Don't allow dirservers to start if they haven't defined
  11859. RecommendedVersions
  11860. - We were caching transient dns failures. Oops.
  11861. - Prevent servers from publishing an internal IP as their address.
  11862. - Address a strcat vulnerability in circuit.c
  11863. Changes in version 0.0.2pre25 - 2004-03-04
  11864. o New features:
  11865. - Put the OR's IP in its router descriptor, not its fqdn. That way
  11866. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  11867. e.g. poblano.
  11868. o Bugfixes:
  11869. - If the user typed in an address that didn't resolve, the server
  11870. crashed.
  11871. Changes in version 0.0.2pre24 - 2004-03-03
  11872. o Bugfixes:
  11873. - Fix an assertion failure in dns.c, where we were trying to dequeue
  11874. a pending dns resolve even if it wasn't pending
  11875. - Fix a spurious socks5 warning about still trying to write after the
  11876. connection is finished.
  11877. - Hold certain marked_for_close connections open until they're finished
  11878. flushing, rather than losing bytes by closing them too early.
  11879. - Correctly report the reason for ending a stream
  11880. - Remove some duplicate calls to connection_mark_for_close
  11881. - Put switch_id and start_daemon earlier in the boot sequence, so it
  11882. will actually try to chdir() to options.DataDirectory
  11883. - Make 'make test' exit(1) if a test fails; fix some unit tests
  11884. - Make tor fail when you use a config option it doesn't know about,
  11885. rather than warn and continue.
  11886. - Make --version work
  11887. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  11888. Changes in version 0.0.2pre23 - 2004-02-29
  11889. o New features:
  11890. - Print a statement when the first circ is finished, so the user
  11891. knows it's working.
  11892. - If a relay cell is unrecognized at the end of the circuit,
  11893. send back a destroy. (So attacks to mutate cells are more
  11894. clearly thwarted.)
  11895. - New config option 'excludenodes' to avoid certain nodes for circuits.
  11896. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  11897. so you can collect coredumps there.
  11898. o Bugfixes:
  11899. - Fix a bug in tls flushing where sometimes data got wedged and
  11900. didn't flush until more data got sent. Hopefully this bug was
  11901. a big factor in the random delays we were seeing.
  11902. - Make 'connected' cells include the resolved IP, so the client
  11903. dns cache actually gets populated.
  11904. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  11905. - When we time-out on a stream and detach from the circuit, send an
  11906. end cell down it first.
  11907. - Only warn about an unknown router (in exitnodes, entrynodes,
  11908. excludenodes) after we've fetched a directory.
  11909. Changes in version 0.0.2pre22 - 2004-02-26
  11910. o New features:
  11911. - Servers publish less revealing uname information in descriptors.
  11912. - More memory tracking and assertions, to crash more usefully when
  11913. errors happen.
  11914. - If the default torrc isn't there, just use some default defaults.
  11915. Plus provide an internal dirservers file if they don't have one.
  11916. - When the user tries to use Tor as an http proxy, give them an http
  11917. 501 failure explaining that we're a socks proxy.
  11918. - Dump a new router.desc on hup, to help confused people who change
  11919. their exit policies and then wonder why router.desc doesn't reflect
  11920. it.
  11921. - Clean up the generic tor.sh init script that we ship with.
  11922. o Bugfixes:
  11923. - If the exit stream is pending on the resolve, and a destroy arrives,
  11924. then the stream wasn't getting removed from the pending list. I
  11925. think this was the one causing recent server crashes.
  11926. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  11927. - When it couldn't resolve any dirservers, it was useless from then on.
  11928. Now it reloads the RouterFile (or default dirservers) if it has no
  11929. dirservers.
  11930. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  11931. many users don't even *have* a /usr/local/sbin/.
  11932. Changes in version 0.0.2pre21 - 2004-02-18
  11933. o New features:
  11934. - There's a ChangeLog file that actually reflects the changelog.
  11935. - There's a 'torify' wrapper script, with an accompanying
  11936. tor-tsocks.conf, that simplifies the process of using tsocks for
  11937. tor. It even has a man page.
  11938. - The tor binary gets installed to sbin rather than bin now.
  11939. - Retry streams where the connected cell hasn't arrived in 15 seconds
  11940. - Clean up exit policy handling -- get the default out of the torrc,
  11941. so we can update it without forcing each server operator to fix
  11942. his/her torrc.
  11943. - Allow imaps and pop3s in default exit policy
  11944. o Bugfixes:
  11945. - Prevent picking middleman nodes as the last node in the circuit
  11946. Changes in version 0.0.2pre20 - 2004-01-30
  11947. o New features:
  11948. - We now have a deb package, and it's in debian unstable. Go to
  11949. it, apt-getters. :)
  11950. - I've split the TotalBandwidth option into BandwidthRate (how many
  11951. bytes per second you want to allow, long-term) and
  11952. BandwidthBurst (how many bytes you will allow at once before the cap
  11953. kicks in). This better token bucket approach lets you, say, set
  11954. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  11955. performance while not exceeding your monthly bandwidth quota.
  11956. - Push out a tls record's worth of data once you've got it, rather
  11957. than waiting until you've read everything waiting to be read. This
  11958. may improve performance by pipelining better. We'll see.
  11959. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  11960. from failed circuits (if they haven't been connected yet) and attach
  11961. to new ones.
  11962. - Expire old streams that haven't managed to connect. Some day we'll
  11963. have them reattach to new circuits instead.
  11964. o Bugfixes:
  11965. - Fix several memory leaks that were causing servers to become bloated
  11966. after a while.
  11967. - Fix a few very rare assert triggers. A few more remain.
  11968. - Setuid to User _before_ complaining about running as root.
  11969. Changes in version 0.0.2pre19 - 2004-01-07
  11970. o Bugfixes:
  11971. - Fix deadlock condition in dns farm. We were telling a child to die by
  11972. closing the parent's file descriptor to him. But newer children were
  11973. inheriting the open file descriptor from the parent, and since they
  11974. weren't closing it, the socket never closed, so the child never read
  11975. eof, so he never knew to exit. Similarly, dns workers were holding
  11976. open other sockets, leading to all sorts of chaos.
  11977. - New cleaner daemon() code for forking and backgrounding.
  11978. - If you log to a file, it now prints an entry at the top of the
  11979. logfile so you know it's working.
  11980. - The onionskin challenge length was 30 bytes longer than necessary.
  11981. - Started to patch up the spec so it's not quite so out of date.
  11982. Changes in version 0.0.2pre18 - 2004-01-02
  11983. o Bugfixes:
  11984. - Fix endian issues with the 'integrity' field in the relay header.
  11985. - Fix a potential bug where connections in state
  11986. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  11987. Changes in version 0.0.2pre17 - 2003-12-30
  11988. o Bugfixes:
  11989. - Made --debuglogfile (or any second log file, actually) work.
  11990. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  11991. adversary could force us into an infinite loop.
  11992. o Features:
  11993. - Each onionskin handshake now includes a hash of the computed key,
  11994. to prove the server's identity and help perfect forward secrecy.
  11995. - Changed cell size from 256 to 512 bytes (working toward compatibility
  11996. with MorphMix).
  11997. - Changed cell length to 2 bytes, and moved it to the relay header.
  11998. - Implemented end-to-end integrity checking for the payloads of
  11999. relay cells.
  12000. - Separated streamid from 'recognized' (otherwise circuits will get
  12001. messed up when we try to have streams exit from the middle). We
  12002. use the integrity-checking to confirm that a cell is addressed to
  12003. this hop.
  12004. - Randomize the initial circid and streamid values, so an adversary who
  12005. breaks into a node can't learn how many circuits or streams have
  12006. been made so far.
  12007. Changes in version 0.0.2pre16 - 2003-12-14
  12008. o Bugfixes:
  12009. - Fixed a bug that made HUP trigger an assert
  12010. - Fixed a bug where a circuit that immediately failed wasn't being
  12011. counted as a failed circuit in counting retries.
  12012. o Features:
  12013. - Now we close the circuit when we get a truncated cell: otherwise we're
  12014. open to an anonymity attack where a bad node in the path truncates
  12015. the circuit and then we open streams at him.
  12016. - Add port ranges to exit policies
  12017. - Add a conservative default exit policy
  12018. - Warn if you're running tor as root
  12019. - on HUP, retry OR connections and close/rebind listeners
  12020. - options.EntryNodes: try these nodes first when picking the first node
  12021. - options.ExitNodes: if your best choices happen to include any of
  12022. your preferred exit nodes, you choose among just those preferred
  12023. exit nodes.
  12024. - options.ExcludedNodes: nodes that are never picked in path building
  12025. Changes in version 0.0.2pre15 - 2003-12-03
  12026. o Robustness and bugfixes:
  12027. - Sometimes clients would cache incorrect DNS resolves, which would
  12028. really screw things up.
  12029. - An OP that goes offline would slowly leak all its sockets and stop
  12030. working.
  12031. - A wide variety of bugfixes in exit node selection, exit policy
  12032. handling, and processing pending streams when a new circuit is
  12033. established.
  12034. - Pick nodes for a path only from those the directory says are up
  12035. - Choose randomly from all running dirservers, not always the first one
  12036. - Increase allowed http header size for directory fetch.
  12037. - Stop writing to stderr (if we're daemonized it will be closed).
  12038. - Enable -g always, so cores will be more useful to me.
  12039. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  12040. o Documentation:
  12041. - Wrote a man page. It lists commonly used options.
  12042. o Configuration:
  12043. - Change default loglevel to warn.
  12044. - Make PidFile default to null rather than littering in your CWD.
  12045. - OnionRouter config option is now obsolete. Instead it just checks
  12046. ORPort>0.
  12047. - Moved to a single unified torrc file for both clients and servers.
  12048. Changes in version 0.0.2pre14 - 2003-11-29
  12049. o Robustness and bugfixes:
  12050. - Force the admin to make the DataDirectory himself
  12051. - to get ownership/permissions right
  12052. - so clients no longer make a DataDirectory and then never use it
  12053. - fix bug where a client who was offline for 45 minutes would never
  12054. pull down a directory again
  12055. - fix (or at least hide really well) the dns assert bug that was
  12056. causing server crashes
  12057. - warnings and improved robustness wrt clockskew for certs
  12058. - use the native daemon(3) to daemonize, when available
  12059. - exit if bind() fails
  12060. - exit if neither socksport nor orport is defined
  12061. - include our own tor_timegm (Win32 doesn't have its own)
  12062. - bugfix for win32 with lots of connections
  12063. - fix minor bias in PRNG
  12064. - make dirserver more robust to corrupt cached directory
  12065. o Documentation:
  12066. - Wrote the design document (woo)
  12067. o Circuit building and exit policies:
  12068. - Circuits no longer try to use nodes that the directory has told them
  12069. are down.
  12070. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  12071. bitcounts (18.0.0.0/8).
  12072. - Make AP connections standby for a circuit if no suitable circuit
  12073. exists, rather than failing
  12074. - Circuits choose exit node based on addr/port, exit policies, and
  12075. which AP connections are standing by
  12076. - Bump min pathlen from 2 to 3
  12077. - Relay end cells have a payload to describe why the stream ended.
  12078. - If the stream failed because of exit policy, try again with a new
  12079. circuit.
  12080. - Clients have a dns cache to remember resolved addresses.
  12081. - Notice more quickly when we have no working circuits
  12082. o Configuration:
  12083. - APPort is now called SocksPort
  12084. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  12085. where to bind
  12086. - RecommendedVersions is now a config variable rather than
  12087. hardcoded (for dirservers)
  12088. - Reloads config on HUP
  12089. - Usage info on -h or --help
  12090. - If you set User and Group config vars, it'll setu/gid to them.
  12091. Changes in version 0.0.2pre13 - 2003-10-19
  12092. o General stability:
  12093. - SSL_write no longer fails when it returns WANTWRITE and the number
  12094. of bytes in the buf has changed by the next SSL_write call.
  12095. - Fix segfault fetching directory when network is down
  12096. - Fix a variety of minor memory leaks
  12097. - Dirservers reload the fingerprints file on HUP, so I don't have
  12098. to take down the network when I approve a new router
  12099. - Default server config file has explicit Address line to specify fqdn
  12100. o Buffers:
  12101. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  12102. - Make listener connections not ever alloc bufs
  12103. o Autoconf improvements:
  12104. - don't clobber an external CFLAGS in ./configure
  12105. - Make install now works
  12106. - create var/lib/tor on make install
  12107. - autocreate a tor.sh initscript to help distribs
  12108. - autocreate the torrc and sample-server-torrc with correct paths
  12109. o Log files and Daemonizing now work:
  12110. - If --DebugLogFile is specified, log to it at -l debug
  12111. - If --LogFile is specified, use it instead of commandline
  12112. - If --RunAsDaemon is set, tor forks and backgrounds on startup