]> source.dussan.org Git - rspamd.git/log
rspamd.git
8 years agoAdd a simple script to learn fann from rspamd logs
Vsevolod Stakhov [Tue, 22 Dec 2015 00:17:59 +0000 (00:17 +0000)]
Add a simple script to learn fann from rspamd logs

8 years agoRelease 1.0.11
Vsevolod Stakhov [Mon, 21 Dec 2015 18:26:52 +0000 (18:26 +0000)]
Release 1.0.11

* Fix spf redirects
* Fix domains when parsing mx/ptr/a records in includes/redirects
* Fix unfolded base64 encoding
* Fix GError use-after-free
* Do not rewrite the original url when using redirector
* Fix parsing of fragment in urls
* Fix processing of HTML tags
* Improve empty image rule
* Avoid long double type
* Fix tokens weights in OSB algorithm
* Improve debugging for bayes

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
8 years agoAdd lua_fann module
Vsevolod Stakhov [Mon, 21 Dec 2015 14:46:13 +0000 (14:46 +0000)]
Add lua_fann module

8 years agoAdd detection of libfann
Vsevolod Stakhov [Mon, 21 Dec 2015 12:28:41 +0000 (12:28 +0000)]
Add detection of libfann

8 years agoPrefer spf1 records as spf2 records are usually rotten
Vsevolod Stakhov [Mon, 21 Dec 2015 11:11:21 +0000 (11:11 +0000)]
Prefer spf1 records as spf2 records are usually rotten

8 years agoAdjust TTL of SPF record to the lowest element TTL
Vsevolod Stakhov [Mon, 21 Dec 2015 10:08:12 +0000 (10:08 +0000)]
Adjust TTL of SPF record to the lowest element TTL

8 years agoDo not parse URLs for getting TLD in lua
Vsevolod Stakhov [Mon, 21 Dec 2015 09:43:53 +0000 (09:43 +0000)]
Do not parse URLs for getting TLD in lua

8 years agoAdd lua method to get tld for a host
Vsevolod Stakhov [Mon, 21 Dec 2015 09:39:28 +0000 (09:39 +0000)]
Add lua method to get tld for a host

8 years agoAdd method to find tld position in a host string
Vsevolod Stakhov [Mon, 21 Dec 2015 09:34:02 +0000 (09:34 +0000)]
Add method to find tld position in a host string

8 years agoIncrease default timeout for a client
Vsevolod Stakhov [Mon, 21 Dec 2015 09:15:41 +0000 (09:15 +0000)]
Increase default timeout for a client

8 years agoUpdate SA plugin documentation
Vsevolod Stakhov [Mon, 21 Dec 2015 09:09:22 +0000 (09:09 +0000)]
Update SA plugin documentation

8 years agoAdjust some default scores
Vsevolod Stakhov [Sun, 20 Dec 2015 21:30:56 +0000 (21:30 +0000)]
Adjust some default scores

8 years agoHyperscan is available for x86_64 only so far
Vsevolod Stakhov [Sun, 20 Dec 2015 21:23:16 +0000 (21:23 +0000)]
Hyperscan is available for x86_64 only so far

8 years agoMerge pull request #453 from fatalbanana/master
Vsevolod Stakhov [Sun, 20 Dec 2015 16:39:03 +0000 (16:39 +0000)]
Merge pull request #453 from fatalbanana/master

Writing rules tutorial: Fix path to rspamd.local.lua

8 years agoPrint extra empty line
Vsevolod Stakhov [Sat, 19 Dec 2015 22:26:19 +0000 (22:26 +0000)]
Print extra empty line

8 years agoFix sorting and output of errors_ips
Vsevolod Stakhov [Sat, 19 Dec 2015 22:05:13 +0000 (22:05 +0000)]
Fix sorting and output of errors_ips

8 years agoFix a stupid misprint
Vsevolod Stakhov [Sat, 19 Dec 2015 21:45:22 +0000 (21:45 +0000)]
Fix a stupid misprint

8 years agoOutput errors by IP
Vsevolod Stakhov [Sat, 19 Dec 2015 21:27:20 +0000 (21:27 +0000)]
Output errors by IP

