summaryrefslogtreecommitdiff
path: root/src/snuffleupagus.c (follow)
AgeCommit message (Collapse)Author
2025-10-24feat(log): add the possibility to log to a filelog2filejvoisin
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.
2025-04-11Minor code simplificationjvoisin
2024-09-06Bump the changelogv0.11.0jvoisin
2024-06-09Add option to specify the allowed "php" wrapper typesChristian Göttsche
In addition of the current possibility to filter wrappers by their protocol name, also add the option to filter the "php" wrapper by the requested kind. Especially the 'filter' backend can be disabled that way.
2024-06-06Declare file local variables and functions staticChristian Göttsche
Avoid missing prototype warnings by declaring variables and functions that are only used in a single file static.
2024-06-06Use strict prototypesChristian Göttsche
Use the special value void as parameter for functions taking nor argument.
2024-06-06Fix missing token in config dumpChristian Göttsche
2024-03-08Update the deprecation checksjvoisin
2024-01-26Bail early in case of invalid config in PHP_RINIT_jvoisin
2023-08-02Update snuffleupagus.cPete Cooper
typo
2023-01-31Add sp.log_max_lenjvoisin
2022-12-08Add unserialize_noclassjvoisin
2022-08-21Fix sloppy comparisonjvoisin
2022-07-20Merge branch 'master' into pr1BeF
2022-07-20add disabled functions return type to config exportBen Fuhrmannek
2022-07-18fixed crash when exporting function list (rare edge case problem)Ben Fuhrmannek
2022-07-12Disable extended checks for readonly_exec by defaultjvoisin
2022-07-12extended checks for readonly_exec, enabled by defaultBen Fuhrmannek
introduced config options: readonly_exec.extended_checks() or xchecks() readonly_exec.no_extended_checks() or noxchecks()
2022-07-12Constify some variablesjvoisin
2022-07-12Minor refactorisationjvoisin
2022-05-03Small code formatting fixjvoisin
2022-04-19extended checks for readonly_exec, enabled by defaultBen Fuhrmannek
introduced config options: readonly_exec.extended_checks() or xchecks() readonly_exec.no_extended_checks() or noxchecks()
2022-03-20Merge remote-tracking branch 'sektioneins/master'jvoisin
2022-02-05added config dump/export for use with other toolsBen Fuhrmannek
2022-01-12fixed compiler warning + better warning messageBen Fuhrmannek
2022-01-06prevent double checks and fixed segfault on return value accessBen Fuhrmannek
2022-01-05skip old php check for testingBen Fuhrmannek
2021-12-20added @warn/@err to config syntaxBen Fuhrmannek
2021-12-14fixed typo where execution hook may not have been activeBen Fuhrmannek
2021-11-30PHP 8.1 compatibility with streams/includes + fix for ticksBen Fuhrmannek
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 sid min/max restriction from suhosinBen Fuhrmannek
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-18start SP as late as possible. this allows us to hook functions of extensions ↵Ben Fuhrmannek
supposed to be loaded later
2021-08-14debug log to dup'd stderr / php is closing stderr during shutdownBen Fuhrmannek
2021-08-07prevent STDERR debug output based on SP_NODEBUG environment variableBen Fuhrmannek
2021-08-06implemented ini settings protectionBen Fuhrmannek
2021-08-06debug log to dup'd stderr / php is closing stderr during shutdownBen Fuhrmannek
2021-08-02properly free memory on shutdownBen Fuhrmannek
2021-07-28Sprinkle even more `const`jvoisin
2021-05-09strtok/strtok_r is a thing from the past, don't use it.jvoisin
2021-05-09Add some checks to prevent recursion upon config reloadingjvoisin
2021-05-08Remove some memory-leaksjvoisin
2021-04-28A pass of clang-formatjvoisin
2020-11-18Make the strict mode disableablejvoisin
The global strict mode was enabled by default without any means to disable it, in certain cases. Bug reported by wedi.