]> source.dussan.org Git - rspamd.git/log
rspamd.git
2 years ago[Minor] Plug memory leak for sigaltstack
Vsevolod Stakhov [Sat, 29 Oct 2022 09:42:30 +0000 (10:42 +0100)]
[Minor] Plug memory leak for sigaltstack

2 years ago[Minor] Fix static memory leak in redis stat
Vsevolod Stakhov [Sat, 29 Oct 2022 09:24:28 +0000 (10:24 +0100)]
[Minor] Fix static memory leak in redis stat

2 years ago[Minor] Add static log tag for hyperscan cache
Vsevolod Stakhov [Sat, 29 Oct 2022 08:57:16 +0000 (09:57 +0100)]
[Minor] Add static log tag for hyperscan cache

2 years ago[Rules] Do not insert ONCE_RECEIVED_STRICT on RDNS missing
Vsevolod Stakhov [Fri, 28 Oct 2022 14:31:02 +0000 (15:31 +0100)]
[Rules] Do not insert ONCE_RECEIVED_STRICT on RDNS missing

Suggested by: @moisseev

2 years ago[Minor] Remove unused variable
Vsevolod Stakhov [Thu, 27 Oct 2022 21:55:32 +0000 (22:55 +0100)]
[Minor] Remove unused variable

2 years ago[Fix] Fix additional fields in the Redis schema
Vsevolod Stakhov [Wed, 26 Oct 2022 21:24:58 +0000 (22:24 +0100)]
[Fix] Fix additional fields in the Redis schema

Issue: #4318

2 years ago[Test] Fix broken tests
Vsevolod Stakhov [Tue, 25 Oct 2022 06:19:53 +0000 (07:19 +0100)]
[Test] Fix broken tests

2 years ago[Minor] Another small neat
Vsevolod Stakhov [Tue, 25 Oct 2022 06:19:43 +0000 (07:19 +0100)]
[Minor] Another small neat

2 years ago[Fix] Another corner case in url parsing
Vsevolod Stakhov [Tue, 25 Oct 2022 06:14:42 +0000 (07:14 +0100)]
[Fix] Another corner case in url parsing

2 years ago[Fix] Try to fix parsing of the unencoded `>` characters in html attributes
Vsevolod Stakhov [Tue, 25 Oct 2022 06:01:40 +0000 (07:01 +0100)]
[Fix] Try to fix parsing of the unencoded `>` characters in html attributes

2 years ago[Minor] Add small additional logging
Vsevolod Stakhov [Tue, 25 Oct 2022 05:11:25 +0000 (06:11 +0100)]
[Minor] Add small additional logging

2 years ago[Project] Enable hyperscan tools for re_cache
Vsevolod Stakhov [Tue, 25 Oct 2022 02:19:37 +0000 (03:19 +0100)]
[Project] Enable hyperscan tools for re_cache

2 years ago[Minor] Fix offset usage
Vsevolod Stakhov [Tue, 25 Oct 2022 02:19:22 +0000 (03:19 +0100)]
[Minor] Fix offset usage

2 years ago[Project] Allow offsets in the hyperscan cache
Vsevolod Stakhov [Mon, 24 Oct 2022 16:53:10 +0000 (17:53 +0100)]
[Project] Allow offsets in the hyperscan cache

2 years ago[Minor] Allow to map files at some offset
Vsevolod Stakhov [Mon, 24 Oct 2022 14:29:59 +0000 (15:29 +0100)]
[Minor] Allow to map files at some offset

2 years ago[Minor] Improve logging
Vsevolod Stakhov [Sun, 23 Oct 2022 21:16:54 +0000 (22:16 +0100)]
[Minor] Improve logging

2 years ago[Minor] Normalise file names
Vsevolod Stakhov [Sun, 23 Oct 2022 21:08:31 +0000 (22:08 +0100)]
[Minor] Normalise file names

2 years ago[Minor] Some tweaks to the cmake scripts
Vsevolod Stakhov [Sun, 23 Oct 2022 20:46:39 +0000 (21:46 +0100)]
[Minor] Some tweaks to the cmake scripts

2 years ago[Rework] Make http normalize path function a generic function
Vsevolod Stakhov [Sun, 23 Oct 2022 20:41:18 +0000 (21:41 +0100)]
[Rework] Make http normalize path function a generic function

