]>
source.dussan.org Git - rspamd.git/log
Anton Yuzhaninov [Wed, 26 Jun 2019 10:25:40 +0000 (11:25 +0100)]
[Rework] Do not lowercase all data send to ClickHouse
A lot of strings stored in ClickHouse are case sensitive according to
standards - store them in original case. We can always can use
'lower(field)' in a ClickHouse query, but if string was lowercased by
Rspamd nothing can be done to recover lost information.
Lowercase domain parts of addresses - domains are not case sensitive and
storing them in lower case will simplify queries.
Anton Yuzhaninov [Mon, 24 Jun 2019 16:02:15 +0000 (17:02 +0100)]
[Rework] Store ASN as UInt32 in ClickHouse
Using integer type for an integer value will simplify queries.
Value for unknown ASN changes from '--' to 0.
Anton Yuzhaninov [Mon, 24 Jun 2019 11:13:31 +0000 (12:13 +0100)]
[Minor] Check that ASN extracted from DNS record is numeris
Vsevolod Stakhov [Sun, 23 Jun 2019 08:35:31 +0000 (09:35 +0100)]
[Minor] Require cmake 3.0 and modernize somehow
Vsevolod Stakhov [Sat, 22 Jun 2019 13:29:40 +0000 (14:29 +0100)]
[Minor] Fix various crap
Vsevolod Stakhov [Sat, 22 Jun 2019 13:14:32 +0000 (14:14 +0100)]
Create FUNDING.yml
Vsevolod Stakhov [Sat, 22 Jun 2019 12:21:56 +0000 (13:21 +0100)]
[Minor] Fix debian dependencies
Vsevolod Stakhov [Sat, 22 Jun 2019 12:13:41 +0000 (13:13 +0100)]
Merge pull request #2931 from rspamd/libev-migration
[Project] Migrate to libev
Vsevolod Stakhov [Sat, 22 Jun 2019 08:52:22 +0000 (09:52 +0100)]
[Minor] Add assertions to prevent scheduling of uninitialised watchers
Vsevolod Stakhov [Sat, 22 Jun 2019 08:50:26 +0000 (09:50 +0100)]
[Minor] Init milter watcher
Vsevolod Stakhov [Fri, 21 Jun 2019 20:13:41 +0000 (21:13 +0100)]
[Minor] Support gcc based ASAN
Vsevolod Stakhov [Fri, 21 Jun 2019 16:58:44 +0000 (17:58 +0100)]
[Minor] Fix ssl utils and lua tcp
Vsevolod Stakhov [Fri, 21 Jun 2019 15:03:59 +0000 (16:03 +0100)]
[Minor] Fix some more issues with timeouts
Vsevolod Stakhov [Fri, 21 Jun 2019 14:02:40 +0000 (15:02 +0100)]
[Minor] Eliminate fann traces
Vsevolod Stakhov [Fri, 21 Jun 2019 13:53:13 +0000 (14:53 +0100)]
[Minor] Fix control handler
Vsevolod Stakhov [Fri, 21 Jun 2019 13:18:05 +0000 (14:18 +0100)]
[Minor] Fix cdb usage
Vsevolod Stakhov [Fri, 21 Jun 2019 13:11:33 +0000 (14:11 +0100)]
[Minor] Fix timeouts mess
Vsevolod Stakhov [Fri, 21 Jun 2019 12:46:01 +0000 (13:46 +0100)]
[Minor] Load hyperscan cache in controller as well
Vsevolod Stakhov [Fri, 21 Jun 2019 11:50:42 +0000 (12:50 +0100)]
[Test] Fix functional tests case
Vsevolod Stakhov [Fri, 21 Jun 2019 11:23:13 +0000 (12:23 +0100)]
[Minor] Sigh, another fix
Vsevolod Stakhov [Fri, 21 Jun 2019 11:18:19 +0000 (12:18 +0100)]
[Test] Fix functional tests
Vsevolod Stakhov [Fri, 21 Jun 2019 11:11:17 +0000 (12:11 +0100)]
[Minor] Init event loop in rspamadm
Vsevolod Stakhov [Fri, 21 Jun 2019 10:48:42 +0000 (11:48 +0100)]
[Minor] Fix include paths
Vsevolod Stakhov [Fri, 21 Jun 2019 09:58:08 +0000 (10:58 +0100)]
[Minor] Fix file maps monitoring
Vsevolod Stakhov [Fri, 21 Jun 2019 09:36:26 +0000 (10:36 +0100)]
[Minor] Show used loop backend
Vsevolod Stakhov [Thu, 20 Jun 2019 21:04:11 +0000 (22:04 +0100)]
[Minor] Optimize the case when there are no finish events
Vsevolod Stakhov [Thu, 20 Jun 2019 20:56:11 +0000 (21:56 +0100)]
[Project] Another try to deal with final events
Vsevolod Stakhov [Thu, 20 Jun 2019 20:22:12 +0000 (21:22 +0100)]
[Project] Another workaround for signals...
Vsevolod Stakhov [Thu, 20 Jun 2019 15:11:07 +0000 (16:11 +0100)]
[Rework] Rework children operations
Vsevolod Stakhov [Thu, 20 Jun 2019 14:07:58 +0000 (15:07 +0100)]
[Minor] Try to fix more issues
Vsevolod Stakhov [Thu, 20 Jun 2019 11:47:00 +0000 (12:47 +0100)]
[Minor] Fuzzy storage now has no TCP sockets
Vsevolod Stakhov [Thu, 20 Jun 2019 09:28:23 +0000 (10:28 +0100)]
[Minor] Fix some missing userdata
Vsevolod Stakhov [Wed, 19 Jun 2019 17:23:46 +0000 (18:23 +0100)]
[Project] Make it compileable again...
Vsevolod Stakhov [Wed, 19 Jun 2019 16:46:28 +0000 (17:46 +0100)]
[Project] Further workers refactoring
Vsevolod Stakhov [Wed, 19 Jun 2019 16:46:17 +0000 (17:46 +0100)]
[Rework] Remove log helper worker
Vsevolod Stakhov [Wed, 19 Jun 2019 16:07:56 +0000 (17:07 +0100)]
[Project] Adopt normal worker and contorller
Vsevolod Stakhov [Wed, 19 Jun 2019 13:18:51 +0000 (14:18 +0100)]
[Rework] Eliminate lua_worker for now as it is useless
Vsevolod Stakhov [Wed, 19 Jun 2019 13:13:39 +0000 (14:13 +0100)]
[Project] Rework and simplify fuzzy storage, remove mirroring
Vsevolod Stakhov [Wed, 19 Jun 2019 12:18:09 +0000 (13:18 +0100)]
[Project] Rework rspamc
Vsevolod Stakhov [Wed, 19 Jun 2019 12:16:25 +0000 (13:16 +0100)]
[Project] More libserver adoptions
Vsevolod Stakhov [Wed, 19 Jun 2019 10:42:58 +0000 (11:42 +0100)]
[Project] Further rework
Vsevolod Stakhov [Tue, 18 Jun 2019 18:07:25 +0000 (19:07 +0100)]
[Project] More rework
Vsevolod Stakhov [Tue, 18 Jun 2019 15:27:25 +0000 (16:27 +0100)]
[Project] Another iteration
Vsevolod Stakhov [Mon, 17 Jun 2019 15:25:07 +0000 (16:25 +0100)]
[Project] Adopt Lua API
Vsevolod Stakhov [Mon, 17 Jun 2019 12:24:30 +0000 (13:24 +0100)]
[Project] Fix usage of periodic events
Vsevolod Stakhov [Mon, 17 Jun 2019 12:07:17 +0000 (13:07 +0100)]
[Project] Rework upstreams
Vsevolod Stakhov [Mon, 17 Jun 2019 10:56:53 +0000 (11:56 +0100)]
[Project] Utilize ev_stat in maps
Vsevolod Stakhov [Mon, 17 Jun 2019 09:27:32 +0000 (10:27 +0100)]
[Project] Further maps and http rework
Vsevolod Stakhov [Sun, 16 Jun 2019 20:09:59 +0000 (21:09 +0100)]
[Project] Start maps rework
Vsevolod Stakhov [Sun, 16 Jun 2019 17:32:55 +0000 (18:32 +0100)]
[Project] Rework HTTP IO
Vsevolod Stakhov [Sun, 16 Jun 2019 08:57:21 +0000 (09:57 +0100)]
[Project] Remove libfann, gd and other unsupported stuff
Vsevolod Stakhov [Sat, 15 Jun 2019 20:38:24 +0000 (21:38 +0100)]
[Project] Refactor more, use ev_stat for cdb watching
Vsevolod Stakhov [Sat, 15 Jun 2019 20:38:01 +0000 (21:38 +0100)]
[Project] Add small helpers for migration simplifications
Vsevolod Stakhov [Sat, 15 Jun 2019 15:37:58 +0000 (16:37 +0100)]
[Project] First refactoring step libevent->libev
Vsevolod Stakhov [Sat, 15 Jun 2019 15:24:40 +0000 (16:24 +0100)]
[Project] Add libev hiredis adapter
Vsevolod Stakhov [Sat, 15 Jun 2019 15:20:23 +0000 (16:20 +0100)]
[Project] Rename events.h
Vsevolod Stakhov [Sat, 15 Jun 2019 13:29:51 +0000 (14:29 +0100)]
[Project] Bundle libev
Vsevolod Stakhov [Fri, 21 Jun 2019 17:34:02 +0000 (18:34 +0100)]
Merge pull request #2935 from citrin/clickhouse
[Minor] ClickHouse: Improve schema and tests
Vsevolod Stakhov [Fri, 21 Jun 2019 15:17:51 +0000 (16:17 +0100)]
Merge pull request #2937 from citrin/robot
[Minor] Update test to work with current robot version
Anton Yuzhaninov [Fri, 21 Jun 2019 13:54:56 +0000 (15:54 +0200)]
[Minor] Update test to work with current robot version
Vsevolod Stakhov [Fri, 21 Jun 2019 11:27:51 +0000 (12:27 +0100)]
[Minor] Fix pipeline
Vsevolod Stakhov [Thu, 20 Jun 2019 11:37:40 +0000 (12:37 +0100)]
[Fix] Fix out of bound access in lua logger
Anton Yuzhaninov [Fri, 21 Jun 2019 10:10:31 +0000 (11:10 +0100)]
Save ClickHouse error log
Anton Yuzhaninov [Thu, 20 Jun 2019 18:31:56 +0000 (19:31 +0100)]
[Minor] Tests: Fix robot warning and reformat to better redability
Vsevolod Stakhov [Thu, 20 Jun 2019 18:28:15 +0000 (19:28 +0100)]
Merge pull request #2934 from citrin/perltidy
[Minor] Perltidy
Anton Yuzhaninov [Thu, 20 Jun 2019 18:16:37 +0000 (20:16 +0200)]
[Minor] Format perl scripts using current perltidy version
Anton Yuzhaninov [Thu, 20 Jun 2019 18:14:03 +0000 (20:14 +0200)]
[Minor] CI: show perltidy/tidyall versions
Different perltidy versions format code differently.
Anton Yuzhaninov [Thu, 20 Jun 2019 17:27:12 +0000 (18:27 +0100)]
[Minor] Fix ClickHouse test after upgrade
Current ClickHouse version refuses to run from root if data directory is
not owned by root. Run it from user clickhouse as it supposed to be run.
Also cleanup ClickHouse config (some options prevented it to start,
others just unnecessary).
Anton Yuzhaninov [Wed, 19 Jun 2019 16:50:24 +0000 (17:50 +0100)]
[Minor] Document ClickHouse table schema
Vsevolod Stakhov [Tue, 18 Jun 2019 11:54:44 +0000 (12:54 +0100)]
[Rules] Rework LEAKED_PASSWORD_SCAM rule one more time
Vsevolod Stakhov [Tue, 18 Jun 2019 11:50:45 +0000 (12:50 +0100)]
[Minor] Add has_symbol function to rspamd expressions
Vsevolod Stakhov [Tue, 18 Jun 2019 11:46:34 +0000 (12:46 +0100)]
[Rules] Add dedicated bitcoin addresses filter rule
Vsevolod Stakhov [Tue, 18 Jun 2019 09:11:09 +0000 (10:11 +0100)]
[Feature] Lua_mimepart: Add function filter_words
Vsevolod Stakhov [Mon, 17 Jun 2019 16:57:21 +0000 (17:57 +0100)]
[Rules] Add more detection to LEAKED_PASSWORD_SCAM
Vsevolod Stakhov [Mon, 17 Jun 2019 16:45:00 +0000 (17:45 +0100)]
[Minor] Clickhouse: Fix escaping
Vsevolod Stakhov [Mon, 17 Jun 2019 16:42:20 +0000 (17:42 +0100)]
[Fix] Clickhouse: Fix quoting
Issue: #2928
Vsevolod Stakhov [Mon, 17 Jun 2019 15:55:31 +0000 (16:55 +0100)]
[Minor] Try to fix types
Vsevolod Stakhov [Mon, 17 Jun 2019 11:16:29 +0000 (12:16 +0100)]
[Minor] Fix various settings issues
Vsevolod Stakhov [Sun, 16 Jun 2019 16:28:37 +0000 (17:28 +0100)]
Merge pull request #2927 from moisseev/webui
[Minor] WebUI: Remove hyperlink from logo
moisseev [Sun, 16 Jun 2019 15:29:00 +0000 (18:29 +0300)]
[Minor] WebUI: Remove hyperlink from logo
Vsevolod Stakhov [Sun, 16 Jun 2019 10:26:49 +0000 (11:26 +0100)]
Merge pull request #2926 from moisseev/webui
[Minor] Remove `form` role
moisseev [Sat, 15 Jun 2019 17:56:17 +0000 (20:56 +0300)]
[Minor] WebUI: Remove unused code
moisseev [Sat, 15 Jun 2019 15:33:31 +0000 (18:33 +0300)]
[Minor] Remove `form` role
as it is unnecessary for a `form` element.
Vsevolod Stakhov [Sat, 15 Jun 2019 11:38:14 +0000 (12:38 +0100)]
[Minor] Lua_config: Add config unload scripts
Vsevolod Stakhov [Sat, 15 Jun 2019 11:20:48 +0000 (12:20 +0100)]
[Test] Improve settings tests coverage
Vsevolod Stakhov [Sat, 15 Jun 2019 11:20:29 +0000 (12:20 +0100)]
[Project] Allow to set allowed and forbidden ids for symbols
Vsevolod Stakhov [Fri, 14 Jun 2019 18:58:46 +0000 (19:58 +0100)]
[Test] Add test for virtual symbols
Vsevolod Stakhov [Fri, 14 Jun 2019 18:58:28 +0000 (19:58 +0100)]
[Project] Fix virtual symbols processing in settings
Vsevolod Stakhov [Fri, 14 Jun 2019 18:29:14 +0000 (19:29 +0100)]
[Project] Fix some more issues
Vsevolod Stakhov [Fri, 14 Jun 2019 18:16:36 +0000 (19:16 +0100)]
[Project] Lua_config: Add post init scripts
Vsevolod Stakhov [Fri, 14 Jun 2019 17:28:31 +0000 (18:28 +0100)]
[Project] Various fixes
Vsevolod Stakhov [Fri, 14 Jun 2019 16:49:47 +0000 (17:49 +0100)]
[Doc] Support available versions in doxydown
Vsevolod Stakhov [Fri, 14 Jun 2019 16:44:59 +0000 (17:44 +0100)]
[Project] Add missing methods to lua_config
Vsevolod Stakhov [Fri, 14 Jun 2019 16:44:46 +0000 (17:44 +0100)]
[Project] Rework settings registration
Vsevolod Stakhov [Fri, 14 Jun 2019 16:12:00 +0000 (17:12 +0100)]
[Minor] Lua_task: Allow to set settings id
Vsevolod Stakhov [Fri, 14 Jun 2019 15:11:52 +0000 (16:11 +0100)]
[Project] Implement checks for symbols against allowed ids
Vsevolod Stakhov [Fri, 14 Jun 2019 14:49:10 +0000 (15:49 +0100)]
[Project] Add symbols for explicit enabling
Vsevolod Stakhov [Fri, 14 Jun 2019 14:40:51 +0000 (15:40 +0100)]
[Project] Link symcache item to metric symbol
Vsevolod Stakhov [Fri, 14 Jun 2019 13:41:58 +0000 (14:41 +0100)]
[Minor] Lua_config: Add get_group_symbols method
Vsevolod Stakhov [Fri, 14 Jun 2019 13:15:39 +0000 (14:15 +0100)]
[Project] Implement logic to deal with settings id in the cache