8 years agoSave information about IP addresses that generated errors
Vsevolod Stakhov [Sat, 19 Dec 2015 21:14:05 +0000 (21:14 +0000)]
Save information about IP addresses that generated errors

8 years agoClear bindings for sqlite3 statements
Vsevolod Stakhov [Fri, 18 Dec 2015 16:52:34 +0000 (16:52 +0000)]
Clear bindings for sqlite3 statements

8 years agoImprove logging to avoid confusion
Vsevolod Stakhov [Fri, 18 Dec 2015 16:39:26 +0000 (16:39 +0000)]
Improve logging to avoid confusion

8 years agoFix stupid error when log message misses task id
Vsevolod Stakhov [Fri, 18 Dec 2015 16:02:31 +0000 (16:02 +0000)]
Fix stupid error when log message misses task id

8 years agoClarify error message
Vsevolod Stakhov [Fri, 18 Dec 2015 14:49:56 +0000 (14:49 +0000)]
Clarify error message

8 years agoSupport GIT_ID variable
Vsevolod Stakhov [Fri, 18 Dec 2015 14:24:01 +0000 (14:24 +0000)]
Support GIT_ID variable

8 years agoAdd runtime directory for systemd
Vsevolod Stakhov [Fri, 18 Dec 2015 13:59:44 +0000 (13:59 +0000)]
Add runtime directory for systemd

Suggested by: Denis Denisov

8 years agoAdd some controller's documentation
Vsevolod Stakhov [Thu, 17 Dec 2015 19:16:30 +0000 (19:16 +0000)]
Add some controller's documentation

8 years agoAdd normal worker documentation
Vsevolod Stakhov [Thu, 17 Dec 2015 19:01:43 +0000 (19:01 +0000)]
Add normal worker documentation

8 years agoWriting rules tutorial: Fix path to rspamd.local.lua 453/head
Andrew Lewis [Thu, 17 Dec 2015 18:42:34 +0000 (20:42 +0200)]
Writing rules tutorial: Fix path to rspamd.local.lua

Also try to tune wording a little

8 years agoFix issue with base32 printing
Vsevolod Stakhov [Thu, 17 Dec 2015 18:47:34 +0000 (18:47 +0000)]
Fix issue with base32 printing

8 years agoUse base32 for keys instead of hex
Vsevolod Stakhov [Thu, 17 Dec 2015 18:37:26 +0000 (18:37 +0000)]
Use base32 for keys instead of hex

8 years agoAdd base32 encoding support for printf routines
Vsevolod Stakhov [Thu, 17 Dec 2015 18:36:51 +0000 (18:36 +0000)]
Add base32 encoding support for printf routines

8 years agoCreate dbdir for rspamd in debian package
Vsevolod Stakhov [Thu, 17 Dec 2015 18:28:56 +0000 (18:28 +0000)]
Create dbdir for rspamd in debian package

8 years agoFix return code for mime processing
Vsevolod Stakhov [Thu, 17 Dec 2015 13:59:13 +0000 (13:59 +0000)]
Fix return code for mime processing

Issue: #449
Reported by: @vadz

8 years agoFix adding symbols in the settings
Vsevolod Stakhov [Thu, 17 Dec 2015 12:02:13 +0000 (12:02 +0000)]
Fix adding symbols in the settings

8 years agoMention tutorials part
Vsevolod Stakhov [Thu, 17 Dec 2015 11:41:55 +0000 (11:41 +0000)]
Mention tutorials part

8 years agoAdd writing rules tutorial
Vsevolod Stakhov [Thu, 17 Dec 2015 11:35:43 +0000 (11:35 +0000)]
Add writing rules tutorial

8 years agoAdd tutorials part
Vsevolod Stakhov [Thu, 17 Dec 2015 11:35:33 +0000 (11:35 +0000)]
Add tutorials part

8 years agoDo not sum fuzzy stored count
Vsevolod Stakhov [Thu, 17 Dec 2015 09:08:02 +0000 (09:08 +0000)]
Do not sum fuzzy stored count

8 years agoMore fixes to fuzzy stat display
Vsevolod Stakhov [Wed, 16 Dec 2015 22:24:56 +0000 (22:24 +0000)]
More fixes to fuzzy stat display