2 years ago[Project] Rework cleanup
Vsevolod Stakhov [Sun, 23 Oct 2022 20:37:38 +0000 (21:37 +0100)]
[Project] Rework cleanup

2 years ago[Project] Synchronize hyperscan caches via the main process
Vsevolod Stakhov [Sun, 23 Oct 2022 17:37:34 +0000 (18:37 +0100)]
[Project] Synchronize hyperscan caches via the main process

2 years ago[Rework] Use blocking socket for IPC between main and workers
Vsevolod Stakhov [Sun, 23 Oct 2022 17:07:22 +0000 (18:07 +0100)]
[Rework] Use blocking socket for IPC between main and workers

 There are no reasons why control pipes are blocking: the messages
 there are rare and are strictly bounded by command sizes, so if we block
 on some pipe, it is ok, as we still poll that for all operations.
 It is also impossible to block on writing in normal conditions.
 And if the conditions are not normal, e.g. a worker is unresponsive, then
 we can safely think that the non-blocking behaviour as it is implemented
 currently will not make things better, as it would lead to incomplete
 reads/writes that are not handled anyhow and are totally broken from the
 beginning.

2 years ago[Rework] Use more predictable size for commands buffers
Vsevolod Stakhov [Sun, 23 Oct 2022 17:00:01 +0000 (18:00 +0100)]
[Rework] Use more predictable size for commands buffers

2 years ago[Minor] Use seqpacket for control pipes
Vsevolod Stakhov [Sun, 23 Oct 2022 16:57:44 +0000 (17:57 +0100)]
[Minor] Use seqpacket for control pipes

2 years ago[Feature] Milter_headers: Add `x-rspamd-action` routine
Vsevolod Stakhov [Sat, 22 Oct 2022 20:50:04 +0000 (21:50 +0100)]
[Feature] Milter_headers: Add `x-rspamd-action` routine

Include it into `extended_spam_headers` as well

2 years ago[Rework] Convert multipattern to use hyperscan tools
Vsevolod Stakhov [Sat, 22 Oct 2022 14:52:59 +0000 (15:52 +0100)]
[Rework] Convert multipattern to use hyperscan tools

2 years ago[Project] Start C API implementation
Vsevolod Stakhov [Sat, 22 Oct 2022 13:55:52 +0000 (14:55 +0100)]
[Project] Start C API implementation

2 years ago[Minor] Fix corner cases
Vsevolod Stakhov [Sat, 22 Oct 2022 12:17:45 +0000 (13:17 +0100)]
[Minor] Fix corner cases

2 years ago[CritFix] Restore compatibility with the integrations and headers alterations
Vsevolod Stakhov [Sat, 22 Oct 2022 12:00:21 +0000 (13:00 +0100)]
[CritFix] Restore compatibility with the integrations and headers alterations

2 years ago[Minor] Do not sort part urls, it was added by a mistake
Vsevolod Stakhov [Fri, 21 Oct 2022 22:58:31 +0000 (23:58 +0100)]
[Minor] Do not sort part urls, it was added by a mistake

Discussed with: @citrin

2 years ago[Fix] Lua_tcp: Sigh, another try to fix `close` invocation
Vsevolod Stakhov [Fri, 21 Oct 2022 09:41:10 +0000 (10:41 +0100)]
[Fix] Lua_tcp: Sigh, another try to fix `close` invocation

2 years ago[Minor] Fix url_cmp operation
Vsevolod Stakhov [Thu, 20 Oct 2022 20:47:01 +0000 (21:47 +0100)]
[Minor] Fix url_cmp operation

2 years ago[Minor] Remove vectorized hyperscan mode: it has been always broken
Vsevolod Stakhov [Thu, 20 Oct 2022 11:50:39 +0000 (12:50 +0100)]
[Minor] Remove vectorized hyperscan mode: it has been always broken

2 years agoMerge pull request #4308 from frederikbosch/patch-1
Vsevolod Stakhov [Wed, 19 Oct 2022 20:26:27 +0000 (21:26 +0100)]
Merge pull request #4308 from frederikbosch/patch-1

[Rules] Penalize bounce spam

2 years ago[Fix] Mx_check: Cache the fact of a missing MX record
Vsevolod Stakhov [Wed, 19 Oct 2022 20:10:51 +0000 (21:10 +0100)]
[Fix] Mx_check: Cache the fact of a missing MX record

