Commit Graph

15932 Commits

Author SHA1 Message Date
Vsevolod Stakhov
5b426fd1ee [Minor] Stop task timeout timer on idempotent stage 2019-10-27 13:31:57 +00:00
Vsevolod Stakhov
5baa521083 [Fix] Try to fix another ownership race in ssl connection 2019-10-27 13:28:51 +00:00
Vsevolod Stakhov
e76e99700e [Minor] Always stop event on connection reset 2019-10-27 12:21:05 +00:00
Vsevolod Stakhov
e3a552c64b [Fix] Lot's of fixes in maps check logic 2019-10-27 12:19:50 +00:00
Vsevolod Stakhov
ad664dd4c6 [Feature] Allow to explicitly set events backend 2019-10-27 09:42:59 +00:00
Vsevolod Stakhov
880300de81 [Fix] Plug memory leak 2019-10-26 20:12:33 +01:00
Vsevolod Stakhov
0c3144ed76 [Fix] Fix crash on parts with no cd 2019-10-26 20:09:02 +01:00
Vsevolod Stakhov
4ca2e3fb45 [Fix] Fix event loop creation 2019-10-26 20:09:02 +01:00
Vsevolod Stakhov
e275eb54a0 [Minor] Fix error propagation 2019-10-26 20:09:02 +01:00
Vsevolod Stakhov
2e02f4127e
Merge pull request #3122 from philr/fix_dmarc_reporting_addr_logging
[Fix] Fix not logging DMARC reporting addresses
2019-10-26 11:57:39 +01:00
Vsevolod Stakhov
91c5c10d2c
Merge pull request #3121 from philr/fix_url_reputation_filter
[Fix] Reputation: Fix a failure when calcuating URL reputation
2019-10-26 11:56:47 +01:00
Phil Ross
25ef2636ef [Minor] Fix not logging DMARC reporting addresses.
`reporting_addr` uses the email address strings as keys so
`table.concat` won't produce any output.
2019-10-26 08:55:51 +01:00
Vsevolod Stakhov
76181fd682 [Minor] Another uuencode fix 2019-10-25 20:26:32 +01:00
Phil Ross
3731797bf8 [Fix] Fix a failure calcuating URL reputation.
`url_reputation_filter` was attempting to lookup the token key returned
in the `get_token` callback in an integer-indexed table of requests.
Change to looking up the request by its index.

