aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] malloc -> g_mallocVsevolod Stakhov2022-01-291-1/+1
|
* [Fix] Fix host header usage in lua_httpVsevolod Stakhov2022-01-291-5/+17
| | | | | | | | | | | | | | | The issue is that `rspamd_http_message_get_http_host` actually returns non zero-terminated string in the case where `Host` header is found in a message. Hence, we *cannot* treat it as a zero terminated string. The proper approach is to use `rspamd_ftok_t` everywhere for strings but the change will be too intrusive, since it also involves many libraries, e.g. `rdns` and others. The current approach is much simplier: just copy a string into a temporary buffer ensuring that it is zero terminated in all the cases. Issue: #4051
* [Rework] Allow to set a different behaviour for actions from settingsVsevolod Stakhov2022-01-291-31/+39
| | | | Issue: #4025
* Merge pull request #4049 from StSturge/feature/configdump_symbol_detailVsevolod Stakhov2022-01-281-0/+35
|\ | | | | [Minor] rspamadm configdump: parsing fixes and output enhancements
| * Address PR review commentsssturges2022-01-271-3/+3
| |
| * [Fix] Support definition of ungrouped symbol in conf file, use group info ↵ssturges2022-01-251-0/+35
| | | | | | | | from lua or other conf file
* | [Minor] Improve documentationVsevolod Stakhov2022-01-261-1/+11
|/
* [Minor] Fix a name and the description of bogus `user` field in the taskVsevolod Stakhov2022-01-241-8/+8
|
* [Minor] Add knobs to check if an archive was obfuscatedVsevolod Stakhov2022-01-131-0/+20
|
* [Fix] Fix exclude flags settingVsevolod Stakhov2022-01-111-1/+1
|
* [Minor] Slightly improve session events loggingVsevolod Stakhov2021-12-283-7/+25
|
* [Fix] Try to revert back maps content on errors properlyVsevolod Stakhov2021-12-221-40/+56
|
* [Minor] Allow lua_text in addition to stringsVsevolod Stakhov2021-12-142-8/+14
|
* [Minor] Use unified method to obtain http hostVsevolod Stakhov2021-12-111-5/+8
|
* [Feature] Allow to skip DNS resolution for keep-alive connectionsVsevolod Stakhov2021-12-091-16/+26
|
* [Fix] Clear SSL errorsVsevolod Stakhov2021-12-081-2/+3
|
* [Rework] Rework SSL flag operationsVsevolod Stakhov2021-12-081-2/+8
|
* [Minor] Add xxh3 support to lua_cryptoboxVsevolod Stakhov2021-12-051-0/+14
|
* [Rework] Use xxh3 as a default hash and fix memory/alignment issuesVsevolod Stakhov2021-12-051-6/+6
|
* [Minor] Adopt Rspamd to flags in rdns replyVsevolod Stakhov2021-12-012-3/+6
|
* [Fix] Fix stuctured headers pushingVsevolod Stakhov2021-11-292-6/+26
|
* [Minor] Fix task:set_recipients when the original recipients are absentVsevolod Stakhov2021-11-281-2/+14
|
* [Minor] Remove obsolete WITH_HIREDIS defineVsevolod Stakhov2021-11-201-62/+0
|
* [Minor] Fix signing with `skip_process` flagVsevolod Stakhov2021-11-111-5/+13
|
* [Minor] Allow to get a port for a specific upstreamVsevolod Stakhov2021-11-071-0/+23
|
* [Minor] Lua_mimepart: Add `get_enclosing_boundary` methodVsevolod Stakhov2021-11-051-0/+32
|
* [Minor] Unify set_pre_result invocationsVsevolod Stakhov2021-10-261-1/+1
|
* [Minor] Lua_cdb: Allow to use more data types as cdb keys/valuesVsevolod Stakhov2021-10-201-3/+42
|
* [Minor] Save int64 as lua_Integer not lua_NumberVsevolod Stakhov2021-10-201-1/+1
|
* [Minor] Add helpers to work with boxed int64 numbersVsevolod Stakhov2021-10-201-1/+73
|
* [Minor] Add documentation for lua cdb moduleVsevolod Stakhov2021-10-191-0/+52
|
* [Minor] Lua_cdb: Avoid extra copy on lookupVsevolod Stakhov2021-10-191-9/+1
|
* [Feature] Lua_cdb: Add cdb building interfaceVsevolod Stakhov2021-10-191-16/+154
|
* [Minor] Fix some issuesVsevolod Stakhov2021-10-161-9/+9
| | | | Found by: coverity scan
* [Minor] Check returned valueVsevolod Stakhov2021-10-161-1/+7
|
* [Minor] Set table indexVsevolod Stakhov2021-10-152-0/+4
|
* [Minor] Add method to get headers from mime partsVsevolod Stakhov2021-10-152-2/+35
|
* [Minor] Lua_task: Add get_headers methodVsevolod Stakhov2021-10-141-0/+31
|
* [Minor] Readahead cdb file if possibleVsevolod Stakhov2021-10-131-0/+15
|
* [Minor] Fix some minor code quality issueVsevolod Stakhov2021-10-121-2/+2
| | | | Found by: coverity scan
* [Minor] API docs: try explain real_ip / from_ip betterAndrew Lewis2021-10-111-2/+2
|
* [Minor] Lua_upstream: Add get_name methodVsevolod Stakhov2021-10-111-0/+23
|
* [Project] Finish received headers rework partVsevolod Stakhov2021-10-051-110/+8
|
* [Minor] Rework to fix issues in Lua APIVsevolod Stakhov2021-09-255-26/+60
| | | | Found by: coverity scan
* [Minor] Fix some more issuesVsevolod Stakhov2021-09-211-0/+4
| | | | Found by: coverity scan
* [Minor] Fix more error paths in LuaVsevolod Stakhov2021-09-211-0/+9
| | | | Found by: coverity scan
* [Minor] Cleanup unused cmake checksAnton Yuzhaninov2021-09-201-3/+0
|
* [Minor] Fix some leaks on error pathsVsevolod Stakhov2021-09-1911-55/+121
| | | | Found by: coverity scan
* [Fix] Fix hash table lookupVsevolod Stakhov2021-09-191-1/+1
| | | | Found by: coverity scan
* [Minor] Plug some leaks on error pathsVsevolod Stakhov2021-09-184-1/+15
| | | | Found by: coverity scan