2 years ago[Rules] Reduce score of HTTP_TO_HTTPS - subject to remove completely
Vsevolod Stakhov [Tue, 18 Oct 2022 22:11:17 +0000 (23:11 +0100)]
[Rules] Reduce score of HTTP_TO_HTTPS - subject to remove completely

2 years ago[Minor] Use __func__ in c++ mode as defined by standard
Vsevolod Stakhov [Tue, 18 Oct 2022 22:10:17 +0000 (23:10 +0100)]
[Minor] Use __func__ in c++ mode as defined by standard

2 years ago[Minor] Fix error copying/move behaviour
Vsevolod Stakhov [Tue, 18 Oct 2022 22:09:55 +0000 (23:09 +0100)]
[Minor] Fix error copying/move behaviour

2 years ago[Minor] Use a separate error class instead of std::string
Vsevolod Stakhov [Mon, 17 Oct 2022 10:39:38 +0000 (11:39 +0100)]
[Minor] Use a separate error class instead of std::string

2 years ago[Minor] Rename file to a more appropriate name
Vsevolod Stakhov [Mon, 17 Oct 2022 10:07:58 +0000 (11:07 +0100)]
[Minor] Rename file to a more appropriate name

2 years agoUpdate composites.conf 4308/head
Frederik Bosch [Mon, 17 Oct 2022 07:46:50 +0000 (09:46 +0200)]
Update composites.conf

2 years ago[Rework] Store the current worker, so other libraries could use this information
Vsevolod Stakhov [Sun, 16 Oct 2022 20:31:31 +0000 (21:31 +0100)]
[Rework] Store the current worker, so other libraries could use this information

2 years ago[Minor] Move hyperscan tools to the libserver domain
Vsevolod Stakhov [Sun, 16 Oct 2022 14:25:04 +0000 (15:25 +0100)]
[Minor] Move hyperscan tools to the libserver domain

2 years ago[Project] (Re)implement hyperscan caching
Vsevolod Stakhov [Sun, 16 Oct 2022 14:22:27 +0000 (15:22 +0100)]
[Project] (Re)implement hyperscan caching

2 years ago[Minor] More tests and fixes to raii file
Vsevolod Stakhov [Sun, 16 Oct 2022 14:22:10 +0000 (15:22 +0100)]
[Minor] More tests and fixes to raii file

2 years ago[Minor] Add some more utilities
Vsevolod Stakhov [Sat, 15 Oct 2022 14:33:53 +0000 (15:33 +0100)]
[Minor] Add some more utilities

2 years ago[Minor] Commit leftovers
Vsevolod Stakhov [Sat, 15 Oct 2022 12:38:21 +0000 (13:38 +0100)]
[Minor] Commit leftovers

2 years ago[Rework] Split locked and unlocked files, as mmap does not need flock normally
Vsevolod Stakhov [Sat, 15 Oct 2022 12:33:55 +0000 (13:33 +0100)]
[Rework] Split locked and unlocked files, as mmap does not need flock normally

2 years ago[Fix] Another try to fix close method in lua_tcp
Vsevolod Stakhov [Thu, 13 Oct 2022 22:15:15 +0000 (23:15 +0100)]
[Fix] Another try to fix close method in lua_tcp

2 years ago[Minor] Add some debug logs for mx_check
Vsevolod Stakhov [Thu, 13 Oct 2022 21:57:36 +0000 (22:57 +0100)]
[Minor] Add some debug logs for mx_check

2 years agoMerge pull request #4304 from twesterhever/temp-comosites-freemail-aff
Vsevolod Stakhov [Wed, 12 Oct 2022 20:31:23 +0000 (21:31 +0100)]
Merge pull request #4304 from twesterhever/temp-comosites-freemail-aff

[Enhancement] Add composite rule against AFF involving freemailers

2 years agoComposites should not be recursive
Frederik Bosch [Wed, 12 Oct 2022 09:53:44 +0000 (11:53 +0200)]
Composites should not be recursive

2 years agoProtect against bounce spam
Frederik Bosch [Wed, 12 Oct 2022 08:44:12 +0000 (10:44 +0200)]
Protect against bounce spam

2 years ago[Test] Add more tests for the passwords checking logic
Vsevolod Stakhov [Tue, 11 Oct 2022 07:35:56 +0000 (08:35 +0100)]
[Test] Add more tests for the passwords checking logic

2 years ago[Fix] Another fix for the enable password
Vsevolod Stakhov [Tue, 11 Oct 2022 07:35:30 +0000 (08:35 +0100)]
[Fix] Another fix for the enable password