8 years agoAdd humanize number lua utility
Vsevolod Stakhov [Wed, 16 Dec 2015 22:08:22 +0000 (22:08 +0000)]
Add humanize number lua utility

8 years agoFix misprint
Vsevolod Stakhov [Wed, 16 Dec 2015 22:02:24 +0000 (22:02 +0000)]
Fix misprint

8 years agoLimit number of file descriptors opened by nftw
Vsevolod Stakhov [Wed, 16 Dec 2015 18:08:09 +0000 (18:08 +0000)]
Limit number of file descriptors opened by nftw

8 years agoFix formatting script for fuzzy stats
Vsevolod Stakhov [Wed, 16 Dec 2015 17:52:30 +0000 (17:52 +0000)]
Fix formatting script for fuzzy stats

8 years agoSkip unnecessary stuff in lua preprocessing
Vsevolod Stakhov [Wed, 16 Dec 2015 17:51:12 +0000 (17:51 +0000)]
Skip unnecessary stuff in lua preprocessing

8 years agoInclude full stats for fuzzy storage
Vsevolod Stakhov [Wed, 16 Dec 2015 17:08:24 +0000 (17:08 +0000)]
Include full stats for fuzzy storage

8 years agoShow storage id in fuzzy stat command
Vsevolod Stakhov [Wed, 16 Dec 2015 15:30:55 +0000 (15:30 +0000)]
Show storage id in fuzzy stat command

8 years agoRemove fuzzy stat from generic server stat
Vsevolod Stakhov [Wed, 16 Dec 2015 15:24:39 +0000 (15:24 +0000)]
Remove fuzzy stat from generic server stat

8 years agoStore fuzzy backend id based on path to file
Vsevolod Stakhov [Wed, 16 Dec 2015 15:03:21 +0000 (15:03 +0000)]
Store fuzzy backend id based on path to file

8 years agoUse macro for tag and uid lengths instead of magic numbers
Vsevolod Stakhov [Wed, 16 Dec 2015 15:03:03 +0000 (15:03 +0000)]
Use macro for tag and uid lengths instead of magic numbers

8 years agoFix const qualifier usage
Vsevolod Stakhov [Wed, 16 Dec 2015 15:02:26 +0000 (15:02 +0000)]
Fix const qualifier usage

8 years agoRewrite preprocess script to avoid string literal limit in C
Vsevolod Stakhov [Wed, 16 Dec 2015 13:47:36 +0000 (13:47 +0000)]
Rewrite preprocess script to avoid string literal limit in C

8 years agoAllow multiple workers of the same type to be configured
Vsevolod Stakhov [Wed, 16 Dec 2015 13:30:04 +0000 (13:30 +0000)]
Allow multiple workers of the same type to be configured

8 years agoClean pipes for terminated workers
Vsevolod Stakhov [Wed, 16 Dec 2015 02:02:04 +0000 (02:02 +0000)]
Clean pipes for terminated workers

8 years agoDo not treat 'not found' as error in fuzzy
Vsevolod Stakhov [Wed, 16 Dec 2015 00:59:07 +0000 (00:59 +0000)]
Do not treat 'not found' as error in fuzzy

8 years agoFix some border cases in control logic
Vsevolod Stakhov [Wed, 16 Dec 2015 00:32:47 +0000 (00:32 +0000)]
Fix some border cases in control logic

8 years agoFix errors processing in fuzzy check
Vsevolod Stakhov [Tue, 15 Dec 2015 21:55:34 +0000 (21:55 +0000)]
Fix errors processing in fuzzy check

8 years agoReduce noise for surbl
Vsevolod Stakhov [Tue, 15 Dec 2015 21:47:52 +0000 (21:47 +0000)]
Reduce noise for surbl

8 years agoImprove output for fuzzystat
Vsevolod Stakhov [Tue, 15 Dec 2015 18:42:34 +0000 (18:42 +0000)]
Improve output for fuzzystat

8 years agoFix passing args to lua
Vsevolod Stakhov [Tue, 15 Dec 2015 18:32:57 +0000 (18:32 +0000)]
Fix passing args to lua

