summaryrefslogtreecommitdiff
path: root/src/php_snuffleupagus.h (follow)
AgeCommit message (Collapse)Author
2026-01-07Bump the changelogv0.13.0jvoisin
2025-10-24feat(log): add the possibility to log to a filelog2filejvoisin
2025-08-19Bump the changelogv0.12.0jvoisin
2025-05-13Remove the useless show_old_php_warning featurejvoisin
People are usually well-aware of the outdatedness of the PHP version they're running, which is likely why they're running Snuffleupagus in the first place. This feature shouldn't have been enabled by default, and I fail to see any case where anyone would want to enable it. Moreover, it doesn't take LTS versions from vendors/distributions into account, thus breaking on RHEL/Debian (old)stable.
2024-09-06Fix a licensing typojvoisin
Spotted by @kpcyrd
2024-09-06Bump the changelogv0.11.0jvoisin
2024-07-09Fix compilation for PHP84+jvoisin
PHP changed some includes for PHP8.4. This commit also adds php8.4-rc to the CI This fixes #497 and #496 Reported-by: rainerjung
2023-12-13print key and value on INI violationsChristian Göttsche
On violations of INI settings include the key and if appropriate the value in the log message. This helps to locate offenders and fine tune the configuration itself.
2023-09-20Bump the changelogv0.10.0jvoisin
2023-01-31Add sp.log_max_lenjvoisin
2023-01-03Bump the changelogv0.9.0jvoisin
2022-12-08Add unserialize_noclassjvoisin
2022-08-27Bump the changelogv0.8.3jvoisin
2022-07-12Refactoring of the previous commitjvoisin
2022-07-12Minor refactorisationjvoisin
2022-06-27Dump the eval'ed codejvoisin
2022-05-20Bump the changelogv0.8.2jvoisin
2022-05-16Bump the changelogv0.8.1jvoisin
2022-05-15Bump the changelogv0.8.0jvoisin
2022-03-20Merge remote-tracking branch 'sektioneins/master'jvoisin
2021-11-19added old php version checkBen Fuhrmannek
2021-11-11inverted logic. set xxe_protection.enable() instead of disable_xxe.disable()Ben Fuhrmannek
2021-09-23config is stack allocated now + some code improvements (see details)Ben Fuhrmannek
* for easier memory manegement, the entire sp_config struct was merged into snuffleupagus_globals and allocated on stack where possible * SNUFFLEUPAGUS_G() can be written as SPG(), which is faster to type and easier to read * execution_depth is re-initialized to 0 for each request * function calls with inline string and length parameters consistently use ZEND_STRL instead of sizeof()-1 * execution is actually hooked if recursion protection is enabled * some line breaks were removed to make the code more readable
2021-09-16ported server.strip and server.encode features from suhosinBen Fuhrmannek
2021-09-15implemented execution depth limitBen Fuhrmannek
2021-09-15changed version and version output in phpinfoBen Fuhrmannek
2021-08-16fincy new scanner/parser for config rules + fixed a few bugs along the way + ↵Ben Fuhrmannek
fixed related unittests
2021-08-07PHP7 compatibilityBen Fuhrmannek
2021-08-06implemented ini settings protectionBen Fuhrmannek
2021-08-02Bump the changelogv0.7.1jvoisin
2021-04-28A pass of clang-formatjvoisin
2021-01-03Don't check for bundled pcre in php8jvoisin
Patch coming from https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/16372/diffs#diff-content-c2549fd272f686fb013e5c74164615ca073560bb
2021-01-02Bump the changelogv0.7.0jvoisin
2020-12-24Add PHP8 supportJulien Voisin
2020-12-13Remove a duplicate includejvoisin
2020-11-12Snuffleupagus now uses pcre2 by defaultjvoisin
2020-11-06Bump the changelogv0.6.0jvoisin
2020-08-12Allow empty configuration (#342)jvoisin
This commit allows php to run (with a warning) if there is no specified snuffleupagus configuration, instead of refusing to start.
2020-08-07Move an includejvoisin
2020-06-20Bump the changelogv0.5.1jvoisin
2020-03-04%s/nbs-system/jvoisinjvoisin
Since I'm the only one to maintain Snuffleupagus, let's adjust the links and contact addresses of my fork, to point to well… my fork.
2019-10-24Improve a bit the compatibility with php8jvoisin
- Apparently, TSRMLS_C and TSRMLS_FETCH aren't defined anymore, so we have to manually define them to nothing - PHP8 constified a bit some strings, which is great, so we should do the same to avoid warnings
2019-08-31Support direct syslog loggingThibault "bui" Koechlin
Add the possibility to log directly into the syslog, instead of using php's log system.
2019-06-20Fix snufflepagus_globals linking issues and one mac compatibility issuebef
2019-06-12update snuffleupagus.h with new versionkka
2019-02-23Try to unify the includesjvoisin
2019-01-12Make compilation stop gracefully in the absence of PCREjvoisin
2018-12-26Add a PHP5 guardjvoisin
2018-12-21bump the changelogv0.4.1kka
2018-10-06Remove sp_terminate and bump a bit the coveragejvoisin