2 years ago[Fix] Try to fix the case where password == enable_password
Vsevolod Stakhov [Mon, 10 Oct 2022 22:56:09 +0000 (23:56 +0100)]
[Fix] Try to fix the case where password == enable_password

Issue: #4306

2 years agoMerge pull request #4300 from yo000/master
Vsevolod Stakhov [Mon, 10 Oct 2022 22:23:11 +0000 (23:23 +0100)]
Merge pull request #4300 from yo000/master

Add basic auth to metadata_exporter http pusher

2 years ago[Minor] Add method to extract shared memory from RAII ownership
Vsevolod Stakhov [Sun, 9 Oct 2022 22:34:42 +0000 (23:34 +0100)]
[Minor] Add method to extract shared memory from RAII ownership

2 years agoMerge pull request #4305 from moisseev/favicon
Vsevolod Stakhov [Sun, 9 Oct 2022 16:05:33 +0000 (17:05 +0100)]
Merge pull request #4305 from moisseev/favicon

[Minor] Fix copy-paste error

2 years ago[Minor] Fix copy-paste error 4305/head
moisseev [Sun, 9 Oct 2022 15:40:30 +0000 (18:40 +0300)]
[Minor] Fix copy-paste error

PR: #4302

2 years agoMerge pull request #4302 from moisseev/favicon
Vsevolod Stakhov [Sun, 9 Oct 2022 13:14:25 +0000 (14:14 +0100)]
Merge pull request #4302 from moisseev/favicon

[Fix] Fix favicon.ico Content-Type header

2 years ago[Enhancement] Add composite rule against AFF involving freemailers 4304/head
twesterhever [Sun, 9 Oct 2022 08:29:21 +0000 (08:29 +0000)]
[Enhancement] Add composite rule against AFF involving freemailers

2 years ago[Fix] Fix favicon.ico Content-Type header 4302/head
moisseev [Sun, 9 Oct 2022 07:44:23 +0000 (10:44 +0300)]
[Fix] Fix favicon.ico Content-Type header

Issue: #4301

2 years ago[Rework] Start movement of the hyperscan related routines into a single unit
Vsevolod Stakhov [Sat, 8 Oct 2022 14:38:49 +0000 (15:38 +0100)]
[Rework] Start movement of the hyperscan related routines into a single unit

2 years ago[Minor] Add some more methods and tests to the file raii abstraction
Vsevolod Stakhov [Sat, 8 Oct 2022 14:19:11 +0000 (15:19 +0100)]
[Minor] Add some more methods and tests to the file raii abstraction

2 years agoAdd basic auth to metadata_exporter http pusher 4300/head
yo [Sat, 8 Oct 2022 13:40:39 +0000 (15:40 +0200)]
Add basic auth to metadata_exporter http pusher

2 years ago[Feature] Share hyperscan database among processes
Vsevolod Stakhov [Sat, 8 Oct 2022 12:45:34 +0000 (13:45 +0100)]
[Feature] Share hyperscan database among processes

2 years ago[Minor] Include config.h to the build target
Vsevolod Stakhov [Sat, 8 Oct 2022 11:40:46 +0000 (12:40 +0100)]
[Minor] Include config.h to the build target

2 years ago[Minor] Remove redundant check
Vsevolod Stakhov [Fri, 7 Oct 2022 19:34:54 +0000 (20:34 +0100)]
[Minor] Remove redundant check

2 years ago[Minor] Detect ffsll presence in a target system
Vsevolod Stakhov [Thu, 6 Oct 2022 22:33:17 +0000 (23:33 +0100)]
[Minor] Detect ffsll presence in a target system

2 years ago[Fix] Fix hang when close is used
Vsevolod Stakhov [Wed, 5 Oct 2022 22:12:04 +0000 (23:12 +0100)]
[Fix] Fix hang when close is used

2 years agoMerge pull request #4294 from yo000/master
Vsevolod Stakhov [Wed, 5 Oct 2022 21:06:05 +0000 (22:06 +0100)]
Merge pull request #4294 from yo000/master

[Fix] metadata_exporter: fix the case with many recipients

2 years ago[Minor] Do not use names starting from `_` as they might be reserved
Vsevolod Stakhov [Tue, 4 Oct 2022 22:58:42 +0000 (23:58 +0100)]
[Minor] Do not use names starting from `_` as they might be reserved

