Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

ChangeLog 255KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434
  1. 2.5: 01 Apr 2020
  2. * [Conf] Mark Rspamd emailbl as ignore whitelist
  3. * [Conf] RBL: Add missing emails = true option
  4. * [Feature] Add support for scripts in fuzzy storage
  5. * [Feature] Arc: Add whitelisted_signers_map option
  6. * [Feature] Implement hosts file processing
  7. * [Feature] Neural: Introduce classes bias that allows non-equal classes learning
  8. * [Feature] Update libev to 4.33
  9. * [Fix] Another brain damage html standard adoptions
  10. * [Fix] Another fix for brain damaged obs-fws state
  11. * [Fix] Fix flags that caused force_actions failure
  12. * [Fix] Fix logging issue
  13. * [Fix] Fix lua symbols scores registration when config does not define scores
  14. * [Fix] Fix opaque maps logic
  15. * [Fix] Fix parsing of the html tags with no spaces after attributes
  16. * [Fix] Fix some corner cases in urls parsing, add limits
  17. * [Fix] Fix tlds extraction if custom composition rules are used
  18. * [Fix] Fix variables replacement in mempool
  19. * [Fix] Improve base64 detection
  20. * [Fix] Normalize dynamic scores in ANN correctly
  21. * [Fix] Plug memory leak introduced by #3153
  22. * [Fix] Stat_redis_backend: Fix memory leak and simplify learn path
  23. * [Fix] Try hard to deal with ghost workers
  24. * [Fix] metadata_exporter default formatter
  25. * [Rework] Change the way to extract URLs when dealing with alternative parts
  26. * [Rework] Fix various url extraction issues
  27. * [Rework] Re cache: Load compiled hyperscan in the main process as well
  28. * [Rework] Re cache: Load hyperscan early
  29. * [Rework] Rework URL structure: adjust tld part
  30. * [Rework] Rework URL structure: host field
  31. * [Rework] Rework URL structure: more structure optimisations
  32. * [Rework] Rework URL structure: user field
  33. * [Rework] URL: Another update for urls extraction logic
  34. * [Rework] Urls: Improve query urls handling
  35. * [Rework] Urls: adopt html related stuff
  36. * [Rework] Urls: more rework of the urls sets
  37. * [Rework] Urls: process query urls in HTML urls correctly
  38. * [Rework] Urls: rework urls hash structure
  39. * [Rework] Urls: update lua libraries
  40. * [Rework] Use multiple search tries for different url extraction types
  41. 2.4: 26 Feb 2020
  42. * [CritFix] Fix parsing of the content type attributes
  43. * [Feature] Clickhouse: Add extra columns support
  44. * [Feature] Rbl: Add url_compose_map option for RBL rules
  45. * [Fix] 'R' flag is for all headers regexp
  46. * [Fix] Allow to reset settings id from Lua (e.g. because of the priority)
  47. * [Fix] Avoid collisions in mempool variables by changing fuzzy caching logic
  48. * [Fix] Avoid strdup usage for symbols options
  49. * [Fix] Do not trust stat(2) it lies
  50. * [Fix] Filter all options for symbols to have sane characters
  51. * [Fix] Fix all headers iteration
  52. * [Fix] Fix allowed_settings for neural
  53. * [Fix] Fix listen socket parsing
  54. * [Fix] Fix maps expressions evaluation
  55. * [Fix] Fix sentinel connections leak by using async connections
  56. * [Fix] Fix smtp message on passthrough result
  57. * [Fix] Fix tld compositon rules
  58. * [Fix] Fuzzy_storage: Do not check for shingles if a direct hash has been found
  59. * [Fix] Lua_mime: Do not perform QP encoding for 7bit parts
  60. * [Fix] Neural: Distinguish missing symbols from symbols with low scores
  61. * [Fix] Support listening on systemd sockets by name
  62. * [Project] Add lua_urls_compose library
  63. * [Project] Allow to set a custom log function to the logger
  64. * [Project] CDB maps: Start making cdb a first class citizen
  65. * [Project] Clickhouse: Add extra columns concept
  66. * [Project] Fix urls composition rules, add unit tests
  67. * [Project] Unify cdb maps
  68. * [Rework] Logger infrastructure rework
  69. * [Rework] Refactor libraries structure
  70. * [Rework] Rework SSL caching
  71. * [Rework] Update snowball stemmer to 2.0 and remove all crap aside of UTF8
  72. 2.3: 04 Feb 2020
  73. * [Conf] SPF is no longer a C module
  74. * [Conf] Update spamtrap map path example
  75. * [CritFix] Fix html entities decoding
  76. * [CritFix] Fix re cache when mix of pcre and hyperscan is used
  77. * [Feature] Allow milter code to deal with multiple headers
  78. * [Feature] Antivirus: Add avast support
  79. * [Feature] Dkim_signing: Allow to sign via milter_headers
  80. * [Feature] Implement content hashes
  81. * [Feature] Lua_text: Add regexp split iterator method
  82. * [Feature] Lua_text: Implement flattening of the input tables
  83. * [Feature] Send quit command to Redis
  84. * [Feature] Speed up is_ascii function
  85. * [Feature] Spf: Add external_relay option
  86. * [Fix] Avoid double escaping
  87. * [Fix] Fix O(N^2) algorithm
  88. * [Fix] Fix arc seal validation
  89. * [Fix] Fix base tag processing according to stupid HTML renderer behaviour
  90. * [Fix] Fix dealing with `\0` in ucl strings and JSON
  91. * [Fix] Fix gpg parts misdetection
  92. * [Fix] Fix ignored symbols exporting
  93. * [Fix] Fix processing of numeric url's
  94. * [Fix] Fix processing of the closed tcp connections
  95. * [Fix] Fix regexp type check for pcre2
  96. * [Fix] Fix urls encode function
  97. * [Fix] Fix urls shifting when doing decode to include separators
  98. * [Fix] Fix white on white rule and add is_leaf flag
  99. * [Fix] Further fixes in charset detection
  100. * [Fix] Ignore diacritics in chartable module for specific languages
  101. * [Fix] Limit size of symbols options by max_opts_len option
  102. * [Fix] More fixes in html tag content calculations
  103. * [Fix] Plug memory leak in fuzzy storage
  104. * [Fix] Process high priority settings even if settings/id has been specified
  105. * [Fix] Select a different upstream on last retransmit
  106. * [Fix] Treat soft hyphen as zero width space
  107. * [Fix] Try harder to watch the lifetime of the key_stat
  108. * [Fix] Use ipv6-mapped-ipv4 addresses in radix trie
  109. * [Project] Add logic to break execution when processing symbols*
  110. * [Project] Add methods to set specific content for mime parts from Lua
  111. * [Project] Lua_content: support PDF files
  112. * [Project] Move dns_tool to using of the rspamd_spf from FFI module
  113. * [Project] Preliminary SPF plugin in Lua
  114. * [Project] Show debug stat for memory pool
  115. * [Project] Some rework about specific data that is now tagged
  116. * [Project] Start reworking of the mempool structure
  117. * [Rework] Allow to add userdata as symbols options
  118. * [Rework] Change mime part specifics handling
  119. * [Rework] Move LRU SPF cache from spf plugin
  120. * [Rework] Rework HTML tags content attachment
  121. * [Rework] Rework options hash structure
  122. * [Rework] Start lua_content library
  123. * [Rework] Stop using of uthash for http headers
  124. * [Rework] Use faster hashing approach for memory pools variables
  125. * [Rules] Add PDF related rules
  126. 2.2: 19 Nov 2019
  127. * [Conf] Antivirus: Fix the default config
  128. * [Feature] Add verdict library in lua
  129. * [Feature] Allow exception when choosing upstream
  130. * [Feature] Allow to disable symbols from the metric config
  131. * [Feature] Allow to limit maps per specific worker
  132. * [Feature] Always validate Rspamd protocol output
  133. * [Feature] Antivirus: Add preliminary virustotal support
  134. * [Feature] Clickhouse: Rework Clickhouse collection logic
  135. * [Feature] Improve base64 usage
  136. * [Feature] Shutdown timeout is now associated with task timeout
  137. * [Fix] #3129 Multiple classifiers on redis working incorrectly
  138. * [Fix] Allow real upstreams configuration
  139. * [Fix] Another try to fix slow callbacks and timers
  140. * [Fix] Check results of write message as SSL can bork them
  141. * [Fix] Clickhouse: Avoid potential races in collection
  142. * [Fix] Clickhouse: Fix periodic script
  143. * [Fix] Fail DNS upstream on each retransmit attempt
  144. * [Fix] Fix consistent hashing when upstreams are marked inactive
  145. * [Fix] Fix issues found
  146. * [Fix] Fix off-by-one in retries for the proxy
  147. * [Fix] Fix termination
  148. * [Fix] Fix upstreams exclusion logic
  149. * [Fix] Fix utf8 validation for symbols options and empty strings
  150. * [Fix] Oops, fix maps reload
  151. * [Fix] Rbl: Allow utf8 lookups for IDN domains
  152. * [Fix] Sigh, another try to fix brain-damaged openssl
  153. * [Project] Add fast utf8 validation library
  154. * [Project] Use own utf8 validation instead of glib
  155. * [Rework] Another phase of finish actions rework
  156. * [Rework] Further cmake system rework
  157. * [Rework] Further isolation of the controller's functions
  158. * [Rework] Make cmake structure more modular
  159. * [Rework] Move cmake modules to a dedicated path
  160. * [Rework] Replace controller functions by any scanner worker if needed
  161. * [Rework] Rework final scripts logic
  162. * [Rework] Rewrite rspamd_str_make_utf_valid function
  163. 2.1: 28 Oct 2019
  164. * [Conf] Update neural.conf
  165. * [CritFix] Fix dkim verification for multiple headers listed
  166. * [Feature] Add support of uudecode
  167. * [Feature] Allow to explicitly set events backend
  168. * [Feature] Implement configurable limits for SPF lookups
  169. * [Feature] Lua_scanners: Use lua magic for inclusion/exclusion logic
  170. * [Feature] Multimap: Do not check files in office archives
  171. * [Feature] Neural: Add sampling when storing training vectors
  172. * [Feature] SPF: Allow to disable AAAA checks in configuration
  173. * [Feature] Spf: Add limits configuration support
  174. * [Feature] Store etag in cached HTTP maps + better logging
  175. * [Feature] Support segwit BTC addresses, fix LTC verification
  176. * [Feature] Support uuencoding
  177. * [Fix] Add configurable number of threads for OpenBLAS
  178. * [Fix] Add workaround for ragel 7 in hyperscan related maps code
  179. * [Fix] Another fix for numeric urls parsing
  180. * [Fix] Correct EMA time calculations
  181. * [Fix] Do not treat archives as text
  182. * [Fix] Do not use strdup on data extracted from lua
  183. * [Fix] Fix a failure calcuating URL reputation.
  184. * [Fix] Fix crash due to constructors init order
  185. * [Fix] Fix crash on parts with no cd
  186. * [Fix] Fix empty prefilters that require mime structures
  187. * [Fix] Fix event loop creation
  188. * [Fix] Fix issues sending DMARC reports.
  189. * [Fix] Fix misprint
  190. * [Fix] Fix saving of the file maps
  191. * [Fix] Fix size calculations when converting from utf16
  192. * [Fix] Fix support of disable_monitoring in rbl
  193. * [Fix] Fix use-after-free
  194. * [Fix] Fix zip files check to relax requirements
  195. * [Fix] Important hiredis fixes
  196. * [Fix] Lot's of fixes in maps check logic
  197. * [Fix] Lua_tcp: Deal with temporary fails on write
  198. * [Fix] Lua_tcp: Make write errors fatal and rework error handlers
  199. * [Fix] Meta: Filter some more values
  200. * [Fix] Neural: Add protection agains infinities
  201. * [Fix] Oops, fix math.huge invocation
  202. * [Fix] Plug memory leak
  203. * [Fix] Sigh, another email to string fix
  204. * [Fix] Try to fix another ownership race in ssl connection
  205. * [Fix] Uuencode: Fix parsing of corrupted uuencode
  206. * [Fix] lua_scanners - razor rename need_check function
  207. * [Rework] Require CMake 3.9 to work, remove manual lto crap
  208. 2.0: 11 Oct 2019
  209. * [Conf] Add BROKEN_HEADERS_MAILLIST composite
  210. * [Conf] Add path to greylist-whitelist-domains.inc
  211. * [Conf] Clarify documentation in the config files
  212. * [Conf] Introduce maps.d directories
  213. * [Conf] Log settings id by default
  214. * [Conf] Make LEAKED_PASSWORD_SCAM a composite rule again
  215. * [Conf] Move all surbl/emails rules to rbl
  216. * [Conf] Register new Spamhaus codes
  217. * [Conf] Remove configs for deleted modules
  218. * [Conf] Remove surbl parts, fix hash_format attribute
  219. * [Conf] Show autolearn sample
  220. * [Conf] Slashing: Change default stats backend to Redis
  221. * [Conf] Surbl: Utilise new `check_emails` option
  222. * [Conf] Update header
  223. * [Conf] Use multi-prefixes RBLs in the default config
  224. * [CritFix] Deal with case-sensivity in Content-Disposition parser
  225. * [CritFix] Eliminate old endpoint
  226. * [CritFix] Fix case sensivity when parsing Content-Type
  227. * [CritFix] Fix loading of DKIM public keys
  228. * [CritFix] Fix procesing of urls
  229. * [CritFix] Fix whitelisting when both spf and dkim are required to be valid
  230. * [CritFix] Langdet: Fix language detection where no stop words found
  231. * [Feature] Add description to the groups
  232. * [Feature] Add limit for number of URLs in Lua
  233. * [Feature] Add logging of groups to the log_format
  234. * [Feature] Add lua_smtp library
  235. * [Feature] Add maps cache and type refinement
  236. * [Feature] Add p0f scanner
  237. * [Feature] Adopt emails module to use lua_maps
  238. * [Feature] Allow options matching in composites
  239. * [Feature] Allow selectors in rbl module
  240. * [Feature] Allow to output group results
  241. * [Feature] Asn: Allow to use bgpdump when NET::MRT is broken
  242. * [Feature] Calculate tokens occurrences distribution
  243. * [Feature] Clickhouse: Add authenticated user and settings id columns
  244. * [Feature] Clickhouse: Store groups data
  245. * [Feature] Clickhouse: Utilise LowCardinality feature
  246. * [Feature] Implement Redis prefixes registration logic
  247. * [Feature] Implement settings id propagation between deps
  248. * [Feature] Improve AV results caching
  249. * [Feature] Improve autolearning
  250. * [Feature] Improve logging locking logic (remove it actually)
  251. * [Feature] Improve settings processing
  252. * [Feature] Langdet: Limit number of stop words to be checked
  253. * [Feature] Libucl: Allow to sort keys in ucl objects
  254. * [Feature] Lua_config: Extend get symbols method
  255. * [Feature] Lua_maps: Allow static maps for key-value pairs
  256. * [Feature] Lua_mimepart: Add function filter_words
  257. * [Feature] Lua_selectors: Add `words` selector
  258. * [Feature] Lua_selectors: Add sort and uniq transform functions
  259. * [Feature] Lua_selectors: Allow table arguments for selectors
  260. * [Feature] Lua_tcp: Add preliminary support of SSL connections
  261. * [Feature] Lua_trie: More flexible API
  262. * [Feature] Lua_util: Add filter_specific_url function
  263. * [Feature] Lua_util: table_digest can now recursively traverse tables
  264. * [Feature] Maillist: Improve detection
  265. * [Feature] Maps: Allow caching for complex maps
  266. * [Feature] Monitored: Support random lookups
  267. * [Feature] Multimap: Add combined maps prototype
  268. * [Feature] Multimap: Add dependend maps via redis keys selectors
  269. * [Feature] Multimap: Allow multiple email addresses matches
  270. * [Feature] Multimap: Also check detected charset when do filename checks
  271. * [Feature] Output number of messages processed to proctitle
  272. * [Feature] Perform clean SSL shutdown
  273. * [Feature] Performance: Do not use base64 SIMD version for bad inputs
  274. * [Feature] RBL: Support bit results in replies
  275. * [Feature] RBL: Support type specific prefixes
  276. * [Feature] Ratelimit: Consider number of SMTP recipients
  277. * [Feature] Rbl: Add ability to check urls
  278. * [Feature] Rbl: Add resolve_ip based RBLs
  279. * [Feature] Rbl: Make config checks much more strict
  280. * [Feature] Rbl: Support per-rule whitelists
  281. * [Feature] Rbl: Support process script
  282. * [Feature] Rbl: Support replyto addresses
  283. * [Feature] SURBL: Allow to check email domains
  284. * [Feature] Selectors: Add `list` generator
  285. * [Feature] Selectors: Add `specific_urls` extractor
  286. * [Feature] Selectors: Add flatten function
  287. * [Feature] Selectors: Support filter_map and apply_map functions
  288. * [Feature] Store Clickhouse data outside of lua alloc
  289. * [Feature] Support caching for encrypted files and macros
  290. * [Feature] Support images when extracting urls
  291. * [Feature] Support more hyperscan flags
  292. * [Feature] Support protocol flags
  293. * [Feature] URL: Apply stringprep to hostnames to filter garbage
  294. * [Feature] Upstreams: Add lazy resolving logic to all upstreams
  295. * [Feature] Upstreams: Set noresolve flag on numeric upstreams
  296. * [Feature] Use `scores` in apply section
  297. * [Feature] Use maps logic from lua_maps for multimap
  298. * [Feature] Use random monitored in rbl module
  299. * [Feature] lua_scanners - add Razor support
  300. * [Fix] Add another safe-guard in urls processing
  301. * [Fix] Add debug to ssl, fixed write hangs
  302. * [Fix] Add missing groups to C callback symbols
  303. * [Fix] Add more checks for ghosts symbols
  304. * [Fix] Allow to enable or add new actions via settings
  305. * [Fix] Allow to set 0 size for spf/dkim caches
  306. * [Fix] Another bunch of fixes towards protocol mess
  307. * [Fix] Another fix to deal with bad URLs
  308. * [Fix] Arc: Another bunch of fixes for arc signing
  309. * [Fix] Arc: More arc signing fixes
  310. * [Fix] Avoid another overflow in fpconv
  311. * [Fix] Clickhouse: Fix quoting
  312. * [Fix] Clickhouse: Fix retention query quoting
  313. * [Fix] Distinguish empty and non-empty prefilters
  314. * [Fix] Distinguish remote and local addrs parsing
  315. * [Fix] Do not assert if length of sig is bad, just fail verification
  316. * [Fix] Do not assert if we have broken mime boundary in the headers
  317. * [Fix] Do not call implicit strlen to avoid issues
  318. * [Fix] Do not count images urls when checking url regexps for compatibility
  319. * [Fix] Do not output rbl suffix in symbol option
  320. * [Fix] Do not use config pool to avoid issues with double reload
  321. * [Fix] Do not use ephemeral string
  322. * [Fix] Do not use lightuserdata for traceback
  323. * [Fix] Do not use priority in metric registration
  324. * [Fix] Emails: Check email sanity before testing on BL
  325. * [Fix] Emails: Fix misprint in key name
  326. * [Fix] Escape utf in regexp to dodge ragel/hyperscan issue
  327. * [Fix] Extend task_timeout to postfilters stage
  328. * [Fix] Fix ARC signing after fixing another bug in it...
  329. * [Fix] Fix AV scan logic
  330. * [Fix] Fix DMARC_NA behaviour in case of no valid policies
  331. * [Fix] Fix LRU hash iteration logic
  332. * [Fix] Fix alignment mess
  333. * [Fix] Fix configuring symbols without scores
  334. * [Fix] Fix disabling of the actions
  335. * [Fix] Fix dkim signing exceptions
  336. * [Fix] Fix embedded images linking logic
  337. * [Fix] Fix events leak
  338. * [Fix] Fix eviction corner case
  339. * [Fix] Fix fuzzy image score calculation #2962
  340. * [Fix] Fix hang in fuzzy_learn when explicit rotation is set
  341. * [Fix] Fix headers propagation logic
  342. * [Fix] Fix hearbeats restart issue
  343. * [Fix] Fix history reset
  344. * [Fix] Fix log parameter
  345. * [Fix] Fix lua_ip_equal logic
  346. * [Fix] Fix more issues with nested messages + tests
  347. * [Fix] Fix normalization of non-alphabet based languages
  348. * [Fix] Fix offsets when parsing message/rfc822 in multipart
  349. * [Fix] Fix options in rbl symbols
  350. * [Fix] Fix out of bound access in lua logger
  351. * [Fix] Fix out-of-bound read in qp decode
  352. * [Fix] Fix parent CTE propagation
  353. * [Fix] Fix parsing of the received headers with empty part
  354. * [Fix] Fix pending checks for events
  355. * [Fix] Fix printing of NULL pointer with fixed length
  356. * [Fix] Fix race condition in watcher handler
  357. * [Fix] Fix read-after-end in quoted printable decoding
  358. * [Fix] Fix redis sentinel support
  359. * [Fix] Fix registry leak in case of DNS errors
  360. * [Fix] Fix reload logic
  361. * [Fix] Fix sending of large entries via HTTPS
  362. * [Fix] Fix settings reload
  363. * [Fix] Fix some more corner cases for fpconv
  364. * [Fix] Fix trie code when there are regexps and Hyperscan is absent
  365. * [Fix] Further fixes to printing of the FP numbers
  366. * [Fix] Fuzzy_check: Fix timeouts
  367. * [Fix] Grrr, fix empty ip case
  368. * [Fix] Html: Fix processing of fjlig entity
  369. * [Fix] Lang_det: Try better to distinguish Chinese and Japanese
  370. * [Fix] Lua_mime: Fix reversed extensions map
  371. * [Fix] Lua_task: Fix message-less API
  372. * [Fix] Lua_tcp: Report connection failures
  373. * [Fix] Lua_tcp: Various fixes and debugging improvements
  374. * [Fix] Metadata_exporter: This plugin is idempotent not a postfilter
  375. * [Fix] More fixes to extract_specific_urls
  376. * [Fix] More stages fixes
  377. * [Fix] Neural: Another bunch of fixes
  378. * [Fix] Neural: use version in ANN key profile
  379. * [Fix] Postpone lua state destruction to allow lua dtors to be used
  380. * [Fix] Prefer surbl/emails rule on rbl to preserve compatibility
  381. * [Fix] RBL: Fix behaviour of emails_domainonly
  382. * [Fix] Ratelimit: Fix dynamic score
  383. * [Fix] Rbl: Fix emailbl functions
  384. * [Fix] Really fix hyperscan workaround
  385. * [Fix] Set sanity limits for pcre2
  386. * [Fix] Settings: Fix settings check flags
  387. * [Fix] Sort keys when getting data from Lua when filling rules
  388. * [Fix] Statistics: Do not query Redis tokens when there are no learns
  389. * [Fix] Stop IO event on write finished in http connection
  390. * [Fix] Use heuristically detected text parts data
  391. * [Fix] Various fixes to QP encoding algorithm
  392. * [Fix] Various fixes to SSL state machine handler
  393. * [Fix] Various fixes to asn module
  394. * [Fix] Workaround for empty charset in rfc2231 encoding
  395. * [Project] Switch from torch to KANN
  396. * [Project] Add heartbeat events
  397. * [Project] Add preliminary support of the Kaspersky Scan Engine
  398. * [Project] Add preliminary version of maps expressions
  399. * [Project] Add preprocessed settings to the config structure
  400. * [Project] Add simple forward propagation function
  401. * [Project] Add small helpers for migration simplifications
  402. * [Project] Allow to replace body in milter
  403. * [Project] Bundle libev
  404. * [Project] First refactoring step libevent->libev
  405. * [Project] Implement syntax highlighting for Lua
  406. * [Project] Lua_magic: Adopt lua_magic stuff in mime_types
  407. * [Project] Remove libfann, gd and other unsupported stuff
  408. * [Project] Remove torch
  409. * [Project] Rework upstreams
  410. * [Rework] Allow execution of async events when hs compiles regexps
  411. * [Rework] Bayes expiry: eliminate `default` expiration mode
  412. * [Rework] Dkim: Remove signing code
  413. * [Rework] Dkim_signing: Move sign condition to dkim_signing
  414. * [Rework] Do not lowercase all data send to ClickHouse
  415. * [Rework] Drop url tags
  416. * [Rework] Eliminate lua_squeeze as it has shown no improvements
  417. * [Rework] Eliminate virtual scan time as it is useless
  418. * [Rework] Lua core: Use lightuserdata to index classes
  419. * [Rework] Lua_util: Another rework for extract_specific_urls
  420. * [Rework] Migrate from ip_score to reputation
  421. * [Rework] Move mime modification functions to lua_mime library
  422. * [Rework] Rbl: Major whitelisting logic rework
  423. * [Rework] Remove deprecated plugins
  424. * [Rework] Remove log helper worker
  425. * [Rework] Remove rspamd.classifiers.lua
  426. * [Rework] Rename filter.h to a more sane name
  427. * [Rework] Reorganise selectors implementation
  428. * [Rework] Replace linenoise with replxx
  429. * [Rework] Reputation: Remove ipnet from the ip reputation
  430. * [Rework] Reputation: Slashing - change name of symbols
  431. * [Rework] Rework children operations
  432. * [Rework] Rework config reload
  433. * [Rework] Rework expression API
  434. * [Rework] Rework image urls processing
  435. * [Rework] Rework initialisation to reduce static leaks count
  436. * [Rework] Rework request headers processing
  437. * [Rework] Slashing: Change versioning schema - move to 2.0
  438. * [Rework] Slashing: Turn off postfilters when passthrough result is set
  439. * [Rework] Start moving to replxx
  440. * [Rework] Stop support of signed HTTP maps to simplify code
  441. * [Rework] Store ASN as UInt32 in ClickHouse
  442. * [Rework] Url_redirector: Rewrite plugin
  443. * [Rework] Use a dedicated library for autolearn
  444. * [Rework] Use libsodium instead of hand crafted crypto implementations
  445. * [Rework] Use opaque structure to store a table of mime headers
  446. * [Rules] Add dedicated bitcoin addresses filter rule
  447. * [Rules] Add more detection to LEAKED_PASSWORD_SCAM
  448. * [Rules] Catch LTC addresses
  449. * [Rules] Reduce weight of RSPAMD_EMAILBL
  450. * [Rules] Rework LEAKED_PASSWORD_SCAM rule one more time
  451. 1.9.4: 23 May 2019
  452. * [CritFix] Fix case sensitivity when parsing Content-Type
  453. * [Fix] Arc: Another bunch of fixes for arc signing
  454. * [Fix] Arc: More arc signing fixes
  455. * [Fix] Avoid another overflow in fpconv
  456. * [Fix] Fix ARC signing after fixing another bug in it...
  457. * [Fix] Fix dkim signing exceptions
  458. * [Fix] Fix some more corner cases for fpconv
  459. * [Fix] Further fixes to printing of the FP numbers
  460. * [Fix] Ratelimit: Fix dynamic score
  461. 1.9.3: 13 May 2019
  462. * [Conf] Add IP_SCORE_FREEMAIL composite rule
  463. * [Feature] Add cryptobox method to generate dkim keypairs
  464. * [Feature] Add fast hashes to lua cryptobox hash
  465. * [Feature] Add least passthrough results
  466. * [Feature] Allow oversign if exists mode
  467. * [Feature] Clickhouse: Modernise table initial schema
  468. * [Feature] Implement IUF interface for specific fast hashes
  469. * [Feature] Lua_util: Allow to obfuscate different fields
  470. * [Feature] Tune memory management in Rspamd and Lua
  471. * [Fix] Avoid buffer overflow when printing long lua strings
  472. * [Fix] Change the default oversigning headers to a more sane list
  473. * [Fix] Clickhouse: Do not store digest as it is not needed now
  474. * [Fix] Clickhouse: Fix lots of storage issues
  475. * [Fix] Clickhouse: Support custom actions
  476. * [Fix] Deny URLs where hostname is bogus
  477. * [Fix] Do not blacklist mail by SPF/DMARC for local/authed users
  478. * [Fix] Fix DoS caused by bug in glib
  479. * [Fix] Fix UCL parsing of the multiline strings
  480. * [Fix] Fix buffer overflow when printing small floats
  481. * [Fix] Fix init code for servers keypairs cache
  482. * [Fix] Fix issue with urls with no tld (e.g. IP)
  483. * [Fix] Fix memory in arc signing logic
  484. * [Fix] Fix memory leak in language detector during reloads
  485. * [Fix] Fix mixed case content type processing
  486. * [Fix] Fix processing of the ip urls in file
  487. * [Fix] Fix use after free
  488. * [Fix] HTML: Fix `size` attribute processing
  489. * [Fix] Hum, it seems that 99ff1c8 was not correct
  490. * [Fix] Lua_task: Fix task:get_from method
  491. * [Fix] Preserve fd when mapping file to scan
  492. * [Fix] Re-use milter_headers settings when doing arc signing
  493. * [Fix] Set dmarc force action as least action
  494. * [Fix] Switch to GMT
  495. * [Fix] allow PKCS7 signatures to be text/plain, too
  496. * [Project] Add initial version of the vault management tool
  497. * [Project] Add vault support for DKIM and ARC signing
  498. * [Project] Implement keys rotation in the vault
  499. * [Project] Improve dkim keys generation for vault
  500. * [Project] Improve keys creation in rspamadm vault
  501. * [Rework] Move lua_worker to a dedicated unit
  502. * [WebUI] Add URL fragments (#) support
  503. * [WebUI] Fix AJAX request URL
  504. 1.9.2: 16 Apr 2019
  505. * [Conf] Allow to load users plugins from plugins.d
  506. * [Conf] oversign openpgp and autocrypt headers
  507. * [Feature] Add SPF FFI library for Lua
  508. * [Feature] Add more verbosity for SPF caching
  509. * [Feature] Antivirus: Handle encrypted files specially
  510. * [Feature] Clickhouse: Slashing - add new fields to CH
  511. * [Feature] Dkim_signing: Add OpenDKIM like signing_table and key_table
  512. * [Feature] Dkim_signing: Allow to use new options as maps
  513. * [Feature] Import fpconv library
  514. * [Feature] Lua_maps: Allow static regexp and glob maps
  515. * [Feature] Parse ical files
  516. * [Feature] Rspamadm: Add dns_tool utility
  517. * [Feature] Store SPF records digests
  518. * [Feature] Use fpconv girsu2 implementation for printing floats
  519. * [Fix] Clickhouse: Use integer seconds when inserting rows
  520. * [Fix] Fix floating point printing
  521. * [Fix] Fix processing of embedded urls
  522. * [Fix] Lua_clickhouse: Fix CH errors processing
  523. * [Fix] Make spf digest stable
  524. * [Fix] Properly detect encrypted files in zip archives
  525. * [Fix] Slashing: Store times in GMT timezone in ClickHouse
  526. * [Rules] Add additional conditions to perform BTC checks
  527. * [Rules] Fix pay-to-hash addresses validation
  528. 1.9.1: 5 Apr 2019
  529. * [Conf] Add vendor groups for symbols
  530. * [Feature] Add `rspamadm template` command
  531. * [Feature] Allow to add messages from settings
  532. * [Feature] Allow unconnected DNS servers operations
  533. * [Feature] Check limits after being set, migrate to uint64
  534. * [Feature] Greylist: Allow to disable greylisting depending on symbols
  535. * [Feature] Improve lua binary strings output
  536. * [Feature] Mime_types: Implement user configurable extension filters
  537. * [Feature] Mime_types: When no extension defined, detect it by content
  538. * [Feature] Preprocess config files using jinja templates
  539. * [Feature] Replies: Filter replies sender to limit whitelisting to direct messages
  540. * [Feature] Treat all tags with HREF as a potential hyperlinks
  541. * [Feature] Validate BTC addresses in LEAKED_PASSWORD_SCAM
  542. * [Fix] Add crash safety for HTTP async routines
  543. * [Fix] Another fix for Redis sentinel
  544. * [Fix] Clickhouse: Fix table schema upload
  545. * [Fix] Core: Fix squeezed dependencies handling for virtual symbols
  546. * [Fix] Finally fix default parameters parsing in actions section
  547. * [Fix] Fix ES sending logic (restore from coroutines mess)
  548. * [Fix] Fix finishing script for clickhouse collection
  549. * [Fix] Fix priority for regexp symbols registriation
  550. * [Fix] Fix various issues found by PVS Studio
  551. * [Fix] Initialize lua debugging earlier
  552. * [Fix] Neural: Fix training
  553. * [Fix] Rework cached Redis logic to avoid sentinels breaking
  554. * [Fix] SURBL: Fix regression in surbl module
  555. * [Fix] Fix double signing in the milter
  556. * [Project] Add support of HTTP proxy in requests
  557. * [Rework] Change lua global variables registration
  558. * [Rework] Rework HTML content urls extraction
  559. * [Rework] Start rework of aliasing in Rspamd
  560. * [WebUI] Combine Scan and Learning into one tab
  561. * [WebUI] Fix symbol score input type
  562. * [WebUI] Show grayed out pie
  563. * [WebUI] Update Throughput summary values dynamically
  564. 1.9.0: 12 Mar 2019
  565. * [Conf] Add missing includes
  566. * [Conf] Move to options
  567. * [Conf] Rbl: DWL is actually special whitelist
  568. * [Conf] Relax some uribl rules
  569. * [Conf] Remove abuse.ch
  570. * [CritFix] Html: Entities are not valid within tag params values
  571. * [Feature] Add `rspamadm mime sign` tool
  572. * [Feature] Add configgraph utility
  573. * [Feature] Add dedicated ZW spaces detection for URLs
  574. * [Feature] Add flag to url object when visible part is url_like
  575. * [Feature] Add method task:lookup_words
  576. * [Feature] Add pyzor support (by crosenberg)
  577. * [Feature] Allow to add upstream watchers to Lua API
  578. * [Feature] Allow to set rewrite subject pattern from settings
  579. * [Feature] Better escaping of unicode
  580. * [Feature] Clickhouse: Allow to store subject in Clickhouse
  581. * [Feature] Core: Add QP encoding utility
  582. * [Feature] Core: Add libmagic detection for all parts
  583. * [Feature] Core: Add support for gzip archives
  584. * [Feature] Core: Allow to construct scan tasks from raw data
  585. * [Feature] Core: Detect charset in archived files
  586. * [Feature] Core: Ignore and mark invisible spaces
  587. * [Feature] Core: Normalise zero-width spaces in urls
  588. * [Feature] Core: Process data urls for images
  589. * [Feature] Core: Relax quoted-printable encoding
  590. * [Feature] Core: Support RFC2231 encoding in headers
  591. * [Feature] Core: Support telephone URLs
  592. * [Feature] Core: allow to emit soft reject on task timeout
  593. * [Feature] DCC: Add bulkness and reputation checks to dcc
  594. * [Feature] Elastic: Modernize plugin
  595. * [Feature] Export visible part of url to lua
  596. * [Feature] Fuzzy_storage: add preliminary support of rate limits
  597. * [Feature] HTML: Specially treat data urls in HTML
  598. * [Feature] Implement event watchers for upstreams
  599. * [Feature] Implement includes tracing in Lua
  600. * [Feature] Improve dkim part in configwizard
  601. * [Feature] Lua_scanners: Add VadeSecure engine support
  602. * [Feature] Lua_task: Add flexible method to get specific urls
  603. * [Feature] Mime_types: Add MIME_BAD_UNICODE rule
  604. * [Feature] Mime_types: Use detected content type as well
  605. * [Feature] Plugins: Add preliminary version of the external services plugin
  606. * [Feature] Query sentinel on master errors
  607. * [Feature] Regexp: Allow local lua functions in Rspamd regexp module
  608. * [Feature] Rspamadm: Allow to append footers to plain messages
  609. * [Feature] Rspamadm: Allow to rewrite headers in messages
  610. * [Feature] Selectors: Add `ipmask` processor
  611. * [Feature] Settings: Allow hostname match
  612. * [Feature] Settings: Allow local when selecting settings
  613. * [Feature] Settings: Allow multiple selectors
  614. * [Feature] Settings: Allow to inverse conditions
  615. * [Feature] Support User-Agent in HTTP requests
  616. * [Feature] Support ed25519 dkim keys generation
  617. * [Feature] Try to filter bad unicode types during normalisation
  618. * [Feature] external_services - oletools (olefy) support
  619. * [Feature] lua_scanners - icap protocol support
  620. * [Feature] lua_scanners - spamassassin spam scanner
  621. * [Fix] Add filter for absurdic URLs
  622. * [Fix] Add some more cases for Received header
  623. * [Fix] Allow to disable/enable composite symbols
  624. * [Fix] Arc: Use a separated list of headers for arc signing
  625. * [Fix] Archive: Final fixes for 7z archives
  626. * [Fix] Clickhouse: Fix database usage
  627. * [Fix] Controller: Make save stats timer persistent
  628. * [Fix] Core: Detect encrypted rarv5 archives
  629. * [Fix] Core: Don't detect language twice
  630. * [Fix] Core: Fix address rotation bug
  631. * [Fix] Core: Fix content calculations for message parts
  632. * [Fix] Core: Fix emails comments parsing and other issues
  633. * [Fix] Core: Fix etags support
  634. * [Fix] Core: Fix headers folding on the last token
  635. * [Fix] Core: Fix iso-8859-16 encoding
  636. * [Fix] Core: Fix log_urls flag (and encrypted logging)
  637. * [Fix] Core: Fix part length when dealing with boundaries
  638. * [Fix] Core: Fix parts distance calculations
  639. * [Fix] Core: Fix processing of NDNs of certain type
  640. * [Fix] Core: Implement logic to find some bad characters in URLs
  641. * [Fix] Core: treat nodes with ttl properly in lru cache
  642. * [Fix] Fix Content-Type parsing
  643. * [Fix] Fix HTTP headers signing case
  644. * [Fix] Fix control interface
  645. * [Fix] Fix deletion of the duplicate headers
  646. * [Fix] Fix emails filtering in emails module
  647. * [Fix] Fix greylisting log message and logic
  648. * [Fix] Fix issues with storing of the accepted addr in rspamd control
  649. * [Fix] Fix maps object update race condition
  650. * [Fix] Fix memor leaks and whitespace processing
  651. * [Fix] Fix processing of null bytes in headers
  652. * [Fix] Fix rcpt_mime and from_mime in user settings
  653. * [Fix] Fix rfc2047 decoding for CD headers
  654. * [Fix] Fix rfc2231 for Content-Disposition header
  655. * [Fix] Fix setting of the subject pattern in config
  656. * [Fix] Greylist: fix records checking
  657. * [Fix] HTML: Another HTML comments exception fix
  658. * [Fix] HTML: Another entities decoding logic fix
  659. * [Fix] HTML: Fix HTML comments with many dashes
  660. * [Fix] HTML: Fix entities in HTML attributes
  661. * [Fix] HTML: Fix some more SGML tags issues
  662. * [Fix] Ignore whitespaces at the end of value in DKIM records
  663. * [Fix] MID module: Fix DKIM domain matching
  664. * [Fix] Milter_headers: Fix remove_upstream_spam_flag and modernise config
  665. * [Fix] Mime_parser: Fix issue with parsing of the trailing garbadge
  666. * [Fix] Mime_parser: Fix parsing of mime parts without closing boundary
  667. * [Fix] Multimap: Fix operating with userdata
  668. * [Fix] Process orphaned `symbols` section
  669. * [Fix] Rdns: Fix multiple replies in fake replies
  670. * [Fix] Rework groups scores definitions
  671. * [Fix] Set proper element when reading data from Sentinel
  672. * [Fix] Set rspamd user to initialise supplementary groups on reload
  673. * [Fix] Settings: Fix selectors usage
  674. * [Fix] Sort data received from Sentinel to avoid constant replacing
  675. * [Fix] groups.conf - filename typo
  676. * [Fix] lua_scanner - oletools typos, logging
  677. * [Fix] lua_scanners - actions and symbol_fail
  678. * [Fix] lua_scanners - fix luacheck
  679. * [Fix] lua_scanners - kaspersky - response with fname
  680. * [Fix] lua_scanners - savapi redis prefix
  681. * [Fix] tests - antivirus - fprot symbols
  682. * [Project] Add concept of flexible actions
  683. * [Project] Add heuristical from parser to received parser
  684. * [Project] Add new flags to clickhouse, redis and elastic exporters
  685. * [Project] Attach new received parser
  686. * [Project] Fallback to callbacks from coroutines
  687. * [Project] Implement keep-alive support in lua_http
  688. * [Project] Lua_udp: Implement fully functional client
  689. * [Project] Plug keepalive knobs into http connection handling
  690. * [Project] Rspamadm: Add `modify` tool
  691. * [Rework] Convert rspamd-server to a shared library
  692. * [Rework] Dcc: Rework DCC plugin
  693. * [Rework] Enable explicit coroutines symbols
  694. * [Rework] Rework telephone urls parsing logic
  695. * [Rework] Rewrite RBL module
  696. * [Rework] Settings: Rework settings check
  697. * [Rework] Slashing: Distinguish lualibdir, pluginsdir and sharedir
  698. * [Rework] Unify task_timeout
  699. * [Rework] Use VEX instructions in assembly, relocate
  700. * [WebUI] Notify user if uploaded data was not learned
  701. * [WebUI] Remove redundant condition
  702. 1.8.3: 03 Dec 2018
  703. * [CritFix] Make flags mutually exclusive for mime parts
  704. * [CritFix] Strictly deny unencoded bad utf8 sequences in headers
  705. * [Feature] Add Kaspersky antivirus support
  706. * [Feature] Add method to get dkim results
  707. * [Feature] Add more words regexp classes
  708. * [Feature] Allow to choose words format in `rspamadm mime`
  709. * [Feature] Allow to get all types of words from Lua
  710. * [Feature] Allow to get task flags in C expressions
  711. * [Feature] Allow to require encryption when accepting connections
  712. * [Feature] Ignore bogus whitespaces in the words
  713. * [Feature] Implement more strict configuration tests
  714. * [Feature] Improve SPF results in Authentication-Results
  715. * [Feature] Support ClickHouse database
  716. * [Fix] Add failsafety for utf8 regexps
  717. * [Fix] Do not trigger BROKEN_CONTENT_TYPE on innocent text parts
  718. * [Fix] Emit error if connection has been terminated with no stop pattern
  719. * [Fix] Fix boundaries checks in embedded messages
  720. * [Fix] Fix double free
  721. * [Fix] Perform policy downgrade on sample out, add tests
  722. * [Fix] Properly escape utf8 regexps in hyperscan mode
  723. * [Fix] Selectors - attachments args condition
  724. * [Fix] Some fixes for raw parts
  725. * [Fix] Treat learning errors as non-fatal
  726. * [Fix] Use tld when looking for DKIM domains
  727. * [Project] Words unicode structure rework
  728. * [Project] Add preliminary Redis Sentinel support
  729. * [Project] Improve Authentication-Results header
  730. * [Project] Rework DKIM checks results
  731. * [Project] Use more generalised API to produce meta words
  732. 1.8.2: 19 Nov 2018
  733. * [Conf] Add DWL support in the default configuration
  734. * [Conf] Disable rspamd_update by default (again)
  735. * [Conf] Fix configuration sample for ratelimit
  736. * [CritFix] Disable broken url tags by default
  737. * [CritFix] Fix \0 processing when doing RSA sign
  738. * [CritFix] Fix adding symbols to their primary groups
  739. * [Feature] Add `rspamadm cookie` utility
  740. * [Feature] Add specialised functions for generating encrypted cookies
  741. * [Feature] Add support of cookies in replies module
  742. * [Feature] Add support of words regexps
  743. * [Feature] Allow to add 3rd party clang plugins
  744. * [Feature] Allow to create lua regexps from glob or plain patterns
  745. * [Feature] Allow to set custom limits for upstream lists
  746. * [Feature] Detect orphaned parts and attach them to message
  747. * [Feature] Filter tokens in bayes
  748. * [Feature] Fold b= value when doing arc sealing
  749. * [Feature] Ignore cookies in the future and too old in the past
  750. * [Feature] Skip stop words in statistics
  751. * [Feature] Store stop words and allow to query them
  752. * [Feature] Support query arguments in controller's custom commands
  753. * [Feature] Tune upstream limits in Rspamd proxy
  754. * [Feature] Use different callback symbols for different uribls
  755. * [Feature] Write DKIM selector in dkim allow/reject symbols
  756. * [Fix] Add obs_fws state support to eoh state machine
  757. * [Fix] Add sanity check when applying mime boundaries heuristic
  758. * [Fix] Antivirus - virus names with 0 were recognized as tables
  759. * [Fix] Disable headernames in bayes temporarily
  760. * [Fix] Do not allow syntax errors in include files...
  761. * [Fix] Do not allow to merge an object with an array (or vice versa)
  762. * [Fix] Don't perform forged recipients check for missing recipients
  763. * [Fix] Fix DKIM based RBLs
  764. * [Fix] Fix actrie implementation (sync from upstream), fixed OOB read
  765. * [Fix] Fix explicit methods call in selectors
  766. * [Fix] Fix extraction of additional parts
  767. * [Fix] Fix finalization for internal plugins
  768. * [Fix] Fix override_defaults function
  769. * [Fix] Fix squeezed symbols when using settings
  770. * [Fix] Fix urls insertion in Clickhouse module
  771. * [Fix] Furhter fixes to ratelimits logic
  772. * [Fix] Ignore signatures when looking for boundaries
  773. * [Fix] Properly set learned count
  774. * [Fix] Really fix ratelimits configuration and work
  775. * [Fix] Remove ambigious format flag from printf
  776. * [Fix] Restore URLs exporting in ClickHouse plugin
  777. * [Fix] Rework bayes calculations...
  778. * [Fix] Switch from chi-square to naive for large Fisher value
  779. * [Fix] Treat normal password as enable password if there is no enable password
  780. * [Fix] Use proper syntax for making DNS requests
  781. * [Fix] Various fixes in embedded plugins
  782. * [Project] Change fuzzy check selection logic to lua_fuzzy library
  783. * [Project] Rework async events and symbols
  784. * [Project] Move all metatokens in Bayes to lua_stat from C
  785. * [WebUI] Add history rows per page control
  786. 1.8.1: 16 Oct 2018
  787. * [CritFix] Fix options insertion
  788. * [CritFix] Fix words decay one more time (affects long messages)
  789. * [CritFix] Increase default words_decay
  790. * [CritFix] Plug memory leak in redis pool
  791. * [Feature] Add `check_violation` feature to DKIM/ARC signing
  792. * [Feature] Add only unique elements to Clickhouse url arrays
  793. * [Feature] Allow `g+:` and `g-:` composite atoms
  794. * [Feature] Allow dkim domains check in surbl
  795. * [Feature] Allow maps with HTTP auth
  796. * [Feature] Allow to disable actions by users settings
  797. * [Feature] Extend whitelisting options
  798. * [Feature] Store url object in images
  799. * [Feature] Use verdict instead of the plain action in plugins
  800. * [Fix] Allow to call fstring append with NULL string
  801. * [Fix] DCC - luacheck
  802. * [Fix] Do not load torch on each rspamadm invocation
  803. * [Fix] Fix boundaries detection and rework stop words algorithm
  804. * [Fix] Fix dependencies for DNS_SIGNED symbol
  805. * [Fix] Fix errors when dealing with dynamic rates/bursts in Ratelimit
  806. * [Fix] Fix groups mess
  807. * [Fix] Fix groups mess
  808. * [Fix] Fix parsing address with comments
  809. * [Fix] Fix resolving in DMARC reports
  810. * [Fix] Fix various issues with parsing of the received headers
  811. * [Fix] Fix watchers issue in lua_tcp when doing no resolving
  812. * [Fix] Plug memory leak in language detector (affects reloads)
  813. * [Fix] Remove one letter stop words
  814. * [Fix] Slashing: backport chunk logic from libucl
  815. * [Fix] Stop libevent from using cached time in rspamadm
  816. * [Fix] Try to fix watchers chaining
  817. * [Fix] Various fixes in redis sync interface
  818. * [Fix] ip_score - respect check_authed and check_local settings from config
  819. * [Project] Rework passthrough actions
  820. * [Project] Clustering module
  821. * [Rework] Always create result for a task
  822. * [Rework] Completely rewrite DMARC checks logic
  823. * [Rework] Rework and fix whitelist plugin
  824. * [WebUI] Add symbols sorting buttons
  825. * [WebUI] Change symbols order without updating history
  826. * [WebUI] Colorize symbols
  827. * [WebUI] Do not display password form when secure_ip is set
  828. * [WebUI] Fix symbol description tooltips display
  829. * [WebUI] History: add sorting by symbol score value
  830. 1.8.0: 24 Sep 2018
  831. * [Feature] Add arguments schemas to processors and extractors
  832. * [Feature] Add functional selectors library
  833. * [Feature] Add generic selector to reputation module
  834. * [Feature] Add more ratelimits: by digest, by attachments data, by filenames
  835. * [Feature] Add preliminary stop words detection support
  836. * [Feature] Add pure Lua debugm function
  837. * [Feature] Add schema validation for Redis settings
  838. * [Feature] Add selectors combine function
  839. * [Feature] Add some recursion protection to lua logger
  840. * [Feature] Add support for Lua API tracing
  841. * [Feature] Allow to apply schema to arguments
  842. * [Feature] Allow to get dkim signing data directly from HTTP headers
  843. * [Feature] Allow to reuse existing authentication results
  844. * [Feature] Cache selectors results in re runtime
  845. * [Feature] Implement new text tokenizer based on libicu
  846. * [Feature] Integrate selectors framework to multimap
  847. * [Feature] Relax FORGED_RECIPIENTS
  848. * [Feature] Support (almost) all html entities
  849. * [Feature] Support adding and deletion of recipients in the milter block
  850. * [Feature] Support gathering HTTP body from fragments in lua_http
  851. * [Feature] Support multi flag in regexp and glob maps
  852. * [Feature] Support selectors in ratelimit module
  853. * [Feature] Support selectors in settings
  854. * [Feature] Use khash in HTML parser
  855. * [Feature] Use pure Lua debugm function
  856. * [Fix] Add fail-safety for destroying sessions
  857. * [Fix] Allow to add result-less fake DNS records
  858. * [Fix] Another try to fix race conditions on config unload
  859. * [Fix] Call Lua callback on DNS timeouts
  860. * [Fix] Deprecate task:inc_dns_req as it is redundant
  861. * [Fix] Do not allow events deletions on cleanup
  862. * [Fix] Do not try to process skipped messages
  863. * [Fix] Fix HTTP requests with no body
  864. * [Fix] Fix another cleanup race condition
  865. * [Fix] Fix bug in processing of pcre regexps
  866. * [Fix] Fix byte array allocation in the pool
  867. * [Fix] Fix crashes on task cleanup
  868. * [Fix] Fix dynamic buckets in ratelimits
  869. * [Fix] Fix endless loop when waiting for Rspamd to stop
  870. * [Fix] Fix lua_util.str_split in case of delimiters set
  871. * [Fix] Fix more issues with watching of async events
  872. * [Fix] Fix stop words detection and loading logic
  873. * [Fix] Fix various corner cases for language detection
  874. * [Fix] Fix watchers in lua_tcp
  875. * [Fix] Fix words decay algorithm
  876. * [Fix] Implement watchers replacement to handle nested calls
  877. * [Fix] Save faked code into fake dns record
  878. * [Fix] Show the proper frame when using lua_util.debugm
  879. * [Fix] Use fake dns records in tests
  880. * [Fix] Use unicode replacements for HTML entities
  881. * [Fix] fixed "cannot find dependency on symbol 1" issue when using replaced symbols in spamassassin rules
  882. * [Fix] partition_id is not available in old versions of CH
  883. * [Project] Add implicit conversion logic to selectors
  884. * [Project] Add initial support for selectors in regexps
  885. * [Project] Add method concept
  886. * [Project] Further changes in unicode operations
  887. * [Project] Implement Clickhouse migrations
  888. * [Project] Implement implicit conversions to userdata
  889. * [Project] Implement insert method
  890. * [Project] Implement selectors registration for regular expressions
  891. * [Project] Implement selectors support in re_cache
  892. * [Project] Improve language detector: cleanup unused files, categorize
  893. * [Project] Migrate CH data to a fat table
  894. * [Project] Rework selectors logic
  895. * [Project] Start Clickhouse utilities library
  896. * [Project] Start unicode rework
  897. * [Project] coroutine threaded model for API calls: thread pool
  898. * [Rework] Move phishtank to a DNS based service
  899. * [Rework] Rework Clickhouse plugin to use the new API
  900. * [Rework] Rework language detector
  901. * [Rework] Rework utf content processing in text parts
  902. * [WebUI] Add progress bar for AJAX requests
  903. * [WebUI] Avoid errors table reinitialization
  904. * [WebUI] Avoid history table reinitialization
  905. * [WebUI] Avoid throughput summary table reinitialization
  906. * [WebUI] Destroy summary table on disconnect
  907. * [WebUI] Fix "auth" request URL
  908. * [WebUI] Fix disabling and hiding controls on page reload
  909. * [WebUI] Fix maps loading from neighbours
  910. * [WebUI] Fix symbols sorting by score
  911. * [WebUI] Fix tables destroying
  912. * [WebUI] Fix throughput data consolidation
  913. * [WebUI] Fix upload buttons disabling
  914. * [WebUI] Notify user on module loading failure
  915. * [WebUI] Update FooTable 3.1.4 -> 3.1.6
  916. 1.7.9: 01 Aug 2018
  917. * [CritFix] Fix caseless comparison of equal length strings
  918. * [Feature] Add HTTP basic auth support to elastic and clickhouse plugins
  919. * [Feature] Add SPF selector to reputation
  920. * [Feature] Add support of the fallback backends for HTTP maps
  921. * [Feature] Allow to print full mime structure when extracting mime data
  922. * [Feature] Allow to split symbols in reputation plugin
  923. * [Feature] Check attachments only on AV scanners in attachments_only mode
  924. * [Feature] Disable all SSL checks if ssl_no_verify flag is set
  925. * [Feature] Implement parsing of scoped IPv6 addresses
  926. * [Feature] Improve `rspamc counters` output
  927. * [Fix] Add sanity checks when expanding SPF macros
  928. * [Fix] Allow to parse SA rules with no spaces around =~ (dirty hack)
  929. * [Fix] Avoid one extra byte writing
  930. * [Fix] Deal with direct hash table
  931. * [Fix] Detect empty text part as text, not HTML
  932. * [Fix] Do not reduce map watch timeout for mixed http/file maps
  933. * [Fix] Fix HTML part detection heuristic
  934. * [Fix] Fix double free in redirectors cleanup
  935. * [Fix] Fix legacy history handling in the controller
  936. * [Fix] Fix messages insertion
  937. * [Fix] Fix sending string method
  938. * [Fix] Fix statconver command line arguments
  939. * [Fix] Fixed argument checking for being null
  940. * [Fix] Fixed issues reported by luacheck
  941. * [Fix] Freeze updates queue when do actual storage update
  942. * [Fix] HTTP map hash is per-backend and not per-map
  943. * [Fix] Plug memory leak in fuzzy updates
  944. * [Fix] Prefer 'MTA-Name' when producing authentication results
  945. * [Fix] Replace bad unicode sequences instead of stopping on them
  946. * [Fix] Set classifier version on learning
  947. * [Project] Reworked ratelimits
  948. * [Project] Apply topological sorting for symbols in Rspamd
  949. * [Project] Remove global contexts from C modules
  950. * [Project] Move performance critical hash tables to khash
  951. * [WebUI] Avoid unused indexes
  952. * [WebUI] Do not execute `on_success` callback
  953. * [WebUI] Fix history reset for "All SERVERS" (#2346)
  954. * [WebUI] Fix query URL for selected server
  955. * [WebUI] Fix symbols display in legacy history,
  956. * [WebUI] Hide symbols order selector for legacy history
  957. * [WebUI] Refactor query functions into one
  958. * [WebUI] Remove previously-attached event handlers
  959. * [WebUI] Save symbols to the selected server
  960. * [WebUI] Unify arguments of query functions
  961. * [WebUI] Use common query functions to get graph data
  962. * [WebUI] Use common query functions to save symbols
  963. 1.7.8: 12 Jul 2018
  964. * [Feature] Add more extended statistics about fuzzy updates
  965. * [Feature] Add more non-conformant Received headers support
  966. * [Feature] Add preliminary function to get fuzzy hashes from text in Lua
  967. * [Feature] Allow to configure AV module rejection message
  968. * [Feature] Implement fuzzy hashes extraction in mime tool
  969. * [Feature] Improve WHITE_ON_WHITE rule
  970. * [Feature] Improve integer -> string conversion
  971. * [Feature] Reuse maps in multimap module more aggressively
  972. * [Fix] Avoid race condition in skip map as pool lifetime is not enough
  973. * [Fix] Eliminate all specific C plugins pools
  974. * [Fix] Fix DKIM check rule if DNS is unavailable
  975. * [Fix] Fix build where ucontext is defined in ucontext.h
  976. * [Fix] Fix crash in base url handling
  977. * [Fix] Fix descriptors leak in sqlite3 locking code
  978. * [Fix] Fix messages quarantine
  979. * [Fix] Fix padded numbers printing
  980. * [Fix] Fix race condition on maps reinit
  981. * [Fix] Fix regexp functions when no data is passed
  982. * [Fix] Fix specific urls extraction
  983. * [Fix] Fix styles propagation
  984. * [Fix] Improve resetting of the limit buckets
  985. * [Fix] Initialize sqlite3 properly
  986. * [Fix] Work with broken resolvers in resolv.conf
  987. * [Project] Implement HTTP maps caching
  988. * [Project] Refresh fuzzy hashes when matched
  989. * [Project] Add logic to deduplicate fuzzy updates queue
  990. * [WebUI] Add missed declarations
  991. * [WebUI] Avoid using "undefined" property
  992. * [WebUI] Do not accept passwords containing control characters
  993. * [WebUI] Do not redeclare variables
  994. * [WebUI] Enable strict mode,
  995. * [WebUI] Fix variable assignment
  996. * [WebUI] Initialize variables at declaration
  997. * [WebUI] Remove duplicated path from RequireJS config
  998. * [WebUI] Remove unused block
  999. * [WebUI] Remove unused variable
  1000. * [WebUI] Remove unused variables
  1001. * [WebUI] Use self-explanatory notation
  1002. * [WebUI] Use type-safe equality operators
  1003. 1.7.7: 02 Jul 2018
  1004. * [CritFix] Check NM part of pubkey to match it with rotating keypairs
  1005. * [CritFix] Do not overwrite PID of the main process
  1006. * [CritFix] Fix maps after reload
  1007. * [CritFix] Fix maps race conditions on reload
  1008. * [CritFix] Fix shmem leak in encrypting proxy mode
  1009. * [Feature] Add a concept of ignored symbols to avoid race conditions
  1010. * [Feature] Add ability to print bayes tokens in rspamadm mime
  1011. * [Feature] Add method to get statistical tokens in Lua API
  1012. * [Feature] Add preliminary mime stat command
  1013. * [Feature] Add rspamadm mime tool
  1014. * [Feature] Add urls extraction tool
  1015. * [Feature] Address ZeroFont exploit
  1016. * [Feature] Allow rspamadm mime to process multiple files
  1017. * [Feature] Allow to extract words in `rspamadm mime`
  1018. * [Feature] Allow to print mime part data
  1019. * [Feature] Allow to show HTML structure on extraction
  1020. * [Feature] Distinguish IP failures from connection failures
  1021. * [Feature] Improve output for mime command
  1022. * [Feature] Improve styles propagation
  1023. * [Feature] Main process crash will now cleanup all children
  1024. * [Feature] Preload file and static maps in main process
  1025. * [Feature] Print stack trace on crash
  1026. * [Feature] Process font size in HTML parser
  1027. * [Feature] Propagate content length of invisible tags
  1028. * [Feature] Read ordinary file maps in chunks to be more safe on rewrites
  1029. * [Feature] Support base tag in HTML
  1030. * [Feature] Support more size suffixes when parsing HTML styles
  1031. * [Feature] Support opacity style
  1032. * [Fix] Another fix for nested composites
  1033. * [Fix] Fill nm id in keypairs cache code
  1034. * [Fix] Fix colors alpha channel handling
  1035. * [Fix] Fix destruction logic
  1036. * [Fix] Fix double free
  1037. * [Fix] Fix maps preload logic
  1038. * [Fix] Fix nested composites process
  1039. * [Fix] Fix proxying of Exim connections
  1040. * [Fix] Fix reload crash
  1041. * [Fix] Fix rspamadm -l command
  1042. * [Fix] Update ed25519 signing schema
  1043. * [WebUI] Stop using "const" declaration
  1044. * [WebUI] Update RequireJS to 2.3.5
  1045. 1.7.6: 15 Jun 2018
  1046. * [CritFix] Fix multiple neural networks support
  1047. * [Feature] Add decryption function to keypair command
  1048. * [Feature] Add gzip compression for HTTP requests in elastic module
  1049. * [Feature] Add gzip methods to lua util
  1050. * [Feature] Add maps based on Top Level Domains
  1051. * [Feature] Add pubkey checks for dkim_signing
  1052. * [Feature] Add support of fake DNS records
  1053. * [Feature] Add tool to encrypt files
  1054. * [Feature] Allow to add symbols using settings directly
  1055. * [Feature] Allow to match private and public keys for DKIM signatures
  1056. * [Feature] Allow to set task flags via settings
  1057. * [Feature] Allow to specify fake DNS address from the config
  1058. * [Feature] Implement signatures verification using rspamadm keypair
  1059. * [Feature] Implement signing using `rspamadm keypair`
  1060. * [Feature] Improve error reporting for DKIM key access issues
  1061. * [Feature] Provide $HOSTNAME variable in UCL
  1062. * [Feature] Rework levenshtein distance computation
  1063. * [Feature] Split message parsing and processing
  1064. * [Feature] Support ED25519 DKIM signatures
  1065. * [Feature] Support encrypted configs in UCL
  1066. * [Feature] Suppress duplicate warning on very large radix tries
  1067. * [Feature] Use OSB to combine header names
  1068. * [Fix] Cleanup maps data on shutdown
  1069. * [Fix] Fix '~' behaviour in composites
  1070. * [Fix] Fix HTTP maps updates
  1071. * [Fix] Fix NIST signatures
  1072. * [Fix] Fix RFC822 comments when processing a mime address
  1073. * [Fix] Fix double free
  1074. * [Fix] Fix dynamic settings application
  1075. * [Fix] Fix for CommuniGate Pro maillist
  1076. * [Fix] Fix keypair creation method to actually create keypair...
  1077. * [Fix] Fix matching patterns with no paths
  1078. * [Fix] Fix memory leak in parsing comments
  1079. * [Fix] Fix parsing of urls with numeric password
  1080. * [Fix] Fix plugins intialisation in configwizard
  1081. * [Fix] Fix potential crash on reload
  1082. * [Fix] Fix potential race condition for a finished HTTP connections
  1083. * [Fix] Fix race-condition leak on processes reload
  1084. * [Fix] Fix signing in openssl mode
  1085. * [Fix] Free language detector structures
  1086. * [Fix] Relax alignment requirements
  1087. * [Fix] Send DMARC reports compressed
  1088. * [Fix] Try to fix leak in dmarc module
  1089. * [Fix] Try to plug memory leak in metric exporter
  1090. * [Project] Convert rspamadm subcommands to Lua
  1091. * [WebUI] Display smtp sender/recipient in history
  1092. * [WebUI] Fix elements disabling in "Symbols" tab
  1093. * [WebUI] Limit recipients list in history column to 3
  1094. * [WebUI] Match envelope and mime addresses following in arbitrary order
  1095. * [WebUI] Update column header
  1096. * [WebUI] Wrap addresses in history
  1097. 1.7.5: 18 May 2018
  1098. * [Conf] Add MSBL proposed return codes
  1099. * [Conf] Add additional groups for policies
  1100. * [CritFix] Do not use volatile Lua strings as UCL keys
  1101. * [Feature] Add ability to add fuzzy hashes to headers
  1102. * [Feature] Add function to extract most meaningful urls
  1103. * [Feature] Add rule to block mixed text and encrypted parts
  1104. * [Feature] Allow multiple groups for symbols
  1105. * [Feature] Allow to disable lua squeezing logic
  1106. * [Feature] Allow to get multipart children in Lua
  1107. * [Feature] Allow to insert multiple headers from milter headers
  1108. * [Feature] Allow to print scores in subject and further extensions
  1109. * [Feature] Be more error-prone in squeezed rules
  1110. * [Feature] Support multiple return codes in emails module
  1111. * [Feature] Use EMA for calculating averages
  1112. * [Feature] Use common jit cache for all regexps
  1113. * [Feature] support for CommuniGate Pro self-generated messages
  1114. * [Fix] Allow to have multiple values for headers as arrays
  1115. * [Fix] Do not open sockets for disabled workers
  1116. * [Fix] Fix AuthservId
  1117. * [Fix] Fix base64 folding in Lua API
  1118. * [Fix] Fix build on non-x86 platforms
  1119. * [Fix] Fix cached maps logic
  1120. * [Fix] Fix compatibility with old maps query logic
  1121. * [Fix] Fix crash if skip_map is used
  1122. * [Fix] Fix importing static maps from UCL
  1123. * [Fix] Fix parsing of unix sockets
  1124. * [Fix] Fix raw_mime regexp on HTML part with no text content
  1125. * [Fix] Fix tables logging
  1126. * [Fix] Fix vertical tab handling in libucl
  1127. * [Fix] Try to fix frequency counters
  1128. * [Fix] Use better sharding for ip_score
  1129. * [Fix] Use multiple results from SURBL DNS reply
  1130. * [Fix] When doing AV scan select a different server for retransmit
  1131. 1.7.4: 01 May 2018
  1132. * [Conf] Major stock config updates:
  1133. - Workers are now specified in a new format worker "type" { ... }
  1134. - Enable fuzzy worker to simplify local fuzzy storages configuration
  1135. - Bind all workers to localhost by default to avoid security flaws
  1136. * [Conf] Make more sane fuzzy_check default settings
  1137. * [CritFix] Fix ucl escape for bad symbols
  1138. * [Feature] Add failure symbol for AV module
  1139. * [Feature] Add lazy expiration mode for new classifier schema
  1140. * [Feature] Add preliminary version of maps stats plugin
  1141. * [Feature] Allow to block fuzzy requests from specific networks
  1142. * [Feature] Allow to change `expire` of live statistics
  1143. * [Feature] Distinguish AV failure from clean result
  1144. * [Feature] Further improvements of language detector by using khash
  1145. * [Feature] Further optimization of the lang_detection
  1146. * [Feature] Implement cluster-aware bayes expiry
  1147. * [Feature] Implement exclude patterns in rspamc
  1148. * [Feature] Implement glob maps in addition to regexp maps
  1149. * [Feature] Implement map statistics function for lua API
  1150. * [Feature] Implement stop symbols for Clickhouse collection
  1151. * [Feature] Support recipients separated by commas
  1152. * [Feature] Try harder to upload scripts to the Redis server
  1153. * [Feature] Upgrade t1ha distribution
  1154. * [Feature] use_domain_sign_inbound
  1155. * [Feature] Use scores from maps if `symbols_set` is not defined
  1156. * [Fix] Add resolving version of radix map helper
  1157. * [Fix] Check URL before adding implicit prefix
  1158. * [Fix] Do not check pid/state when using PRNG
  1159. * [Fix] Fix CentOS logrotate script for systemd
  1160. * [Fix] Fix slash + dot in urls
  1161. * [Fix] Fix systemd version of the logrotate script
  1162. * [Fix] Propagate key when import implicit array from Lua
  1163. * [Fix] Strip spaces from map keys and values
  1164. * [Fix] Try to fix a specific case when processing milter protocol
  1165. * [Fix] Try to fix crash when a tcp connection cannot be set
  1166. * [Fix] Typo use_domain_local --> use_domain_sign_local
  1167. * [Fix] Various fixes to once_received module
  1168. * [Project] Store hits counters for map elements
  1169. 1.7.3: 10 Apr 2018
  1170. * [CritFix] Plug bad memory leak in protocol reply
  1171. * [Feature] Add avx2 codec for base64
  1172. * [Feature] Add method to receive all URL flags from Lua API
  1173. * [Feature] Allow to fold headers on stop characters
  1174. * [Feature] Allow to set lua_cpath from options
  1175. * [Feature] Allow to specify custom rejection message in milter
  1176. * [Feature] Deal with unnormalised Unicode obfuscation
  1177. * [Feature] Do not detect language twice for relative parts
  1178. * [Feature] Implement oversigning feature
  1179. * [Feature] Implement silent logging level to minimize noise in logs
  1180. * [Feature] Improve URL_IN_SUBJECT rule
  1181. * [Feature] Use hashing to reduce redis attack surface
  1182. * [Fix] Add oversigning for the most important headers
  1183. * [Fix] add 'rewrite subject' to History dropdown
  1184. * [Fix] Another fix in folding algorithm
  1185. * [Fix] Do not call multimap addr for parts of addr if filter is presented
  1186. * [Fix] Do not clean hostname on generic reset
  1187. * [Fix] Do not create pid file in no-fork mode
  1188. * [Fix] Fix fold_after case to preserve multiple spaces
  1189. * [Fix] Fix folding and folding tests
  1190. * [Fix] Fix hostname usage in milter mode
  1191. * [Fix] Fix lua RSA verify and its tests
  1192. * [Fix] Fix metadata exporter send_mail backend (#2124)
  1193. * [Fix] Fix processing of '\v' in libucl
  1194. * [Fix] Fix shemaless URLs detection
  1195. * [Fix] Fix support of multiple headers in sign_header
  1196. * [Fix] Fix usage of util.parse_mail_address
  1197. * [Fix] Fix weights of dynamic squeezed rules
  1198. * [Fix] Leak from bucket before checking the burst
  1199. * [Fix] Stop using own localtime as DST could be messy in many cases
  1200. * [Fix] Treat unnormalised URLs as obscured
  1201. * [Rework] Restore leaky bucket model in ratelimit plugin
  1202. * [WebUI] Add messages total to throughput summary
  1203. * [WebUI] Add symbols order selector to history
  1204. * [WebUI] Config: Load list on demand
  1205. * [WebUI] Fix modalBody for maps that appear more than once
  1206. * [WebUI] History: Fix Tooltips on paging, filtering and sorting
  1207. * [WebUI] Remove a previously-attached event handler
  1208. * [WebUI] Update D3 to v5.0.0 and jQuery to v3.3.1
  1209. 1.7.2: 23 Mar 2018
  1210. * [Feature] Store emails in Clickhouse
  1211. * [Feature] Support single quotes in config
  1212. * [Feature] Use templates when publishing CH schema
  1213. * [Feature] Improve Docker image
  1214. * [Fix] Add rounding when printing a lot of FP variables
  1215. * [Fix] Allow to disable certain actions by assigning null to them
  1216. * [Fix] Disable results caching
  1217. * [Fix] Fix disabling of squeezed symbols
  1218. * [Fix] Fix scan time set
  1219. * [Fix] Rework logic of actions setting
  1220. * [Fix] Try to fix various Lua stack issues
  1221. * [WebUI] Add link tag for favicon.ico
  1222. * [WebUI] Display hostname:port/path in the page title
  1223. 1.7.1: 20 Mar 2018
  1224. * [CritFix] Fix lowercase comparison
  1225. * [CritFix] Timezone defines seconds WEST UTC not East
  1226. * [Feature] Add filename to log format
  1227. * [Feature] Add lua rules squeezing
  1228. * [Feature] Add related symbols analysis to rspamd_stats
  1229. * [Feature] Remove upstream `X-Spam: Yes` header by default
  1230. * [Feature] rspamd_stats: Output progress info on STDERR
  1231. * [Feature] Whitelist for emails module
  1232. * [Fix] Do not allow dependencies on self
  1233. * [Fix] Do not cache metric result
  1234. * [Fix] Do not trust all issuers as a client certificate
  1235. * [Fix] Fix dependencies in lua squeeze
  1236. * [Fix] Fix enabling/disabling squeezed rules
  1237. * [Fix] Fix enabling/disabling symbols
  1238. * [Fix] Fix external dependencies
  1239. * [Fix] Fix processing of a single compressed file
  1240. * [Fix] Fix some typos
  1241. * [Fix] Fix various modules in case of empty message
  1242. * [Fix] Handle callbacks that returns table of options
  1243. * [Fix] Improve cached action interaction
  1244. * [Fix] Make dynamic conf more NaN aware
  1245. * [Fix] Never hide actions from WebUI `configuration` tab
  1246. * [Project] Implementation of Lua rules squeezing
  1247. 1.7.0: 12 Mar 2018
  1248. * [Conf] Add bayes_expiry as explicit module
  1249. * [Conf] Adjust names and weights for neural network plugin
  1250. * [Conf] Change updates url
  1251. * [Conf] Default statistics is stored in Redis now
  1252. * [Conf] Disable fann_redis module by default
  1253. * [Conf] Fix default elastic configuration
  1254. * [Conf] Fix double quote position
  1255. * [Conf] Massive config rework for new structure of symbols and scores
  1256. * [Conf] Rename Rambler BLs as they are now Rspamd's ones
  1257. * [Conf] Use dedicated rspamd.com subdomains
  1258. * [Conf] Use more data from rspamd.com fuzzy storage
  1259. * [CritFix] Add sanity guards for badly broken HTML
  1260. * [CritFix] Another errors path handling fix
  1261. * [CritFix] Another portion of tokenization fixes
  1262. * [CritFix] Do not send reject messages after set reply
  1263. * [CritFix] Fix ARC chain verification
  1264. * [CritFix] Fix crash in milter errors handler
  1265. * [CritFix] Fix memory leak in spf caching logic
  1266. * [CritFix] Fix milter commands pipelining
  1267. * [CritFix] Fix newlines detection
  1268. * [CritFix] Fix semicolons parsing in the content type
  1269. * [CritFix] Plug memory leak in zstd protocol compression
  1270. * [Feature] Add ability to match score in force_actions module
  1271. * [Feature] Add aes-rng PRF to libottery
  1272. * [Feature] Add 'composites' debug module
  1273. * [Feature] Add concept of experimental modules
  1274. * [Feature] Add DKIM trace symbol
  1275. * [Feature] Add EBL to the default config
  1276. * [Feature] Add expected ip check for emails plugin
  1277. * [Feature] Add framework to manage Redis scripts
  1278. * [Feature] Add framing for the new reputation generic plugin
  1279. * [Feature] Add function to show plugins stat
  1280. * [Feature] Add gzip compression support for clickhouse module
  1281. * [Feature] Add gzip compression support for rspamd controller
  1282. * [Feature] Add gzip support when sending lua http requests
  1283. * [Feature] Add json output for rspamd_stats
  1284. * [Feature] Add method to do a synchronous Redis connection
  1285. * [Feature] Add method to get all content-type attributes in Lua
  1286. * [Feature] Add `-m` flag to configdump to show modules states
  1287. * [Feature] Add mime types to extensions map
  1288. * [Feature] Add more features to rescore utility
  1289. * [Feature] Add more gtube like patterns to test other spam actions
  1290. * [Feature] Add more metafunctions, improve logging
  1291. * [Feature] Add more text attributes
  1292. * [Feature] Add new configwizard command to rspamadm
  1293. * [Feature] Add new tooling for stats conversation
  1294. * [Feature] Add old groups migration tool
  1295. * [Feature] Add plugins state variable
  1296. * [Feature] Add preliminary ecdsa keys support in DKIM
  1297. * [Feature] Add preliminary support of idempotent symbols
  1298. * [Feature] Add Redis server wizard
  1299. * [Feature] Add routine to convert old style stats to a new one
  1300. * [Feature] Add some sanity checks for actions and controller
  1301. * [Feature] Add statistic convertation module to configwizard
  1302. * [Feature] Add sugestions logic to mempool allocator
  1303. * [Feature] Add support of config transform in Lua
  1304. * [Feature] Add timeout to rspamc when doing corpus test
  1305. * [Feature] Add tooling to convert bayes schemas
  1306. * [Feature] Add torch conditional to configuration
  1307. * [Feature] Add torch-decisiontree package
  1308. * [Feature] Add torch-optim contrib package
  1309. * [Feature] Add TTL autodetection
  1310. * [Feature] Add urls reputation to the reputation framework
  1311. * [Feature] Allow floating and negative values in expressions limits
  1312. * [Feature] Allow multiple CTs in full extensions map
  1313. * [Feature] Allow multiple fann rules
  1314. * [Feature] Allow randomly select User-Agent from a list
  1315. * [Feature] Allow rspamadm commands to export methods in Lua
  1316. * [Feature] Allow rule specific min_bytes in fuzzy check
  1317. * [Feature] Allow to adjust symbols scores from Lua
  1318. * [Feature] Allow to attach stat signature to messages
  1319. * [Feature] Allow to change SMTP from via milter headers
  1320. * [Feature] Allow to configure monitored
  1321. * [Feature] Allow to create directories in Lua API
  1322. * [Feature] Allow to disable torch and skip train samples for ANN
  1323. * [Feature] Allow to discard messages dynamically
  1324. * [Feature] Allow to enable/disable languages from the detector
  1325. * [Feature] Allow to generate DKIM keys from rspamadm API
  1326. * [Feature] Allow to get CPU flags from Lua
  1327. * [Feature] Allow to have high precision timestamps in logs
  1328. * [Feature] Allow to insert headers into specific position
  1329. * [Feature] Allow to limit redirector requests per task
  1330. * [Feature] Allow to load and use dynamic ANNs with torch
  1331. * [Feature] Allow to quarantine rejected messages using milter interface
  1332. * [Feature] Allow to receive signing keys from mempool vars
  1333. * [Feature] Allow to reserve elements in libucl
  1334. * [Feature] Allow to reuse signal handlers chains
  1335. * [Feature] Allow to set custom mempool variables from settings
  1336. * [Feature] Allow to set headers from settings
  1337. * [Feature] Allow to set Settings-Id for all connections
  1338. * [Feature] Allow to skip real action and add a header instead
  1339. * [Feature] Allow to skip specific hashes in fuzzy storage
  1340. * [Feature] Allow to spawn asynchronous processes from Lua
  1341. * [Feature] Allow to specify number of threads for ANN learning
  1342. * [Feature] Allow to use global lua maps in settings
  1343. * [Feature] Allow to use postfilters in composites
  1344. * [Feature] Allow to verify signatures from HTTP headers in maps
  1345. * [Feature] Antivirus: ordered pattern matches
  1346. * [Feature] Authentication-Results: support hiding usernames
  1347. * [Feature] Automatically create tables in clickhouse
  1348. * [Feature] Catch next-to-last bad extension
  1349. * [Feature] Check cached maps more frequently
  1350. * [Feature] Check groups sanity
  1351. * [Feature] Deal with obscured URLs with @ symbols
  1352. * [Feature] Enhance task:store_in_file method
  1353. * [Feature] Export password encryption routines to Redis
  1354. * [Feature] Filter nan and inf when adding scores
  1355. * [Feature] Finalize 7zip files support
  1356. * [Feature] Further improvements in language detection
  1357. * [Feature] Further improvements in language detection algorithm
  1358. * [Feature] Generic key name expansion for Redis keys
  1359. * [Feature] Hash whitelist for fuzzy_check
  1360. * [Feature] Implement bayes signatures storage
  1361. * [Feature] Implement buckets for Redis backend
  1362. * [Feature] Implement DKIM reputation adjustments
  1363. * [Feature] Implement forked workers children monitoring
  1364. * [Feature] Implement headers flags in mime parser
  1365. * [Feature] Implement l1/l2 regularization against the current weights
  1366. * [Feature] Implement manual ANN train mode
  1367. * [Feature] Implement per-user ANN support
  1368. * [Feature] Implement torch based ANN learning
  1369. * [Feature] Implement upstreams logic for clickhouse exporter
  1370. * [Feature] Import torch to Rspamd...
  1371. * [Feature] Improve allocation policy when interacting with Lua
  1372. * [Feature] Improve Lua/C interaction in history_redis
  1373. * [Feature] Improve multiple fuzzy results combining
  1374. * [Feature] Improve parsing of DKIM keys: parse algorithm
  1375. * [Feature] Improve subprocesses termination handle
  1376. * [Feature] Improve symbol type parsing in Lua API
  1377. * [Feature] Metadata Exporter: e-Mail Alerts: support multiple recipients; alerting senders/recipients/users (#1600)
  1378. * [Feature] Milter headers: support adding/removing arbitrary headers from config
  1379. * [Feature] More metatokens
  1380. * [Feature] Multimap: checking of symbol options
  1381. * [Feature] Multimap: template URL filter
  1382. * [Feature] New bayes expiry plugin
  1383. * [Feature] Periodically save rspamd stats to disk
  1384. * [Feature] Preliminary import of the elasticsearch module
  1385. * [Feature] Ratelimit: allow full addresses in whitelisted_rcpts
  1386. * [Feature] Ratelimit: support fetching limits from Redis
  1387. * [Feature] RBL: received: filtering by position & flags
  1388. * [Feature] Read global maps for lua
  1389. * [Feature] Redis settings: support checking multiple keys
  1390. * [Feature] Rework fann plugin to be a normal post-filter
  1391. * [Feature] Rework logging configuration for rspamadm case
  1392. * [Feature] Rework short hashes generation to avoid FP
  1393. * [Feature] Save real ucl types when exporting to Lua
  1394. * [Feature] Set TCP_NODELAY for milter sockets
  1395. * [Feature] Setup DKIM signing from configwizard
  1396. * [Feature] Skip certain symbols from ANN classify
  1397. * [Feature] Store plugins state
  1398. * [Feature] Support etag for HTTP maps
  1399. * [Feature] Support Expires header when using HTTP maps
  1400. * [Feature] Support sending given header multiple times in lua_http
  1401. * [Feature] Support sha512 in DKIM signatures
  1402. * [Feature] Try to detect HTML messages better
  1403. * [Feature] Use array instead of queue to reduce memory fragmentation
  1404. * [Feature] Use controller port by default when connecting to local IP
  1405. * [Feature] Use rdtsc where possible
  1406. * [Fix] Actively load skip hashes map in fuzzy storage
  1407. * [Fix] Add another workaround to display history properly
  1408. * [Fix] Add definition for old glib compatibility method
  1409. * [Fix] Add missing rspamadm control options to help
  1410. * [Fix] Add workaround for IPv6 in sendmail
  1411. * [Fix] Add workaround for system with non-XSI compatible tzset
  1412. * [Fix] Allow oversigning in DKIM signatures
  1413. * [Fix] Allow to check negative scores in force_actions
  1414. * [Fix] Allow to have negative actions limits
  1415. * [Fix] Allow to set any layers number for fann rules
  1416. * [Fix] Another fix for rdtcs
  1417. * [Fix] Another fix to lua xmlrpc
  1418. * [Fix] Another try to deal with #1998
  1419. * [Fix] Another try to fix #1998
  1420. * [Fix] Another try to fix threading in torch
  1421. * [Fix] Apply language detection when adding fuzzy hashes
  1422. * [Fix] ARC: Fix Lua 5.3 compatibility; timestamp should be integer
  1423. * [Fix] Authentication Results: Fix SPF smtp.mail_from
  1424. * [Fix] Auth-Results: Multiple DKIM signatures
  1425. * [Fix] Avoid changing content-transfer-encoding header's value
  1426. * [Fix] Better handling of the legacy protocol
  1427. * [Fix] Check decoded headers sanity (e.g. by excluding \0)
  1428. * [Fix] Check for magic when checking for an archive
  1429. * [Fix] Cleanup mess with groups
  1430. * [Fix] Clickhouse: Insertion in the symbols table
  1431. * [Fix] Crash in URL processing
  1432. * [Fix] Deal with another case when processing exceptions
  1433. * [Fix] Deal with deeply nested messages more aggressively
  1434. * [Fix] Deal with nan and inf encoding in json/ucl
  1435. * [Fix] Deal with non-key arguments in lua_redis.exec_script
  1436. * [Fix] Deal with unknown weight
  1437. * [Fix] Deal with URLs with no slashes after protocol
  1438. * [Fix] Deal with URLs wrapped in [] in text parts
  1439. * [Fix] Deal with zero scores symbols
  1440. * [Fix] Default monitoring domain for surbl plugin
  1441. * [Fix] Delay upstream re-resolving when one upstream is defined
  1442. * [Fix] Detection of maillist optimized and fixed
  1443. * [Fix] DKIM signing: allow for auth_only to be false
  1444. * [Fix] DMARC: require report_settings for sending reports only
  1445. * [Fix] Do not allow garbadge when checking url domain
  1446. * [Fix] Do not cache SPF records with PTR elements
  1447. * [Fix] Do not constantly re-resolve failed upstreams with a single element
  1448. * [Fix] Do not crash if no words defined
  1449. * [Fix] Do not crash on empty subtype
  1450. * [Fix] Do not expose spamtrap messages to SMTP reply
  1451. * [Fix] Do not fail rbl plugin when there are no received or emails
  1452. * [Fix] Do not ignore short words
  1453. * [Fix] Do not include idempotent/nostat symbols to checksum
  1454. * [Fix] Do not override groups when converting metrics
  1455. * [Fix] Do not override unix socket group when group comes before owner
  1456. * [Fix] Do not skip the last character
  1457. * [Fix] Do not spawn too many workers by default
  1458. * [Fix] Do not stop monitored on dns errors
  1459. * [Fix] Do not stop parsing headers on bad IP header
  1460. * [Fix] Do not strip last character in the last word
  1461. * [Fix] Do not treat script content as text
  1462. * [Fix] Do not try to connect to non-supported addresses
  1463. * [Fix] Do not try to dereference last character
  1464. * [Fix] Do not try to sign unknown domains
  1465. * [Fix] Don't use whitelist/greylist maps as regexp, but as map
  1466. * [Fix] Erase unknown HTML entities
  1467. * [Fix] Exim Received header protocol parsing
  1468. * [Fix] First load selector_map and path_map. And only return false when domain not found if try_fallback is false
  1469. * [Fix] Fix a lot of FP in chartable in mixed languages
  1470. * [Fix] Fix ANN checks
  1471. * [Fix] Fix ANN loading logic
  1472. * [Fix] Fix another tokenization issue
  1473. * [Fix] Fix autolearn parameters reading
  1474. * [Fix] Fix bad archive characters stripping
  1475. * [Fix] Fix bad extension check
  1476. * [Fix] Fix bayes schema conversion
  1477. * [Fix] Fix blacklists and DMARC in whitelist
  1478. * [Fix] Fix brain-damaged torch build system
  1479. * [Fix] Fix build on FreeBSD
  1480. * [Fix] Fix clickhouse exporter
  1481. * [Fix] Fix clickhouse schema
  1482. * [Fix] Fix comparision
  1483. * [Fix] Fix composites processing
  1484. * [Fix] Fix connecting to a unix socket in rspamadm statconvert
  1485. * [Fix] Fix couple of warnings
  1486. * [Fix] Fix crashes in the rspamd_control path
  1487. * [Fix] Fix deletion from hash
  1488. * [Fix] Fix DKIM forgeries via multiple headers
  1489. * [Fix] FIx dynamic conf plugin
  1490. * [Fix] Fix emails detection
  1491. * [Fix] Fix empty headers simple canonicalization
  1492. * [Fix] Fix empty threshold check in greylisting module
  1493. * [Fix] Fix encrypted legacy reply in fuzzy storage
  1494. * [Fix] Fix enormous scores for R_WHITE_ON_WHITE
  1495. * [Fix] Fix exceptions list in surbl
  1496. * [Fix] Fix *_EXCESS_BASE64 rules
  1497. * [Fix] Fix expire rounding
  1498. * [Fix] Fix extra hits in PCRE mode for regular expressions
  1499. * [Fix] Fix format strings
  1500. * [Fix] Fix get_content method
  1501. * [Fix] Fix groups override when defining symbols
  1502. * [Fix] Fix learned count in new schema
  1503. * [Fix] Fix learn errors propagation
  1504. * [Fix] Fix loading of per-user redis backend for statistics
  1505. * [Fix] Fix logging buffer corruption in case of repeated messages
  1506. * [Fix] Fix lua cached elements invalidation
  1507. * [Fix] Fix merging of the implicit arrays
  1508. * [Fix] Fix mime_types scoring
  1509. * [Fix] Fix multiple headers in DKIM headers list
  1510. * [Fix] Fix null callee case in clang plugin
  1511. * [Fix] Fix obscured url in format user@@example.com
  1512. * [Fix] Fix parsing of the per-user script
  1513. * [Fix] Fix priorities in rspamd_update, disable rules execution
  1514. * [Fix] Fix processing of closed tags
  1515. * [Fix] Fix processing of idempotent rules when autolearn fails
  1516. * [Fix] Fix processing of multipart parts with no headers
  1517. * [Fix] Fix processing of skip-hashes in fuzzy storage
  1518. * [Fix] Fix PTR processing in SPF
  1519. * [Fix] Fix pushing country to clickhouse asn table
  1520. * [Fix] Fix random forests module
  1521. * [Fix] Fix real IP parsing for some strange Exim received
  1522. * [Fix] Fix Redis timeout setup
  1523. * [Fix] Fix reload crash when hyperscan is enabled
  1524. * [Fix] Fix reusing of redis connection after exec
  1525. * [Fix] Fix sanity checks on macro value
  1526. * [Fix] Fix setting of path and cpath for Lua
  1527. * [Fix] Fix setting of signals when spawning a thread
  1528. * [Fix] Fix text splitting: stack overflow (too many captures)
  1529. * [Fix] Fix ticks processing
  1530. * [Fix] Fix upstream addrs updating
  1531. * [Fix] Fix urls/emails distinguishing found in queries
  1532. * [Fix] Fix user settings check
  1533. * [Fix] Fix variable increment
  1534. * [Fix] Fix various issues in stat_convert
  1535. * [Fix] F-PROT Antivirus infection string for all known occurences
  1536. * [Fix] F-PROT Antivirus: only check return code to determine infection
  1537. * [Fix] Further fixes around floating point expressions
  1538. * [Fix] Further fixes to ANN module
  1539. * [Fix] Further fixes to rescore tool
  1540. * [Fix] Further fixes to support ES 6
  1541. * [Fix] Further tokenization fixes
  1542. * [Fix] Greylisting set phase is not idempotent
  1543. * [Fix] Handle proxy copy errors
  1544. * [Fix] Header checks: Fix get_raw_header method
  1545. * [Fix] Header checks: REPLYTO_UNPARSEABLE rule
  1546. * [Fix] Kill spawned processes on termination
  1547. * [Fix] Load skip map from all processes as shared cache is unavailable
  1548. * [Fix] Lowercase HTTP headers to make them searchable from Lua
  1549. * [Fix] Lowercase words
  1550. * [Fix] Lua_http: freeing
  1551. * [Fix] Lua: lpeg to be loaded with rspamd_lua_add_preload, to avoid "rspamd_config_read: rcl parse error: cannot init lua file […] module 'lpeg' not found"
  1552. * [Fix] Map absence is not an error
  1553. * [Fix] Metadata exporter: check IP sanity
  1554. * [Fix] Milter headers: custom headers: removing headers
  1555. * [Fix] Milter headers: skip_local / skip_authenticated settings
  1556. * [Fix] Milter headers: X-Spamd-Result header if X-Virus ran first
  1557. * [Fix] mime_types: fix next-to-last extension length check
  1558. * [Fix] More hacks to deal with old configs
  1559. * [Fix] Move composites second pass to the dedicated stage
  1560. * [Fix] Multimap: received: filtering of artificial header
  1561. * [Fix] Multiple fixes in torch based ANN plugins
  1562. * [Fix] Once more (#1879) fix bad extension check
  1563. * [Fix] Optimize rspamd_fstring_t reallocations
  1564. * [Fix] options.local_networks setting
  1565. * [Fix] Parse HREF urls without explicit prefix
  1566. * [Fix] Plan new event on HTTP errors
  1567. * [Fix] Plug another possible memory leak
  1568. * [Fix] Plug memory leak
  1569. * [Fix] Plug memory leak in lua_tcp
  1570. * [Fix] Plug memory leak when setting email addresses from Lua
  1571. * [Fix] Propagate learn/stat errors more precisely
  1572. * [Fix] Ratelimit: fix whitelisted_rcpts matching
  1573. * [Fix] Ratelimit: lowercase email addresses
  1574. * [Fix] RBL: received: deal with missing data (#1965)
  1575. * [Fix] Rebalance and slightly rework MX check plugin
  1576. * [Fix] Redis key expansion: EVAL: deal with strings
  1577. * [Fix] Redis script loading in DMARC; URL tags; URL reputation
  1578. * [Fix] Reject invalid bh for DKIM signatures earlier
  1579. * [Fix] Relax pem signature detection
  1580. * [Fix] Relax unicode properties requirements for chartable module
  1581. * [Fix] Remove extra noise from dkim and arc signing
  1582. * [Fix] Remove hop-by-hop headers in proxy
  1583. * [Fix] Remove incorrect method `task:set_metric_subject`
  1584. * [Fix] Replace space like characters in headers with plain space
  1585. * [Fix] Restore old style ratelimits support
  1586. * [Fix] Rework elasticsearch plugin
  1587. * [Fix] Rewriting subjects via force actions module
  1588. * [Fix] RPM postinstall
  1589. * [Fix] Sanitize IP in history redis
  1590. * [Fix] Select the correct signature when doing simple canon
  1591. * [Fix] Set CLOEXEC flag on files opened
  1592. * [Fix] Setting check_local / check_authed in plugins (#1954)
  1593. * [Fix] Settings: avoid checking invalid IP (#1981)
  1594. * [Fix] Settings: header: deal with multiple settings (#1988)
  1595. * [Fix] Skip checks if both extensions are not bad
  1596. * [Fix] Skip nostat tokens when get number of tokens
  1597. * [Fix] Some more fixes towards emails detection
  1598. * [Fix] SpamAssassin: Fail check_freemail_header if regexp didn't match
  1599. * [Fix] Stop using of g_slice...
  1600. * [Fix] Switch rspamadm logging to message level
  1601. * [Fix] Symbol 'FANNR_SPAM' has its score defined..
  1602. * [Fix] Table parameter for rspamd_config:add_doc()
  1603. * [Fix] Treat 'rewrite subject' as spam action
  1604. * [Fix] Try harder in passing IPv6 addresses
  1605. * [Fix] Try harder to find rfc822 notifications
  1606. * [Fix] Try harder to find urls
  1607. * [Fix] Use decoded values when parsing mime addresses
  1608. * [Fix] Use full URL when making an HTTP request
  1609. * [Fix] Use greylisting threshold in greylisting module
  1610. * [Fix] Use n_words attribute from ngramms
  1611. * [Fix] Use raw urls when sending requests to redirector
  1612. * [Fix] Use the right boolean operator on error check
  1613. * [Fix] Use weight from map for fuzzy scoring
  1614. * [Fix] Various fixes to elastic plugin
  1615. * [Fix] Various fixes to fann_redis instantiation
  1616. * [Fix] Various improvements in language detection
  1617. * [Fix] Virus infection string for F-PROT Antivirus
  1618. * [Fix] Virus infetction string for F-PROT Antivirus
  1619. * [Fix] WebUI: use relative path for savemap (#1943)
  1620. * [Fix] WHITE_ON_WHITE: Ensure score is matched to part that fired the rule
  1621. * [Fix] Write configuration changes as UCL config
  1622. * [Project] Add detection logic for words
  1623. * [Project] Add fast debug logging infrastructure
  1624. * [Project] Add more flags to languages
  1625. * [Project] Add n-gramms data files
  1626. * [Project] Add ngramms frequencies detector
  1627. * [Project] Add random words selection logic
  1628. * [Project] Add unigramms to language detection as well
  1629. * [Project] Convert all C modules to fast debug infrastructure
  1630. * [Project] Detect some languages based on unicode script
  1631. * [Project] Enable fast debug lookup for some modules
  1632. * [Project] Enable language detector init in scanner workers
  1633. * [Project] Further improvements to language detector
  1634. * [Project] Implement logic of ngramms application
  1635. * [Project] Improve weighting in lang_detection
  1636. * [Project] Initialize language detector
  1637. * [Project] Preliminary version of ngramms based language detector
  1638. * [Project] Preliminary version of the new stat_convert
  1639. * [Project] Remove old language detector
  1640. * [Project] Rework language detection ngramms structure
  1641. * [Project] Start language detection project
  1642. * [Project] Start rework of language detection to improve quality
  1643. * [Project] Use fast debug logging check
  1644. * [Rework] Add frame for new reputation based IP score module
  1645. * [Rework] Continue stat_convert rework task
  1646. * [Rework] Implement new version of fuzzy replies
  1647. * [Rework] Improve readability of xmlrpc API
  1648. * [Rework] Kill metrics!11
  1649. * [Rework] Ratelimit module
  1650. * [Rework] Rename fann_redis to neural plugin
  1651. * [Rework] Reorganize mime_types module
  1652. * [Rework] Rework rescore utility
  1653. * [Rework] Rewrite model and learning logic for rescore
  1654. * [Rework] Run post-loads when all initialization is completed
  1655. * [Rework] Simplify lua path initialization
  1656. * [Rework] Start major stat_convert rework
  1657. * [Rework] Start mempool fragmentation reduce project
  1658. * [Rework] Start moving of fann redis to torch
  1659. * [Rework] Stop embedding rspamadm scripts into C
  1660. * [Rework] Use floating point arithmetics in Rspamd expressions
  1661. * [Rework] Use frequencies distribution in language detector
  1662. * [Rules] Penalise R_BAD_CTE_7BIT for utf8 messages
  1663. * [WebUI] Compact graph selectors
  1664. * [WebUI] Escape strings inside HTML in history
  1665. * [WebUI] Fix message count in throughput summary (#1724)
  1666. * [WebUI] Fix NaNs display on Throughput graph
  1667. * [WebUI] Migrate widgets to D3 v4
  1668. * [WebUI] Restore passwordless login support (#2003)
  1669. * [WebUI] Show symbol descriptions as tooltips in history
  1670. * [WebUI] Stop using commas in pie chart tooltips
  1671. * [WebUI] Update D3 and jQuery
  1672. * [WebUI] Update D3Evolution 1.0.0 -> 1.1.0
  1673. 1.6.6: 16 Feb 2018
  1674. * [CritFix] Add sanity guards for badly broken HTML
  1675. * [CritFix] Another errors path handling fix
  1676. * [CritFix] Fix ARC chain verification
  1677. * [CritFix] Fix crash in milter errors handler
  1678. * [Feature] Allow to insert headers into specific position
  1679. * [Feature] Allow to receive signing keys from mempool vars
  1680. * [Feature] Authentication-Results: support hiding usernames
  1681. * [Fix] Another try to deal with #1998
  1682. * [Fix] Another try to fix #1998
  1683. * [Fix] Better handling of the legacy protocol
  1684. * [Fix] Check decoded headers sanity (e.g. by excluding \0)
  1685. * [Fix] Deal with nan and inf encoding in json/ucl
  1686. * [Fix] Deal with URLs wrapped in [] in text parts
  1687. * [Fix] DKIM signing: allow for auth_only to be false
  1688. * [Fix] Do not crash on empty subtype
  1689. * [Fix] Do not fail rbl plugin when there are no received or emails
  1690. * [Fix] Do not skip the last character
  1691. * [Fix] Do not try to dereference last character
  1692. * [Fix] Do not try to sign unknown domains
  1693. * [Fix] Exim Received header protocol parsing
  1694. * [Fix] First load selector_map and path_map. And only return false when domain not found if try_fallback is false
  1695. * [Fix] Fix bad archive characters stripping
  1696. * [Fix] Fix comparision
  1697. * [Fix] Fix connecting to a unix socket in rspamadm statconvert
  1698. * [Fix] Fix empty headers simple canonicalization
  1699. * [Fix] Fix extra hits in PCRE mode for regular expressions
  1700. * [Fix] Fix parsing of the per-user script
  1701. * [Fix] Fix processing of skip-hashes in fuzzy storage
  1702. * [Fix] Fix Redis timeout setup
  1703. * [Fix] Fix sanity checks on macro value
  1704. * [Fix] Fix text splitting: stack overflow (too many captures)
  1705. * [Fix] Fix urls/emails distinguishing found in queries
  1706. * [Fix] F-PROT Antivirus: only check return code to determine infection
  1707. * [Fix] Metadata exporter: check IP sanity
  1708. * [Fix] Multimap: received: filtering of artificial header
  1709. * [Fix] Plan new event on HTTP errors
  1710. * [Fix] Plug another possible memory leak
  1711. * [Fix] Remove hop-by-hop headers in proxy
  1712. * [Fix] Sanitize IP in history redis
  1713. * [Fix] Setting check_local / check_authed in plugins (#1954)
  1714. * [Fix] Settings: avoid checking invalid IP (#1981)
  1715. * [Fix] Try harder in passing IPv6 addresses
  1716. * [Fix] WebUI: use relative path for savemap (#1943)
  1717. * [WebUI] Fix message count in throughput summary (#1724)
  1718. * [WebUI] Fix NaNs display on Throughput graph
  1719. * [WebUI] Restore passwordless login support (#2003)
  1720. 1.6.5: 22 Oct 2017
  1721. * [CritFix] Another portion of tokenization fixes
  1722. * [CritFix] Fix memory leak in spf caching logic
  1723. * [CritFix] Fix milter commands pipelining
  1724. * [CritFix] Fix newlines detection
  1725. * [Feature] Filter nan and inf when adding scores
  1726. * [Feature] Implement headers flags in mime parser
  1727. * [Feature] Support Expires header when using HTTP maps
  1728. * [Fix] Actively load skip hashes map in fuzzy storage
  1729. * [Fix] Add workaround for IPv6 in sendmail
  1730. * [Fix] Authentication Results: Fix SPF smtp.mail_from
  1731. * [Fix] Check for magic when checking for an archive
  1732. * [Fix] Deal with another case when processing exceptions
  1733. * [Fix] Deal with URLs with no slashes after protocol
  1734. * [Fix] Do not allow garbadge when checking url domain
  1735. * [Fix] Do not ignore short words
  1736. * [Fix] Do not strip last character in the last word
  1737. * [Fix] Do not treat script content as text
  1738. * [Fix] Erase unknown HTML entities
  1739. * [Fix] Fix another tokenization issue
  1740. * [Fix] Fix DKIM forgeries via multiple headers
  1741. * [Fix] Fix emails detection
  1742. * [Fix] Fix empty threshold check in greylisting module
  1743. * [Fix] Fix enormous scores for R_WHITE_ON_WHITE
  1744. * [Fix] Fix loading of per-user redis backend for statistics
  1745. * [Fix] Fix multiple headers in DKIM headers list
  1746. * [Fix] Fix obscured url in format user@@example.com
  1747. * [Fix] Further tokenization fixes
  1748. * [Fix] Load skip map from all processes as shared cache is unavailable
  1749. * [Fix] Lowercase words
  1750. * [Fix] Milter headers: skip_local / skip_authenticated settings
  1751. * [Fix] Milter headers: X-Spamd-Result header if X-Virus ran first
  1752. * [Fix] Ratelimit: fix whitelisted_rcpts matching
  1753. * [Fix] Some more fixes towards emails detection
  1754. * [Fix] SpamAssassin: Fail check_freemail_header if regexp didn't match
  1755. * [Fix] Use greylisting threshold in greylisting module
  1756. 1.6.4: 10 Sep 2017
  1757. * [Feature] Add method to get all content-type attributes in Lua
  1758. * [Feature] Add some sanity checks for actions and controller
  1759. * [Feature] Allow randomly select User-Agent from a list
  1760. * [Feature] Deal with obscured URLs with @ symbols
  1761. * [Feature] Milter headers: support adding/removing arbitrary headers from config
  1762. * [Fix] Add another workaround to display history properly
  1763. * [Fix] Add missing rspamadm control options to help
  1764. * [Fix] Auth-Results: Multiple DKIM signatures
  1765. * [Fix] Crash in URL processing
  1766. * [Fix] Default monitoring domain for surbl plugin
  1767. * [Fix] Detection of maillist optimized and fixed
  1768. * [Fix] Do not cache SPF records with PTR elements
  1769. * [Fix] Fix blacklists and DMARC in whitelist
  1770. * [Fix] Fix exceptions list in surbl
  1771. * [Fix] Fix processing of closed tags
  1772. * [Fix] Fix PTR processing in SPF
  1773. * [Fix] Lowercase HTTP headers to make them searchable from Lua
  1774. * [Fix] options.local_networks setting
  1775. * [Fix] Ratelimit: lowercase email addresses
  1776. * [Fix] Rebalance and slightly rework MX check plugin
  1777. * [Fix] Redis script loading in DMARC; URL tags; URL reputation
  1778. * [Fix] Reject invalid bh for DKIM signatures earlier
  1779. * [Fix] Remove incorrect method `task:set_metric_subject`
  1780. * [Fix] Rewriting subjects via force actions module
  1781. * [Fix] RPM postinstall
  1782. * [Fix] Treat 'rewrite subject' as spam action
  1783. * [Fix] Try harder to find urls
  1784. * [Fix] Use full URL when making an HTTP request
  1785. * [Fix] Use raw urls when sending requests to redirector
  1786. * [Fix] Use weight from map for fuzzy scoring
  1787. * [Rules] Penalise R_BAD_CTE_7BIT for utf8 messages
  1788. 1.6.3: 26 Jul 2017
  1789. * [CritFix] Fix semicolons parsing in the content type
  1790. * [Feature] Add EBL to the default config
  1791. * [Feature] Allow to configure monitored
  1792. * [Feature] Allow to skip specific hashes in fuzzy storage
  1793. * [Feature] Multimap: checking of symbol options
  1794. * [Feature] Redis settings: support checking multiple keys
  1795. * [Fix] ARC: Fix Lua 5.3 compatibility; timestamp should be integer
  1796. * [Fix] Avoid changing content-transfer-encoding header's value
  1797. * [Fix] Don't use whitelist/greylist maps as regexp, but as map
  1798. * [Fix] Fix get_content method
  1799. * [Fix] Header checks: Fix get_raw_header method
  1800. * [Fix] Header checks: REPLYTO_UNPARSEABLE rule
  1801. * [Fix] Lua_http: freeing
  1802. * [Fix] Milter headers: custom headers: removing headers
  1803. * [Fix] Parse HREF urls without explicit prefix
  1804. * [Fix] WHITE_ON_WHITE: Ensure score is matched to part that fired the rule
  1805. * [WebUI] Escape strings inside HTML in history
  1806. 1.6.2: 08 Jul 2017
  1807. * [Conf] Remove Rambler email bl for now
  1808. * [Conf] Switch RAMBLER_URIBL to a locally managed source
  1809. * [CritFix] Switch from ragel to C for Content-Type parsing
  1810. * [Feature] Add `-e` option for lua_repl
  1811. * [Feature] Add per-domain emails normalisation rules
  1812. * [Feature] Add sessions cache to debug dangling sessions
  1813. * [Feature] Add short_text_direct_hash for fuzzy check module
  1814. * [Feature] Add text_part:get_stats function
  1815. * [Feature] Allow to add custom processing script for surbl
  1816. * [Feature] Allow to check reply-to email
  1817. * [Feature] Allow to customize spam header, remove existing spam headers
  1818. * [Feature] Allow to disable specific workers in the config
  1819. * [Feature] Allow to discard messages instead of rejection
  1820. * [Feature] Allow to specify custom delimiter in emails plugin
  1821. * [Feature] Allow to specify custom User-Agent for rspamc
  1822. * [Feature] Allow to store symbols data in Clickhouse
  1823. * [Feature] Allow to use HTTPS when connecting to Clickhouse
  1824. * [Feature] Enable sessions cache tracking for milter connections
  1825. * [Feature] Implement per-line mode in lua_repl (like `perl -p`)
  1826. * [Feature] Implement rdns-curve plugin based on rspamd cryptobox
  1827. * [Feature] Improve maps cached data lifetime
  1828. * [Feature] Improve maps checking frequency
  1829. * [Feature] Improve monitored timeouts logic
  1830. * [Feature] milter_headers: add `extended_headers_rcpt` option
  1831. * [Feature] Milter headers: Add X-Spam-Flag to rmilter-compatibility headers
  1832. * [Feature] Milter headers: remove-header routine
  1833. * [Feature] Multimap: received filters for extracting TLDs from hostnames
  1834. * [Feature] Normalize email aliases in emails module
  1835. * [Feature] Re-add rambler email bl (as hashed list)
  1836. * [Feature] Reload file maps more frequently
  1837. * [Feature] Rework newlines strip parser one more time
  1838. * [Feature] Skip updates for messages scanned via controller
  1839. * [Feature] Split long DKIM public keys
  1840. * [Feature] Store more data when stripping newlines
  1841. * [Feature] Support SPF macros transformations
  1842. * [Feature] Support suppressing DMARC reports for some domains
  1843. * [Fix] Add missing `break` statement
  1844. * [Fix] Allow modifiers in SPF macros
  1845. * [Fix] DKIM sign tools: edge-cases around use_esld
  1846. * [Fix] Do not cache SPF records with macros
  1847. * [Fix] Do not overwrite score when setting pre-action
  1848. * [Fix] Fix comparison logic
  1849. * [Fix] Fix DKIM base64 folding for milter flagged messages
  1850. * [Fix] Fix emails module configuration
  1851. * [Fix] Fix folding for arc headers when milter interface is used
  1852. * [Fix] Fix gmail dots removal
  1853. * [Fix] Fix rspamc detection in greylist module
  1854. * [Fix] Fix some more issues with HTTP maps
  1855. * [Fix] Milter sessions can live forever
  1856. * [Fix] Normalize fuzzy probability better
  1857. * [Fix] Plug memory leak
  1858. * [Fix] RBL: Fixed hashed email address lookups
  1859. * [Fix] Try to deal with brain-damaged milter behaviour
  1860. * [Fix] Use `\n` to fold headers for milter
  1861. * [Rework] Allow to use custom callback for monitored checks
  1862. * [Rework] Further steps towards one process monitoring
  1863. * [Rework] Send health checks from a single worker
  1864. * [WebUI] Round-up throughput summary values
  1865. 1.6.1: 14 Jun 2017
  1866. * [Fix] Allow to init resolver without rspamd_config
  1867. * [Fix] Do not crash when resolver failed to initialize
  1868. * [Fix] Fix abstract context layout
  1869. * [Fix] Fix CGP helper reply parsing
  1870. * [Fix] Fix crashes when socket write errors occur
  1871. * [Fix] Fix parsing IPv6 nameservers in resolv.conf
  1872. * [Fix] Milter: Don't defer on "greylist" action
  1873. 1.6.0: 12 Jun 2017
  1874. * [Conf] Add rspamd_proxy to the default configuration set
  1875. * [Conf] Add sample arc module config
  1876. * [Conf] Do away with systemd specifics completely
  1877. * [Conf] Increase min_bytes to avoid FP
  1878. * [Conf] Remove ratelimits from default configuration
  1879. * [CritFix] Fix accepting on IPv6 sockets
  1880. * [CritFix] Fix corruption when multiple fuzzy are defined
  1881. * [CritFix] Fix learn condition in fuzzy check
  1882. * [CritFix] Fix memory leak in fuzzy check
  1883. * [CritFix] Fix memory leak in maps scheduling
  1884. * [CritFix] Paese the last character in DKIM signature correctly
  1885. * [CritFix] Zero fill sockaddr_un
  1886. * [Feature] Add ability to add doc strings by example
  1887. * [Feature] Add API to verify DKIM (and ARC) signatures
  1888. * [Feature] Add compression/decompression to proxy
  1889. * [Feature] Add count to url structure
  1890. * [Feature] Add initial support of the new protocol reply
  1891. * [Feature] Add Lua plugin spamtrap
  1892. * [Feature] Add `monitored_address` for rbls
  1893. * [Feature] Add new schema for bayes tokens
  1894. * [Feature] Add preliminary ARC support to dkim code
  1895. * [Feature] Add preliminary support of ARC signing
  1896. * [Feature] Add rules to detect bad 8bit characters in From and To
  1897. * [Feature] Add scanning support for milter protocol
  1898. * [Feature] Add support for bidirectional symbols in rspamd_stats
  1899. * [Feature] Add support for static maps
  1900. * [Feature] Add support of maps with multiple regexps matches
  1901. * [Feature] Add `text_multiplier` param
  1902. * [Feature] Add the preliminary ARC plugin
  1903. * [Feature] Add top redirector targets rank
  1904. * [Feature] Allow async events to be registered from LUA rules
  1905. * [Feature] Allow storing bayes tokens in Redis
  1906. * [Feature] Allow to exclude specific domains from mx check
  1907. * [Feature] Allow to have a stack of watcher finalisers
  1908. * [Feature] Allow to pass hostname to `-i` flag in Rspamc
  1909. * [Feature] Allow to set custom user agent in url redirector
  1910. * [Feature] Allow to use custom callback when parsing resolv.conf
  1911. * [Feature] Allow to use domain from authenticated user
  1912. * [Feature] Bayes expiry plugin
  1913. * [Feature] Check dkim sign keys for modifications
  1914. * [Feature] DKIM signing: sign_networks/local address specific use_domain settings
  1915. * [Feature] DMARC: Support excluding domains from sampling
  1916. * [Feature] Expire processing items for URL redirector aggressively
  1917. * [Feature] Fix surbl monitored for IP lists, add `monitored_domain` option
  1918. * [Feature] Implement caching for dkim body hashes
  1919. * [Feature] Implement milter protocol scan reply
  1920. * [Feature] Improve omograph phishing detection
  1921. * [Feature] Initial support of self-scan in Rspamd proxy
  1922. * [Feature] Keep track of headers in milter interface
  1923. * [Feature] Milter headers: better controls for local/authenticated
  1924. * [Feature] Multimap: email:domain:tld filter
  1925. * [Feature] Preliminary DMARC reporting implementation
  1926. * [Feature] Reuse stemmers in the cache
  1927. * [Feature] Rework confighelp to load Lua plugins
  1928. * [Feature] Rework hfilter to use hyperscan if possible
  1929. * [Feature] Rework lua RSA API
  1930. * [Feature] Rmilter_headers: approximate rmilter's extended_spam_headers
  1931. * [Feature] Start integration of milter support in proxy
  1932. * [Feature] Store average words length and short words count
  1933. * [Feature] Store hash of headers order and names
  1934. * [Feature] Support MTA name header
  1935. * [Feature] Support multiple types of dkim signing in Lua
  1936. * [Feature] Support numeric arguments for Redis requests
  1937. * [Feature] Use headers hash in bayes metatokens
  1938. * [Feature] Use normal resolv.conf rules of rotation in Rspamd
  1939. * [Feature] Use version 2 proto for checking messages
  1940. * [Fix] Allow to follow symlinks when safe
  1941. * [Fix] Append MX name for authentication results as required
  1942. * [Fix] Change default text multiplier from 0.5 to 2.0
  1943. * [Fix] Check min_bytes for images as well
  1944. * [Fix] Deal with 7bit charsets properly
  1945. * [Fix] Deal with 8bit characters in email addresses
  1946. * [Fix] Deal with unpaired <a> tags
  1947. * [Fix] Detect confighelp in plugins initialisation
  1948. * [Fix] Disable certain checks for utf spoof detection
  1949. * [Fix] DKIM Signing: avoid nil index when From header is missing
  1950. * [Fix] Do not add exact hashes from different parts
  1951. * [Fix] Do not check DMARC if SPF or DKIM were not checked
  1952. * [Fix] Do not check URLs that are resolved to be redirected
  1953. * [Fix] Do not set bayes probability if we don't use it
  1954. * [Fix] Do not stop on illegal unicode points - replace them
  1955. * [Fix] Fix another race condition in arc checks
  1956. * [Fix] Fix arc count logic
  1957. * [Fix] Fix ARC signing
  1958. * [Fix] Fix brain-damaged spamc protocol for now
  1959. * [Fix] Fix calling for peak functions
  1960. * [Fix] Fix couple of issues in FORWARDED rule
  1961. * [Fix] Fix CTE propagation from parent containers to children parts
  1962. * [Fix] Fix errors processing in the controller
  1963. * [Fix] Fix format string in milter
  1964. * [Fix] Fix issues in SPF macros parsing
  1965. * [Fix] Fix logging format string
  1966. * [Fix] Fix logic of cached passwords check
  1967. * [Fix] Fix lowercasing of stemmed words
  1968. * [Fix] Fix LRU elements removal
  1969. * [Fix] Fix memory leak when accepting from unix sockets
  1970. * [Fix] Fix milter connections persistence
  1971. * [Fix] Fix objects merging in UCL
  1972. * [Fix] Fix order of operations to avoid race condition
  1973. * [Fix] Fix parsing of long regexp types
  1974. * [Fix] Fix passing data to log helper when many symbols defined
  1975. * [Fix] Fix pools management for milter session
  1976. * [Fix] Fix processing of the watchers
  1977. * [Fix] Fix queue id macro in milter
  1978. * [Fix] Fix R_BAD_CTE_7BIT rule
  1979. * [Fix] Fix Redis timeout set
  1980. * [Fix] Fix REPLYTO_UNPARSEABLE rule
  1981. * [Fix] Fix setting of email address
  1982. * [Fix] Fix some more issues about duplicated fuzzy requests
  1983. * [Fix] Fix spamc support in rspamd proxy
  1984. * [Fix] Fix syntax error in spamtrap plugin
  1985. * [Fix] Fix url counts for href urls
  1986. * [Fix] Fix url handling in the protocol
  1987. * [Fix] Multimap: Received IP filters with Redis
  1988. * [Fix] Oops, fix d9d0fa5e86db2f4470d34395a233b450478b2f60
  1989. * [Fix] Parse rgb[a](x,x,x[,x]) css colors
  1990. * [Fix] Phishing: strict_domains
  1991. * [Fix] Reduce maps aggressiveness
  1992. * [Fix] Reresolve upstreams even if there is a single server there
  1993. * [Fix] Rspamadm grep: Disable Lua patterns in string search by default
  1994. * [Fix] Skip text parts when checking binary parts in fuzzy check
  1995. * [Fix] Support v2 checks in controller
  1996. * [Fix] Treat empty address as valid
  1997. * [Fix] Try harder to detect CTE
  1998. * [Fix] Try to deal with v4 mapped to v6 addresses on accept
  1999. * [Fix] Use dkim signing callback properly
  2000. * [Fix] Use non-volatile memory for storing data
  2001. * [Fix] Use static maps instead of ugly hack for radix_from_config
  2002. * [Fix] Use the same pool for related sessions
  2003. * [Rework] Continue modularisation for lua library
  2004. * [Rework] Initial milter protocol support
  2005. * [Rework] Make log pipes worker agnostic, add scanners API
  2006. * [Rework] Move authentication results generation to a separate routine
  2007. * [Rework] Move common DKIM functions to a separate lua module
  2008. * [Rework] Move global functions to a separate directory
  2009. * [Rework] Prepare dkim module for ARC checks
  2010. * [Rework] Propagate ucl variables from the command line
  2011. * [Rework] Remove multiple metrics support from Rspamd
  2012. * [Rework] Stop using name 'rmilter' for the modern protocol
  2013. * [Rework] Use LFU algorithm in LRU cache
  2014. * [Rules] Fix received TLS rules
  2015. * [Rules] Improve URL_COUNT_ODD rule
  2016. * [WebUI] Fix add header filter in history
  2017. * [WebUI] Use modern protocol for checking messages
  2018. 1.5.9:
  2019. * [Conf] Increase min_bytes to avoid FP
  2020. * [Conf] Remove ratelimits from default configuration
  2021. * [CritFix] Fix accepting on IPv6 sockets
  2022. * [CritFix] Zero fill sockaddr_un
  2023. * [Feature] Add `text_multiplier` param
  2024. * [Fix] Check min_bytes for images as well
  2025. * [Fix] Do not add exact hashes from different parts
  2026. * [Fix] Fix memory leak when accepting from unix sockets
  2027. * [Fix] Fix some more issues about duplicated fuzzy requests
  2028. * [Fix] Phishing: strict_domains
  2029. * [Fix] Skip text parts when checking binary parts in fuzzy check
  2030. * [Minor] Add the same duplicates protection for all fuzzy hashes types
  2031. * [Minor] Fix braces
  2032. * [Minor] Fix test
  2033. * [Minor] SPOOF_DISPLAY_NAME: Use all SMTP/MIME recipients
  2034. * [Minor] Validate assumed spoofed display name domains to contain a dot
  2035. 1.5.8:
  2036. * [CritFix] Fix memory leak in fuzzy check
  2037. * [CritFix] Fix memory leak in maps scheduling
  2038. * [Feature] Multimap: email:domain:tld filter
  2039. * [Fix] DKIM Signing: avoid nil index when From header is missing
  2040. * [Fix] Do not set bayes probability if we don't use it
  2041. * [Fix] Do not stop on illegal unicode points - replace them
  2042. * [Fix] Fix brain-damaged spamc protocol for now
  2043. * [Fix] Fix Redis timeout set
  2044. * [Fix] Fix spamc support in rspamd proxy
  2045. * [Fix] Multimap: Received IP filters with Redis
  2046. * [Fix] Parse rgb[a](x,x,x[,x]) css colors
  2047. * [Fix] Reresolve upstreams even if there is a single server there
  2048. * [Fix] Treat empty address as valid
  2049. * [Fix] Try harder to detect CTE
  2050. * [Fix] Try to deal with v4 mapped to v6 addresses on accept
  2051. * [Minor] Add `wsf` and `hta` bad archive extensions
  2052. * [Minor] Fix configuration option
  2053. * [Minor] Fix result parsing for SAVAPI
  2054. * [Minor] Further logging improvements
  2055. * [Minor] Improve logging of errors
  2056. * [Minor] Prevent MID_CONTAINS_FROM from firing on empty address
  2057. * [Minor] Reduce digit->number transmission penalty
  2058. * [Minor] Relax CTYPE_MISSING_DISPOSITION rule
  2059. 1.5.7:
  2060. * [CritFix] Fix corruption when multiple fuzzy are defined
  2061. * [CritFix] Fix learn condition in fuzzy check
  2062. * [Feature] Add rules to detect bad 8bit characters in From and To
  2063. * [Feature] DKIM signing: sign_networks/local address specific use_domain settings
  2064. * [Feature] Support numeric arguments for Redis requests
  2065. * [Fix] Deal with 8bit characters in email addresses
  2066. * [Fix] Fix couple of issues in FORWARDED rule
  2067. * [Fix] Fix passing data to log helper when many symbols defined
  2068. * [Fix] Fix R_BAD_CTE_7BIT rule
  2069. * [Fix] Fix REPLYTO_UNPARSEABLE rule
  2070. * [Fix] Fix setting of email address
  2071. * [Fix] Rspamadm grep: Disable Lua patterns in string search by default
  2072. * [Minor] Add Lua 5.3 workaround
  2073. * [Minor] Add lua methods to detect if a part has 8bit characters
  2074. * [Minor] Allow session-less lua dns requests
  2075. * [Minor] Allow to append greylist end time to message reported
  2076. * [Minor] Avoid `nil` table
  2077. * [Minor] Disable dkim_signing if redis is specified but not configured
  2078. * [Minor] Fix build with pcre2
  2079. * [Minor] Fix rule
  2080. * [Minor] Fix warnings
  2081. * [Minor] Format floating point number
  2082. * [Minor] Push email flags to the lua API
  2083. * [Minor] Silence some warnings
  2084. * [Minor] Silence warning
  2085. * [Minor] Try all hostname regexps to find the most significant one
  2086. * [WebUI] Fix add header filter in history
  2087. 1.5.6:
  2088. * [Feature] Add unigramms support in bayes
  2089. * [Feature] Allow configurable sign headers for DKIM
  2090. * [Feature] Allow to add unigramm metatokens from Lua
  2091. * [Feature] DKIM Signing: envelope match exception for local IPs
  2092. * [Feature] UCL: register parser variables from Lua
  2093. * [Fix] Always try to adjust filename
  2094. * [Fix] Do extra copy to ensure that original content is never touched
  2095. * [Fix] Fix SPOOF_REPLYTO rule
  2096. * [Fix] Ignore Rmilter added Received
  2097. * [Fix] More fixes for hashed email dnsbls
  2098. * [Fix] Plug memory leak in chartable module
  2099. * [WebUI] Display multiple alerts at once
  2100. 1.5.5:
  2101. * [CritFix] Fix classifier learning with Redis backend
  2102. * [CritFix] Fix issue when parsing encoded rfc822/messages
  2103. * [Feature] Add escaped version of lua_ucl import
  2104. * [Feature] Add task:headers_foreach function
  2105. * [Feature] Allow to process filenames from content type
  2106. * [Feature] Allow to query hashed emails
  2107. * [Feature] Ignore bayes with mostly metatokens or with too few text
  2108. * [Feature] Probabilistically skip metatokens
  2109. * [Feature] Retrieve all virus names from SAVAPI
  2110. * [Feature] Rework classifiers lua metatokens
  2111. * [Feature] Store headers order
  2112. * [Feature] Store text tokens inside bayes tokens
  2113. * [Feature] Use cached shingles keys
  2114. * [Fix] Add missing score normalisation for HFILTER_URL_ONLY
  2115. * [Fix] Avoid lookup in absent hash
  2116. * [Fix] Check return values from Lua functions called from C
  2117. * [Fix] Do not count sending and loading time in rspamc
  2118. * [Fix] Escape json strings for controller rejplies from Lua
  2119. * [Fix] Fix archive scans for savapi
  2120. * [Fix] Fix domain_only emails RBL
  2121. * [Fix] Fix ip_score map configuration
  2122. * [Fix] Fix JSON output for history_redis
  2123. * [Fix] Fix one character length substrings search
  2124. * [Fix] Fix parsing of non-RFC compatible Exim received
  2125. * [Fix] Fix parsing of options for workers with the same type
  2126. * [Fix] Fix processing of small tokens vectors
  2127. * [Fix] Fix rfc2047 tokenization
  2128. * [Fix] Fix typo
  2129. * [Fix] More fixes for inplace decoding
  2130. * [Fix] Try to avoid modifications of the original data
  2131. * [Fix] URL redirector: Fix call to is_redirector
  2132. * [Rework] Set token data as uint64_t instead of chars array
  2133. * [WebUI] Check if neighbours' history backend versions match
  2134. * [WebUI] Disable phrase connectors replacement in history filtering
  2135. * [WebUI] Disable phrase connectors replacement in symbols filtering
  2136. * [WebUI] Do not hide messages with bad subject, just replace it with '???'
  2137. * [WebUI] Fix error message
  2138. * [WebUI] Fix history v2 display
  2139. * [WebUI] Fix legacy history
  2140. * [WebUI] history: break To address lists on commas
  2141. * [WebUI] Increase default timeout to 20 seconds
  2142. * [WebUI] Save some history table space
  2143. 1.5.4:
  2144. * [Conf] Add history_redis default configuration
  2145. * [Feature] Add spoofed rules
  2146. * [Feature] Add URL_IN_SUBJECT rule
  2147. * [Feature] Allow to get task's subject
  2148. * [Feature] Allow to specify maximum number of shots for symbols
  2149. * [Feature] Distinguish URLs found in Subject
  2150. * [Feature] Memoize LPEG grammars
  2151. * [Feature] Parse else parts in SA rules
  2152. * [Feature] Process subject for mixed characters
  2153. * [Feature] Resolve url chains in url_redirector module
  2154. * [Feature] Stat greylisted messages as greylisted not soft-rejected
  2155. * [Feature] Support checking for redirector in Lua SURBL
  2156. * [Feature] Support tag_exists SA function
  2157. * [Feature] Work with broken rfc2047 tokens
  2158. * [Fix] Check all watcher's dependencies
  2159. * [Fix] Do not compile hyperscan with no SSSE3 support
  2160. * [Fix] Do not crash if cannot decode qp encoded part
  2161. * [Fix] Fix dependencies of DKIM when multiple signatures are found
  2162. * [Fix] Fix lists in whitelist plugin
  2163. * [Fix] Fix one-shot symbols weight calculations
  2164. * [Fix] Fix options and shots match
  2165. * [Fix] Fix order of symbol options
  2166. * [Fix] Fix parsing of dot at the end of the address
  2167. * [Fix] Fix parsing of lua table arguments
  2168. * [Fix] Fix processing of subject words
  2169. * [Fix] Fix string split memoization
  2170. * [Fix] Fix templates grammar usage
  2171. * [Fix] Fix various issues related to Lua stack manipulation
  2172. * [Fix] Force actions: Use postfilter if we have honor_action / require_action
  2173. * [Fix] Further fixes to avoid PHISHING FP
  2174. * [Fix] Preserve order of options in symbols
  2175. * [Fix] Rspamadm grep: deal with unusually-formatted logs
  2176. * [Fix] Use hostname suffix when dealing with history
  2177. * [Rework] Remove outdated SA rules
  2178. * [WebUI] Add flexible columns
  2179. * [WebUI] Add footable
  2180. * [WebUI] Add sender, recipients and subject columns
  2181. * [WebUI] Allow message-id break
  2182. * [WebUI] Fix history clustering
  2183. * [WebUI] Fix history display
  2184. * [WebUI] Fix sorting
  2185. * [WebUI] Humanize sizes
  2186. * [WebUI] Initial move towards footable
  2187. * [WebUI] Remove datatables
  2188. * [WebUI] Replace `.values` method with `.map`
  2189. * [WebUI] Rework v2 symbols display
  2190. * [WebUI] Try to normalize frequencies
  2191. * [WebUI] Unbreak WebUI
  2192. * [WebUI] Use Footable to draw Throughput summary table
  2193. 1.5.3:
  2194. * [Conf] Add composite for hacked wordpress phishing
  2195. * [CritFix] Fix base64 decoding when there are unparseable characters
  2196. * [Feature] Additional symbol metadata in metadata exporter
  2197. * [Feature] Add method to get protocol reply from Lua
  2198. * [Feature] Add symbols when tagged rcpt/sender are normalised
  2199. * [Feature] Add task:get_symbols_all() function
  2200. * [Feature] Allow multiple formats of DKIM signing key
  2201. * [Feature] Allow to cache and use flexible protocol reply
  2202. * [Feature] Allow to set one_shot flag from register_symbol
  2203. * [Feature] Allow to skip certain types of hashes when learning fuzzy
  2204. * [Feature] Cache and insert scan time into the protocol
  2205. * [Feature] Detect newlines in rspamc --mime
  2206. * [Feature] DKIM signing: support use of maps
  2207. * [Feature] Greylist: Support excluding low-scoring messages from greylisting
  2208. * [Feature] Implement lua history in controller
  2209. * [Feature] Implement redis history querying
  2210. * [Feature] Preliminary implementation of redis history plugin
  2211. * [Feature] Support using request headers in settings
  2212. * [Fix] Change default template to deal with non-ASCII characters
  2213. * [Fix] Deal with lists of maps in whitelist module
  2214. * [Fix] DKIM signing: use domain-specific signing key
  2215. * [Fix] Do not reallocate completed zstd buffer
  2216. * [Fix] Do not use local_addrs in proxy
  2217. * [Fix] Fix crash when resolver is undefined
  2218. * [Fix] Fix double free when closing lua_tcp connections
  2219. * [Fix] Fix for lua 5.3
  2220. * [Fix] Fix freeing of arrays iterators
  2221. * [Fix] Fix issue with task:get_symbol and symbols with no metric
  2222. * [Fix] Fix log line duplication in `rspamadm grep`
  2223. * [Fix] Fix memory corruption on termination
  2224. * [Fix] Fix out-of-bound access in base64 decode
  2225. * [Fix] Fix ratelimit + greylisting
  2226. * [Fix] Fix subject rewriting
  2227. * [Fix] Fix task:set_recipients function
  2228. * [Fix] Fix URI_COUNT_ODD rule
  2229. * [Fix] Follow the traditional symbols conventions in RCPT_COUNT rule
  2230. * [Fix] Greylist: Suppress greylist action for whitelisted hosts too
  2231. * [Fix] Metadata exporter: use rule-specific settings for emails
  2232. * [Fix] Properly set missing fields in exporter
  2233. * [Fix] Proxy: max_retries option
  2234. * [Fix] RCPT_COUNT fixes
  2235. * [Fix] Rework HAS_X_PRIO rule to match symbols conventions
  2236. * [Fix] Update issues in ac-trie
  2237. * [Fix] Use optimised base64 decoding in DKIM
  2238. * [WebUI] Add preliminary v2 history parser
  2239. * [WebUI] Allow different history parsers
  2240. * [WebUI] Display symbols
  2241. * [WebUI] Rework history v2 function
  2242. 1.5.2:
  2243. * [Conf] Add default config for spamassasssin plugin
  2244. * [Conf] Add default configuration for antivirus module
  2245. * [Conf] Add dkim signing docs
  2246. * [Conf] Add mx_check default config
  2247. * [Conf] Add replies config
  2248. * [Conf] Add trie default config
  2249. * [Feature] Add heuristic to find text parts in files
  2250. * [Feature] Add rule to detect broken content type
  2251. * [Feature] Allow to extract CTE in Lua API
  2252. * [Feature] Allow to set from address for a lua_task
  2253. * [Feature] Allow to set recipients of a task from Lua
  2254. * [Feature] Enchance text_part:get_content method
  2255. * [Feature] Remove + aliases from emails
  2256. * [Feature] Support rmilter block and dkim signature in CGP helper
  2257. * [Feature] Support running event loop from Lua
  2258. * [Fix] Antivirus: use scanner-specific redis prefix
  2259. * [Fix] Couple of fixes for DKIM signing module
  2260. * [Fix] Distinguish missing and broken mandatory headers
  2261. * [Fix] Do more heuristical detection for missing CTE
  2262. * [Fix] Do not resort cache on each check
  2263. * [Fix] Fix CGP escaping
  2264. * [Fix] Fix MISSING_MIME_VERSION rule for plain messages
  2265. * [Fix] Fix parsing of cte in expressions
  2266. * [Fix] Fix partial matches in rspamadm grep
  2267. * [Fix] Fix setting class on style field
  2268. * [WebUI] Auto-switch Throughput units to `msg/min` for very low rate
  2269. * [WebUI] Update D3Evolution to 0.0.2
  2270. 1.5.1:
  2271. * [CritFix] Fix processing of stop_patterns with `\0` character
  2272. * [CritFix] Fix setting of raw key for signing
  2273. * [Fix] Fix lua exports from plugins during reload
  2274. * [Fix] Fix prefilters action scores
  2275. * [Fix] Fix symbols processing order
  2276. * [Minor] Help cmake find gthread
  2277. * [Minor] Some cmake fixes
  2278. 1.5.0:
  2279. * [Conf] Add configurations for asn, clickhouse and dcc
  2280. * [Conf] Add default config for url redirector plugin
  2281. * [Conf] Add the default config for greylist module
  2282. * [Conf] Allow to edit all local maps from WebUI by default
  2283. * [CritFix] Deal with absent headers in DKIM
  2284. * [CritFix] Do not trust remote shingles count
  2285. * [CritFix] Fix bad memory leak in TLS certificates validation
  2286. * [CritFix] Fix critical memory issues with radix maps
  2287. * [CritFix] Fix descriptors leak on reload
  2288. * [CritFix] Fix headers selection in DKIM verification
  2289. * [CritFix] Fix parsing of boundaries that end with `--`
  2290. * [CritFix] Repair PTR_ARRAY_FOREACH macro
  2291. * [Feature] Add CORS support to the controller
  2292. * [Feature] Add FROM_NAME_EXCESS_SPACE rule
  2293. * [Feature] Add REPLYTO_EMAIL_HAS_TITLE rule
  2294. * [Feature] Add `caseless_hash` method to `lua_util`
  2295. * [Feature] Add `rip` keyword to ratelimit module
  2296. * [Feature] Add a simple benchmark for content type parsing
  2297. * [Feature] Add boundaries parsing in content type
  2298. * [Feature] Add charset detection for text parts
  2299. * [Feature] Add content disposition parser
  2300. * [Feature] Add fallback if too many updates are failing
  2301. * [Feature] Add function to convert struct tm to time using timezone
  2302. * [Feature] Add function to normalize HTTP paths
  2303. * [Feature] Add fuzzy collection plugin
  2304. * [Feature] Add fuzzy logic for images
  2305. * [Feature] Add gmime parser to mime_tool
  2306. * [Feature] Add heuristic to detect broken messages
  2307. * [Feature] Add heuristic to find displayed URLs
  2308. * [Feature] Add heuristic to process broken email addresses
  2309. * [Feature] Add images normalization
  2310. * [Feature] Add mechanism for disabling composites (Fixes #1270)
  2311. * [Feature] Add method to create regexp from a glob pattern
  2312. * [Feature] Add mime encoding manipulation routines
  2313. * [Feature] Add mime tool to explore messages
  2314. * [Feature] Add more meta tokens from received headers
  2315. * [Feature] Add neighbours option to support Rspamd cluster in WebUI
  2316. * [Feature] Add new function to parse mime addresses
  2317. * [Feature] Add new methods for lua_tcp
  2318. * [Feature] Add own headers decoding routine
  2319. * [Feature] Add own routine to generate a message id
  2320. * [Feature] Add parser for SMTP date
  2321. * [Feature] Add per-task lua cache to reuse 'heavy' objects
  2322. * [Feature] Add plugins list path in WebUI
  2323. * [Feature] Add preliminary multipart support
  2324. * [Feature] Add preliminary version of DKIM signing module
  2325. * [Feature] Add profiling support in client output
  2326. * [Feature] Add rfc2047 grammar
  2327. * [Feature] Add rfc2047 variant for QP decoding
  2328. * [Feature] Add rmilter_headers module (Fixes #1227)
  2329. * [Feature] Add sse42 version of base64 decoding
  2330. * [Feature] Add ssse3 and avx2 base64 decoders
  2331. * [Feature] Add support of libgd
  2332. * [Feature] Add the preliminary version of redirects resolver in Lua
  2333. * [Feature] Add ucl_object_iterate_full function
  2334. * [Feature] Add url encoding function
  2335. * [Feature] Allow SOA requests in lua dns
  2336. * [Feature] Allow custom parse types in lua ucl
  2337. * [Feature] Allow plugins to register webui handlers
  2338. * [Feature] Allow to add options explicitly to symbols
  2339. * [Feature] Allow to call a callback when symbol frequency is on peak
  2340. * [Feature] Allow to call redirector script from SURBL
  2341. * [Feature] Allow to create variable length dkim keys
  2342. * [Feature] Allow to have module specific options for Redis in plugins
  2343. * [Feature] Allow to pass sign key directly from Lua
  2344. * [Feature] Allow to register configuration docs from Lua API
  2345. * [Feature] Allow to return options as a table
  2346. * [Feature] Allow to set peak callbacks from Lua
  2347. * [Feature] Allow to specify custom method for a message
  2348. * [Feature] Allow to store dkim keys in Redis
  2349. * [Feature] Allow to store messages in files
  2350. * [Feature] Apply DCT using AAN for fuzzy signature
  2351. * [Feature] Avira SAVAPI support
  2352. * [Feature] Cache and simplify DCT and jpeg decode
  2353. * [Feature] Cache libicu converters
  2354. * [Feature] Detect URLs with suspicious omographs
  2355. * [Feature] Do not increase score for duplicate options
  2356. * [Feature] Do not trust CTE, check base64 and qp strictly
  2357. * [Feature] Dynamic reputation in URL reputation plugin
  2358. * [Feature] Extend redis lock when learning spawned
  2359. * [Feature] Filter non-utf chars from all decoded headers
  2360. * [Feature] Fix phishing detection for IDNA urls
  2361. * [Feature] Ignore bad symbols on base64 decoding
  2362. * [Feature] Ignore too wide elements in SPF
  2363. * [Feature] Implement fuzzy collection mode
  2364. * [Feature] Implement helo maps in multimap
  2365. * [Feature] Implement human readable buckets configuration
  2366. * [Feature] Implement min-hash shingles for DCT data from images
  2367. * [Feature] Implement new algorithm for fuzzy hashes of images
  2368. * [Feature] Implement new unicode normalizer
  2369. * [Feature] Implement quoted printable decoding
  2370. * [Feature] Implement received headers flags
  2371. * [Feature] Implement rspamdgrep tool
  2372. * [Feature] Implement sane checksum for config file
  2373. * [Feature] Implement url tags concept
  2374. * [Feature] Improve detection of omographs using libicu
  2375. * [Feature] Improve url redirector module
  2376. * [Feature] Multimap: Received header processing
  2377. * [Feature] Multiple improvements in the maps
  2378. * [Feature] New URL filters in multimap
  2379. * [Feature] Plugin to force actions on selected symbols
  2380. * [Feature] RBL module: support hashing for emails and helo RBL
  2381. * [Feature] Reuse URL tags in SURBL module
  2382. * [Feature] Rework RRD ds count, add conversion path
  2383. * [Feature] Rework surbl module to avoid extra redirector calls
  2384. * [Feature] Send config id to the WebUI
  2385. * [Feature] Simplify HTTPCrypt client support
  2386. * [Feature] Skip processing for large images
  2387. * [Feature] Start collection only mode implementation for fuzzy storage
  2388. * [Feature] Start import of the optimized base64 decode
  2389. * [Feature] Store all received headers in lua
  2390. * [Feature] Store relational order of all headers in a message
  2391. * [Feature] Support DKIM signing in Lua plugins
  2392. * [Feature] Support HTTPCrypt client in lua_http
  2393. * [Feature] Support setting SMTP message in multimap
  2394. * [Feature] Support setting metric subject from Lua
  2395. * [Feature] Support setting subject in force actions module
  2396. * [Feature] Treat v6 mapped addresses as v4 addresses
  2397. * [Feature] URL reputation plugin
  2398. * [Feature] Use Redis instead of memcached in URLs redirector
  2399. * [Feature] Use Rspamd rfc2047 decoder instead of gmime one
  2400. * [Feature] Use a different normalization for fuzzy images
  2401. * [Feature] Use normalized images in fuzzy hashes
  2402. * [Feature] Use own code for parsing of date
  2403. * [Feature] Use shingles for images fuzzying
  2404. * [Feature] Use t1ha for hashes, allow inlining
  2405. * [Feature] Use t1ha instead of metrohash and xxhash32
  2406. * [Feature] Various new features in metadata exporter module
  2407. * [Feature] rmilter_headers: authentication-results (#78)
  2408. * [Fix] Add additional check to mark redis connection inactive
  2409. * [Fix] Add packed attribute for protocol structure
  2410. * [Fix] Adopt OMOGRAPH_URL rule
  2411. * [Fix] Allow static maps
  2412. * [Fix] Allow to disable classifiers checks using settings and conditions
  2413. * [Fix] Another try to fix 0 length maps
  2414. * [Fix] Another try to fix corruption during maps reload
  2415. * [Fix] Another try to fix descriptors leak
  2416. * [Fix] Another try to fix reload and logger
  2417. * [Fix] Antivirus module: register virtual symbols for patterns
  2418. * [Fix] Avoid extensive reallocs
  2419. * [Fix] Avoid mempool leak in SA plugin on reload
  2420. * [Fix] Avoid race condition on saving cache and reload
  2421. * [Fix] Avoid reusing g_error (Fixes #1262)
  2422. * [Fix] Break pool connection on fatal redis errors
  2423. * [Fix] Check for NaN properly
  2424. * [Fix] Couple of fixes for date parsing
  2425. * [Fix] Date header timezone adjustments (#1279)
  2426. * [Fix] Deal with EOF properly
  2427. * [Fix] Decode filename in content disposition
  2428. * [Fix] Disable fuzzy images by default
  2429. * [Fix] Disable zero-copy mode for text parts to avoid crashes
  2430. * [Fix] Do not destroy session when not all finish scripts are done
  2431. * [Fix] Do not greyscale images
  2432. * [Fix] Do not leave parent-less workers processes on fatal errors
  2433. * [Fix] Do not lowercase Content-Disposition to perform decoding
  2434. * [Fix] Do not penalize characters just after numeric prefix
  2435. * [Fix] Do not refork workers that are intended to die
  2436. * [Fix] Do not set pre-result and update records for no `Queue-ID` messages
  2437. * [Fix] Do not skip post-filters when pre-filters have set some results
  2438. * [Fix] Do not stop symbols planning if async events are pending
  2439. * [Fix] Do not try to set keys for unencrypted requests in proxy
  2440. * [Fix] Encode URLs according to rfc3986
  2441. * [Fix] Encode URLs before sending them to the protocol
  2442. * [Fix] Filter bad characters from message id
  2443. * [Fix] Fix CTE detection heuristic
  2444. * [Fix] Fix Content-Type in HTTP requests
  2445. * [Fix] Fix IDN eslds phishing checks
  2446. * [Fix] Fix adding maps from config in Lua
  2447. * [Fix] Fix another reload memory issue
  2448. * [Fix] Fix argument returned on redis backend errors
  2449. * [Fix] Fix assertion in graph handling
  2450. * [Fix] Fix body trie matching
  2451. * [Fix] Fix build
  2452. * [Fix] Fix byte array expansion during toutf8 conversion
  2453. * [Fix] Fix charset normalisation
  2454. * [Fix] Fix checking of DKIM bodies that needs just `\n` to be added
  2455. * [Fix] Fix couple of cornercases with email addresses
  2456. * [Fix] Fix couple of issues
  2457. * [Fix] Fix dependencies tracking for callback symbols
  2458. * [Fix] Fix detection of jpeg size
  2459. * [Fix] Fix errors handling in fuzzy backend initialization
  2460. * [Fix] Fix fuzzy hashes count
  2461. * [Fix] Fix globbing and convert lists to arrays in fuzzy_check
  2462. * [Fix] Fix heuristical CTE detection for QP encoding
  2463. * [Fix] Fix ignoring of bad text parts
  2464. * [Fix] Fix indexes in array access, interleave loop
  2465. * [Fix] Fix int64 -> double conversion
  2466. * [Fix] Fix invalid memory access on reload
  2467. * [Fix] Fix issues with empty updates
  2468. * [Fix] Fix issues with quoted-printable encoding
  2469. * [Fix] Fix keys names
  2470. * [Fix] Fix lots of issues in mime parser code
  2471. * [Fix] Fix lua maps load
  2472. * [Fix] Fix macro name
  2473. * [Fix] Fix mas group score calculations
  2474. * [Fix] Fix matching of the same patterns from different tries
  2475. * [Fix] Fix memory corruprtion and leak
  2476. * [Fix] Fix memory leak in HTTP maps
  2477. * [Fix] Fix memory leak in expression destroying
  2478. * [Fix] Fix memory leak in parsing of mime names
  2479. * [Fix] Fix memory leak in safe ucl iterators
  2480. * [Fix] Fix memory leak on reload in plugins
  2481. * [Fix] Fix modules reconfigure on reload
  2482. * [Fix] Fix monitored setup fro URLBLs with IP addresses
  2483. * [Fix] Fix name of var
  2484. * [Fix] Fix new rrd updates
  2485. * [Fix] Fix out of bounds access
  2486. * [Fix] Fix parsing messages with no body
  2487. * [Fix] Fix parsing of '=' character in headers
  2488. * [Fix] Fix parsing of messages with no content type
  2489. * [Fix] Fix plugins callbacks in webui
  2490. * [Fix] Fix possible memory corruption in redis pool
  2491. * [Fix] Fix probability calculations for fuzzy redis backend
  2492. * [Fix] Fix processing errors in lua_tcp
  2493. * [Fix] Fix processing of emails with name only
  2494. * [Fix] Fix processing of non-multipart messages
  2495. * [Fix] Fix processing of parts with no valid content type
  2496. * [Fix] Fix race condition in SIGUSR2 handler
  2497. * [Fix] Fix redis options parsing when no redis servers are defined
  2498. * [Fix] Fix reload and hyperscan ready event
  2499. * [Fix] Fix reload memory issue
  2500. * [Fix] Fix rra_ptr conversion
  2501. * [Fix] Fix rrd file conversion
  2502. * [Fix] Fix setting of content-type attributes
  2503. * [Fix] Fix signing headers creation in DKIM
  2504. * [Fix] Fix stddev calculations
  2505. * [Fix] Fix surbl plugin to work with composite maps
  2506. * [Fix] Fix timezones parsing
  2507. * [Fix] Fix tokens usage
  2508. * [Fix] Fix urls and emails hashes
  2509. * [Fix] Fix usage of unsafe ucl iterators
  2510. * [Fix] Fix work with broken utf8 tokens
  2511. * [Fix] Fix writing of user to roll history
  2512. * [Fix] Forgotten worker
  2513. * [Fix] Further memory leaks fixes
  2514. * [Fix] Ignore lua metatokens in bayes for now
  2515. * [Fix] Improve OMOGRAPH_URL rule
  2516. * [Fix] Lua IP from string should be invalid if parsing failed
  2517. * [Fix] Miltiple fixes to new lua_tcp, add debugging
  2518. * [Fix] More fixes for iterators cleanup
  2519. * [Fix] More fixes to logger initialization
  2520. * [Fix] More heuristic fixes for phishing detection
  2521. * [Fix] More leaks eliminated
  2522. * [Fix] More leaks...
  2523. * [Fix] More random fixes for reload...
  2524. * [Fix] Multimap: Fixes for email filters
  2525. * [Fix] Multiple fixes for fann module
  2526. * [Fix] Multiple memory corruption fixes
  2527. * [Fix] Normalize path in HTTP router
  2528. * [Fix] Plug memory leak
  2529. * [Fix] Plug memory leak in adding radix trees
  2530. * [Fix] Plug memory leak in configuration parser
  2531. * [Fix] Plug memory leak in expressions parsing during reload
  2532. * [Fix] Plug memory leak in learning fuzzy storage
  2533. * [Fix] Plug memory leak in lua_tcp
  2534. * [Fix] Plug reload leaks
  2535. * [Fix] Plug termination memory leaks
  2536. * [Fix] Really increase lock lifetime
  2537. * [Fix] Replies module: fix symbol weight
  2538. * [Fix] Restore content type params related functions
  2539. * [Fix] Set task's subject from mime subject
  2540. * [Fix] Sigh, one more reload leak
  2541. * [Fix] Simplify images shingles
  2542. * [Fix] Some more memory issues are fixed
  2543. * [Fix] Stop hardcoding of lua in C
  2544. * [Fix] Stop processing of bad parts as text parts
  2545. * [Fix] Strictly filter bad characters when emittin json
  2546. * [Fix] Strings returned from lua are ephemeral
  2547. * [Fix] Support unix sockets for lua redis
  2548. * [Fix] Try to fix issues with reloading config
  2549. * [Fix] Try to fix race condition in redis_pool
  2550. * [Fix] Use checksum to avoid intersection between different ANNs
  2551. * [Fix] Use rspamd hashes in embedded ucl
  2552. * [Fix] Use sane default rewrite subject (*** SPAM *** %s)
  2553. * [Fix] Various collection mode fixes
  2554. * [Fix] Various fixes to mime parser
  2555. * [Fix] Various reload leak fixing
  2556. * [Fix] Whitelist certain extensions from archive checks
  2557. * [Rework] Add preliminary implementation of the mime parser
  2558. * [Rework] Adopt code for the new options
  2559. * [Rework] Change logger setup interface
  2560. * [Rework] Composite configuration (#1270)
  2561. * [Rework] Finally remove gmime dependency from Rspamd
  2562. * [Rework] Further fixes to symbols frequencies
  2563. * [Rework] Implement content type parser for mime
  2564. * [Rework] Kill all InternetAddressList usages
  2565. * [Rework] Multiple fixes for symbols cache statistics
  2566. * [Rework] Refactor struct names
  2567. * [Rework] Rework images fuzzy hashes algorithm
  2568. * [Rework] Rework lua_tcp to allow TCP dialog
  2569. * [Rework] Start massive rework to get rid of gmime
  2570. * [Rework] Start new approach for multiparts parsing
  2571. * [Rework] Start rework of mime addresses
  2572. * [Rework] Start rework of symbols cache updates
  2573. * [Rework] Start switching to libicu
  2574. * [Rework] Use a special structure for stats tokens
  2575. * [Rework] Use hash tables for symbols options
  2576. * [Rework] Use libicu instead of iconv for conversions
  2577. * [Rework] Use new scheme to parse mime parts
  2578. * [WebUI] Add Access-Control-Allow-Origin for cluster management
  2579. * [WebUI] Add Throughput graph autorefreshing (#820)
  2580. * [WebUI] Add Visibility.js library
  2581. * [WebUI] Add basic cluster support to Throughput tab
  2582. * [WebUI] Add graph legend entries for new DSes
  2583. * [WebUI] Add graph tab
  2584. * [WebUI] Add neighbours RRD data consolidation
  2585. * [WebUI] Add preliminary save symbols clustering
  2586. * [WebUI] Add server selector to navbar
  2587. * [WebUI] Add soft reject to auth stats
  2588. * [WebUI] Add summary to the Throughput tab
  2589. * [WebUI] Allow to save maps on the cluster
  2590. * [WebUI] Avoid extra graph redraw and alerts glitching
  2591. * [WebUI] Be more generous with AJAX timeout
  2592. * [WebUI] Disable error ring loading in `read only` mode
  2593. * [WebUI] Enclose table header cells with `tr`s
  2594. * [WebUI] Finish interface rework
  2595. * [WebUI] Fix RRD summary pie chart position
  2596. * [WebUI] Fix `All SERVERS` graph fot just one available server
  2597. * [WebUI] Fix case when no cluster is defined
  2598. * [WebUI] Fix compatibility with non-ES6 compliant browsers
  2599. * [WebUI] Fix config ID
  2600. * [WebUI] Fix configuration page partially
  2601. * [WebUI] Fix disabled state
  2602. * [WebUI] Fix graph dataset selector initialization
  2603. * [WebUI] Fix graph selectors state resetting
  2604. * [WebUI] Fix mouse events on throughput summary table area
  2605. * [WebUI] Fix multiple JS issues
  2606. * [WebUI] Fix pie chart displaying
  2607. * [WebUI] Fix read only
  2608. * [WebUI] Fix read only2
  2609. * [WebUI] Fix retarded datatables
  2610. * [WebUI] Fix soft reject in pie chart
  2611. * [WebUI] Fix stat widgets timers multiplication on `Refresh` click
  2612. * [WebUI] Fix symbols config
  2613. * [WebUI] Fix various errors with login form
  2614. * [WebUI] Further fixes
  2615. * [WebUI] Hide learning tab in read-only mode
  2616. * [WebUI] Initial clusters support
  2617. * [WebUI] Make legend entry colours more contrast
  2618. * [WebUI] Move configuration tab to a separate module
  2619. * [WebUI] Move history tab
  2620. * [WebUI] Move symbols config as well
  2621. * [WebUI] New sec to time function
  2622. * [WebUI] Prevent multiple clicks on `Refresh`
  2623. * [WebUI] RRD summary: Hide inner labels of tiny pie sectors
  2624. * [WebUI] RRD summary: Respect undefined values
  2625. * [WebUI] Reduce font size of graph's legend
  2626. * [WebUI] Remove orphaned font duplicates
  2627. * [WebUI] Remove unused code
  2628. * [WebUI] Replace spinner with animated glyphicon
  2629. * [WebUI] Reset refresh timer on server switching
  2630. * [WebUI] Rework interface to use requirejs
  2631. * [WebUI] Rework neighbours query function
  2632. * [WebUI] Separate attributes by space
  2633. * [WebUI] Set focus to password field (#1230)
  2634. * [WebUI] Simplify neighbours table populating
  2635. * [WebUI] Start rework of modules
  2636. * [WebUI] Stop stats refreshing if the page is hidden
  2637. * [WebUI] Turn d3pie's stuff into a reusable function,
  2638. * [WebUI] Unify send data functions
  2639. * [WebUI] Update D3Evolution to 0.0.1
  2640. * [WebUI] Update d3.js
  2641. * [WebUI] Update datatables to work with the requirejs
  2642. * [WebUI] Use unified tab click event handler,
  2643. * [WebUI] clusters for the chart
  2644. * [WebUI] fix uptime
  2645. 1.4.2:
  2646. * [CritFix] Deal with absent headers in DKIM
  2647. * [CritFix] Do not trust remote shingles count
  2648. * [CritFix] Fix headers selection in DKIM verification
  2649. * [Feature] Add EXT_CSS rule
  2650. * [Feature] Add toggle for disabling SURBLs
  2651. * [Feature] Extend redis lock when learning spawned
  2652. * [Feature] Parse <link> HTML tags
  2653. * [Fix] Avoid reusing g_error (Fixes #1262)
  2654. * [Fix] Do not reset loaded ANN when learning is requested
  2655. * [Fix] Fix another issue with external deps in SA
  2656. * [Fix] Fix body trie matching
  2657. * [Fix] Fix checking of DKIM bodies that needs just `\n` to be added
  2658. * [Fix] Fix fuzzy hashes count
  2659. * [Fix] Fix keys names
  2660. * [Fix] Fix length calculations for url encoded urls
  2661. * [Fix] Fix matching of the same patterns from different tries
  2662. * [Fix] Fix name of var
  2663. * [Fix] Fix parsing of URLs with spaces and other bad chars
  2664. * [Fix] Fix probability calculations for fuzzy redis backend
  2665. * [Fix] Fix signing headers creation in DKIM
  2666. * [Fix] Plug memory leak
  2667. * [Fix] Really fix chained SA dependencies
  2668. * [Fix] Really increase lock lifetime
  2669. * [Fix] Use checksum to avoid intersection between different ANNs
  2670. * [Fix] Use rspamd hashes in embedded ucl
  2671. * [Fix] Yet another change for testing external deps
  2672. 1.4.1:
  2673. * [Feature] ASN support in Clickhouse module
  2674. * [Feature] Add clickhouse plugin
  2675. * [Feature] Add generic tool to add universal maps for lua modules
  2676. * [Feature] Add logger.debugm to debug lua modules
  2677. * [Feature] Allow to register metrics symbols using register_symbol
  2678. * [Feature] Allow to specify prefix for fann_redis
  2679. * [Feature] Clickhouse: support different masks for IPv4/IPv6
  2680. * [Feature] Support forcing action in antivirus plugin
  2681. * [Fix] Add handling of regexp maps
  2682. * [Fix] Allow backslashes in http urls
  2683. * [Fix] Avoid mapping of empty files
  2684. * [Fix] Do not load tld file to speed up rspamadm
  2685. * [Fix] Do not resolve numeric IP addresses due to ipv6 insanity
  2686. * [Fix] Filter incorrect training data
  2687. * [Fix] Fix Fuzzyconvert tool when password or DB is given
  2688. * [Fix] Fix build with custom glib/gmime
  2689. * [Fix] Fix converting of learn count from sqlite to redis
  2690. * [Fix] Fix crashes with invalid received and task:set_from_ip
  2691. * [Fix] Fix external dependencies for SA module
  2692. * [Fix] Fix fann_redis when number of scores has been changed
  2693. * [Fix] Fix hyperscan usage for non compatible platforms
  2694. * [Fix] Fix loading of maps from UCL objects
  2695. * [Fix] Fix memory leak for task-less redis requests
  2696. * [Fix] Fix mid module with new maps syntax
  2697. * [Fix] Fix parsing of URLs with username
  2698. * [Fix] Fix re cache initialisation
  2699. * [Fix] Fix replacements to sanitize '%' character
  2700. * [Fix] Fix set and regexp like static maps
  2701. * [Fix] Fix some issues in redis settings
  2702. * [Fix] Fix static IP maps
  2703. * [Fix] Fix total learns counter for redis stats
  2704. * [Fix] Fix usage of config during reload
  2705. * [Fix] Fix various warnings and issues
  2706. * [Fix] Invalidate ANN if training data is incorrect
  2707. * [Fix] Miltiple fixes to fann_redis module
  2708. * [Fix] More fixes for URLs with backslashes
  2709. * [Fix] Properly get options for ip_score module
  2710. * [Fix] Relax requirements for Received as gmail cannot RFC
  2711. * [Fix] Remove or fix hyperscan incompatible regexps
  2712. * [Fix] Settings: correctly read redis config
  2713. * [Rework] Rework lua logger interface slightly
  2714. * [Rework] Use new maps add function
  2715. 1.4.0:
  2716. * [CritFix] Add guards for inactive redis connections
  2717. * [CritFix] Another fix for proxying files using rspamd_proxy
  2718. * [CritFix] Cleanup inactive redis connections
  2719. * [CritFix] Do not sometimes try to exec posfilters before classification
  2720. * [CritFix] Fix application of IPv6 mask
  2721. * [CritFix] Fix chunked encoding when reading messages
  2722. * [CritFix] Fix file mode for rspamd_proxy
  2723. * [CritFix] Fix hyperscan compilation on regexp change
  2724. * [CritFix] Fix issue with finding of end of lines pointers
  2725. * [CritFix] Fix iteration over headers array (introduced in 1.4)
  2726. * [CritFix] Fix processing of learned tokens count for redis backend
  2727. * [CritFix] Fix race condition in checking of cached maps
  2728. * [CritFix] Fix workers scripts by sharing workers configs
  2729. * [CritFix] Introduce raw content to text parts
  2730. * [CritFix] Plug memory leak and potential memory corruption
  2731. * [Feature] Adaptive ratelimits
  2732. * [Feature] Add ASN -> rbldnsd script for asn.rspamd.com
  2733. * [Feature] Add DMARC_NA symbol
  2734. * [Feature] Add F-Prot support to antivirus module
  2735. * [Feature] Add HTTP backend to metadata exporter
  2736. * [Feature] Add Lua API module for monitored objects
  2737. * [Feature] Add R_DKIM_NA / R_SPF_NA / AUTH_NA symbols
  2738. * [Feature] Add R_DKIM_PERMFAIL symbol
  2739. * [Feature] Add R_SPF_PERMFAIL symbol
  2740. * [Feature] Add Sophos antivirus support
  2741. * [Feature] Add ZSTD compression to Lua API
  2742. * [Feature] Add `mid` Lua module
  2743. * [Feature] Add `one_param` flag for metric symbols
  2744. * [Feature] Add a generic lua classifier
  2745. * [Feature] Add a very basic interface to access workers data from on_load
  2746. * [Feature] Add ability to delete a hash by its data to fuzzy_check plugin
  2747. * [Feature] Add ability to enable/disable symbols via dynamic_conf
  2748. * [Feature] Add ability to lookup settings by key
  2749. * [Feature] Add common way to disable Lua modules
  2750. * [Feature] Add compression support to rspamd client
  2751. * [Feature] Add condition to do antiviral check
  2752. * [Feature] Add configuration for lua classifiers
  2753. * [Feature] Add configuration knobs for the errors circular buffer
  2754. * [Feature] Add decompression support in rspamd client
  2755. * [Feature] Add errors exporter to the controller
  2756. * [Feature] Add expected value for monitored DNS resources
  2757. * [Feature] Add exporter from error ringbuf to ucl
  2758. * [Feature] Add extended version for fann creation function
  2759. * [Feature] Add ffi friendly version of process_regexp function
  2760. * [Feature] Add frequency and time display to webui
  2761. * [Feature] Add fuzzy_delhash command to rspamc client
  2762. * [Feature] Add implementation of redis connections pool
  2763. * [Feature] Add latency and offline time monitoring
  2764. * [Feature] Add learning support for lua classifiers
  2765. * [Feature] Add max-size and timeout options to CGP helper
  2766. * [Feature] Add method to enable/disable symbols in config
  2767. * [Feature] Add methods to get metric's actions and symbols from Lua
  2768. * [Feature] Add mmap support to lua_text
  2769. * [Feature] Add monitored object for surbl plugin
  2770. * [Feature] Add more exceptions to surbl whitelist
  2771. * [Feature] Add more meta-tokens to bayes
  2772. * [Feature] Add neural net classifier to fann_scores module
  2773. * [Feature] Add neural net serialization/deserialization
  2774. * [Feature] Add new dynamic conf module
  2775. * [Feature] Add periodic events support for lua_config
  2776. * [Feature] Add plugin to check MX'es for the sender's domain
  2777. * [Feature] Add preliminary monitored module
  2778. * [Feature] Add preliminary support of dynamic conf updates in Redis
  2779. * [Feature] Add preliminary version of clamav plugin
  2780. * [Feature] Add redis cache to asn module
  2781. * [Feature] Add replies compression
  2782. * [Feature] Add spamhaus DROP dnsbl
  2783. * [Feature] Add support for dictionary in client compression
  2784. * [Feature] Add support for fuzzy learn and unlearn from lua
  2785. * [Feature] Add support for input encryption
  2786. * [Feature] Add support of min_learns to neural net classifier
  2787. * [Feature] Add termination callbacks for workers
  2788. * [Feature] Add user-agent for rspamc
  2789. * [Feature] Add utility to perform classifier tests
  2790. * [Feature] Add zstd compression library
  2791. * [Feature] Allow HTTPS requests in lua_http
  2792. * [Feature] Allow conditions for pre and postfilters
  2793. * [Feature] Allow custom functions for ratelimits
  2794. * [Feature] Allow for excluding messages from AV scanning based on size
  2795. * [Feature] Allow for getting worker stats from Lua
  2796. * [Feature] Allow getting task UID from Lua
  2797. * [Feature] Allow parsing of mailbox messages from the commandline
  2798. * [Feature] Allow plugins to publish their lua API via rspamd_plugins
  2799. * [Feature] Allow to compare other systems with Rspamd
  2800. * [Feature] Allow to execute Lua scripts by controller
  2801. * [Feature] Allow to have a function to set custom greylist message
  2802. * [Feature] Allow to iterate over multiple tags
  2803. * [Feature] Allow to pass extra data from plugins to log helper
  2804. * [Feature] Allow to plan new periodics at different time
  2805. * [Feature] Allow to reset hashes
  2806. * [Feature] Allow to run rspamadm lua just as a lua interpreter
  2807. * [Feature] Allow to store settings in redis
  2808. * [Feature] Allow to update dynamic conf in Redis
  2809. * [Feature] Allow to use dictionaries for compression
  2810. * [Feature] Allow to use md5, sha1, sha256, sha384 and sha512 hashes in Lua
  2811. * [Feature] Allow whitelisting by IP for greylisting plugin
  2812. * [Feature] Antivirus: Support whitelists & pattern-matching sig names
  2813. * [Feature] Backport pack/unpack routines from Lua 5.3
  2814. * [Feature] Check settings with equal priopities in alphabetical order
  2815. * [Feature] Compress neural net in redis
  2816. * [Feature] Consider more tags when doing WHITE_ON_WHITE rule
  2817. * [Feature] Descriptive options for DMARC failure symbols
  2818. * [Feature] Descriptive options for RBL symbols
  2819. * [Feature] Enable configuration for monitored objects
  2820. * [Feature] Execute on_load scripts with ev_base ready
  2821. * [Feature] Fann scores now uses metadata from a message
  2822. * [Feature] Implement FANN threaded learning
  2823. * [Feature] Implement classifying for lua classifiers
  2824. * [Feature] Implement finish scripts for worker processes
  2825. * [Feature] Implement monitoring for DNS resources
  2826. * [Feature] Implement real priorities for pre and post filters
  2827. * [Feature] Insert two symbols: FANN_HAM and FANN_SPAM instead of one
  2828. * [Feature] Module to push metadata/messages to redis pubsub
  2829. * [Feature] Monitor RBL records
  2830. * [Feature] Move fann_classifier to a separate plugin
  2831. * [Feature] Normalize all ANN inputs
  2832. * [Feature] Preliminary version of metric exporter module
  2833. * [Feature] Preserve decompression context between tasks
  2834. * [Feature] Ratelimit: Support dynamic bucket size/leak rate
  2835. * [Feature] Relax FORGED_RECIPIENTS: allow senders to BCC themselves
  2836. * [Feature] Remove symbols weights on composites processing
  2837. * [Feature] Return symbol scores when getting resulting symbols
  2838. * [Feature] Rework lua tcp module
  2839. * [Feature] Rule to detect some obvious X-PHP-Originating-Script forgeries
  2840. * [Feature] Rule to identify some X-PHP-Script forgeries
  2841. * [Feature] Rules for scoring Google Message-ID fixes
  2842. * [Feature] Send hashes values to reply
  2843. * [Feature] Set expire for dmarc reports
  2844. * [Feature] Stop using cymru zone as it is unstable
  2845. * [Feature] Stop using of GLists for headers, improve performance
  2846. * [Feature] Store `for` in task:get_received_headers
  2847. * [Feature] Store `for` part in received headers
  2848. * [Feature] Store enabled flag for webui session
  2849. * [Feature] Store error messages in ring buffer
  2850. * [Feature] Support compressed maps
  2851. * [Feature] Support excluding selected users from ratelimits
  2852. * [Feature] Support looking up NS records in lua_dns
  2853. * [Feature] Support modern style SURBL configuration
  2854. * [Feature] Support multiple hashes in delhash path
  2855. * [Feature] Support new messages in rspamc
  2856. * [Feature] Support requests without reads in lua_tcp
  2857. * [Feature] Support setting task message from Lua
  2858. * [Feature] Track visibility of HTML elements
  2859. * [Feature] Try to add CRLF when checking DKIM
  2860. * [Feature] Try to guess line endings when folding headers
  2861. * [Feature] Try to improve normalization function for bayes
  2862. * [Feature] Use FFI to optimize SA module
  2863. * [Feature] Use length based arguments for redis, allow lua_text as arg
  2864. * [Feature] Use more layers for fann and another normalization
  2865. * [Feature] User-defined ratelimits
  2866. * [Feature] Utility to convert fuzzy storage from sqlite to redis
  2867. * [Feature] Yield DMARC_DNSFAIL on lookup failure
  2868. * [Fix] Adopt fuzzy storage for flexible backends
  2869. * [Fix] Allow plain IP addresses in Rspamd maps
  2870. * [Fix] Another fix for brain-damaged hiredis
  2871. * [Fix] Another fix for rdns write errors
  2872. * [Fix] Another fix for rdns_make_request_full invocation
  2873. * [Fix] Another fix in DKIM canonicalization
  2874. * [Fix] Another memory leak plugged
  2875. * [Fix] Another try to deal with posix idiotizm
  2876. * [Fix] Another try to fix RDNS events processing logic
  2877. * [Fix] Avoid double frees in HEAD requests
  2878. * [Fix] Avoid extra symbols for RBLs
  2879. * [Fix] Banish table.maxn from Lua parts
  2880. * [Fix] Check for socket error before connection in lua_tcp
  2881. * [Fix] Correctly propagate redis timeouts to Lua
  2882. * [Fix] Do not add extra newline in MIME mode
  2883. * [Fix] Do not be cheated by system hiredis
  2884. * [Fix] Do not classify when a message has not enough tokens
  2885. * [Fix] Do not crash on redis errors
  2886. * [Fix] Do not distinguish NXDOMAIN and NOREC for monitored
  2887. * [Fix] Do not replan retransmits if merely one server is defined
  2888. * [Fix] Do not use headers to calculate messages digests
  2889. * [Fix] Don't force action in replies module for authenticated users/local networks
  2890. * [Fix] Explicitly ban default passwords in webui
  2891. * [Fix] Finally fix ambiguity between parsed and resolved spf elts
  2892. * [Fix] Fix 'decoded' value in task:get_header_full()
  2893. * [Fix] Fix DKIM calculations
  2894. * [Fix] Fix DKIM signing for messages with no newline at the end
  2895. * [Fix] Fix DNS request in monitored
  2896. * [Fix] Fix DNS write errors processing
  2897. * [Fix] Fix HTTP methods other than GET and POST
  2898. * [Fix] Fix PERMFAIL for v6/v4 ambiguities
  2899. * [Fix] Fix absurdic scores for HFILTER_URL_ONLY
  2900. * [Fix] Fix actions in rolling history
  2901. * [Fix] Fix actrie patterns
  2902. * [Fix] Fix applying of lua dynamic confg
  2903. * [Fix] Fix autolearning errors and redis cache
  2904. * [Fix] Fix bayes learn_condition
  2905. * [Fix] Fix build with the recent OpenSSL
  2906. * [Fix] Fix caching and compressed maps
  2907. * [Fix] Fix check plain text part
  2908. * [Fix] Fix crash on OpenBSD in `url_email_start`
  2909. * [Fix] Fix double free in SPF
  2910. * [Fix] Fix extraction of shingles from redis fuzzy storage
  2911. * [Fix] Fix false sharing for symbols in the cache
  2912. * [Fix] Fix float usage in util:get_time
  2913. * [Fix] Fix folding algorithm to deal with empty tokens
  2914. * [Fix] Fix format string
  2915. * [Fix] Fix format string usage in controller errors handling
  2916. * [Fix] Fix handling of '\0' in lua_tcp
  2917. * [Fix] Fix handling of HTTP HEAD methods
  2918. * [Fix] Fix hash creation
  2919. * [Fix] Fix hiredis stupidity
  2920. * [Fix] Fix implicit settings module settingsup
  2921. * [Fix] Fix interaction with lua GC to avoid craches
  2922. * [Fix] Fix ip_score module registration
  2923. * [Fix] Fix issue with empty messages and dkim
  2924. * [Fix] Fix issues with CGP helper
  2925. * [Fix] Fix issues with the recent SPF changes
  2926. * [Fix] Fix key name to load ANN correctly
  2927. * [Fix] Fix lua tcp module by saving `do_read` in callback data
  2928. * [Fix] Fix memory leak in client when using compression
  2929. * [Fix] Fix min_learns option
  2930. * [Fix] Fix on_finish scripts and async handlers
  2931. * [Fix] Fix options for SPF dnsfail symbol
  2932. * [Fix] Fix parsing includes and redirects in SPF
  2933. * [Fix] Fix parsing of lua comments with empty lines
  2934. * [Fix] Fix parsing of unquoted HTML attributes
  2935. * [Fix] Fix periodic events and redis
  2936. * [Fix] Fix processing of fuzzy learns from Lua
  2937. * [Fix] Fix processing of redirect in SPF includes
  2938. * [Fix] Fix processing of symbols when reject limit is reached
  2939. * [Fix] Fix refcounts when map is specified by IP
  2940. * [Fix] Fix rspamd{session} class in Lua API
  2941. * [Fix] Fix setting ratelimit key for 'ip' bucket
  2942. * [Fix] Fix some cases of TLD urls detector
  2943. * [Fix] Fix statconvert tool
  2944. * [Fix] Fix stats for backend-less classifiers
  2945. * [Fix] Fix training script for fann_redis
  2946. * [Fix] Fix variable in ann module
  2947. * [Fix] Fix various errors in lua dynamic conf plugin
  2948. * [Fix] Forget old ANN when max_usages is reached to avoid overtrain
  2949. * [Fix] Further canonicalization fixes
  2950. * [Fix] Further fixes for fann_redis prefixes
  2951. * [Fix] Handle failures for inactive pooled connections
  2952. * [Fix] Improve multimap info message
  2953. * [Fix] More fixes in ANN loading
  2954. * [Fix] More fixes to fann_redis
  2955. * [Fix] More issues in fann_redis
  2956. * [Fix] More spaces fix in DKIM signature
  2957. * [Fix] Multiple fixes to asn script, add IPv6 support
  2958. * [Fix] Multiple issues in fann_redis
  2959. * [Fix] No greylist rejected messages
  2960. * [Fix] One more attempt to fix lua_redis
  2961. * [Fix] One more check for readdir...
  2962. * [Fix] Params should be treated as a hash
  2963. * [Fix] Plug memory leak in regexp desctructor
  2964. * [Fix] Process headers only once
  2965. * [Fix] Properly handle nil values in ratelimit plugin
  2966. * [Fix] Really fix redis shingles check
  2967. * [Fix] Remove fann with incorrect layers count
  2968. * [Fix] Remove mentions of deleted include
  2969. * [Fix] Remove some incompatible functions
  2970. * [Fix] Settings: fix `authenticated` parameter (#886)
  2971. * [Fix] Skip MX check for authenticated users and local networks
  2972. * [Fix] Slightly fix ANN routines
  2973. * [Fix] Stop caching records with DNS failures
  2974. * [Fix] Treat all errors in redis_pool as fatal errors for a connection
  2975. * [Fix] Try avoid false-positives in HEADER_FORGED_MDN rule
  2976. * [Fix] Try to avoid race condition when using rrd
  2977. * [Fix] Try to reload redis scripts if they are missing
  2978. * [Fix] Unbreak once_received skipping for local networks
  2979. * [Fix] Unlock ANN on error
  2980. * [Fix] Use memmove for overlapping regions
  2981. * [Fix] Use real size instead of displayed for core limits
  2982. * [Fix] Use the correct macro to get the size of control
  2983. * [Fix] Various fixes for errors ringbuffer
  2984. * [Fix] Yield R_SPF_DNSFAIL if lookup of included record fails
  2985. * [Fix] mid: fix map initialization
  2986. * [Fix] mid: handle incorrect rgexps in the map
  2987. * [Rework] Add extract training data function to fann_redis
  2988. * [Rework] Add preliminary train tests
  2989. * [Rework] Add redis storage feature to fann_redis
  2990. * [Rework] Adopt fuzzy storage for abstract backend
  2991. * [Rework] Adopt plugins
  2992. * [Rework] First reiteration on fann scores
  2993. * [Rework] Implement loading/invalidating
  2994. * [Rework] Make lua_redis task agnostic
  2995. * [Rework] Make rspamd protocol messages useful
  2996. * [Rework] Massive removal of legacy code
  2997. * [Rework] More cleanup actions
  2998. * [Rework] Remove legacy code never used for classifiers
  2999. * [Rework] Remove outdated and unused lua_session module
  3000. * [Rework] Reorganize fuzzy backend structure
  3001. * [Rework] Reorganize the internal backend structure
  3002. * [Rework] Restore old fann_scores, move common parts
  3003. * [Rework] Rework and simplify rbl plugin
  3004. * [Rework] Rework parsing of DMARC records
  3005. 1.3.4:
  3006. * [Feature] ASN module; support matching ASN/country in multimap
  3007. * [Feature] Add SPF method in spf return result
  3008. * [Feature] Add Yandex and Mail.ru forwarding rules
  3009. * [Feature] Add mempool maps in multimap
  3010. * [Feature] Add rule for identifying mail sent by eval()'d PHP code
  3011. * [Feature] Add support of stub DNSSEC resolver to rdns
  3012. * [Feature] Add task:get_digest method
  3013. * [Feature] Allow for more fine-grained scoring for ip_score
  3014. * [Feature] Allow to get digest of a mime part from lua
  3015. * [Feature] Allow to print message digest in logs
  3016. * [Feature] Fold DKIM-Signature header
  3017. * [Feature] Implement encrypted logs
  3018. * [Feature] Log URLs encrypted if we have log encryption pubkey
  3019. * [Feature] Pass authenticated bit to lua
  3020. * [Feature] Read redis backend statistics configuration from global section
  3021. * [Feature] Show the exact value matched for multima symbols
  3022. * [Feature] Store task checksum
  3023. * [Fix] Avoid setting limits when required elements are missing
  3024. * [Fix] DMARC: Fix alignment checking for subdomains
  3025. * [Fix] DMARC: deal with missing and spurious spaces
  3026. * [Fix] Defer insertion of results in ip_score to avoid skewing stats
  3027. * [Fix] Disable DMARC for local/authorized mail
  3028. * [Fix] Fix handling of proxied headers in controller
  3029. * [Fix] Fix hex printing of strings
  3030. * [Fix] Fix issue with spaces in maps
  3031. * [Fix] Fix parsing of forwarded IP
  3032. * [Fix] Fix reload in some plugins and workers
  3033. * [Fix] Fix reloading on SIGHUP
  3034. * [Fix] Fix some border cases for DKIM canonicalization
  3035. * [Fix] Fix url maps
  3036. * [Fix] Make dnssec configurable option disabled by default for now
  3037. * [Fix] rspamadm statconvert: force db to be a string
  3038. * [Fix] rspamadm statconvert: use db/password for learn cache
  3039. * [Rework] Rework flags in rspamd logger
  3040. 1.3.3:
  3041. * [CritFix] Check hyperscan cache sanity before loading
  3042. * [CritFix] Fix setting of fuzzy keys (completely breaks fuzzy storage)
  3043. * [Feature] Add SARBL (sarbl.org) uribl
  3044. * [Feature] Add `--search-pattern` option to rspamd_stats
  3045. * [Feature] Add some sanity check for very long from/to log elements
  3046. * [Feature] Allow to create hashes from string in a single step
  3047. * [Feature] Fix order of pre and postfilters
  3048. * [Feature] Improve lua URLs API
  3049. * [Feature] Improve message about fuzzy rules
  3050. * [Feature] Pre-calculate blake2 digest for all parts
  3051. * [Feature] Print radix duplicate keys as IP addresses
  3052. * [Feature] Simple mechanism for disabling RBLs in local.d/rbl.conf
  3053. * [Feature] Use faster hash function for fuzzy storage
  3054. * [Feature] rspamd_stats: support log directory reading
  3055. * [Fix] Add sanity check for url filters
  3056. * [Fix] Do not show rmilter section as a fake metric in rspamc
  3057. * [Fix] Fix URL filters
  3058. * [Fix] Fix a stupid mistake in util.strequal_caseless
  3059. * [Fix] Fix blake2b hash of the string "rspamd"
  3060. * [Fix] Fix filename maps filter
  3061. * [Fix] Fix finding tld in util.get_tld
  3062. * [Fix] Fix multimap content filters
  3063. * [Fix] Fix returning boolean from Lua
  3064. * [Fix] Fix returning of REDIS_NIL
  3065. * [Fix] Try to deal with multiple workers terminated
  3066. * [Fix] Use forced DNS request when calling for lua_http
  3067. * [Rework] Rework multimap filters, add redis maps
  3068. 1.3.2:
  3069. * [Feature] Add a special symbol for SPF DNS errors: R_SPF_DNSFAIL
  3070. * [Feature] Add correlations report in fuzzy stats
  3071. * [Feature] Add experimental CGP integration
  3072. * [Feature] Add method to get urls length in a text part
  3073. * [Feature] Add new methods to lua_html to access HTML tags
  3074. * [Feature] Allow all types of symbols to be added via __newindex method
  3075. * [Feature] Allow to create settings for authenticated users
  3076. * [Feature] Allow to get block content for HTML tags
  3077. * [Feature] Improve DNS failures when dealing with SPF
  3078. * [Feature] Properly implement R_WHITE_ON_WHITE rule
  3079. * [Feature] Remove old ugly rules
  3080. * [Feature] Rspamc can now add dkim signature in mime mode
  3081. * [Feature] Store content length for HTML tags
  3082. * [Feature] Support reacher set of HTML colors
  3083. * [Feature] Try to avoid FP for low contrast fonts detection
  3084. * [Fix] Add missing HTML colors
  3085. * [Fix] Add spaces to dkim signature to allow folding
  3086. * [Fix] Avoid returning NaN as score on scan
  3087. * [Fix] Decode entitles in href parts
  3088. * [Fix] Do not cache SPF records with DNS errors
  3089. * [Fix] Do not crash on cyclic depends
  3090. * [Fix] Do not insert HELO/HOSTNAME unknown when they are not passed
  3091. * [Fix] Do not set absent hostname to "unknown"
  3092. * [Fix] Do not stress redis with KEYS command (#791)
  3093. * [Fix] Fix DMARC_BAD_POLICY symbol
  3094. * [Fix] Fix HFILTER_URL module
  3095. * [Fix] Fix HFILTER_URL_ONELINE rule
  3096. * [Fix] Fix buffering in CGP integration
  3097. * [Fix] Fix colors propagation from parent nodes
  3098. * [Fix] Fix confusing OpenSSL API usage of i2d_RSAPublicKey
  3099. * [Fix] Fix dependencies id sanity check
  3100. * [Fix] Fix folding for semicolon separated tokens
  3101. * [Fix] Fix largest possible TLD behaviour
  3102. * [Fix] Fix last token folding
  3103. * [Fix] Fix length calculations in white on white rule
  3104. * [Fix] Fix multiple request headers structure
  3105. * [Fix] Fix multiple values headers freeing
  3106. * [Fix] Fix parsing of background color
  3107. * [Fix] Fix printing from field in log_urls
  3108. * [Fix] Fix processing of last element of DMARC policies
  3109. * [Fix] Further fixes for HTML colors
  3110. * [Fix] Further fixes for multiple values headers
  3111. * [Fix] Further fixes for white on white rule
  3112. * [Fix] Further fixes in HTML tags parsing
  3113. * [Fix] Ignore content type/subtype case
  3114. * [Fix] Increase score of R_WHITE_ON_WHITE
  3115. * [Fix] Parse CGP envelope data
  3116. * [Fix] Propagate colors in HTML
  3117. * [Fix] Restore multiple values headers in protocol
  3118. * [Fix] Restore multiple values in headers processing
  3119. * [Fix] Some more changes to tag's content length calculations
  3120. * [Fix] Some more fixes for low contrast fonts detector
  3121. * [Fix] SpamAssassin plugin: support check_freemail_header('EnvelopeFrom', [..])
  3122. * [Fix] Trigger HTML_SHORT_LINK_IMG on any external image
  3123. * [Fix] rspamd_stats: remove deprecated defined(@array)
  3124. 1.3.1:
  3125. * [CritFix] Fix catena passwords validation
  3126. * [CritFix] Fix crash when the first received is faked
  3127. * [Feature] Add DMARC_BAD_POLICY symbol when DMARC policy was invalid
  3128. * [Feature] Allow for matching hostnames in multimap (#773)
  3129. * [Feature] Allow for setting action based on DMARC disposition
  3130. * [Feature] Allow limiting of the inbound message size
  3131. * [Feature] Allow maps with multiple symbols and scores
  3132. * [Feature] Allow regexps in the emails maps
  3133. * [Feature] Allow to register metric symbols from multimap
  3134. * [Feature] Allow to reset redis tokens instead of appendig values
  3135. * [Feature] Allow to store strings in radix maps
  3136. * [Feature] Check UTF validity when there are utf regexps in a map
  3137. * [Feature] Correctly work when there is no hard reject action
  3138. * [Feature] Implement dependencies for maps
  3139. * [Fix] Another effort to unbreak sqlite locking
  3140. * [Fix] Avoid crash when closing mmapped file
  3141. * [Fix] Do not break history on NaN in required score
  3142. * [Fix] Ensure that hyperscan cache written is written properly
  3143. * [Fix] Filter NaN from scores in history
  3144. * [Fix] Fix DNSBL maps
  3145. * [Fix] Fix another locking issue in sqlite
  3146. * [Fix] Fix another locking issue with mapped files
  3147. * [Fix] Fix deadlock in mmaped file stats
  3148. * [Fix] Fix dependencies in multimap plugin
  3149. * [Fix] Fix emails module configuration
  3150. * [Fix] Fix greylist plugin (#755)
  3151. * [Fix] Fix greylisting plugin variable usage
  3152. * [Fix] Fix installed permissions for rspamd_stats
  3153. * [Fix] Fix locking in mmapped statistics
  3154. * [Fix] Fix paths in tests
  3155. * [Fix] Fix prefilter mode for multimap
  3156. * [Fix] Forgot to commit leftover changes
  3157. * [Fix] Really fix local.d includes
  3158. * [Fix] Restore selective greylisting behaviour
  3159. * [Fix] Set max size on per connection basis
  3160. * [Fix] Use temporary storage for hyperscan cache
  3161. * [Rework] Remove systemd socket activation
  3162. 1.3.0:
  3163. * [CritFix] Fix SA rawbody processing - exclude top part
  3164. * [CritFix] Fix decoding of UTF HTML entitles
  3165. * [CritFix] Fix encrypted fuzzy requests
  3166. * [CritFix] Fix leak of shared memory fds and files
  3167. * [CritFix] Fix levenshtein distance calculations
  3168. * [CritFix] Fix mime headers processing
  3169. * [CritFix] Fix parsing of URLs in texts
  3170. * [CritFix] Fix parsing of missing classes
  3171. * [CritFix] Fix redis structure by adding {NULL, NULL} member
  3172. * [CritFix] Fix some more URL detector issues
  3173. * [CritFix] Fix systemd sockets activation
  3174. * [CritFix] Fix unencrypted passwords processing in the controller
  3175. * [CritFix] Fix writing CDPs to the database
  3176. * [CritFix] Fix writing of encrypted HTTP requests
  3177. * [CritFix] Plug memory leak in dkim module
  3178. * [CritFix] Plug memory leak in headers getting code
  3179. * [CritFix] Pre-filters and post-filters were completely broken
  3180. * [CritFix] Properly support SA body regexps
  3181. * [CritFix] Really skip filters in case of pre-result set
  3182. * [CritFix] Restore the intended pre-filters behaviour
  3183. * [Rework] Adopt new maps code
  3184. * [Rework] Compile ragel sources when building rspamd
  3185. * [Rework] Finish rework for the rest of places that use HTTP
  3186. * [Rework] Fix DKIM headers canonicalization
  3187. * [Rework] Fix lua maps API
  3188. * [Rework] Import linenoise for line editing
  3189. * [Rework] Include config structure to all rcl handlers
  3190. * [Rework] Make chartable module useful
  3191. * [Rework] Move http internal structures to a private header
  3192. * [Rework] Partly fix controller
  3193. * [Rework] Remove dedicated images list
  3194. * [Rework] Rename http proxy to rspamd proxy
  3195. * [Rework] Rename mime parts structures
  3196. * [Rework] Rework HTTP code
  3197. * [Rework] Rework exceptions and newlines processing
  3198. * [Rework] Rework pre and postfilters system
  3199. * [Rework] Separate method to close backend connections
  3200. * [Rework] Start the complete maps rework
  3201. * [Rework] Use dynamically generated ragel C sources
  3202. * [Feature] Add 'blacklist' and 'strict' modes for whitelists
  3203. * [Feature] Add 'symbols_enabled' and 'groups_enabled' to settings
  3204. * [Feature] Add ESMTPSA received type
  3205. * [Feature] Add a simple script to evaluate rspamd rules in the logs
  3206. * [Feature] Add a simple tool to generate DKIM keys
  3207. * [Feature] Add a trivial heuristic for codepages
  3208. * [Feature] Add and use mumhash for non-crypto hashing
  3209. * [Feature] Add better method to check lua userdata types
  3210. * [Feature] Add better zip files search algorithm
  3211. * [Feature] Add catena PBKDF function
  3212. * [Feature] Add configuration knobs for in and out parser scripts
  3213. * [Feature] Add content filtering support to multimap
  3214. * [Feature] Add different timeouts for proxy connections
  3215. * [Feature] Add dot commands for lua REPL:
  3216. * [Feature] Add execution of lua global functions script
  3217. * [Feature] Add function for pretty printing of inet addresses
  3218. * [Feature] Add function to convert fstring_t to c string
  3219. * [Feature] Add function to create temporary shared memory mapping
  3220. * [Feature] Add function to generate random hex string
  3221. * [Feature] Add generic fucnction to parse IP maps
  3222. * [Feature] Add initial version of HTTP lua repl
  3223. * [Feature] Add learn condition to the default configuration
  3224. * [Feature] Add learn conditions for classifiers
  3225. * [Feature] Add limit for dkim signatures to be checked
  3226. * [Feature] Add locking routines for lua_util
  3227. * [Feature] Add lua API for getting info from archives
  3228. * [Feature] Add lua utility to decode URL encoding
  3229. * [Feature] Add method to copy message from http connection
  3230. * [Feature] Add mirrors feature
  3231. * [Feature] Add more algorithms for shingles generation
  3232. * [Feature] Add more domains to redirectors list
  3233. * [Feature] Add more encodingsto cryptobox hash API
  3234. * [Feature] Add more file utilities to lua_util
  3235. * [Feature] Add more functions to extract data from text parts
  3236. * [Feature] Add more methods to get headers from a task
  3237. * [Feature] Add more methods to init http message body
  3238. * [Feature] Add more options for redis config parsing function
  3239. * [Feature] Add new representation of email address
  3240. * [Feature] Add new symbols to filter bad extensions in messages
  3241. * [Feature] Add new utility methods to mimepart object
  3242. * [Feature] Add openphish support to rspamd phishing module
  3243. * [Feature] Add parsers for SMTP address in ragel
  3244. * [Feature] Add parsing of mirror hosts for fuzzy storage
  3245. * [Feature] Add parsing scripts for master connection as well
  3246. * [Feature] Add preliminary greylist plugin
  3247. * [Feature] Add preliminary phishtank support
  3248. * [Feature] Add preliminary rarv5 support
  3249. * [Feature] Add preliminary version of ssl toolbox
  3250. * [Feature] Add protection against open files limit and accepting sockets
  3251. * [Feature] Add rar v4 support
  3252. * [Feature] Add reading scripts for master connection
  3253. * [Feature] Add replies plugin
  3254. * [Feature] Add results parsing code
  3255. * [Feature] Add routines to compare and check pubkeys
  3256. * [Feature] Add simpler versions of refcounts
  3257. * [Feature] Add some time manipulation functions for lua APi
  3258. * [Feature] Add support for non-standard BATV signatures
  3259. * [Feature] Add support of address with at-domain list
  3260. * [Feature] Add support to search archives by magic
  3261. * [Feature] Add task:get_rawbody method
  3262. * [Feature] Add test to check shared memory support sanity
  3263. * [Feature] Add the initial version of LUA repl to rspamadm
  3264. * [Feature] Add throughput graph for RRD backend to WebUI
  3265. * [Feature] Add universal function to make a proper redis request
  3266. * [Feature] Add universal function to parse redis servers for plugins
  3267. * [Feature] Add util.unlink function
  3268. * [Feature] Add utility function to return random number from 0 to 1
  3269. * [Feature] Add utility method to convert ftok to C string
  3270. * [Feature] Add utility to map shared memory segments
  3271. * [Feature] Add versions to fuzzy storage
  3272. * [Feature] Add workaround for legacy clients in rspamd proxy
  3273. * [Feature] Add workaround for systems without sane shmem support
  3274. * [Feature] Add xoroshiro+ fast rng for non-crypto purposes
  3275. * [Feature] Adopt plugins for new maps API
  3276. * [Feature] Allow SPF to be checked for empty tasks
  3277. * [Feature] Allow binary patterns in lua_trie
  3278. * [Feature] Allow catena encrypted passwords in controller
  3279. * [Feature] Allow client ip match in the settings
  3280. * [Feature] Allow easy adding and overriding of fuzzy rules
  3281. * [Feature] Allow empty tasks to be processed
  3282. * [Feature] Allow hostnames in IP maps
  3283. * [Feature] Allow https maps
  3284. * [Feature] Allow multiple PBKDF types in `rspamadm pw`
  3285. * [Feature] Allow named fuzzy rules
  3286. * [Feature] Allow non zero terminated patterns in multipattern
  3287. * [Feature] Allow partial hash updates
  3288. * [Feature] Allow pipelining for redis.make_request
  3289. * [Feature] Allow sending empty requests using client
  3290. * [Feature] Allow setting fuzzy flag by symbol not by value
  3291. * [Feature] Allow setting scores and actions from lua
  3292. * [Feature] Allow shared memory simple http client
  3293. * [Feature] Allow static lua files in any parts of rspamd sources
  3294. * [Feature] Allow to change flag from fuzzy learn condition
  3295. * [Feature] Allow to check rspamd_text using maps
  3296. * [Feature] Allow to disable composite rules from settings
  3297. * [Feature] Allow to disable some modules from common redis setup
  3298. * [Feature] Allow to extract ucl_object from lua using common API
  3299. * [Feature] Allow to get settings and settings id hash from lua_task
  3300. * [Feature] Allow to have specific settings for mirrored traffic
  3301. * [Feature] Allow to open message from a shared memory segment
  3302. * [Feature] Allow to parse pubkeys from the rcl config
  3303. * [Feature] Allow to pass extradata from rspamd to rmilter
  3304. * [Feature] Allow to query storage about number of fuzzy hashes stored
  3305. * [Feature] Allow to read logs without symbols scores
  3306. * [Feature] Allow to read password from console for rspamc
  3307. * [Feature] Allow to set ciphers and CA paths in config
  3308. * [Feature] Allow to skip some initialization phases to speed up rspamadm
  3309. * [Feature] Allow underscore separated names in settings
  3310. * [Feature] Allow versioning for sqlite databases
  3311. * [Feature] Always allow to terminate rspamd
  3312. * [Feature] Better deal with backend errors
  3313. * [Feature] Better lua_redis logging
  3314. * [Feature] Configure CA path and ciphers
  3315. * [Feature] Create a dedicated parser to strip newlines
  3316. * [Feature] Deduplicate the same urls in multimap module
  3317. * [Feature] Distinguish luajit from lua
  3318. * [Feature] Do not print garbadge in --compact output
  3319. * [Feature] Dynamically detect if a CPU is incompatible with hyperscan
  3320. * [Feature] Enable forced resolving for some lua plugins
  3321. * [Feature] Enable rrd by default
  3322. * [Feature] Enable workaround for exim
  3323. * [Feature] Fix task functions to work without rspamd_config
  3324. * [Feature] Further improvements to chartable module
  3325. * [Feature] Further micro-optimizations for hashing and shingles
  3326. * [Feature] Further relax parser
  3327. * [Feature] Humanize numbers in stats widgets
  3328. * [Feature] Implement HTTPS client
  3329. * [Feature] Implement SSL support in http client
  3330. * [Feature] Implement body rules for the trie plugin
  3331. * [Feature] Implement braced regexp quantifiers
  3332. * [Feature] Implement compare scripts for mirrors results
  3333. * [Feature] Implement compare scripts setup
  3334. * [Feature] Implement composites policies
  3335. * [Feature] Implement conditional learning for classifiers
  3336. * [Feature] Implement constructing of map from UCL
  3337. * [Feature] Implement dkim signing in dkim check plugin
  3338. * [Feature] Implement fuzzy storage updates
  3339. * [Feature] Implement fuzzy updates push protocol
  3340. * [Feature] Implement https maps
  3341. * [Feature] Implement inter-process maps caching
  3342. * [Feature] Implement mapping of remote flags to local flags
  3343. * [Feature] Implement mirroring in rspamd proxy
  3344. * [Feature] Implement multi-flags fuzzy replies
  3345. * [Feature] Implement multiple-sources fuzzy storage
  3346. * [Feature] Implement order of pre/post filters
  3347. * [Feature] Implement partial deleting for multi-flags
  3348. * [Feature] Implement pipelining for redis async interface
  3349. * [Feature] Implement ragel parser for received headers
  3350. * [Feature] Implement reading of messages to shared memory
  3351. * [Feature] Implement refcount for messages
  3352. * [Feature] Implement retransmits for master connection
  3353. * [Feature] Implement zero-copy mode for HTTP reading
  3354. * [Feature] Improve SPF domain detection logic
  3355. * [Feature] Improve config:register_symbol function
  3356. * [Feature] Improve error report for type mismatch in lua
  3357. * [Feature] Improve fstrings API
  3358. * [Feature] Improve getting SMTP data from lua_task
  3359. * [Feature] Improve levenshtein distance function
  3360. * [Feature] Improve logging in proxy and add refcounts
  3361. * [Feature] Improve logging lua types
  3362. * [Feature] Improve master/slave logging
  3363. * [Feature] Improve phishing plugin
  3364. * [Feature] Improve phishtank and openphish support
  3365. * [Feature] Improve ragel build target
  3366. * [Feature] Improve statistics script
  3367. * [Feature] Initialize ssl library to use SSL connections
  3368. * [Feature] Interpolate points sent to webui
  3369. * [Feature] Limit logging of elements that could have too many items
  3370. * [Feature] Lock ANN file when loading
  3371. * [Feature] New abstract hashing API in cryptobox
  3372. * [Feature] Normalize quoted addresses
  3373. * [Feature] Now cryptobox lua API accepts rspamd text as input
  3374. * [Feature] Optimize alignment to speed up hashing
  3375. * [Feature] Parse received date and ESMTPA proto
  3376. * [Feature] Parse received timestamp
  3377. * [Feature] Pass settings id to log helper
  3378. * [Feature] Pass settings id to lua script from log helper
  3379. * [Feature] Perform files expansion on proxying
  3380. * [Feature] Preliminary implementation of fuzzy master/slave updates
  3381. * [Feature] Print userdata using tostring if possible
  3382. * [Feature] Propagate HTTP result string when using proxy
  3383. * [Feature] Properly implement unweighted round-robin algorithm
  3384. * [Feature] Reduce number of timers queries
  3385. * [Feature] Rework and improve fuzzy storage
  3386. * [Feature] Rework dns resolving API for lua, add 'forced' option
  3387. * [Feature] Rework fann module to understand settings
  3388. * [Feature] Rework listening system to allow multiple socket types per worker
  3389. * [Feature] Rework ratelimit module to set expiration
  3390. * [Feature] Save bayes probability in memory pool var
  3391. * [Feature] Save settings id hash for convenience
  3392. * [Feature] Search for SSL_set_tlsext_host_name support
  3393. * [Feature] Send DKIM signature to protocol reply
  3394. * [Feature] Show DKIM signature in rspamc client
  3395. * [Feature] Show symbols description in scan output
  3396. * [Feature] Sign message merely after DKIM check
  3397. * [Feature] Simplify machines by assuming that headers are unfolded
  3398. * [Feature] Sort symbols when displaying them in log
  3399. * [Feature] Split main connection from mirrored connections
  3400. * [Feature] Start moving to the new email address structure
  3401. * [Feature] Store HTTP headers in a hash table
  3402. * [Feature] Store more information about compressed files
  3403. * [Feature] Store raw headers value to use them in DKIM
  3404. * [Feature] Store text parts content with newlines stripped
  3405. * [Feature] Support DKIM signing
  3406. * [Feature] Support EXIF jpeg images
  3407. * [Feature] Support archive files list extraction
  3408. * [Feature] Support archives when matching patterns in multimap
  3409. * [Feature] Support premium/academic feed for openphish
  3410. * [Feature] Support rspamd_updates via https
  3411. * [Feature] Supprort FQDNs in phishing module maps
  3412. * [Feature] Try to read on fuzzy timeout to avoid fake timeouts
  3413. * [Feature] Try to select the optimal possible function for input
  3414. * [Feature] Unescape and unquote smtp addresses
  3415. * [Feature] Update fuzzy timestamp when adding value
  3416. * [Feature] Update mumhash
  3417. * [Feature] Use -flto if possible when optimizations are enabled
  3418. * [Feature] Use extended map types in lua map, unify code
  3419. * [Feature] Use file lock in logger to avoid deadlocks
  3420. * [Feature] Use generic global string split function
  3421. * [Feature] Use metrohash as well
  3422. * [Feature] Use mumhash by default for incremental hashing
  3423. * [Feature] Use mumhash for words hashing
  3424. * [Feature] Use new ip parsing API
  3425. * [Feature] Use new maps API for local addrs
  3426. * [Feature] Use new ragel parser in message parsing code
  3427. * [Feature] Use new received parser instead of old one
  3428. * [Feature] Use new redis API in DMARC plugin
  3429. * [Feature] Use new redis API in greylist plugin
  3430. * [Feature] Use new redis API in ip_score plugin
  3431. * [Feature] Use new redis API in ratelimit plugin
  3432. * [Feature] Use new redis API in replies plugin
  3433. * [Feature] Use new version of register_symbol in rspamd plugins
  3434. * [Feature] Use offset when passing shm to deal with encrypted requests
  3435. * [Feature] Use one pass to remove newlines and store their positions
  3436. * [Feature] Use rspamd specific type checks for userdata
  3437. * [Feature] Use shared memory storage for http maps
  3438. * [Feature] Use universal redis definitions in rspamd plugins
  3439. * [Feature] Various improvements in greylist module
  3440. * [Feature] Wait for sqlite if locked when switching to WAL mode
  3441. * [Fix] Add filenames sanity filtering for mime types
  3442. * [Fix] Add guards for empty parts
  3443. * [Fix] Add missing types
  3444. * [Fix] Add more priority for config file symbols registered from UCL
  3445. * [Fix] Add sanity checks when compiling regexp maps
  3446. * [Fix] Add spaces instead of newlines to the normalized content
  3447. * [Fix] Add workaround for ancient openssl
  3448. * [Fix] Add workaround for gmime CTE stupidity
  3449. * [Fix] Add workaround for hex digits
  3450. * [Fix] Adjust MISSING_MIMEOLE score
  3451. * [Fix] Adjust body/body_buf when stealing encrypted message
  3452. * [Fix] Adopt lua task API for the new email addresses structure
  3453. * [Fix] Allow for disabling DMARC reporting when Redis is configured
  3454. * [Fix] Always register openphish and phishtank virtual symbols
  3455. * [Fix] Always use shmem on linux
  3456. * [Fix] Another change of newlines policy
  3457. * [Fix] Another d3evolution update
  3458. * [Fix] Another fix for exim workaround
  3459. * [Fix] Another fix for legacy clients
  3460. * [Fix] Another fix for maps scheduling
  3461. * [Fix] Another fix for marking upstreams inactive
  3462. * [Fix] Another fix for postfilters
  3463. * [Fix] Another fix for redis timeouts
  3464. * [Fix] Avoid `table.getn` method as it has been removed in lua 5.3
  3465. * [Fix] Avoid double hashing for images
  3466. * [Fix] Avoid linking with actrie if hyperscan is enabled
  3467. * [Fix] Check copy result when sending message to mirrors
  3468. * [Fix] Cleanup message when assiging body
  3469. * [Fix] Cleanup stack from global vars
  3470. * [Fix] Correctly parse query type
  3471. * [Fix] Disable all symbols if enable_groups is found in settings
  3472. * [Fix] Disable fts as it is completely broken in bloody linux
  3473. * [Fix] Disable multiple autolearn checks
  3474. * [Fix] Disallow updates by default
  3475. * [Fix] Do not abort when cannot load a map
  3476. * [Fix] Do not check recursion for non-DNS SPF record types
  3477. * [Fix] Do not delete uninitialized events
  3478. * [Fix] Do not die if shmem_mkstemp fails
  3479. * [Fix] Do not die when no metrics defined
  3480. * [Fix] Do not even try pcre in case of regexp maps
  3481. * [Fix] Do not greylist messages if redis has failed somehow
  3482. * [Fix] Do not greylist on rejection
  3483. * [Fix] Do not leave temporary maps cached
  3484. * [Fix] Do not output meaningless errors
  3485. * [Fix] Do not send NaN in json
  3486. * [Fix] Don't mix hyperscan and pcre processing within a same task
  3487. * [Fix] Finally rework and simplify redis backend for statistics
  3488. * [Fix] Fix Exim shutdown patch
  3489. * [Fix] Fix JIT compilation for PCRE2 expressions
  3490. * [Fix] Fix JIT usage for PCRE2
  3491. * [Fix] Fix REPL output
  3492. * [Fix] Fix SMTP address parsing machine
  3493. * [Fix] Fix UTF8 mode in PCRE2
  3494. * [Fix] Fix a stupid misprint in word 'phishing'
  3495. * [Fix] Fix accepting the first update when local idx is -1
  3496. * [Fix] Fix adding maps from ucl
  3497. * [Fix] Fix adding upstream to an active queue
  3498. * [Fix] Fix and rescore R_PARTS_DIFFER logic
  3499. * [Fix] Fix body rules in SA plugin
  3500. * [Fix] Fix body start position
  3501. * [Fix] Fix border case in urls detector
  3502. * [Fix] Fix border cases for incremental hashing
  3503. * [Fix] Fix caseless uthash application
  3504. * [Fix] Fix chartable issue with starting digits
  3505. * [Fix] Fix client_ip in users settings
  3506. * [Fix] Fix compilation issue
  3507. * [Fix] Fix conditional learning
  3508. * [Fix] Fix crash on empty maps
  3509. * [Fix] Fix creating of URLs from LUA
  3510. * [Fix] Fix creating of temporary shmem segment
  3511. * [Fix] Fix creation of mmapped statfiles
  3512. * [Fix] Fix descriptors leak on shmem detaching
  3513. * [Fix] Fix detaching of shared memory segments
  3514. * [Fix] Fix detection of URLs in text parts
  3515. * [Fix] Fix directories processing for rspamc
  3516. * [Fix] Fix displaying of rewrite subject in WebUI
  3517. * [Fix] Fix dkim private keys operations
  3518. * [Fix] Fix dkim signing
  3519. * [Fix] Fix dynamic scoring of subject symbols
  3520. * [Fix] Fix email address build
  3521. * [Fix] Fix encrypted proxy requests
  3522. * [Fix] Fix errors counting in upstreams
  3523. * [Fix] Fix errors handling in the proxy
  3524. * [Fix] Fix event bases for IO events
  3525. * [Fix] Fix events handling when scheduling map wacth
  3526. * [Fix] Fix fann rewrite
  3527. * [Fix] Fix files fallback for shmem transfer
  3528. * [Fix] Fix fuzzy adding in webui
  3529. * [Fix] Fix fuzzy storage encrypted mirroring
  3530. * [Fix] Fix fuzzy storage sync replies
  3531. * [Fix] Fix handling of the same words
  3532. * [Fix] Fix inserting values to the sources list
  3533. * [Fix] Fix ipv6 mask application
  3534. * [Fix] Fix issue with missing recipients
  3535. * [Fix] Fix issues with multiple returns from lua
  3536. * [Fix] Fix learning for non-existent backend
  3537. * [Fix] Fix legacy clients support in proxy
  3538. * [Fix] Fix length calculations for shared memory segments
  3539. * [Fix] Fix listening on UDP sockets
  3540. * [Fix] Fix loading of file maps
  3541. * [Fix] Fix long regexp flags (e.g. {sa_body})
  3542. * [Fix] Fix lua compare function init
  3543. * [Fix] Fix maps descriptions
  3544. * [Fix] Fix maps locking
  3545. * [Fix] Fix max_train setup in ANN module
  3546. * [Fix] Fix memory corruption
  3547. * [Fix] Fix memory leak in unsigned maps reading
  3548. * [Fix] Fix misprints for lto usage
  3549. * [Fix] Fix more issues with scripts processing
  3550. * [Fix] Fix next-to-last extension length check
  3551. * [Fix] Fix openssl initialization
  3552. * [Fix] Fix order of arguments
  3553. * [Fix] Fix order of initialization
  3554. * [Fix] Fix parser
  3555. * [Fix] Fix parsing of binary tries
  3556. * [Fix] Fix parsing of braced IPv6 addresses
  3557. * [Fix] Fix parsing of nested braces in SMTP comments
  3558. * [Fix] Fix parsing of rarv5 archives
  3559. * [Fix] Fix periodic scheduling when a map is not modified
  3560. * [Fix] Fix possible FP in TRACKER_ID rule
  3561. * [Fix] Fix post-filters processing
  3562. * [Fix] Fix potential NULL dereference
  3563. * [Fix] Fix processing of <br> and <hr> tags
  3564. * [Fix] Fix processing of addresses in protocol
  3565. * [Fix] Fix processing of messages without received headers
  3566. * [Fix] Fix proxying issue for unconnected sessions
  3567. * [Fix] Fix proxying of the encrypted messages
  3568. * [Fix] Fix race condition with shared memory by refcounts
  3569. * [Fix] Fix ratelimit initialization
  3570. * [Fix] Fix redis set request in replies plugin
  3571. * [Fix] Fix redis timeout events handling
  3572. * [Fix] Fix redis timeouts processing logic
  3573. * [Fix] Fix refcounts in lua_redis
  3574. * [Fix] Fix results checking if no master connection is active
  3575. * [Fix] Fix return value for couple of lua functions
  3576. * [Fix] Fix round-robin selection when upstreams have no weight
  3577. * [Fix] Fix rows calculation in graph
  3578. * [Fix] Fix rspamd_redis_make_request syntax in replies plugin
  3579. * [Fix] Fix scheduling of locked map events
  3580. * [Fix] Fix scores detection
  3581. * [Fix] Fix searching for newline positions
  3582. * [Fix] Fix secure_ip setting in controller
  3583. * [Fix] Fix sending data to graph command
  3584. * [Fix] Fix setting of score for parts differ
  3585. * [Fix] Fix setting of the lua top
  3586. * [Fix] Fix setting path for lua
  3587. * [Fix] Fix setting path for phishtank
  3588. * [Fix] Fix settings application
  3589. * [Fix] Fix shm_open call as described in POSIX
  3590. * [Fix] Fix size of length in fuzzy mirror wire protocol
  3591. * [Fix] Fix smtp grammar issues
  3592. * [Fix] Fix some issues with redis API
  3593. * [Fix] Fix some issues with retries in the proxy
  3594. * [Fix] Fix stack growing
  3595. * [Fix] Fix start of body detection in DKIM
  3596. * [Fix] Fix state on timeout
  3597. * [Fix] Fix stats script
  3598. * [Fix] Fix substring search when there are '\0' in strings
  3599. * [Fix] Fix symbol name for spf soft fail
  3600. * [Fix] Fix symbol type's check
  3601. * [Fix] Fix symbols registration and execution
  3602. * [Fix] Fix the case of multiple values keys
  3603. * [Fix] Fix the default symbol names according to metric
  3604. * [Fix] Fix timeout setup on learning
  3605. * [Fix] Fix timeouts in redis cache processing
  3606. * [Fix] Fix timeouts processing in lua_redis
  3607. * [Fix] Fix upstreams interaction for rspamd proxy
  3608. * [Fix] Fix usage of rdns reply structure
  3609. * [Fix] Fix varargs loop
  3610. * [Fix] Fix whitelists and blacklists in SA rules
  3611. * [Fix] Fix write servers setup for redis
  3612. * [Fix] Fix writing of HTTP messages
  3613. * [Fix] Force rspamd to upgrade fuzzy db on opening
  3614. * [Fix] Free the correct pointer
  3615. * [Fix] Further fixes for lto and static linking
  3616. * [Fix] Further fixes for surbl extensions map
  3617. * [Fix] Further fixes in maps code
  3618. * [Fix] Further improvements to error messages in fuzzy check
  3619. * [Fix] Further tweaks to redis garbadge collection
  3620. * [Fix] Groups are now case insensitive
  3621. * [Fix] Handle log pipe read errors
  3622. * [Fix] Handle nested dependencies in SpamAssassin plugin
  3623. * [Fix] Implement new automata to skip empty lines for dkim signing
  3624. * [Fix] Improve error messages on fuzzy add
  3625. * [Fix] Improve lua redis handling
  3626. * [Fix] Improve phishing module logging
  3627. * [Fix] Improve printing of fuzzy errors
  3628. * [Fix] Improve rrd diagnostic errors
  3629. * [Fix] Improve strcase hash used in uthash
  3630. * [Fix] Include fuzzy key to distinguish storages with different keys
  3631. * [Fix] Include slave cluster name into http request
  3632. * [Fix] Include some more information about archives
  3633. * [Fix] Indicate upstream error on timeout
  3634. * [Fix] Initialize hash tables array to avoid crashes
  3635. * [Fix] Initialize parser scripts properly
  3636. * [Fix] Initialize vars to avoid warnings
  3637. * [Fix] Inverse logic for saving ANN
  3638. * [Fix] Link lpeg to rspamd lua library
  3639. * [Fix] Make extension checks case-insensitive
  3640. * [Fix] Mark expired hashes as not found and not as zero flag
  3641. * [Fix] Match archive name as well
  3642. * [Fix] More and more fixes to redis states
  3643. * [Fix] More fixes about shared memory in proxy
  3644. * [Fix] More fixes for redis refcounts
  3645. * [Fix] More fixes to end of headers detection
  3646. * [Fix] More fixes to events logic
  3647. * [Fix] More fixes to multi-flag fuzzy storage
  3648. * [Fix] More fixes to parts distance calculations
  3649. * [Fix] More guards for redis free
  3650. * [Fix] One more fix in redis destructor
  3651. * [Fix] One more try to fix redis
  3652. * [Fix] PIE is required for static build
  3653. * [Fix] Partial fix for mmap'd statistics tests
  3654. * [Fix] Plug memory leak in proxy
  3655. * [Fix] Properly detect end of headers position
  3656. * [Fix] Properly init and free session structures
  3657. * [Fix] Reduce PRECEDENCE_BULK rule weight
  3658. * [Fix] Reduce the default thresholds for learning
  3659. * [Fix] Remove Type=forking from systemd unit file (#709)
  3660. * [Fix] Remove bad FANN file to save computational resources
  3661. * [Fix] Remove event before closing of fd to avoid race conditions
  3662. * [Fix] Remove parsing of 'from' variable in redis backend
  3663. * [Fix] Remove some bad domains from whitelists
  3664. * [Fix] Repair optional dependencies
  3665. * [Fix] Reset master connection when retransmitting scan request
  3666. * [Fix] Restore ONCE_RECEIVED symbol
  3667. * [Fix] Restore compatibility with old lua API behaviour
  3668. * [Fix] Restore redis runtime state
  3669. * [Fix] Reverse options when received
  3670. * [Fix] Send updates to mirrors only if we have some changes
  3671. * [Fix] Set host attribute properly when making HTTP request from lua
  3672. * [Fix] Set terminated state before calling of async free
  3673. * [Fix] Simplify MISSING_MIMEOLE rule
  3674. * [Fix] Simplify state machine by ignoring multiple spaces
  3675. * [Fix] Skip setting RPATH for static builds
  3676. * [Fix] Slightly reduce weights of rules with high FP rate
  3677. * [Fix] Some fixes to libmagic initialization
  3678. * [Fix] Some more fixes to ratelimit plugin
  3679. * [Fix] Strip '\r\n' properly
  3680. * [Fix] Switch hashes to mumhash
  3681. * [Fix] Treat NaN values properly in graph command
  3682. * [Fix] Try to avoid FP when checking for phished URLs
  3683. * [Fix] Try to avoid recursive events deletions
  3684. * [Fix] Try to fix false positive URL detections in text parts
  3685. * [Fix] Try to fix issue in redis stats backend when task is closed
  3686. * [Fix] Try to fix proxying of stupid spamc protocol to HTTP mirrors
  3687. * [Fix] Try to fix redis crashes
  3688. * [Fix] Try to fix upstreams with one element
  3689. * [Fix] Try to handle multiline history in a more sane way
  3690. * [Fix] Unbreak build on gcc < 4.9
  3691. * [Fix] Update RPM spec/sources (#700)
  3692. * [Fix] Update d3evolution version
  3693. * [Fix] Update mumhash implementation
  3694. * [Fix] Use custom error function for pre and post filters
  3695. * [Fix] Use new postfilters and prefilters API in the plugins
  3696. * [Fix] Use non-blocking mode for systemd sockets
  3697. * [Fix] Use shared memory merely for local backends in the proxy
  3698. * [Fix] Use watchers for spf plugin
  3699. * [Fix] Varioud fixes to the maps code
  3700. 1.2.8:
  3701. * Another fix for exim workaround (#637)
  3702. * Fix unencrypted passwords processing in the controller
  3703. * Fix setting path for lua (#652)
  3704. * Fix usage of rdns reply structure (#654)
  3705. * Use file lock in logger to avoid deadlocks
  3706. * Add `application/octet-stream` mime type for `pdf` extension (by @moisseev)
  3707. * Implement new automata to skip empty lines for dkim signing (#651)
  3708. * Fix parsing of missing classes
  3709. * Clarify some rspamc arguments (by @fatalbanana)
  3710. * Correct suppress spelling
  3711. 1.2.7:
  3712. * Slightly reduce weights of rules with high FP rate
  3713. * Add workround for rspamd-1.3
  3714. * Fix possible FP in TRACKER_ID rule
  3715. * Simplify MISSING_MIMEOLE rule
  3716. * Add workaround for gmime CTE stupidity
  3717. * Fix mime headers processing
  3718. * Fix false positive URL detections in text parts
  3719. * Fix Exim shutdown patch
  3720. * Enable workaround for exim mailbox format
  3721. * Backport shingles static test
  3722. * Fix levenshtein distance calculations
  3723. * Fix max_train setup in ANN module
  3724. * Fix redis structure by adding {NULL, NULL} member
  3725. * Fix build with unmodified LibreSSL opensslv.h
  3726. * Repair optional dependencies
  3727. * Really skip filters in case of pre-result set
  3728. * Restore the intended pre-filters behaviour
  3729. * Fix ipv6 mask application
  3730. 1.2.6:
  3731. * Fix parsing of URLs in texts
  3732. * Fix creating of URLs from LUA
  3733. * Fix some more URL detector issues
  3734. * Fix unit tests
  3735. * Fix JIT compilation for PCRE2 expressions
  3736. * Fix JIT usage for PCRE2
  3737. * Fix UTF8 mode in PCRE2
  3738. * Add workaround for pre-historic compilers (#605)
  3739. * Fix and rescore R_PARTS_DIFFER logic
  3740. * Properly set lua paths for tests
  3741. * Fix SA rawbody processing - exclude top part
  3742. * Store text parts content with newlines stripped
  3743. * Properly support SA body regexps
  3744. * Fix body rules in SA plugin
  3745. * Fix setting of score for parts differ
  3746. * More fixes to parts distance calculations
  3747. - Use hashed words instead of full words for speed
  3748. - Improve levenstein distance calculations and penalise replaces
  3749. - Always return number from 0 to 1
  3750. - Use g_malloc instead of alloca
  3751. * Fix percents output in R_PARTS_DIFFER
  3752. * Plug memory leak in dkim module
  3753. * Plug minor memory leak in regexps creation
  3754. 1.2.5:
  3755. * Plug an important memory leak in headers getting code
  3756. * Remove some bad domains from whitelists
  3757. 1.2.4:
  3758. * Implement new multipattern matcher that uses hyperscan if possible
  3759. * Use mutlipattern for lua_trie code
  3760. * Add utility methods for multipattern
  3761. * Use multipattern in url matcher
  3762. * Add escape functions for hyperscan
  3763. * Allow to optimize lua -> C transition by flattening table args
  3764. * Optimize hot paths in SA plugin
  3765. * Optimize rspamd_re_cache_type_from_string
  3766. * Allow empty tries
  3767. * Fix extraction of URLs from Subject
  3768. * Allow to have different flags for different patterns in multipattern
  3769. * Add common directory for hyperscan cache to config
  3770. * Implement caching for hyperscan multipattern
  3771. * Attach domain part to `R_SUSPICIOUS_URL` (by @moisseev)
  3772. * Allow multipattern scans to be nested for the case of hyperscan
  3773. * Simplify SURBL redirector search code and avoid ac_trie
  3774. * Add two way substring search algorithm
  3775. * Avoid acism usage to find gtube pattern
  3776. * Fix processing of empty headers
  3777. * Allow to disable pthread mutexes on broken platforms
  3778. * Make web interface not send password in query strings (#585) by @fatalbanana
  3779. * Add maximum delay to ratelimit module
  3780. * Backport fix for empty files inclusion from libucl
  3781. * Fix settings id setup
  3782. * Add min_learns option to classifiers
  3783. * Use more clever to utf8 conversion strategy
  3784. * Fix disabling of virtual symbols in the settings
  3785. * Rework settings to work properly in metric-less configuration
  3786. * Set the default limit for classifier
  3787. * Fix ttl based expiration from LRU cache
  3788. * Rework DKIM module to use OpenSSL for digests
  3789. * Fix mailto urls parsing with hyperscan
  3790. * Do not set obscured flag for urls starting with spaces
  3791. * Fix crash on redis learn
  3792. * Fix ratelimit ctime setting
  3793. 1.2.3:
  3794. * New DCC module (by @smfreegard)
  3795. * Rework whitelist module:
  3796. - Now we check different elements for different checks
  3797. - MIME from for DMARC
  3798. - DKIM signature domain for DKIM
  3799. - SMTP from or HELO for SPF
  3800. * Fix regexps results combination (*critical*)
  3801. * Fix issue with expressions processing (*critical*)
  3802. * Optimize strlcpy for aligned input
  3803. * Add support of half-closed connection in lua_tcp
  3804. * Allow to print compact json in client
  3805. * Save required score in history (#581)
  3806. * Allow to attach file descriptors to control commands
  3807. * Allow to send descriptors from workers to main
  3808. * Allow to attach fd when broadcasting to workers
  3809. * Implement log pipe feature for rspamd logs analysis
  3810. * Add `log_helper` worker
  3811. * Add `URIBL_SBL_CSS` (by @smfreegard)
  3812. * Add worker scripts functionality
  3813. * Add on load hooks for rspamd_config
  3814. * Add lua scripts for log_helper worker
  3815. * Add generic maillist detector (#584)
  3816. * Implement FANN autolearn using log_helper worker
  3817. * Rework metrics configuration to allow includes
  3818. * Change default value of forced removal in composite rules
  3819. * Allow to use assembly version of blake2b on x86 cpu
  3820. * Use less precise (but faster) clock if possible
  3821. * Insert redirected URL to the urls list
  3822. * Allow to get and set callback data for rspamd symbols
  3823. * Add binary heap implementation
  3824. * Use binary heap for expire algorithms in the hash
  3825. * Use `least frequent used` expiration strategy
  3826. * Allow to get mime headers from a task
  3827. * Add support for mime headers in `regexp` module
  3828. * Update Exim patches (by @fatalbanana)
  3829. * Allow building rspamd with jemalloc
  3830. * Save multipart boundaries
  3831. * SA plugin changes:
  3832. - Properly handle MIME headers
  3833. - Fix eval:check_for_missing_to_header rule
  3834. - Implement SA compatible body regexps
  3835. - Use sabody rules in SA plugin
  3836. * LUA API changes:
  3837. - Add util.get_ticks function
  3838. - Add util.stat function
  3839. - Add task:get_symbols_numeric method
  3840. - Add method to get number of symbols in the cache
  3841. - Add lua methods to get redirected urls
  3842. - Allow to get callbacks for lua symbols
  3843. - Add config:set_symbol_callback function
  3844. 1.2.2:
  3845. * Use HTTP Content-Type on non mime input if possible
  3846. * Save log level when compressing log messages
  3847. * Further rework of composite rules (add '^' prefix)
  3848. * Add tracking for rspamd expressions
  3849. * Store actions limits in metric result
  3850. * Fix parsing of include/redirect with many records in SPF
  3851. * Add method to disable symbols execution in the cache
  3852. * Allow to disable checks from settings
  3853. * Allow to select settings by id in HTTP query
  3854. * Find URLs with '\r' and '\n' inside href attribute
  3855. * Implement vectored mode for hyperscan (experimental)
  3856. * Improve client connection errors diagnostics
  3857. * Allow to edit new files with signtool
  3858. * Improve hashes performance on 32 bit platforms
  3859. * Fix sorting of limits
  3860. * Remove slow and unused rules `INVALID_EXIM_RECEIVED*`
  3861. * Add expression:process_traced lua method
  3862. * Allow tables in task:insert_result
  3863. * Save trace for SA metas
  3864. * Do not parse broken TLD parts in URLs
  3865. * Investigate many border cases in URLs parser
  3866. 1.2.1:
  3867. * Add list support to `mime types` module configuration (by @moisseev)
  3868. * Allow symbols params to be printed in logs
  3869. * Fix `MIME_BAD_ATTACHMENT` false positives for MDN/DSN
  3870. * Fix crashes on arm32
  3871. * Do not classify message if some class is missing
  3872. * Fix cryptobox cleanup
  3873. * Remove multipart/report from bad mime types (#569)
  3874. * Improve logging for fuzzy hashes
  3875. * Show map URLs in webui
  3876. * Sort symbols in webui
  3877. 1.2.0:
  3878. * New dynamic updates plugin
  3879. * Regular expressions map support
  3880. * Faster radix trie algorithm
  3881. * Faster siphash for AVX2 supporing CPUs (used in fuzzy hashes)
  3882. * PCRE2 support
  3883. * Allow quoted and slashed keys in map
  3884. * Add proper support of DNS resolvers balancing (#552)
  3885. * Rework includes and configuration system for better local changes support
  3886. * New keypairs framework for signing and encryption
  3887. * Added support for dynamic modules and workers
  3888. * Allow to dump configuration with help comments
  3889. * Rework once_received module
  3890. - Fix priority for `good_hosts`
  3891. - If a good host has been found do not add once_received symbols
  3892. - Fix priorities for strict once_received
  3893. - Add ability to whitelist IP addresses
  3894. * Implement support of signed maps for HTTP and file maps
  3895. * Add command to sync fuzzy storage (#533)
  3896. * Rework system of symbols and actions registration
  3897. It is possible now to use priorities when adding symbols to metrics and
  3898. override scores for symbols with lower priority with the scores with
  3899. high priority.
  3900. * Add auth support and db selection for redis stats
  3901. * Improve composite rules application
  3902. * Add ignore_received option
  3903. * Fix critical issue with inconsistent resorting
  3904. * Fix `all` in spf redirects
  3905. * Add punycoded versions for IDN domains (#554)
  3906. * Improve sorting order for symbols cache
  3907. * Add lockless logging for processes management
  3908. * Allow to specify flags for metric symbols
  3909. * Load images height and width from style attribute (#538)
  3910. * Override DNS requests limits for SPF and DKIM
  3911. * Fix resetting symbols to their default values in WebUI
  3912. * Improve configuration agility for redis stats
  3913. * Allow to set db and password for redis in stat_convert
  3914. * Import the latest libucl
  3915. * LUA API changes:
  3916. - Add rspamd_version function to LUA API
  3917. - Add lua_cryptobox module
  3918. - Add lua_map module
  3919. - Add task:set_metric_action lua API method
  3920. - Fix race condition in lua_tcp module
  3921. - Fix a lot of issues in lua_redis module
  3922. - Rework and abstract lua maps API
  3923. - Add util.strlen_utf8 lua function
  3924. - Add lua functions for caseless comparison
  3925. - Allow optional symbols registration
  3926. - Add config:add_map table form method, add regexp maps
  3927. - Add task:has_urls method
  3928. - Add task:has_flag method
  3929. - Add html tags methods to lua_html
  3930. - Add task:get_dns_req
  3931. * Plugins changes:
  3932. - Add support for WLBLEval SA plugin
  3933. - Use caseless comparison in SA and DMARC plugins
  3934. - Allow SA plugin to set scores for rspamd symbols
  3935. - Add regexp maps support to multimap
  3936. - Allow filenames match in multimap
  3937. - Add more filters for the existing map types
  3938. - Fix html images rules to reduce FP rates
  3939. * New rules:
  3940. - LONG_SUBJ - too long subject
  3941. - MIME_BAD_ATTACHMENT - bad attachment type
  3942. - RDNS_NONE - no reverse DNS record for sender's IP
  3943. - Fix MISSING_MIMEOLE rule for modern OE
  3944. * Many other bugfixes, memory leaks plugs thanks to:
  3945. - Coverity scan
  3946. - New gcc-6 warnings
  3947. - valgrind manual iterations
  3948. * Documentation improvements:
  3949. - FAQ list: https://rspamd.com/doc/faq.html
  3950. - Reworked quick start guide
  3951. - Added documentation for all active modules
  3952. * Other changes:
  3953. - Dropped Ubuntu Vivid support
  3954. - Added Ubuntu Xenial support
  3955. - Rework build system for rspamd and rmilter
  3956. 1.1.4:
  3957. * Print traceback on lua errors in lua config
  3958. * Fix leaks in lua error paths
  3959. * Improve 'R_EMPTY_IMAGE' rule
  3960. * Fix metas memoization in SA plugin
  3961. * Properly set `flag` in fuzzy replies
  3962. * Fix arguments order
  3963. * Fix issue with out-of-boundary reading
  3964. * Fix issues found by coverity
  3965. * Same result checking error found by coverity
  3966. * Fix varargs processing (found by coverity)
  3967. * Fix error in printing hex
  3968. * Reduce weights for some hfilter patterns
  3969. * Add aliases for task:get_from_ip:
  3970. - task:get_addr
  3971. - task:get_from_addr
  3972. - task:get_ip
  3973. * Rework once_received module
  3974. - Fix priority for `good_hosts`
  3975. - If a good host has been found do not add once_received symbols
  3976. - Fix priorities for strict once_received
  3977. - Add ability to whitelist IP addresses
  3978. * Fix `MISSING_MIMEOLE` rule for modern OE
  3979. * Treat meta tags as embedded tags (#501)
  3980. 1.1.3:
  3981. * Fix DSN rules when SMTP from is unavailable
  3982. * Fix statconvert routine to avoid lua module usage
  3983. * Set a sane quark for configtest to avoid NULL to be printed in logs
  3984. * Support c11 if available
  3985. * Fix parsing of ip:port strings
  3986. * Add more diagnostic for lua subr errors
  3987. * Fix task:set_from_ip lua method
  3988. * Add basic routines for digital signatures
  3989. * Add tool for digital signatures
  3990. * Add plain open file API method for atomic open
  3991. * Fix parsing nested braces inside logger vars
  3992. * Pre filters now actually skip processing
  3993. * Add pre-filter mode for multimap
  3994. * Switch to apache 2 license
  3995. 1.1.2:
  3996. * Fix stat_cache closing
  3997. * Add checkpoints to sqlite3 learn cache
  3998. * Do not recompile lua generated headers all the time
  3999. * Increase number of messages learned
  4000. * Fix issues with dual stack and hfilter
  4001. * Disable MID checks for hfilter by default
  4002. * Fix cache definitions in multiple classifier and no type
  4003. * Don't crash if learn cache failed to initialize
  4004. * Fix googlegroups support in maillist plugin
  4005. * Rework flags LUA API:
  4006. - Allow to check for a specific flag
  4007. - Add `learn_spam`, `learn_ham` and `broken_headers` flags
  4008. - Unify internal functions
  4009. * Add `BROKEN_HEADERS` rule
  4010. * Add support for forged confirmation headers (by @AdUser)
  4011. * Allow `any`, `mime` and `smtp` for get_from/get_recipients
  4012. * Add mime types checking plugin
  4013. * Add rule to detect spammers attempts to cheat mime parsing
  4014. * Rework parsing of IP addresses in configuration (better IPv6 support)
  4015. * Add `util.parse_mail_address` function to LUA API
  4016. * Add lua sqlite3 module
  4017. * Implement synchronous redis call
  4018. * Ratelimit: avoid possible indexing of nil value (Fixes #498) (by @fatalbanana)
  4019. * Add stat_convert command to convert stats tokens from sqlite3 to redis
  4020. * Implement redis advanced lua api with pipelining
  4021. * Fix memory leak on redis stat (#500)
  4022. * Fix user/language learn count in sqlite statistics (#496) (by @fatalbanana)
  4023. * Fix build with custom pcre
  4024. * Fix fuzzy relearning (#498)
  4025. * Improve planning of asynchronous tasks
  4026. * Show slow rules in log
  4027. * Add warning for slow regexps
  4028. * Add base32 decode/encode routines to lua util
  4029. * Allow converting of learn cache from sqlite to redis
  4030. * Add methods to check if a messages has from/rcpts
  4031. * Improve and fix multimap plugin:
  4032. - Restore 'header' maps
  4033. - Add filters for headers
  4034. - Add 'email:addr', 'email:user', 'email:domain' and 'email:name' filters
  4035. - Add generic regexp filters
  4036. * Disable reload command in rc scripts
  4037. * Improve runtime CPU dispatcher for libcryptobox
  4038. * Add preliminary support of digital signatures via ed25519
  4039. * Add detection for RDRAND support
  4040. * Print configuration of crypto on start
  4041. * A in SPF presumes AAAA lookup as well
  4042. 1.1.1:
  4043. * Fix duplicated XBL symbol
  4044. * Reduce log severity for ratelimit missing servers
  4045. * Fix XBL composite to avoid duplicate symbols
  4046. * Reduce weight of URL_ONLY rule due to FP rate
  4047. * Disable fuzzy hashes from the metadata for now
  4048. * Fix processing of empty messages (#486)
  4049. * Always treat DNS timeouts as temporary fail for SPF
  4050. * Fix issue with SPF double IP stack (#483)
  4051. * Use X-Forwarded-For when checking secure_ip (#488)
  4052. * Fix hash calculation for sqlite stats
  4053. * Fix memory corruption on punycode
  4054. * Fix strings allocation in punycode
  4055. * Fix error message (#491)
  4056. 1.1.0:
  4057. * Incompatible change: sqlite3 and per_user behaviour:
  4058. Now both redis and sqlite3 follows the common principles for per-user
  4059. statistics:
  4060. 1) If per-user statistics is enabled check per-user tokens ONLY
  4061. 2) If per-user statistics is not enabled then check common tokens ONLY
  4062. If you need old behaviour, then you'd need to use separate classifier
  4063. for per-user statistics.
  4064. * Implement redis statistics backend and cache
  4065. * Implement autolearning for statistics
  4066. * Reworked statistics architecture from scratch
  4067. * Add hyperscan (https://github.com/01org/hyperscan) engine for regular
  4068. expressions:
  4069. - add lazy loader for hyperscan databases
  4070. - rework regexp cache to have joint pcre/hyperscan scanning
  4071. - implement hyperscan pre-filter support
  4072. - add compilation guards for bad expressions
  4073. - implement `rspamadm control recompile` command
  4074. - implement hyperscan cache monitoring
  4075. - slides: <https://highsecure.ru/rspamd-hyperscan.pdf>
  4076. * Implement flexible task logging
  4077. * Rework fuzzy worker:
  4078. - it is now possible to run multiple fuzzy workers;
  4079. - implement lazy writing as sqlite3 is bad at concurrent writing;
  4080. - add retries for simple sql commands in fuzzy backend;
  4081. - use fine-grained transactions for fuzzy;
  4082. - implement new multi-pubkeys mode;
  4083. - allow encrypted only storages;
  4084. - rework statistics for fuzzy;
  4085. - add `rspamadm control fuzzystat` command for extended statistics;
  4086. - implement human readable output for the previous command;
  4087. - add condition script for learning fuzzy storage;
  4088. * Various fixes to SPF:
  4089. - fix `redirect` records;
  4090. - fix domains when parsing mx/ptr/a records in includes/redirects;
  4091. - fix issues with multiple addresses in SPF records;
  4092. - ignore SPF results in case of DNS failure;
  4093. - adjust TTL of records when resolving subelements of SPF records;
  4094. - always select `v=spf1` line if it is available
  4095. - do not cache records with DNS failure in subrequests;
  4096. - ignore records with temporary fails during subrequests resolving;
  4097. - fix `RDNS_RC_NOREC` support;
  4098. * Add clang plugin for static analysis:
  4099. - implement static checks for `rspamd_printf` format strings;
  4100. * Add 'allow_raw_input' option for non-mime messages
  4101. * Recognize types using libmagic
  4102. * Fix parsing of IPv6 received headers
  4103. * Add new interface of communication between workers in rspamd
  4104. * Add support for named socketpairs
  4105. * Don't write URLs by default as it is too verbose
  4106. * Set status for HTTP replies
  4107. * Try load `rspamd.conf.override`
  4108. * Implement words decaying for text parts to limit many checks
  4109. * Improve support of SA rules and plugins:
  4110. - add check_for_shifted_date and check_for_missing_to_header eval rules;
  4111. - add 'check_relays_unparseable' support;
  4112. - add `check_for_mime('mime_attachement')` function;
  4113. - use new re_cache interface for all SA rules;
  4114. - add support for `Mail::SpamAssassin::Plugin::MIMEHeader`;
  4115. - add support of 'special' SA headers to `exists` function;
  4116. - fix issue when SA metas contain other metas;
  4117. - fix freemail rules;
  4118. * Many fixes to the URL parser
  4119. * Match any newline character in regexps
  4120. * Fix resolving of upstreams and detection of poor IPv6 configurations
  4121. * Parse upstreams selection algorithm from the configuration line
  4122. * Add `reresolve` command to the control interface
  4123. * Generate fuzzy hashes from task metadata (URLs and headers)
  4124. * Add method to check if IP is local and `local_addrs` option
  4125. * Implement forced timeout for delayed filters
  4126. * Disable fast path of pcre-jit as it seems to be broken
  4127. * Bayes fixes:
  4128. - new normalizer function;
  4129. - really use weights of tokens from the OSB algorithm;
  4130. - restore multiple classifiers support;
  4131. * Rules changes:
  4132. - add `R_SUSPICIOUS_URL` rule that detects obfuscated URL's;
  4133. - improve empty image rule;
  4134. - rework `FORGED_RECIPIENTS` rule;
  4135. - reduce weight of `SUSPICIOUS_RECIPS`;
  4136. - fix `*_NORESOLVE_MX` symbols in hfilter;
  4137. - add `SUBJ_ALL_CAPS` rule with support of UTF8
  4138. - add spamhaus SBL to uribl
  4139. - fix `SUSPICIOUS_RECIPS` and `SORTED_RECIPS` rules
  4140. - remove `R_TO_SEEMS_AUTO` as it generates a lot of FP;
  4141. - add new Message-ID regexp for Thunderbird (by @moisseev);
  4142. * Plugins changes:
  4143. - allow ratelimit plugin to set symbol instead of pre-result
  4144. - support IP DNS black lists for URIBL (e.g spamhaus SBL);
  4145. - drop deprecated SURBL bits (by @fatalbanana)
  4146. - rename `JP_SURBL_MULTI` to `ABUSE_SURBL` (by @fatalbanana)
  4147. - add `SURBL_BLOCKED` (by @fatalbanana)
  4148. - add `CR_SURBL`
  4149. - SURBL: allow fallthrough to default symbol (by @fatalbanana)
  4150. - Settings: fix IP match (by @fatalbanana)
  4151. - SURBL: add missing symbols to metric (by @fatalbanana)
  4152. - allow processing images urls for SURBL
  4153. - unconditionally disable SPF for authenticated users and local networks
  4154. * Rework ratelimit plugin
  4155. - switch to `rates` instead of old and stupid strings to setup;
  4156. - check if a bucket is zero and disable the corresponding limits'
  4157. - turn off all buckets by default;
  4158. - check either `rcpt` or `user` buckets, not all together'
  4159. - document new `rates` and `symbol` options;
  4160. - inform user about what buckets are used in the configuration;
  4161. * Add neural network **experimental** plugin
  4162. * Add a sample script to learn neural network from rspamd logs
  4163. * Add documentation strings support to rspamd:
  4164. - add strings for the main configuration options;
  4165. - document workers options;
  4166. - add internal plugin options;
  4167. - create `rspamadm confighelp` routine;
  4168. - implement human readable output for the previous command;
  4169. - add subtree search support;
  4170. - add keyword search support;
  4171. * Documentation improvements, tutorials section, statistics description
  4172. * Many other minor and major bugfixes not noted here
  4173. 1.0.11:
  4174. * Fix spf redirects
  4175. * Fix domains when parsing mx/ptr/a records in includes/redirects
  4176. * Fix unfolded base64 encoding
  4177. * Fix GError use-after-free
  4178. * Do not rewrite the original url when using redirector
  4179. * Fix parsing of fragment in urls
  4180. * Fix processing of HTML tags
  4181. * Improve empty image rule
  4182. * Avoid long double type
  4183. * Fix tokens weights in OSB algorithm
  4184. * Improve debugging for bayes
  4185. 1.0.10:
  4186. * Fix settings application (#416)
  4187. * Fix another issue with fixed strings
  4188. * Fix hash function invocation
  4189. * Use the proper string for make_dns_request in lua_http
  4190. * Fix scan time output
  4191. * Update webui:
  4192. - fix labels for greylisting
  4193. - fix dimension of scan time
  4194. 1.0.9:
  4195. * Emergency fix in keyed blake2 to fix fuzzy hashes and encrypted password
  4196. * Support passwords longer than 64 symbols
  4197. 1.0.8:
  4198. * Add function to traverse AST atoms
  4199. * Allow dependencies on rspamd symbols for SA metas
  4200. * Fix memory corruption when timeout is removed in fuzzy check
  4201. * Fix encrypted fuzzy add processing
  4202. * Avoid use-after-free in controller session destructor
  4203. * Use session pool instead of task pool in fuzzy check
  4204. * Fix assembly in i386 mode (#413, #412)
  4205. 1.0.7:
  4206. * Plugged memory leaks in internet address object & html parser
  4207. * Fixed static build
  4208. * Fixed multiple sigchld processing
  4209. * Fixed deletion of signal events after event processing loop
  4210. * Fixed build on ARM (#404 - reported by @Gottox)
  4211. * Fixed setting the default mask for SPF.
  4212. * Fixed sanitisation of HTTP query values
  4213. * Fixed parsing of the last header in encrypted HTTP messages
  4214. * Additions and fixes for test suite & benchmarks
  4215. * Added openssl aes-256-gcm support to libcryptobox & HTTP server
  4216. * Implemented support for starting multiple HTTP servers
  4217. * Implemented batch accept in HTTP server
  4218. * Added module to get data from HTTP headers (#285 - reported by @msimerson)
  4219. * Added `rspamadm control` command
  4220. * Added ability to sort counters output.
  4221. * Added ability to specify custom headers for rspamc client
  4222. * Fix architecture detection
  4223. * Converted history storage to the UCL format
  4224. * Allow flexible number of rows in history
  4225. * Fix action badges in WebUI
  4226. * Add universal cryptobox hash API
  4227. * Migrated to the optimized blake2b implementation adopted from Andrew Moon
  4228. * Allow explicit loading of specific modules
  4229. * Always load settings module
  4230. * Allow to add symbols from settings
  4231. * Fix double free in the controller fuzzy learn command
  4232. * Avoid endless loop when cannot open sqlite db
  4233. * Updated libucl
  4234. 1.0.6:
  4235. * Fix build on i386
  4236. * Update CentOS7 service file patch (by @fatalbanana)
  4237. * Fix path to rspamadm in Debian init script (by @fatalbanana)
  4238. * Fix broken '_SC_GETPW_R_SIZE_MAX' on FreeBSD
  4239. * Fix portability issues
  4240. * Use cryptobox chacha for libottery
  4241. * Better support of 32 bit builds
  4242. * Fix header name tokens setup
  4243. * Fix levenstein distance method for words
  4244. * Add workaround for old libevent (#400)
  4245. * Fix microseconds in termination timer
  4246. * Fix some more issues with fixed strings
  4247. * Explicitly test CPU instructions even after CPUID call
  4248. * Do not check out of boundary memory
  4249. * Do not output broken emails
  4250. * Fix unknown symbols registration
  4251. * Handle SIGILL using longjmp
  4252. * Block signals when exiting event loop
  4253. * Fix incorrect allocation size
  4254. * Slightly optimize alignment
  4255. * Restore rspamd -t for compatibility
  4256. * Add more sanity checks for emails
  4257. 1.0.5:
  4258. * Add rspamd control interface:
  4259. - support `stat` command to get runtime stats of rspamd workers
  4260. - support `reload` command to reload runtime elements (e.g. sqlite3 databases)
  4261. * Rework curve25519 library for modular design:
  4262. - add Sandy2x implementation by Tung Chou
  4263. - fix CPU detection for variables loading assembly
  4264. - add testing for curve25519 ECDH
  4265. * New fixed strings library
  4266. * Add `R_SUSPICIOUS_IMAGES` rule
  4267. * Enable mmap in sqlite3
  4268. * Use new strings in the HTTP code
  4269. * Improve google perftools invocation
  4270. * Improve performance profiling in http test
  4271. * Reorganize includes to reduce namespace pollution
  4272. * Allow specific sections printing in configdump command
  4273. * Rework workers signals handlers to be chained if needed
  4274. * Update socketpair utility function
  4275. * Add control_path option for rspamd control protocol
  4276. * Fix ownership when listening on UNIX sockets
  4277. * Rework signals processing in main
  4278. * Remove extra tools from rspamd (they live in rspamadm now)
  4279. * Remove global rspamd_main
  4280. * Add global timeout for the overall task processing (8 seconds by default)
  4281. * Sanitize NULL values for fuzzy backend
  4282. * Store NM between encrypt/decrypt
  4283. * Add textpart:get_words_count method
  4284. * Fix generic DNS request in lua
  4285. * Tune hfilter weights
  4286. * Add support of IPv6 in hfilter
  4287. * Fix parsing of HTTP headers with IP addresses
  4288. * Sync with the recent libucl
  4289. * Various minor bugfixes
  4290. 1.0.4:
  4291. * Add configdump routine to rspamadm
  4292. * Implement retransmits for fuzzy_check plugin
  4293. * Fix events processing for learning anf checking fuzzy hashes
  4294. * Avoid dependency on unneeded and uncompatible glib include
  4295. * Add `historyreset` command to the controller
  4296. * Fix loading of tokenizer config from dump (#389)
  4297. * Add sorting hints for the history
  4298. * Allow custom lua scripts for users/languages extraction (#388)
  4299. * Do not add FORGED_RECIPIENTS when 'To' is missing (#387)
  4300. * Do not add R_UNDISC_RCPT when 'To' is missing (#387)
  4301. * Add encryption to fuzzy check plugin
  4302. * Add encryption for fuzzy storage
  4303. * Add new epoch for encrypted fuzzy request
  4304. * Add encryption for `rspamd.com` storage
  4305. * Remove gmime processing for LDA mode as it is deadly broken
  4306. * Add routine to find end of headers position in mime messages
  4307. * Fix LDA headers folding
  4308. * Init libraries in rspamc client as well to avoid locale issues
  4309. * Avoid collision with locally installed includes
  4310. * Allocate and free memory with the same allocator in rspamadm (#385)
  4311. * Preserve expired fuzzy hashes counter
  4312. * Improvements in webui:
  4313. - Add favicon.ico
  4314. - Rework history table
  4315. - Fix sorting for the history
  4316. - Migrate to bootstrap 3 and jquery 2
  4317. - Fix css bugs
  4318. - Add glyphicons
  4319. - Add reset history
  4320. - Improve history buttons
  4321. - Redraw graph to avoid display issues
  4322. - Webui is now MIT licensed to match licensing policy of rspamd
  4323. 1.0.3:
  4324. * Fix piechart clean slice (#380)
  4325. * Fix controller crashes when GString is reallocated (#381)
  4326. * Correctly set locale before start
  4327. * Set C locale for numeric values
  4328. * Add rspamadm routine:
  4329. - add `pw` command to manage passwords
  4330. - add `help` command for displaying help
  4331. - add `configtest` command to check configuration files
  4332. - add `keypair` command for generating encryption keys
  4333. - add `fuzzy_merge` routine to merge fuzzy sqlite databases
  4334. - add a simple manual page for rspamadm
  4335. * Allow metric registration for composite expressions
  4336. * Add strict mode for configtest
  4337. * Add logger counters
  4338. * Save and show learned messages count (#383)
  4339. * Add `no_stat` flag
  4340. * Add `task:set_flag` and `task:get_flags` (#382)
  4341. * Enable foreign keys in sqlite3
  4342. * Remove orphaned shingles from fuzzy storage
  4343. * Optimize synchronization steps for fuzzy storage
  4344. * Allow delayed conditions registration
  4345. * Add lua API for conditions registering
  4346. 1.0.2:
  4347. * Fix critical bug in webui that prevents password from being sent
  4348. * Rework webui view:
  4349. - Switch to d3.js for graphs
  4350. - Improve piechart look
  4351. - Rework colors for piechart
  4352. - Fix layout for symbols
  4353. - Fix refresh button
  4354. * Add descriptions for whitelist maps
  4355. * Fix build on arm (#379)
  4356. * Fix issue with the last element in the radix trie
  4357. * Add more tests for radix trie algorithm
  4358. * Allow to extract URLs from query strings of other URLs (#361)
  4359. * Initialize rrd fields before writing to file
  4360. * Fix double free if no password has been specified
  4361. 1.0.1:
  4362. * Add writing to rrd from the controller
  4363. * Fixed lots of bugs in rrd code
  4364. * Adopt new DNS API in hfilter plugin (by @AlexeySa)
  4365. * Allow only one controller process to manage rrd file
  4366. * Set event base for fuzzy calls
  4367. * Improve fuzzy IO errors logging
  4368. * Add rra extraction function to rrd library
  4369. * Add graph handler to the controller
  4370. * Cache correct passwords to avoid too high CPU usage when working with webui
  4371. * Controller sockets are owned by router do not export them to task
  4372. * Optimize logging by skipping hash table search if it's empty
  4373. * Fix loading issue with broken statfiles
  4374. * Print assertions from glib to rspamd logger
  4375. * Load legacy `lua/rspamd.local.lua`
  4376. * Update webui with some fixes to learning and scanning
  4377. 1.0.0:
  4378. * Rework symbols processing:
  4379. - Improve sorting logic for symbols
  4380. - Organize processing into multiple stages
  4381. - Added asynchronous watchers for symbols
  4382. - Added ability to organize dependencies between symbols
  4383. * Fixed URL redirector:
  4384. - Use optimized POE loop
  4385. - Organize dependencies
  4386. - Fix startup
  4387. * New sqlite3 backend:
  4388. - Allow to have per-languages and per-user statistics
  4389. - Allow sqlite3 to be used as statistics backend
  4390. * Store tokenizer configuration within statfiles
  4391. * Improve bayes statistics:
  4392. - Use headers and images metainformation in bayes
  4393. - Suggest using of pre-processed tokens for statistics
  4394. - Fix tokens normalization for OSB algorithm
  4395. * Rewrite url parsing:
  4396. - Fix numerous issues with url extraction and normalization
  4397. - Fix mailto urls
  4398. * Fix settings plugin to allow custom actions scores
  4399. * Improve rbl plugin
  4400. * Allow capturing patterns in rspamd lua regexp library
  4401. * Add GTUBE support
  4402. * Fix spamc legacy support
  4403. * Add DKIM support to RBL module
  4404. * Fix issues with multiple DKIM signatures
  4405. * Fix issue if rspamd cannot create statfiles (#331)
  4406. * Rework parts and task structure:
  4407. - Now text_parts, parts and received are arrays
  4408. - Pre-allocate arrays with some reasonable defaults
  4409. - Use arrays instead of lists in plugins and checks
  4410. - Remove unused fields from task structure
  4411. - Rework mime_foreach callback function
  4412. - Remove deprecated scan_milliseconds field
  4413. * Add ip_score plugin support (not enabled by default):
  4414. - Can check for asn/country and network using DNS lookups
  4415. - Can store and load reputation from redis server
  4416. * Improve PARTS_DIFFER rule to count merely different words
  4417. * New HTML parser:
  4418. - Parses HTML parts using a set of state machines
  4419. - Extracts useful data and exports it to lua functions:
  4420. + Styles
  4421. + Images
  4422. + URLs
  4423. + Colors
  4424. + Structure elements
  4425. - Added HTML rules for some checks
  4426. * New version of LUA DNS API
  4427. * Table versions of many functions in LUA API
  4428. * Improve rspamc client:
  4429. - Print execution time
  4430. - Allow executing of external commands and passing output to them
  4431. - Allow mime output mode when rspamc alters message according to rspamd
  4432. checks and send it to an external command or stdout
  4433. * Allow scanning of local files using HTTP requests
  4434. * Rework configuration system:
  4435. - Rules are now moved from the $CONFDIR to $RULESDIR to avoid ambiguity
  4436. - All modules configurations are now split in $CONFDIR/modules.d/* to
  4437. simplify upgrades
  4438. - Move hfilter to plugins
  4439. - Allow plugins and rules to define default scores to simplify metrics
  4440. setup
  4441. - Include overrides for all modules to honor local/automatic parameters
  4442. - Tune scores for many modules
  4443. * Rework and enable DMARC plugin
  4444. * Add whitelist plugin for SPF/DKIM/DMARC based whitelisting
  4445. * Add some common domains to whitelists shipped with rspamd
  4446. * Rework logging:
  4447. - Now each log entry supports module name and a `tag`. Tag is used to
  4448. identify unique objects (such as tasks) when checking log files
  4449. - It is possible to turn on debugging for the specific modules
  4450. - Systemd logging is fixed
  4451. * Improve spamassassin plugin.
  4452. - Now headers are matched more like SA
  4453. - Improve support of Message-ID
  4454. - Add support of ToCc header type
  4455. - Fix :addr and :name in headers regexps
  4456. * Resurrect rrd support code
  4457. * Save controller stats between restarts
  4458. * Fixed tonns of bugs
  4459. * Added tonns of minor improvements and features
  4460. * Added more unit tests
  4461. * Create functional tests framework
  4462. * Added documentation for missing modules
  4463. * Added rpm/deb repositories and scripts
  4464. * Updated WebUI and libucl externals
  4465. 0.9.10:
  4466. * Do not dereference null pointer on learning.
  4467. * Fix some extreme cases in BAYES.
  4468. * Add a workaround to avoid bad HTML messages breaking.
  4469. * Build with -O2 flags by default.
  4470. * Add constraints to limit DNS requests count per task.
  4471. * Add workaround for SURBL DNS flood.
  4472. * Set error if rspamd cannot learn anything.
  4473. 0.9.9:
  4474. * Don't use RWL_SPAMHAUS_WL (unknown result) for whitelisting (by @fatalbanana)
  4475. * Import updated public suffix list (by @fatalbanana)
  4476. * Remove debug message
  4477. * Fix settings (by @fatalbanana)
  4478. * Remove duplicated symbol registration
  4479. * Use WAL for fuzzy storage
  4480. * RBL fixes (by @fatalbanana):
  4481. - silence errors;
  4482. - yield unknown results from RBLs;
  4483. - fix scoring for DNSWL;
  4484. - fix use of RBL name as symbol;
  4485. - ignore RBL names that would not be yielded;
  4486. * Support captures in regular expressions
  4487. * Add captures support to lua_regexp
  4488. * Support dist on FreeBSD and Darwin
  4489. * Add RCVD_IN_DNSWL_NONE as whitelisting exclusion (by @fatalbanana)
  4490. * Multiple fixes to URL detection:
  4491. - support port definition;
  4492. - fix query and path recognition;
  4493. - fix parsing of multiple slashes in URL;
  4494. - fix parsing query just after port;
  4495. - fix path field in `url:to_table` method;
  4496. - improve support of IP based URLs.
  4497. * Set ignore_whitelists = true for RECEIVED_SPAMHAUS_XBL (by @fatalbanana)
  4498. * Add GTUBE support
  4499. * Ignore User header in SA mode
  4500. 0.9.8:
  4501. * Fix critical bug in bayes classifier (#305)
  4502. * Fix critical bug in RBL module (by @fatalbanana)
  4503. * Fix and rework settings plugin.
  4504. * Fix get_all_opts for a case of non-iterable options.
  4505. * Use tld for redirector's matching.
  4506. 0.9.7:
  4507. * Add whitelist_exception setting to RBL module (by @fatalbanana)
  4508. * Don't use RWL_MAILSPIKE_POSSIBLE or DNSWL_BLOCKED for whitelisting (by
  4509. @fatalbanana)
  4510. * Fix extreme cases in bayes classifier.
  4511. * Fix parsing of urls with '?' at the end of hostname.
  4512. * Update interface.
  4513. * Fix number of issues with webui interaction.
  4514. * Fix saving maps.
  4515. * Allow user@ and @domain matches in multimap.
  4516. * Fix issues with bounces From processing.
  4517. * Fix abs/fabs misuse.
  4518. * Fix builds on suse and arch linux distributions.
  4519. 0.9.6:
  4520. * Fix memory leak if mime cannot be parsed.
  4521. * Fix dkim cache expiration.
  4522. * Fix issues with redirector HTTP response.
  4523. * Fix abnormal connection closing with certains messages with a high score
  4524. (issue #296)
  4525. * Fix redirector installation.
  4526. * Use specific POE loop for some systems.
  4527. * Fix number of issues in URL redirector.
  4528. * Fix selecting URLs for sending to redirector.
  4529. 0.9.5:
  4530. * Avoid double free when extending HTTP message.
  4531. * Fix double free if multiple classifiers are defined.
  4532. * Fix misprint in spamassassin plugin.
  4533. * Fix cpuid invocation on i386.
  4534. * Fix ownership issues for zero-copy decode.
  4535. * Allow __len metamethod on rspamd{text}.
  4536. * Add base64 decoding lua utility.
  4537. * Fix build on FreeBSD
  4538. * Skip spaces at the beginning of mime messages.
  4539. * DBL_ABUSE_REDIR should not have significant weight.
  4540. * Allow to split by lua_regexp rspamd{text} objects.
  4541. * Allow to specify custom stop pattern for lua_tcp.
  4542. 0.9.4:
  4543. * Fix critical bugs in tokenization algorithm
  4544. * Write unit tests for tokenization
  4545. * Add documentation for lua_tcp
  4546. * Switch off legacy tokenization by default.
  4547. * Fix critical bugs in words normalization
  4548. * Add lua bindings to tokenizer.
  4549. * Implement storing of HTTP headers inside task
  4550. * Add lua API to accerss HTTP headers data
  4551. * Implemented base64 encoding suitable for MIME
  4552. * Use caseless hash and equal functions for HTTP request headers.
  4553. * Improve debian architectures support (by @dottedmag)
  4554. 0.9.3:
  4555. * Revert incorrect regexp change that broke the default rules
  4556. * Fix lua_tcp module
  4557. 0.9.2:
  4558. * Fix error on spawning unique workers.
  4559. * Add preliminary version of generic LUA TCP requests API.
  4560. * Use lua 5.1 if luajit is not available (Arm64, PowerPC, s390x etc)
  4561. * Fix fuzzy mime strings with only type.
  4562. * Improve thunderbird sanity checks.
  4563. * Fix critical bug on matching regular expressions.
  4564. * Make hiredis optional dependency.
  4565. * Fix multiple bugs in daemon reloading
  4566. 0.9.1:
  4567. * Restore utf8 validation for regular expressions to avoid crashes
  4568. * Fix symbols displaying in the interface
  4569. * Add symbol groups to the interface
  4570. * Fix maps ID parsing in the controller
  4571. * Add multimap and regexp modules documentation
  4572. * Backport fixes from libucl
  4573. * Fix debian package (by @dottedmag)
  4574. * Rework XXH32 invocations
  4575. 0.9.0:
  4576. * Add support of the fast and secure protocol level encryption:
  4577. - curve25519 is used for key exchange;
  4578. - chacha20/poly1305 cryptobox construction for bulk encryption;
  4579. - zero latency overhead;
  4580. - encrypting and balancing HTTP proxy worker
  4581. * Rework expressions and create new expressions library:
  4582. - aggressive optimizations based on the abstract syntax tree;
  4583. - abstract expressions support (regular expressions, functions, lua modules
  4584. composites and so on)
  4585. - New comparison and '+' operators support
  4586. - New greedy algorithm to minimize execution time of expressions and
  4587. all symbols
  4588. - Dynamic expressions benchmark and reoptimizations
  4589. * Many improvements to the LUA API:
  4590. - reworked logger module allowing to do pretty print of the most of lua
  4591. types (including tables and userdata classes)
  4592. - reworked lua redis and lua HTTP to support more features
  4593. - added opaque type for passing large text chunks without copying
  4594. - new regexp module with many auxiliary functions (e.g. `re:split`)
  4595. * LuaJIT is now the default requirement for rspamd allowing to speed up lua
  4596. execution by a large margin (however, plain lua is still supported)
  4597. * New plugins:
  4598. - spamassassin rules plugin that allows to load and re-use the most of
  4599. SA rules natively
  4600. - DMARC plugin that evaluates SPF and DKIM policies to the domain policies
  4601. - many old plugins has been reworked to implement new features and improve
  4602. stability
  4603. * New aho-corasic trie implementation from @mischasan that allows to load and
  4604. use hundreds of thousands of patterns with no influence on load
  4605. * Support of PCRE JIT and PCRE JIT fast path modes that significantly improves
  4606. the performance of regular expressions if supported by PCRE
  4607. * New URLs parser and extractor:
  4608. - removed legacy code that was useless for url finding
  4609. - reworked algorithms of URL parsing for more precise and accurate results
  4610. - added top-level-domains tree from http://publicsuffix.org
  4611. - improved emails parsing
  4612. - removed many phishing false positives due to TLD tree check
  4613. * New statistics infrastructure:
  4614. - created a separate layer of statistic library
  4615. - improved OSB-Bayes by re-weighting tokens according to the original
  4616. academic paper and `crm114` implementation, which reduced false positives
  4617. rate significantly
  4618. - created learn cache to avoid double learning of statistics and providing
  4619. an efficient way to re-learn class for a message
  4620. - created abstract layers for different statistics backends
  4621. - implemented new tokenization algorithms with fast or secure (siphash)
  4622. hashes to generate statistics features
  4623. * Reworked utf8 tokenization that previously corrupted all UTF8 words (minor
  4624. incompatibility with old fuzzy hashes with utf-8 symbols)
  4625. * SPF module has been completely rewritten to support complex cases of
  4626. `include` and `redirect` within SPF records
  4627. * DKIM module now supports multiple signatures
  4628. * Controller passwords can now be stored encrypted by `PBKDF2-HMAC` in the
  4629. configuration file
  4630. * Many hand-written HTTP clients has been replaced with the common rspamd
  4631. http module
  4632. * New test framework:
  4633. - import lua `telescope` test framework
  4634. - add unit tests for many rspamd modules and routines
  4635. - create a unit test for each possible bug found
  4636. - use luajit ffi for testing C code
  4637. - added preliminary support of functional testing by creating tasks from lua
  4638. * Randomize hash seed to avoid certain hash tables vulnerabilities
  4639. * Documentation improvements:
  4640. - added documentation for the vast majority of rspamd modules
  4641. - added documentation for rspamd protocol
  4642. - added documentation for the most of rspamd LUA extensions
  4643. * Fixed tonns of bugs and memory leaks
  4644. * Added tonns of minor features
  4645. 0.8.3:
  4646. * Various critical fixes in distribution (by @dottedmag and @fatalbanana)
  4647. * Fixed bugs in url detector to parse certain patterns
  4648. * Add default host and helo for a client
  4649. * Some sanity checks for tokenizer and classifier
  4650. * Reiterate on systemd support
  4651. * Fix missing symbol registration
  4652. * Add support of spamc compatible output
  4653. * Filter double-dots in rbl.lua validate_dns (by @fatalbanana)
  4654. * Update ucl submodule due to critical bugfix
  4655. 0.8.2:
  4656. * Create fuzzy db if it does not exist
  4657. * Fix: Centos init script: configtest() (by @AlexeySa)
  4658. * Enable one_shot for RECEIVED_SPAMHAUS_XBL - Fixes #102 (by @fatalbanana)
  4659. * Update Exim patch (by @fatalbanana)
  4660. * Fix processing of unix sockets.
  4661. * Allow applying settings to authenticated users (by @fatalbanana)
  4662. * Make settings priorities work as documented (by @fatalbanana)
  4663. * Fix race condition in symbols planner
  4664. * Add DNSWL_BLOCKED symbol (by @fatalbanana)
  4665. * Make Exim pass usernames to rspamd (by @fatalbanana)
  4666. * Update RBL module (by @fatalbanana):
  4667. - fix indentation;
  4668. - collapse loops;
  4669. - avoid calling for un-needed information;
  4670. - allow disabling RBLs for authenticated users
  4671. * once_received.lua: Fix indentation & add exclusion for authenticated users (by @fatalbanana)
  4672. * hfilter.lua: Add exclusion for authenticated users (by @AlexeySa)
  4673. * Updates to hfilter rules (by @AlexeySa)
  4674. * Set empty <> user or addr for msgs without FROM (by @eneq123)
  4675. * Fix: attempt to index field '?' (a nil value) (by @eneq123)
  4676. * Fix: if not exist Date-header (by @AlexeySa)
  4677. * Add task:get_content() method.
  4678. * rbl.lua: Ignore private IP space (by @fatalbanana)
  4679. * Allow to check radix maps from lua by rspamd{ip}
  4680. * Make local exclusions configurable per-RBL (by @fatalbanana)
  4681. * Add rspamd_config:radix_from_config() (by @fatalbanana)
  4682. * Support emails dnsbl in rbl (by @fatalbanana)
  4683. * Complete rework of url extraction logic
  4684. * Allow customizations for unix sockets. (fixes #182)
  4685. * Set lua path according to rspamd settings.
  4686. * Import lua-functional for plugins stuff.
  4687. * Completely rewrite multimap plugin in functional style.
  4688. * Fix FORGED_MUA_THUNDERBIRD_MSGID (fixes #186)
  4689. * Check IPv6 addresses at dnswl.org and Spamhaus whitelist (by @fatalbanana)
  4690. * Add lowercase utility for utf8 strings.
  4691. * Various fixes to build system
  4692. * Updated debian configuration infrastructure (by @dottedmag)
  4693. 0.8.1:
  4694. * Add sqlite and perl as dependencies for RPM/Debian packages (by @fatalbanana)
  4695. * Remove whitelist.lua from RPM file list (by @fatalbanana)
  4696. * Make Exim pass hostnames to rspamd (by @fatalbanana)
  4697. * Fix building on Fedora (by @fatalbanana)
  4698. * Add toggle for disabling installation of systemd units on Linux (by @fatalbanana)
  4699. * Fix double format rounding that caused output corruption (reported by @fatalbanana)
  4700. * Revert broken change for destructors ordering that led to memory corruption
  4701. * Do not reset symbols case of settings if parsed from lua (reported by @andrejzverev)
  4702. * Fix build on SunOS (by @wiedi)
  4703. * Fix multiple crashes on broken DKIM DNS records
  4704. * Fix critical issue with composites weights removing
  4705. * Fix memory corruption in composites processing code
  4706. * Ignore non-SPF TXT records when parsing SPF includes
  4707. 0.8.0:
  4708. * New fuzzy check logic:
  4709. - use shingles algorithm for fuzzy matching
  4710. - use blake2 instead of md5 for larger output space
  4711. - combine fuzzy and strict matching
  4712. - allow to organize private storages by means of keys
  4713. - preserve compatibility with previous versions
  4714. * New fuzzy storage:
  4715. - use sqlite instead of own memory based hash tables
  4716. - rework commands interface
  4717. - add conversion from the old format
  4718. - add fuzzy match by shignles
  4719. - support old rspamd versions
  4720. * Add lemmatizing for words used in fuzzy hashes that allows to improve match
  4721. quality by using of the first forms of all words
  4722. * Rework language detection
  4723. * Fix several critical bugs, memory leaks and deadlocks:
  4724. - memory leak in HTML nodes parsing
  4725. - deadlock in logger code
  4726. - deadlock in signals processing
  4727. - crashes in fuzzy_storage
  4728. - crashes in tokenizers if the input was empty
  4729. * Import new libucl with several bugfixes and improvements
  4730. * Support listening on ipv6 addresses only
  4731. * Fix macro expansion in SPF module
  4732. * Several bugfixes in DKIM module
  4733. * Add load headers support for mime parts to the lua API
  4734. * Add documentation for:
  4735. - workers in general
  4736. - fuzzy_storage worker
  4737. - fuzzy_check plugin
  4738. - mimepart and textpart lua API modules
  4739. 0.7.6:
  4740. * Apply boundary fix for dkim simple canonization
  4741. * Fix ping command
  4742. * Return nil if header was not found in lua_task
  4743. * Fix hang in upstreams revive logic
  4744. * Decode entitles when normalizing HTML parts
  4745. * Fix logic of finding URLs in HTML parts
  4746. * Do not include \0 into length of text when performing conversion to utf8
  4747. * Fix raw vs parsed reperesentations
  4748. Raw parts are now:
  4749. - decoded b64/qp, but *NOT* converted to utf-8
  4750. Processed parts are now:
  4751. - converted to UTF-8
  4752. - normalized if needed (e.g. HTML tags are stripped)
  4753. * Rework DKIM canonization to line based
  4754. * Fix fuzzy hashes adding
  4755. * Use more specific hash function for fuzzy
  4756. * Fix leaking of iconv descriptors
  4757. * Fix PTR resolving in lua resolver
  4758. * Rework spf module.
  4759. - Copy data to memory pool as cached record might be destroyed causing
  4760. freed memory being passed to the protocol output (use after free)
  4761. - Allow SPF_NEUTRAL policy to be handled separately
  4762. - Add R_SPF_NEUTRAL to the default config
  4763. * Rework `register_symbols` function
  4764. * Allow to disable components of hfilter
  4765. 0.7.5:
  4766. * Fix owner when creating folder /run/rspamd (by @sfirmery)
  4767. * Fix IP validity checks
  4768. * Decode URLs obtained from HTML tags
  4769. * Fix crash with unweighted upstreams
  4770. * Stop processing headers in parts
  4771. * Set sockaddr.sa_family properly when connectig to upstreams
  4772. * Fix reload issues in surbl and fuzzy_check (reported by @citrin)
  4773. * Fix timeouts in redirector
  4774. * Improve lua errors reporting
  4775. * Fix lua closures processing in libucl
  4776. * Rework calling of lua functions from regexp module
  4777. * Choose raw regexp for raw headers
  4778. * Rework conversion to utf since glib one is broken
  4779. * Ignore SGML style tags in html
  4780. * Fix old bug with non-capturing https urls
  4781. * Fix memory corruption on fuzzy reload (reported by @citrin)
  4782. * Fix percents display in rspamc
  4783. * Fix buffer update for DKIM
  4784. * Do not validate utf for raw headers
  4785. 0.7.4:
  4786. * Fix build under *BSD
  4787. * Detect HAN unicode script
  4788. * Implement language detection heuristic for text parts
  4789. * Fix time output in history
  4790. * Improve piechart coloring
  4791. * Fix \r\n conversion in DKIM module (reported by @citrin)
  4792. * Try to detect systems with no IPv6 support
  4793. * Fix multiple/single values in use settings (reported by @citrin)
  4794. * Rework IP addresses in upstreams:
  4795. - Select ipv4/unix addresses if they exist and use ipv6 for ipv6 only
  4796. upstreams (since the support of ipv6 is poor in many OSes and
  4797. environments)
  4798. - Free IP list on upstream destruction
  4799. - Add test cases for addresses selection
  4800. - Allow adding of free form IP addresses to upstreams
  4801. * Fix endianness in lua_radix search (reported by @citrin)
  4802. * Soft shutdown should also set wanna_die flag (reported by @citrin)
  4803. * Stop use-after-free in event loop termination
  4804. * Fix processing of very short messages in DKIM (reported by @citrin)
  4805. * Detect systems without shared mutexes
  4806. * Fix issues with PTR and MX elements in SPF parser (reported by @citrin)
  4807. 0.7.3:
  4808. * New upstreams code:
  4809. - simplify upstreams API;
  4810. - unify strings parsing in upstreams definition;
  4811. - add configuration options for the upstreams;
  4812. - for failed upstreams re-resolve their addresses;
  4813. - use all resolved addresses for an upstream (round-robin);
  4814. - implement stable hashing and use it by default for upstreams;
  4815. - add unit test for upstreams module.
  4816. * Rework signals processing in all rspamd workers:
  4817. - signals are now processed in the event loop;
  4818. - implement the most common signal handlers for all workers;
  4819. - add callbacks for workers specific signal handlers
  4820. * Fix critical issue with fuzzy storage:
  4821. Fuzzy stroage could not save any hashes on termination due to bugged
  4822. signals handling
  4823. * Fix roll history IP storage
  4824. * Rework ipv4/ipv6 handling in parsing addresses:
  4825. - turn off support of IPV6_V6ONLY socket option;
  4826. - create ipv6 socket prior to ipv4 one to handle systems with v6/v4
  4827. sockets enabled (Linux)
  4828. * Remove CBL as it's wholly included in Spamhaus XBL (by @fatalbanana)
  4829. * Remove nszones.com fake RBL (by @citrin)
  4830. * Fix upstreams interaction for fuzzy_check
  4831. * Verify spf PTR records (reported by @citrin)
  4832. * Fix spf MX records parsing
  4833. * Add compatibility for old libevent (by @yellowman)
  4834. * Sync bugfixes from libucl
  4835. 0.7.2:
  4836. * Convert all maps to the compressed radix trie
  4837. * Allow IPv6 addresses in IP maps
  4838. * Remove dynamic items support from symbols cache
  4839. * Allow hex encoded output of strings
  4840. * Fix bug with control connections count
  4841. * Process fuzzy weight correctly (reported by @fatalbanana)
  4842. * Remove extra reference retain of http connection on error
  4843. * Remove deprecated options from the default config
  4844. * Add `one_shot` attr to metric's symbols
  4845. * Doc: add documentation for metrics
  4846. * Add Upstart job to debian packaging (by @CameronNemo)
  4847. * Config: improve SURBL symbols descriptions (by @citrin)
  4848. * Config: reflect SURBL changes (by @citrin):
  4849. - Outblaze removed, malware moved to separate list:
  4850. http://www.surbl.org/news/internal/MW-malware-sublist-added-to-multi
  4851. * Fix C modules initialization on restart
  4852. * Treat single IP as a single IP in radix lists (reported by @citrin)
  4853. * Do not touch file and core limits if not asked explicitly (reported by @citrin)
  4854. * Improve logging for fuzzy errors
  4855. * Block SIGPIPE for HTTP writing
  4856. * Doc: update manual pages
  4857. * Fix HTTP connection termination
  4858. * Reduce default number of parallel requests to 8
  4859. * Sync with libucl include features
  4860. 0.7.1:
  4861. * Fix typo in stat output.
  4862. * Fix issues with includes crossing with the system includes
  4863. * Restore testing framework
  4864. * Add radix trie test suite
  4865. * Implement new path-compressed radix trie.
  4866. - The performance benefit over the old algorithm is about 1.5 times.
  4867. - Memory usage is significantly lower as well.
  4868. - Now radix trie can accept any IPv4/IPv6 values
  4869. * Various improvements to the memory pools code
  4870. * Fix writing reply to a client when no filters are defined
  4871. * Write base32 encoded fuzzy
  4872. * Fix 'soft reject' action
  4873. * Fix rspamd reload and modules reconfiguration
  4874. * Fix subject rewriting for the default subject
  4875. * Fix states for processing task and pre-filters
  4876. * Fix issues with connection closing
  4877. * Fix crashes in rdns
  4878. * Fix ratelimit pre-filter
  4879. * Update exim patch.
  4880. - Update to the recent exim version
  4881. - Strip extra leading src/ from the patch
  4882. - Remove sendfile since it was broken
  4883. - Fix rspamd spam report for exim
  4884. * Improve documentation
  4885. 0.7.0:
  4886. * Use HTTP protocol for all operatiosn
  4887. * Webui worker is now removed and controller works as webui
  4888. * Allow to serve static files via controller by option `static_dir`
  4889. * Rspamd interface is now a part of rspamd
  4890. * Rspamc client has been rewritten to use HTTP and non-blocking mode
  4891. allowing to start multiple operations simultaneously (see `-n` option)
  4892. * Lua API was completely reworked to satisfy modern standards of LUA:
  4893. * Module `lua-message` was removed
  4894. * Reduced number of superglobals registered by rspamd
  4895. * Many functions has been redesigned
  4896. * Symbols registration is now more convenient
  4897. * Users settings has been rewritten as lua plugin
  4898. * Reworked headers system as gmime's based one misses many headers and is
  4899. very slow to get headers values
  4900. * Reorganized code and removed embedded jannsson by using UCL for all json
  4901. parsing
  4902. * Migrated to `librdns` for DNS resolving that improves concurrency for
  4903. DNS requests significantly
  4904. * Fixed tonns of bugs in MIME processing
  4905. * Improved metrcis and default symbol's weights
  4906. * Added new RBL's
  4907. * Fixed a number of issues in the modules
  4908. * Removed several memory leaks found
  4909. * Fix unicode processing
  4910. * Fix fuzzy checking for unicode parts
  4911. * Significantly improve documentation and especially LUA API docs
  4912. * See migration notes at https://rspamd.com/doc/migration.html
  4913. 0.6.8:
  4914. * Controller now listen for localhost and not for 127.0.0.1 by default
  4915. * Allow FCrDNS-style RBL lookups (by @fatalbanana)
  4916. * Reduce threshold for parts_differ function.
  4917. * Fix hostname lookup for rdns rbl (by @AlexeySa)
  4918. * Fix HFILTER_URL_ONELINE to reduce false positive rate.
  4919. * Fix whitelist module.
  4920. * Allow override system predefined settings without touching system ones
  4921. by .try_include macro (by @andrejzverev)
  4922. * Check for [ip.address]-style HELO and suppress lookups. (by
  4923. @fatalbanana)
  4924. * Optimize hfilter (by @AlexeySa)
  4925. * Fix issue with random numbers generator in dns.
  4926. * Use more clever time values to setup entropy.
  4927. * Synced with the recent libucl.
  4928. 0.6.7:
  4929. * Use ChaCha20 for DNS generator (more secure DNS id)
  4930. * Unknown symbols now has zero weight and not 1.0
  4931. * Fix fuzzy hashes expire time
  4932. * Fix critical issue in statfiles on FreeBSD 9 (and some other platforms)
  4933. * Add .include_map macro to ucl parser
  4934. * Update libucl
  4935. * Fix headers end detection for DKIM module
  4936. * Fix a bug in received headers parser
  4937. * Validate IP addresses before pushing them to lua
  4938. * Start new documentation project
  4939. * Fixed tonns of other minor bugs
  4940. * Start to prepare for 0.7 with HTTP protocol and new settings
  4941. 0.6.6:
  4942. * Removed issue with BUFSIZ limitation in the controller output
  4943. * Simplify logging symbols escaping
  4944. * Adjusted weights for several rules
  4945. * Improve spamhaus rbl support
  4946. * Removed PBL for received headers checks
  4947. * Added hfilter module that performs various HELO and IP checks.
  4948. * Rspamd can now be reloaded by HUP signal
  4949. * Fuzzy storage should expire hashes properly
  4950. * Build system has been reworked for better supportof pkg-config
  4951. * Various minor bugfixes
  4952. 0.6.5:
  4953. * Fixed critical bug in DNS resolver, introduced in 0.6.4
  4954. * Improved multimap and rbl plugins to skip
  4955. * Add dns_sockets option for tuning sockets per server in DNS resolver
  4956. * Improved packages for rspamd
  4957. 0.6.4:
  4958. * Added io channels for DNS request to balance load and reduce id
  4959. collisions chance
  4960. * Fixed a bug in SPF filter that may cause core dump in specific
  4961. circumstances
  4962. * FIxed default config for rbl module
  4963. * It is possible to get a list of rspamc commands with their descriptions
  4964. * Added SORBS bl to the default config
  4965. * 2tld file for surbl module has been significantly extended
  4966. * Perl modules has been removed from the code.
  4967. * Fixed an issue in libucl when parsing macros
  4968. 0.6.3:
  4969. * Fixed issues with DNS:
  4970. - labels decompression algorithm was fixed;
  4971. - added resolve_mx to lua API;
  4972. - fixed modules that use DNS.
  4973. * Lua modules once_received and emails reworked for new resolver API and UCL.
  4974. * Debian package was polished.
  4975. * Fixed a bug in fuzzy_check module that prevents correct processing messages
  4976. without valid parts.
  4977. 0.6.2:
  4978. * Fuzzy check module has been reworked:
  4979. - now fuzzy_check operates with a group of rules, that define which
  4980. servers sre to be checked;
  4981. - it is possible to specify read_only groups to avoid learning errors;
  4982. - turn fuzzy_check to one_shot mode permanently;
  4983. - fuzzy_check module configuration is now incompatible with the previous
  4984. versions.
  4985. * Imported bugfixes from libucl.
  4986. * Fixed whitelist plugin.
  4987. * Fixed statfiles resizing.
  4988. * Improved logging initialization order.
  4989. * Fixed race condition in the controller worker.
  4990. 0.6.1:
  4991. * Critical bugfixes:
  4992. - fixed build system;
  4993. - fixed in_class setting in bayes learning;
  4994. 0.6.0:
  4995. * Use UCL instead xml for configuration (https://github.com/vstakhov/libucl)
  4996. * Fix statistics module normalization
  4997. * Rework the many modules for the new configuration:
  4998. - surbl has incompatible configuration;
  4999. - fuzzy_check has incompatible configuration;
  5000. - multimap has now new configuration;
  5001. - received_rbl is removed and replaced by rbl module.
  5002. * Removed deprecated options:
  5003. - statfile_pool_size;
  5004. - action and required/reject score for a metric.
  5005. * Simplify build system and unify configuration for all platforms.
  5006. * Improved URL detector (reduced false positive rate).
  5007. * Lua 5.2 is now the default and fully supported version.
  5008. * Tons of bugfixes and minor improvements.
  5009. 0.5.6:
  5010. * Fix bug with counters incrementing in rolling history
  5011. * Detect expl and exp2l as some systems do not have it
  5012. * Support input streams without Content-Length
  5013. * Implement counters output via rspamc and controller interface
  5014. * Fix bug with udp sockets in fuzzy storage
  5015. 0.5.5:
  5016. * New bayes normalizator based on inverse chi-square function
  5017. * Various fixes to fuzzy storage
  5018. * Allow update fuzzy storage only from specific IP addresses
  5019. * Better support of IPv6 and address selection algorithms
  5020. * Add CentOS spec file
  5021. 0.5.4:
  5022. * Fixed issues with diff algorithm
  5023. * Added support of RRD statistics
  5024. * Add webui worker for interface interaction
  5025. * Fix a lot of issues with dynamic conf
  5026. * Fix critical memory leak in settings code
  5027. * Improve stability of the system
  5028. 0.5.3:
  5029. * Added dynamic options
  5030. * Added advanced metaclassfication
  5031. * Added RESTfull API for controller
  5032. * Improved hashing algorithms
  5033. * Various fixes for rspamc client:
  5034. - allow interacting with unix sockets
  5035. - librspamdclient major cleanup
  5036. - bayes is now default classifier
  5037. 0.5.2:
  5038. * Added lua bindings for:
  5039. - basic mime parts, that allows checkign attachements for example;
  5040. - DNS resolver;
  5041. * Existing lua bindings now works without task object allowing to use them
  5042. in custom code.
  5043. * Threads system was reworked to avoid global lua interpreter lock.
  5044. * DKIM module now converts all line endings to CRLF how opendkim does.
  5045. * URL detector is now more accurate for text parts.
  5046. * Several critical bugs and memory leaks were fixed.
  5047. 0.5.1:
  5048. * Added lua worker type to handle network connections in lua.
  5049. * Added lua bindings for async_session, IO dispatcher, memory_pool, and
  5050. worker.
  5051. * Composites can now uses other composites in expressions.
  5052. * Fixes for debian package and for FreeBSD >= 9.1
  5053. * Add support of gmime-2.6 if gmime-2.4 is not found.
  5054. * Improve url detection and phishing detection.
  5055. * Add lua mime_part library to get an access to all message part
  5056. attributes (like filename, length, type).
  5057. 0.5.0:
  5058. * Added SMTP lightweight balancing proxy with XCLIENT support.
  5059. * Added lua bindings for upstreams objects and API.
  5060. * New pre-filters are implemented to support initial checking for messages.
  5061. * Added ratelimit plugin that uses redis protocol to store data.
  5062. * Added ipv6 support to spf and some other modules.
  5063. * Unbreak spf plugin.
  5064. * Allow options with the same name be threated as list.
  5065. * DKIM plugin an parsing code was added.
  5066. * Separate build system to put logic in several shared libraries.
  5067. * Many bugfixes.
  5068. 0.3.2:
  5069. * Add error handling for regexps
  5070. * Fix quit command in controller interface
  5071. * Write symbols weights to rspamc output
  5072. * Improve logic of selecting rspamc version
  5073. * Do not try to parse broken DNS replies
  5074. * Add 'raw' flag to FROM_EXCESS_BASE64 rule (requested by citrin)
  5075. * Output message id in rspamc reply
  5076. * Fix inserting composite symbol
  5077. * Fix output of log line
  5078. * Document composites
  5079. * Add logging for fuzzy checks
  5080. * Add logging for learning
  5081. * Improve logic of learning messages - do not learn more than specific threshold
  5082. * Fix inserting results for symbols that were incorrectly (for example more than 1 time) defined in config file
  5083. * Do not output control characters if output is not terminal
  5084. * Fix some logic errors in learning
  5085. * Consider lua plugins errors as fatal configuration errors
  5086. * Fix writing message id during fuzzy_add command
  5087. * Display weight of symbols correctly
  5088. * Fixes to winnow learning
  5089. * One more try to improve accuracy of winnow algorithm
  5090. * Add bayesian classifier (initial version)
  5091. * Remove normalizer as it is winnow specific thing, so all statistic algorithms now returns value from 0 to 1
  5092. * Some fixes to fuzzy hashes expiration:
  5093. * Fix assertion while look up value in NULL hash (found by cirtin)
  5094. * Fix normalization for systems that have not tanhl function
  5095. * Ignore rfc822 group addresses
  5096. * Move images library to core rspamd
  5097. * Add lua api to access images properties
  5098. * Add post filters to lua API - filters that would be called after all message's processing
  5099. * Add ability to check for specified symbol in task results from lua
  5100. * Add ability to check for metric's results from lua
  5101. * Add ability to learn specified statfile form lua
  5102. * Add ability to extract filename and size of images from lua
  5103. * Fix assertion while extracting internet address
  5104. * Fix races in fuzzy storage
  5105. * Make spf parser case insensitive
  5106. * Add ability to check hashes of selected mime types
  5107. * Add ability to set minimum size in bytes for mime types
  5108. * Add ability to set minimum dimensions for images
  5109. * Assume all text/* content types as text/plain
  5110. * Fix getting data wrapper for gmime24
  5111. * Many fixes to statfile synchronization system
  5112. * Fixed statfile pool initialization and synchronization with disk
  5113. * Prepare 0.3.2
  5114. * Fix Mail::Rspamd::Config for new rspamd features
  5115. * Use Mail::Rspamd::Config in rspamc client
  5116. * Write user's name to rspamd log
  5117. * Prepare rspamd build infrastructure for creating rpm and deb packages
  5118. * Fix depends
  5119. * Add start script for linux systems
  5120. * Fix shared usage of statfiles
  5121. * Add invalidation of statfiles in case of learning, so now statfiles
  5122. * This should fix shared usage of statfile pool by several processes
  5123. * Fix misprint (reported by az)
  5124. * Fix stupid error when all checks can be done in a single pass
  5125. * New trie based url scanner (based on libcamel)
  5126. * Small fixes to rspamd perl client
  5127. * Write fuzzy hashes info to log
  5128. * Add trie interface to lua api
  5129. * Explain sample config and cleanup it
  5130. 0.3.1:
  5131. * Add modules documentation
  5132. * Continue implementing smtp proxy
  5133. * Implement new learning system, now rspamd should be much more intelligent while learning messages
  5134. * Convert statistic sums to use long double for counters
  5135. * Use hyperbolic tangent for internal normalizer
  5136. * In classify normalize result after comparing, not before
  5137. * New symbols sorter
  5138. * Fix strict aliasing while compiling with optimization
  5139. * Fix tanhl detection for platforms that have not implementation of it
  5140. * Remove several compile warnings
  5141. * Add experimental support of dynamic rules to regexp module
  5142. * Document views configuration
  5143. * Several fixes to documentation
  5144. * Add more logic for dynamic rules
  5145. * Add documentation for dynamic rules
  5146. * Add ability to make negations in networks in dynamic rules
  5147. * Clean up cache items correctly
  5148. * Implement basic SMTP dialog:
  5149. * Implement interaction with smtp upstream (with support of XCLIENT)
  5150. * Check messages received via smtp proxy
  5151. * Add support for sendfile in io dispatcher
  5152. * Fix issues with compatibility of worker_task and smtp proxy
  5153. * Proxy DATA command
  5154. * Fix SMTP
  5155. * Change metric logic
  5156. * Completely remove lex/yacc readers for config
  5157. * Make common sense of metric/action and symbols
  5158. * Sync changes with all plugins
  5159. * Incorrectly removed in previous commit
  5160. * Fix misprint (by Andrej Zverev)
  5161. * announce the "password" keyword in usage list
  5162. * Implement initial version of greylisting triplets storage
  5163. * Fix issues with smtp worker
  5164. * Fix QUIT command in SMTP worker
  5165. * Some fixes about new metrics system (may be incomplete)
  5166. * Get weights of symbol from default metric for symbols cache
  5167. * Fix setting task->from/task->rctp in smtp client
  5168. * Copy from and rcpt correctly
  5169. * Some performance improvements to IO dispatcher (do not drain the whole buffer after a single line readed)
  5170. * Fix smtp data input
  5171. * Fix misprint
  5172. * Add limit of maximum allowed smtp session errors
  5173. * New logic of SURBL module:
  5174. * Use system mkstemp(3) on systems where it is available as glib implementation
  5175. * Try to fix memmove issues in io dispatcher
  5176. * Remove debug from SURBL module
  5177. * Rewrite buffered input for line policy (again)
  5178. * Fix issue with links that are ip addresses in numeric form in surbl
  5179. * On Darwin use BSD style sendfile definition
  5180. * Reorganize platform specific knobs in CMakeLists
  5181. * Use gettimeofday on systems that have not clock_getres
  5182. * Use ftime for dns trans id generation on systems without clock_getres
  5183. * Darwin sendfile(2) support
  5184. * TIMEDB->TIMEB
  5185. * More to previous commit
  5186. * Pass env from main() arguments instead of platform specific global environ
  5187. * Fix compatibility issues
  5188. * Fix -lintl detection
  5189. * Init some variables to avoid problems
  5190. * Remove garbadge (gnome terminal sucks)
  5191. * Add more information about why we drop smtp connection
  5192. * Fix mkstemp call
  5193. * Send to upstream QUIT command at the end of session
  5194. * Check return value of each rspamd_dispatcher_write as in case of write errors sessions can be destroyed early
  5195. * Fix states in smtp dialog
  5196. * Use rspamd_snprintf instead of libc one
  5197. * Fix URLS command
  5198. * Fix reconfigure process of surbl module
  5199. * Fix destroying smtp session (unmap memory and do not delete pool early)
  5200. * Delete pool after using its variables
  5201. * Delay timer must be registered in async session to correctly handle connection termination
  5202. * Register dns requests in session too
  5203. * Make session before registering events
  5204. * Remove events in handlers
  5205. * Add ability to set filters for smtp worker for each smtp stage
  5206. * Add very initial version of DNS resolver (many things to be done)
  5207. * Announce weights and sync
  5208. * Fix few typo
  5209. * Understand short names of facility in logging config
  5210. * Add ability to make whitelist for spf checks
  5211. * Misprint != -> ==
  5212. * Handle lua tag in way that it is not required to write additional text:
  5213. * Strip all starting whitespace symbols from xml texts
  5214. * Fix stupid bug in calculating buffer length while reading file maps
  5215. * Add resolv.conf parsing into dns.c
  5216. * Fix microseconds<->milliseconds conversions
  5217. * Take callback argument in Mail::Rspamd::Client for processing files and directories
  5218. * Print results if rspamc is called for a directory
  5219. * Fix stupid error with surbl module reconfig (another one, blame me)
  5220. * Do not show duplicate urls in url header
  5221. * Fix detection of numeric urls (reported by citrin)
  5222. * Write real time of message's scan to log (not only virtual)
  5223. * Fix chartable module in utf mode
  5224. * Fix parsing of some broken urls
  5225. * Add ability to test regexp with 'T' flag
  5226. * Write more code for DNS resolver:
  5227. * Make DNS resolver working
  5228. * Many improvements to rspamd test suite: now it CAN be used for testing rspamd functionality
  5229. * Write DNS resolver tests
  5230. * Fix issues with memory_pool mutexes and with creating of statfiles
  5231. * Forgotten in previous commit
  5232. * Add support for parsing SPF and SRV records
  5233. * Fix PTR parsing
  5234. * Add tests
  5235. * Make SURBL module to use rspamd dns module
  5236. * Several fixes to DNS logic
  5237. * Remove evdns and use only rspamd resolver
  5238. * Very hard to detect problem with race among error in socket and destroying task while we are writing to socket and go through a hash table
  5239. * Fix resolving in smtp module
  5240. * Init events before configuring resolver in smtp worker
  5241. * Set resolver inside task
  5242. * Fix reload signal (reported by citrin)
  5243. * Some improvements to redirector
  5244. * Call has_forked method to inform POE about fork
  5245. * Fix lua DNS code
  5246. * Decompress labels in DNS packets more strictly
  5247. * Fix some problems with TXT records
  5248. * Try to fix removing of DNS events
  5249. * Do not insert unparsed RR's into reply
  5250. * Calling callbacks may cause destroying session from which we are calling callback so we MUST call callback as the latest action
  5251. * Fix check_smtp_data function
  5252. * Add ability to make views by recipient
  5253. * Add ability to set metric's action from config file
  5254. * Fix bug with writing garbadge if message has no urls or no messages
  5255. * Fix bug with incorrect behaviour of compare_parts_distance function
  5256. * Add ability to assign several actions to one metric
  5257. * Report action in rspamc protocol
  5258. * Mail::Rspamd::Client and rspamc can now understand Action header too
  5259. * Write action to log as well
  5260. * Make valgrind happy about comparing symbols
  5261. * Add more debug to comparing parts distance function
  5262. * Write action even if message has no symbols
  5263. * Make improvements to HTML entities decoder: now it replaces entities with common characters and
  5264. * Add -d option to force debug output
  5265. * Assume 7bit as default transfer encoding
  5266. * Do not overwrite lua plugins and configs if they already exists in target directory
  5267. * Improve logging
  5268. * Write queue id to log
  5269. * Remove test messages from cmake
  5270. * Reopen log file by USR1 signal
  5271. * Add reopenlog method to FreeBSD rc script
  5272. * Adopt foreach for cmake 2.6
  5273. * Fix to rc script
  5274. * Do not try to resolve names with several dots in a row
  5275. * Fix surbl request formatting for ip addresses
  5276. * Handle cases of broken requests
  5277. * Fix problems with parsing compressed names
  5278. * Fix TXT records parsing
  5279. * Fix expanding spf macros that may fail in rare cases
  5280. * Fix another error with early task destroying
  5281. * Handle empty from header
  5282. * Improve reopenlog command in rc script
  5283. * Strip trailing whitespace characters in Mail::Rspamd::Client
  5284. * Use ungreedy match to strip trailing whitespaces
  5285. * Stupid error in calculation compressed label length
  5286. * Some optimizations to client library
  5287. * Do not compare empty parts
  5288. * Empty and non-empty parts are always different
  5289. * Save in regexp cache the whole regexp with header name (if exists) and with flags
  5290. * Add rspamd_log variable to lua plugins to access logging functions
  5291. * Each part in rspamd task now can have parent part
  5292. * Check for parts distance only for multipart/alternative subparts
  5293. * Do not check attachements even if they are text (but attached as file)
  5294. * Do not die if write (2) returned ENOSPACE while doing logging, turn on throttling mode instead (1 write try in a second)
  5295. * Add ability to turn on debug for specific symbols
  5296. * Add ability to configure dns timeouts and dns retransmits in config file
  5297. * More debug
  5298. * Fix extracting arguments in lua logger interface
  5299. * Turn off debug_ip during reload if it was disabled by new config
  5300. * Improve lua logging
  5301. * Pre-init symbols cache when rereading config
  5302. * Fix lua representing of invalid ip (nil, not 255.255.255.255)
  5303. * Fix R_TO_SEEMS_AUTO rule (by citrin)
  5304. * Add multimap lua plugin
  5305. * Fix some multimap issues
  5306. * Try to save images hashes to fuzzy storage to stop some annoying spammers
  5307. * Allocate some more bytes for read buffer to avoid incorrect behavoiur
  5308. * Add ability to check dns black lists by multimap module
  5309. * Add multimap documentation
  5310. * Fix labels parsing
  5311. * Another try to save regexps in cache correctly
  5312. * Improve test logs for regexps
  5313. * Fix parsing txt records to avoid reading of uninitialized data
  5314. * Fix error with writing symbols cache file
  5315. * Fix error while working in utf mode when raw regexps was not created properly
  5316. * Do not add extra byte while converting text to utf
  5317. * Add error handling for regexps