8 years agoImprove lua logging format
Vsevolod Stakhov [Tue, 15 Dec 2015 18:27:41 +0000 (18:27 +0000)]
Improve lua logging format

8 years agoFix output
Vsevolod Stakhov [Tue, 15 Dec 2015 18:17:02 +0000 (18:17 +0000)]
Fix output

8 years agoFix statistics for default key
Vsevolod Stakhov [Tue, 15 Dec 2015 17:55:12 +0000 (17:55 +0000)]
Fix statistics for default key

8 years agoFix bug with ips display
Vsevolod Stakhov [Tue, 15 Dec 2015 17:45:27 +0000 (17:45 +0000)]
Fix bug with ips display

8 years agoAnother fix for old libevent
Vsevolod Stakhov [Tue, 15 Dec 2015 17:26:56 +0000 (17:26 +0000)]
Another fix for old libevent

8 years agoFix build with old sqlite
Vsevolod Stakhov [Tue, 15 Dec 2015 17:19:07 +0000 (17:19 +0000)]
Fix build with old sqlite

8 years agoImport getopt to parse lua options
Vsevolod Stakhov [Tue, 15 Dec 2015 15:26:56 +0000 (15:26 +0000)]
Import getopt to parse lua options

8 years agoAdd getopt module
Vsevolod Stakhov [Tue, 15 Dec 2015 15:26:37 +0000 (15:26 +0000)]
Add getopt module

8 years agoAdd support of '--.USE' in lua preprocessor
Vsevolod Stakhov [Tue, 15 Dec 2015 15:26:19 +0000 (15:26 +0000)]
Add support of '--.USE' in lua preprocessor

8 years agoAdd fallback state for '\n\r' line endings
Vsevolod Stakhov [Tue, 15 Dec 2015 15:02:41 +0000 (15:02 +0000)]
Add fallback state for '\n\r' line endings

8 years agoUse perl instead of bloody cmake for string manipulation
Vsevolod Stakhov [Tue, 15 Dec 2015 14:36:12 +0000 (14:36 +0000)]
Use perl instead of bloody cmake for string manipulation

8 years agoAdd lua formatter for fuzzy stat
Vsevolod Stakhov [Tue, 15 Dec 2015 00:49:44 +0000 (00:49 +0000)]
Add lua formatter for fuzzy stat

8 years agoUse lua for formatting 'fuzzy_stat' control output
Vsevolod Stakhov [Tue, 15 Dec 2015 00:20:16 +0000 (00:20 +0000)]
Use lua for formatting 'fuzzy_stat' control output

8 years agoAdd lua preprocessing code
Vsevolod Stakhov [Tue, 15 Dec 2015 00:19:56 +0000 (00:19 +0000)]
Add lua preprocessing code

8 years agoFix calling of lua from rspamadm
Vsevolod Stakhov [Tue, 15 Dec 2015 00:19:34 +0000 (00:19 +0000)]
Fix calling of lua from rspamadm

8 years agoAdd function to execute lua rspamadm filter
Vsevolod Stakhov [Mon, 14 Dec 2015 19:10:54 +0000 (19:10 +0000)]
Add function to execute lua rspamadm filter

8 years agoRemove unused attribute from rspamd_lua_init
Vsevolod Stakhov [Mon, 14 Dec 2015 18:34:44 +0000 (18:34 +0000)]
Remove unused attribute from rspamd_lua_init

8 years agoUse magic_load instead of magic_compile
Vsevolod Stakhov [Mon, 14 Dec 2015 18:28:46 +0000 (18:28 +0000)]
Use magic_load instead of magic_compile

8 years agoFix fuzzy stats
Vsevolod Stakhov [Mon, 14 Dec 2015 18:28:33 +0000 (18:28 +0000)]
Fix fuzzy stats

8 years agoFix hyperscan command broadcast
Vsevolod Stakhov [Mon, 14 Dec 2015 17:35:42 +0000 (17:35 +0000)]
Fix hyperscan command broadcast

8 years agoFix inet addr hashing
Vsevolod Stakhov [Mon, 14 Dec 2015 17:18:30 +0000 (17:18 +0000)]
Fix inet addr hashing