Issue: #4293

2 years agoFix metadata_exporter with many recipients 4294/head
yo [Tue, 4 Oct 2022 15:37:45 +0000 (17:37 +0200)]
Fix metadata_exporter with many recipients

2 years ago[Test] Fix failing test
Vsevolod Stakhov [Mon, 3 Oct 2022 22:26:25 +0000 (23:26 +0100)]
[Test] Fix failing test

2 years ago[Fix] Fix emoji joiner FP
Vsevolod Stakhov [Mon, 3 Oct 2022 22:16:33 +0000 (23:16 +0100)]
[Fix] Fix emoji joiner FP

Issue: #4290

2 years ago[Minor] Update version to 3.4
Vsevolod Stakhov [Sat, 1 Oct 2022 12:22:03 +0000 (13:22 +0100)]
[Minor] Update version to 3.4

2 years agoRelease 3.3 3.3
Vsevolod Stakhov [Sat, 1 Oct 2022 12:21:17 +0000 (13:21 +0100)]
Release 3.3

* [Conf] Add missing groups for whitelist module symbols
* [CritFix] Neural: Fix keys regression after #3968
* [Feature] Accept upstream in lua_tcp
* [Feature] Add ability to statically maintain disabled/enabled patterns
* [Feature] Add function to store upstreams for HTTP urls
* [Feature] Allow augmentations set in Lua API
* [Feature] Allow lua_http module to accept upstreams
* [Feature] Allow to limit write access to fuzzy storage by key
* [Feature] Allow to sort symbols output
* [Feature] Check content for binary stuff before dumping it to Lua
* [Feature] Implement symbols augmentations
* [Fix] Add missing flags
* [Fix] Add more sanity checks for rua in dmarc_report
* [Fix] Adjust length of the fuzzy checks for short text parts
* [Fix] Another try to fix add headers compatibility logic
* [Fix] Another try to fix race condition in the runtime destruction
* [Fix] Avoid cyclic references in symcache and fix memory leaks
* [Fix] Avoid overriding IP with Sender IP
* [Fix] BAD_REP_POLICIES did not trigger when message was classified as spam by Bayes
* [Fix] Bind AF_UNIX DGRAM client connection to annonymous address
* [Fix] Disable IPv6 lookups for Blocklist.de RBL
* [Fix] Distinguish dynamic and static items
* [Fix] Dkim: Ignore unknown DKIM kv pairs as stated in RFC
* [Fix] Dmarc report: Use local timezone instead of GMT
* [Fix] Do not exclude authenticated users from URIBL lookups
* [Fix] Empty envelopes should not be emitted as arrays (json+messagepack) when populated envelopes are objects. This greatly complicates decoding in strictly typed languages.
* [Fix] External_relay: Restore the originating hostname check
* [Fix] Fix DKIM keys with spaces still allowing errors on invalid base64
* [Fix] Fix copying of sockaddr_un addresses
* [Fix] Fix crash with cname replies
* [Fix] Fix dependencies propagation
* [Fix] Fix iteration over milter headers
* [Fix] Fix ordering when sorting symcache
* [Fix] Fix reading of the cached maps
* [Fix] Fix several issues with the HTTP keepalive parsing
* [Fix] Fix stack smashing
* [Fix] Fix synchronous auth/select in lua_redis
* [Fix] Fix various symcache issues
* [Fix] Ignore all (I hope) unknown DKIM signature KV pairs
* [Fix] Ignore directories in RarV5 archives
* [Fix] Libucl: avoid memory leak on objects merging
* [Fix] Lua_tcp: Another try to fix closing logic
* [Fix] Mempool: Fix alloc_array function to actually multiply nmembers by size
* [Fix] Only check allowed fuzzy worker update ips for non-unix sockets
* [Fix] Plug memory leak in regexp destruction with pcre2
* [Fix] Properly check the original email flag
* [Fix] Properly deal with `get_symbol/get_metric_symbol` ambiguity
* [Fix] Properly parse expressions atoms
* [Fix] Properly set `Host` in rspamd_proxy
* [Fix] Rbl: Fix received positioned checks
* [Fix] Remove check for a score with no symbol being registered
* [Fix] Same fix for lua_tcp
* [Fix] Skip cname records when processing SPF records
* [Fix] Skip sending dmarc reports in no-opt mode fixes https://github.com/rspamd/rspamd/issues/4241
* [Fix] Stop slow timer on task destruction
* [Fix] Symcache: Do not use C style comparators in C++ sorts
* [Fix] Try to avoid a corner case for `@` pattern
* [Fix] Try to fix dkim reputation adjustements
* [Fix] Try to fix passthrough results processing logic
* [Fix] Try to fix the mess with read only flag
* [Fix] Upstreams: Don't ignore revive_time config option
* [Fix] Use proper format string, sigh...
* [Fix] Use space category in ragel automata to resolve space characters
* [Fix] Zstd: Fix compression with the new Zstd API
* [Fix] milter_headers: Header fields may be inserted at wrong position.
* [Project] Add experimental HTTP statistics backend
* [Project] Add more methods for symbols addition
* [Project] Add raii_sink file helper
* [Project] Add some more methods
* [Project] Add symbols processing methods
* [Project] Allow `=` separated augmentations to be treated as kv pairs
* [Project] Allow to extract augmentation values
* [Project] Few more methods
* [Project] Fix on conditions
* [Project] Further efforts to make a more consistent architecture
* [Project] Further rework
* [Project] Further rework tracking
* [Project] Further split of the code
* [Project] Get rid of C style ctors/dtors
* [Project] Http_stat: Notice statfiles when creating runtime
* [Project] Implement dynamic items lookup and processing
* [Project] Implement item finalization
* [Project] Implement more methods
* [Project] Implement runtime creation
* [Project] Implement settings processing + some neats
* [Project] Implement some conditions checks
* [Project] Implement validation logic
* [Project] More methods
* [Project] Move runtime cache part to a separate unit
* [Project] Move some more methods
* [Project] Re-implement counters method
* [Project] Reimplement dependencies processing
* [Project] Remove obsoleted methods
* [Project] Remove old code (finally)
* [Project] Rework symbols execution
* [Project] Some more adjustments in symbols registration
* [Project] Start rewrite symcache in c++
* [Project] Support augmentations with values
* [Project] Symcache: Use ordered filters to avoid extra lookups
* [Rework] Another movement
* [Rework] Augmentations can now imply flags
* [Rework] Further steps
* [Rework] Further work on deps processing
* [Rework] Implement cache resorting
* [Rework] Isolate disable/enable logic for the configuration ucl objects
* [Rework] Move item implementation to a separate header
* [Rework] Multimap: Avoid prefilters usage where augmentations can be used
* [Rework] Pass upstream when sending TCP requests
* [Rework] Re-implement cache sorting
* [Rework] Reimplement saving/loading the cache items
* [Rework] Reiterate on priorities
* [Rework] Rework files structure
* [Rework] Rewrite rspamc in C++
* [Rework] Simplify scores check and extend it to pre/post filters
* [Rework] Switch minimum C++ standard version to C++20
* [Rework] Try to fix the mess with types & flags
* [Rework] Use another version of hash table from the same author
* [Rework] Use dynamic items for calling callbacks
* [Rework] Use dynamic items in the callbacks
* [Rework] Use hash map for id->symbol mappings
* [Rework] Use khash instead of uthash in rdns compression logic

