You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ChangeLog 253KB

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