8 years agoSome fixes to fuzzystat
Vsevolod Stakhov [Mon, 14 Dec 2015 17:00:26 +0000 (17:00 +0000)]
Some fixes to fuzzystat

8 years agoSome fixes to rspamadm control
Vsevolod Stakhov [Mon, 14 Dec 2015 17:00:18 +0000 (17:00 +0000)]
Some fixes to rspamadm control

8 years agoAdd fuzzy stat implementation
Vsevolod Stakhov [Mon, 14 Dec 2015 16:08:00 +0000 (16:08 +0000)]
Add fuzzy stat implementation

8 years agoAdd methods to extract internal fields from LRU hash
Vsevolod Stakhov [Mon, 14 Dec 2015 15:38:46 +0000 (15:38 +0000)]
Add methods to extract internal fields from LRU hash

8 years agoAdd support for fuzzystat command
Vsevolod Stakhov [Mon, 14 Dec 2015 14:47:46 +0000 (14:47 +0000)]
Add support for fuzzystat command

8 years agoAllow fd attaching to control replies
Vsevolod Stakhov [Mon, 14 Dec 2015 14:21:54 +0000 (14:21 +0000)]
Allow fd attaching to control replies

8 years agoAssume empty input as failed scan
Vsevolod Stakhov [Mon, 14 Dec 2015 13:08:14 +0000 (13:08 +0000)]
Assume empty input as failed scan

8 years agoImplement per-key stats
Vsevolod Stakhov [Mon, 14 Dec 2015 13:00:06 +0000 (13:00 +0000)]
Implement per-key stats

8 years agoExclude ports from ip address hash
Vsevolod Stakhov [Mon, 14 Dec 2015 12:48:45 +0000 (12:48 +0000)]
Exclude ports from ip address hash

8 years agoAdd routines to use rspamd_inet_addr_t in hash tables
Vsevolod Stakhov [Mon, 14 Dec 2015 11:03:31 +0000 (11:03 +0000)]
Add routines to use rspamd_inet_addr_t in hash tables

8 years agoImplement condition script for learning fuzzy storage
Vsevolod Stakhov [Mon, 14 Dec 2015 09:57:55 +0000 (09:57 +0000)]
Implement condition script for learning fuzzy storage

8 years agoReport fuzzy errors
Vsevolod Stakhov [Sun, 13 Dec 2015 23:03:29 +0000 (23:03 +0000)]
Report fuzzy errors

8 years agoAllow multiple values for rcl parsers
Vsevolod Stakhov [Sun, 13 Dec 2015 22:55:02 +0000 (22:55 +0000)]
Allow multiple values for rcl parsers

8 years agoAllow to generate ucl configs for keypairs
Vsevolod Stakhov [Sun, 13 Dec 2015 22:42:18 +0000 (22:42 +0000)]
Allow to generate ucl configs for keypairs

8 years agoAdd support for multiple keys per fuzzy storage
Vsevolod Stakhov [Sun, 13 Dec 2015 22:27:23 +0000 (22:27 +0000)]
Add support for multiple keys per fuzzy storage

8 years agoAllow to create encryption only storages
Vsevolod Stakhov [Sun, 13 Dec 2015 20:51:46 +0000 (20:51 +0000)]
Allow to create encryption only storages

8 years agoFix signature slightly
Vsevolod Stakhov [Sun, 13 Dec 2015 16:58:43 +0000 (16:58 +0000)]
Fix signature slightly

8 years agoMerge pull request #447 from AlexeySa/patch-7
Vsevolod Stakhov [Sun, 13 Dec 2015 16:49:08 +0000 (16:49 +0000)]
Merge pull request #447 from AlexeySa/patch-7

Fix centos spec

8 years agoFix centos spec 447/head
Alexey AL [Sat, 12 Dec 2015 22:07:17 +0000 (01:07 +0300)]
Fix centos spec

libmagic included in file-devel package

8 years agoRework fuzzy requests encryption
Vsevolod Stakhov [Sat, 12 Dec 2015 22:03:20 +0000 (22:03 +0000)]
Rework fuzzy requests encryption