Commit 73d2cee changed from using `gen_url_queries` to
`lua_util.extract_specific_urls` in the assignment of `requests`.
The latter just returns a list of URLs. The former returns the TLD along
with the number of hits. The URL score calculation uses the number of
hits. Revert to using `gen_url_queries`.
2019-10-25 18:47:43 +01:00
Vsevolod Stakhov
ad4de4e521 [Minor] Sigh, another next_check fixes for HTTP maps 2019-10-25 18:29:55 +01:00
Vsevolod Stakhov
75ad544ef4 [Fix] Uuencode: Fix parsing of corrupted uuencode 2019-10-25 17:56:32 +01:00
Vsevolod Stakhov
053ef54a3d [Minor] Arc: Fix symbol insertion 2019-10-25 17:51:04 +01:00
Vsevolod Stakhov
f52d4f67ed [Minor] Update cached files when checking HTTP maps 2019-10-25 17:36:12 +01:00
Vsevolod Stakhov
8ae24c1e0b [Minor] Reduce remain 2019-10-25 17:15:06 +01:00
Vsevolod Stakhov
7404f80d47 [Feature] SPF: Allow to disable AAAA checks in configuration 2019-10-25 16:11:47 +01:00
Vsevolod Stakhov
88a9165a5a [Minor] Oops, check for UBRK_DONE first 2019-10-25 13:56:44 +01:00
Vsevolod Stakhov
052323f56f [Minor] Try to fix HTTP maps check timeouts 2019-10-25 12:15:16 +01:00
Vsevolod Stakhov
2a0e17496b [Minor] Remove another crap 2019-10-25 11:35:24 +01:00
Vsevolod Stakhov
7603ac88ab [Minor] Cleanup crap 2019-10-25 11:24:28 +01:00
Vsevolod Stakhov
95a24ff470 [Feature] Spf: Add limits configuration support 2019-10-25 09:30:36 +01:00
Vsevolod Stakhov
9e61dce1b5 [Feature] Implement configurable limits for SPF lookups 2019-10-25 09:30:36 +01:00
Vsevolod Stakhov
1207a8100a
Merge pull request #3120 from moisseev/patch-2
[Minor] Fix misprint
2019-10-25 08:11:39 +01:00
Alexander Moisseev
c78ea25454
[Minor] Fix misprint 2019-10-24 20:48:16 +03:00
Vsevolod Stakhov
5e40de9bed [Minor] Neural: Fix random sampling
Issue: #3119
2019-10-24 18:22:51 +01:00
Vsevolod Stakhov
75547bea6e
Merge pull request #3118 from moisseev/patch-1
[Conf] Update neural.conf
2019-10-24 17:28:04 +01:00
Vsevolod Stakhov
26eff813e8 [Minor] Add safety check when using icu ubrk iterators 2019-10-24 13:08:56 +01:00
Alexander Moisseev
ad02d15edf [Conf] Update neural.conf 2019-10-24 13:01:58 +03:00
Vsevolod Stakhov
c52e22c7ce
Merge pull request #3115 from citrin/fix-lua-url-doc
Fix docs for rspamd_url lua module
2019-10-23 18:18:20 +01:00
Vsevolod Stakhov
052ccc761e [Feature] Support uuencoding 2019-10-23 17:03:19 +01:00
Vsevolod Stakhov
85fc3e7a7a [Feature] Add support of uudecode 2019-10-23 17:03:08 +01:00
Anton Yuzhaninov
9ea2c51f45 [Minor] Document image flag in url:get_flags() 2019-10-23 16:18:28 +01:00
Anton Yuzhaninov
b7c37d0eeb [Minor] Fix doc comment for url.init 2019-10-23 16:18:28 +01:00
Vsevolod Stakhov
87c987155c [Feature] Support segwit BTC addresses, fix LTC verification 2019-10-23 15:53:27 +01:00
Vsevolod Stakhov
77cbf65bbc [Fix] Fix support of disable_monitoring in rbl 2019-10-23 15:20:25 +01:00
Vsevolod Stakhov
ecb3f35785 [Minor] Fix documentation 2019-10-23 12:49:54 +01:00
Vsevolod Stakhov
2ee4ab715e [Minor] Spamassassin: Exclude symbol name from options 2019-10-23 12:39:34 +01:00
Vsevolod Stakhov
c13572372d
Merge pull request #3114 from citrin/drone-convert
Drone convert
2019-10-23 12:35:54 +01:00
Vsevolod Stakhov
9169ffd78c
Merge pull request #3112 from denpaforks/p0f-devel
[Minor] Fixes for p0f plugin
2019-10-23 12:35:31 +01:00
Vsevolod Stakhov
b2a56e306a
Merge pull request #3111 from philr/fix_dmarc_report_sending
[Fix] Fix issues sending DMARC reports
2019-10-23 12:35:14 +01:00
Anton Yuzhaninov
ed9f1be8c9 Default stack size should be enough for build without ASAN
It can be useful to know if stack usage will be too high.
2019-10-23 12:14:31 +01:00
Anton Yuzhaninov
59e0ec6186 Remove unused CMake variable
If was removed in:
03eabb4c57
2019-10-23 12:12:49 +01:00
Anton Yuzhaninov
9774d1a9fe Convert Drone pipeline to Drone 1.x syntax 2019-10-23 12:02:19 +01:00
denpamusic
66c07a2ac7
[Minor] Fix x-os-fingerprint header
Pass correct parameter to add_header function and use double when unpacking integers from mempool
2019-10-23 11:34:32 +03:00
denpamusic
deacaf7c53
[Minor] Skip cache on missing data 2019-10-23 11:14:37 +03:00
Phil Ross
d80afefcbf [Fix] Fix issues sending DMARC reports.
Processing the email template was causing a parse error (#3054). This
was caused by the use of `{% ... %}` statements instead of `{= ... =}`
output expressions.

The message was failing to be sent over SMTP, closing the socket after
reading the response to the DATA command and logging the following
errors:

> lua_tcp_arg_toiovec: bad argument at position -1
> lua_tcp_add_write: tcp request has bad data argument at pos 3

This was caused by the number of substitutions made by `gsub` being
added to the message table.

Sending would stop after processing the first message. This was caused
by the sendmail callback function missing a call to
`get_reporting_domain` on a successful outcome.

Resolves #3054.
2019-10-23 00:17:05 +01:00