Vsevolod Stakhov
e50ff44d75
Add support of g_int64 hash for old glib
vor 8 Jahren
Vsevolod Stakhov
c73e9fc202
Rework ratelimit plugin
- Switch to `rates` instead of old and stupid strings to setup
- Check if a bucket is zero and disable the corresponding limits
- Turn off all buckets by default
- Check either `rcpt` or `user` buckets, not all together
- Document new `rates` and `symbol` options
- Inform user about what buckets are used in the configuration
vor 8 Jahren
Vsevolod Stakhov
5cdc7a2428
Remove extra code for IP urls in surbl module
vor 8 Jahren
Vsevolod Stakhov
9011bdeb7b
Remove fake surbl symbols from metric
vor 8 Jahren
Vsevolod Stakhov
9f92984a3f
Use mktemp when available
vor 8 Jahren
Vsevolod Stakhov
e3a8756d4f
Fix configtest
vor 8 Jahren
Vsevolod Stakhov
c251d1cf19
Use special flag for classifier symbols
vor 8 Jahren
Vsevolod Stakhov
7b9e8dc93e
Fix loop iteration for IP uribl.
vor 8 Jahren
Vsevolod Stakhov
c4bb71aba3
More fixes for learning IO
vor 8 Jahren
Vsevolod Stakhov
cac4aa5ceb
Change logic of fuzzy requests retransmitting
vor 8 Jahren
Vsevolod Stakhov
b3f330944f
Add routine to add events for a specific watcher structure
vor 8 Jahren
Vsevolod Stakhov
d9777316bf
Avoid treating of URLs as zero terminated strings
vor 8 Jahren
Vsevolod Stakhov
9a7f6f24d0
Add missing components normalization
vor 8 Jahren
Vsevolod Stakhov
660fa482d1
More fixes to url numeric conversions
vor 8 Jahren
Vsevolod Stakhov
de9a56dfb1
Start to fix url decoding shifting
vor 8 Jahren
Vsevolod Stakhov
495c0241e1
Add guard for ratelimit checks
vor 8 Jahren
Vsevolod Stakhov
ce275d9b2c
Fix rules count
vor 8 Jahren
Vsevolod Stakhov
f9dd36d01c
Add config for spamhaus SBL to uribl
vor 8 Jahren
Vsevolod Stakhov
12e4ec8a6e
Add alias for 'options = noip' as 'no_ip = true'
vor 8 Jahren
Vsevolod Stakhov
79828e25c8
Support IP DNS black lists for URIBL
Rspamd now can resolve URL's IP address and check it via the standard DNS IP blacklist (such as spamhaus SBL, for example)
vor 8 Jahren
Vsevolod Stakhov
bb0fd1296a
Remove escaping of log strings as it seems to be useless
vor 8 Jahren
Vsevolod Stakhov
d578517d8c
Fix multiple classifiers support.
vor 8 Jahren
Vsevolod Stakhov
306d01b6fc
Fix forking and epoll/kqueue
vor 8 Jahren
Vsevolod Stakhov
46ff809892
Improve informational message from regexp module
vor 8 Jahren
Vsevolod Stakhov
65965fabad
Fix initialization order
vor 8 Jahren
Vsevolod Stakhov
085b3707cb
Add informational messages about modules initialization
vor 8 Jahren
Vsevolod Stakhov
86bb48e445
Fix order of loading
vor 8 Jahren
Vsevolod Stakhov
86c5962983
Use atomic ops if possible
vor 8 Jahren
Vsevolod Stakhov
ef3d454616
Fix stupid error when removing `words` member
vor 8 Jahren
Vsevolod Stakhov
c04c2cad79
Generate fuzzy hashes from task metadata (URLs and headers)
vor 8 Jahren
Vsevolod Stakhov
486e16b751
Use the same hash seed for urls as we need some static order
vor 8 Jahren
Vsevolod Stakhov
22259fdbd6
Remove legacy words, use merely normalized_words
vor 8 Jahren
Vsevolod Stakhov
b840e3afa4
Add SUBJ_ALL_CAPS rule
vor 8 Jahren
Vsevolod Stakhov
7e23a61e72
Add is_uppercase utility for utf8 strings
vor 8 Jahren
Vsevolod Stakhov
2ce3b97df2
Fix delayed fork
vor 8 Jahren
Vsevolod Stakhov
c9fc8ae5a5
Fix raw logic inversion in `get_header` method
vor 8 Jahren
Vsevolod Stakhov
51636bd7f3
Add additional checks for mail addresses
vor 8 Jahren
Vsevolod Stakhov
af2b720250
More fixes for url parsing
Hello my dear spammer, thank you for all your valueable test cases that you
are kindly providing for me!
vor 8 Jahren
Vsevolod Stakhov
7649d8f199
Fix race condition when opening sqlite db
vor 8 Jahren
Vsevolod Stakhov
0fc01045cf
Move all updates to a single transaction.
vor 8 Jahren
Vsevolod Stakhov
5ac408da90
Implement new fuzzy updates architecture
So far, fuzzy storage can run in multiple processes. However, merely one process is responsible for changes whilst others just work as proxies when dealing with updates. That should fix sqlite concurrency issues.
vor 8 Jahren
Vsevolod Stakhov
02061addef
Use the correct key to fix memory issues
vor 8 Jahren
Vsevolod Stakhov
b7eec7adcd
Do not enable accept event with no handler
vor 8 Jahren
Vsevolod Stakhov
0599cdf4bb
Clean log buffer when forking
vor 8 Jahren
Vsevolod Stakhov
e0b4ba6307
Implement listening for srv pipe in the main process
vor 8 Jahren
Vsevolod Stakhov
6141a56948
Add method to send data to server pipe.
vor 8 Jahren
Vsevolod Stakhov
840f144b9d
Start work on worker->main pipe interface
vor 8 Jahren
Vsevolod Stakhov
64839a3bfb
Cleanup controller session structure.
vor 8 Jahren
Vsevolod Stakhov
83a4a32055
Slightly improve logging in fuzzy.
vor 8 Jahren
Vsevolod Stakhov
bf5604ebb1
Fix another stupid mistake for adding hashes
vor 8 Jahren