2 years ago[Fix] Fix DNS reply handling for HTTP maps
Vsevolod Stakhov [Sat, 1 Oct 2022 14:17:27 +0000 (15:17 +0100)]
[Fix] Fix DNS reply handling for HTTP maps

2 years ago[Minor] Add some standard types for .p7s extension
Vsevolod Stakhov [Thu, 29 Sep 2022 21:31:38 +0000 (22:31 +0100)]
[Minor] Add some standard types for .p7s extension

2 years agoMerge pull request #4283 from BtbN/fix_unix_fuzzy
Vsevolod Stakhov [Mon, 26 Sep 2022 13:11:40 +0000 (14:11 +0100)]
Merge pull request #4283 from BtbN/fix_unix_fuzzy

[Fix] Allow fuzzy worker to listen on AF_UNIX sockets successfully

2 years ago[Fix] Fix copying of sockaddr_un addresses 4283/head
Timo Rothenpieler [Sun, 25 Sep 2022 22:36:24 +0000 (00:36 +0200)]
[Fix] Fix copying of sockaddr_un addresses

They can be very tiny (hence the adjustment of the size assert)
and the path can contain intermittent null bytes, so the only choice
is to trust the input slen and copy the whole struct.

An autobound unix socket uses an abstract address, which starts with a
null byte, hence this change is neccesary for such an address getting
copied properly.

