summaryrefslogtreecommitdiff
path: root/src/sp_utils.c (follow)
AgeCommit message (Expand)Author
2025-10-02fix(log): systematically drop when .drop() is usedjvoisin
2025-10-02Rename a handful of global constantsjvoisin
2024-06-14Fix a portability issuejvoisin
2024-06-06Declare file local variables and functions staticChristian Göttsche
2023-02-02Url encode functions arguments when logging themjvoisin
2023-02-01Fix a possible NULL-byte truncation when outputting parameters in the logsjvoisin
2023-01-31Add sp.log_max_lenjvoisin
2022-12-09Portability improvements for PHP8.2jvoisin
2022-07-13Even more const!jvoisin
2022-07-13More micro-optimizationsjvoisin
2022-07-13Minor micro-optimizationjvoisin
2022-07-13Remove some dead codejvoisin
2022-07-13Mix the stacktrace in the sha256 for the filename of .dump()jvoisin
2022-06-27Minor code simplificationjvoisin
2022-06-27Dump the eval'ed codejvoisin
2022-05-06Silence a compiler warningjvoisin
2022-02-05introduced sp_regexp / store original regexBen Fuhrmannek
2021-12-14fix: include class name in eval whitelist matchingBen Fuhrmannek
2021-11-30clarify control flowBen Fuhrmannek
2021-10-21added some array initialization, just in case.Ben Fuhrmannek
2021-09-23config is stack allocated now + some code improvements (see details)Ben Fuhrmannek
2021-08-17removed unused variablesBen Fuhrmannek
2021-08-16fincy new scanner/parser for config rules + fixed a few bugs along the way + ...Ben Fuhrmannek
2021-08-12missing efree in sp_log_msgfBen Fuhrmannek
2021-08-07fixed doulbe hookBen Fuhrmannek
2021-08-06restructured function hooks, implemented unhookBen Fuhrmannek
2021-08-03fixed incorrect use of free()/efree()Ben Fuhrmannek
2021-08-02Merge branch 'master' of https://github.com/jvoisin/snuffleupagusBen Fuhrmannek
2021-04-28A pass of clang-formatjvoisin
2021-04-28Simplify a bit get_ip()jvoisin
2021-02-18log forging protectionBen Fuhrmannek
2021-01-30Improve a bit type diversityjvoisin
2021-01-02Do a clang-format passjvoisin
2021-01-02Add stacktraces to dumpsjvoisin
2021-01-01Simplify a loop conditionjvoisin
2021-01-01Simplify sp_match_array_valuejvoisin
2021-01-01Constify a functionjvoisin
2020-12-19docs: fix simple typo, migitate -> mitigateTim Gates
2020-08-12Allow empty configuration (#342)jvoisin
2020-07-22refactoring sp_log_* (#340)Giovanni
2020-07-21Fixed issue on impossible bailout.Giovanni Dante Grazioli
2020-07-21Fix #338 - added log type if type is simulation, drop or log. (#339)Giovanni
2020-07-12More constificationjvoisin
2020-07-12Use $_SERVER['REMOTE_ADDR'] in last resort to get the client's ip addrjvoisin
2020-07-08Add a couple of `restrict`jvoisin
2020-07-04Fix a small typojvoisin
2020-07-04Reorder some declarationjvoisin
2020-07-04Run clang-format on the codebasejvoisin
2020-07-04Factorize how snuffleupagus gets client's ip addrjvoisin
2020-07-04Fix a syslog-related issuejvoisin