2 years ago[Fix] Bind AF_UNIX DGRAM client connection to annonymous address
Timo Rothenpieler [Sun, 25 Sep 2022 22:35:49 +0000 (00:35 +0200)]
[Fix] Bind AF_UNIX DGRAM client connection to annonymous address

Fixes #4278

2 years ago[Fix] Only check allowed fuzzy worker update ips for non-unix sockets
Timo Rothenpieler [Sun, 25 Sep 2022 22:33:43 +0000 (00:33 +0200)]
[Fix] Only check allowed fuzzy worker update ips for non-unix sockets

The source will always be localhost, it makes no sense to check for
allowed IPs.

2 years ago[Fix] Same fix for lua_tcp
Vsevolod Stakhov [Sun, 25 Sep 2022 12:05:00 +0000 (13:05 +0100)]
[Fix] Same fix for lua_tcp

2 years ago[Fix] Fix crash with cname replies
Vsevolod Stakhov [Sun, 25 Sep 2022 12:02:22 +0000 (13:02 +0100)]
[Fix] Fix crash with cname replies

2 years ago[Minor] Oops, remove experiment
Vsevolod Stakhov [Sat, 24 Sep 2022 19:03:10 +0000 (20:03 +0100)]
[Minor] Oops, remove experiment

2 years ago[Minor] Some neats when working with Unix sockets
Vsevolod Stakhov [Sat, 24 Sep 2022 19:00:32 +0000 (20:00 +0100)]
[Minor] Some neats when working with Unix sockets

2 years ago[Minor] Plug memory leak on cdb backend closing
Vsevolod Stakhov [Sat, 24 Sep 2022 14:31:29 +0000 (15:31 +0100)]
[Minor] Plug memory leak on cdb backend closing

2 years ago[Minor] Add some error reporting
Vsevolod Stakhov [Sat, 24 Sep 2022 13:41:30 +0000 (14:41 +0100)]
[Minor] Add some error reporting

2 years ago[Fix] Libucl: avoid memory leak on objects merging
Vsevolod Stakhov [Sat, 24 Sep 2022 13:38:48 +0000 (14:38 +0100)]
[Fix] Libucl: avoid memory leak on objects merging

2 years ago[Minor] Partially restore reverted patch
Vsevolod Stakhov [Sat, 24 Sep 2022 12:03:55 +0000 (13:03 +0100)]
[Minor] Partially restore reverted patch

2 years agoRevert "[Minor] Try to fix refcounts related crash"
Vsevolod Stakhov [Sat, 24 Sep 2022 12:03:30 +0000 (13:03 +0100)]
Revert "[Minor] Try to fix refcounts related crash"

This reverts commit 5bae837e5fb282e055a9d80d9d6aaf7eaed9a2d5.

2 years ago[Fix] Lua_tcp: Another try to fix closing logic
Vsevolod Stakhov [Sat, 24 Sep 2022 12:03:11 +0000 (13:03 +0100)]
[Fix] Lua_tcp: Another try to fix closing logic

2 years ago[Minor] Fix empty strings import
Vsevolod Stakhov [Fri, 23 Sep 2022 19:43:39 +0000 (20:43 +0100)]
[Minor] Fix empty strings import

Issue: #4281

2 years ago[Fix] External_relay: Restore the originating hostname check
Vsevolod Stakhov [Thu, 22 Sep 2022 19:53:30 +0000 (20:53 +0100)]
[Fix] External_relay: Restore the originating hostname check

Issue: #4272

2 years ago[Minor] Slightly improve readability
Vsevolod Stakhov [Mon, 19 Sep 2022 12:46:26 +0000 (13:46 +0100)]
[Minor] Slightly improve readability

2 years ago[Minor] Try to fix refcounts related crash
Vsevolod Stakhov [Mon, 19 Sep 2022 12:46:11 +0000 (13:46 +0100)]
[Minor] Try to fix refcounts related crash

2 years ago[Minor] Make panic more informant
Vsevolod Stakhov [Mon, 19 Sep 2022 11:16:05 +0000 (12:16 +0100)]
[Minor] Make panic more informant

2 years ago[Minor] Respect full debug request in sanitizers config
Vsevolod Stakhov [Mon, 19 Sep 2022 10:49:17 +0000 (11:49 +0100)]
[Minor] Respect full debug request in sanitizers config