| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-08-21 | Fix sloppy comparison | jvoisin | |
| 2022-07-20 | Merge branch 'master' into pr1 | BeF | |
| 2022-07-20 | add disabled functions return type to config export | Ben Fuhrmannek | |
| 2022-07-18 | fixed crash when exporting function list (rare edge case problem) | Ben Fuhrmannek | |
| 2022-07-12 | Disable extended checks for readonly_exec by default | jvoisin | |
| 2022-07-12 | extended checks for readonly_exec, enabled by default | Ben Fuhrmannek | |
| introduced config options: readonly_exec.extended_checks() or xchecks() readonly_exec.no_extended_checks() or noxchecks() | |||
| 2022-07-12 | Constify some variables | jvoisin | |
| 2022-07-12 | Minor refactorisation | jvoisin | |
| 2022-05-03 | Small code formatting fix | jvoisin | |
| 2022-04-19 | extended checks for readonly_exec, enabled by default | Ben Fuhrmannek | |
| introduced config options: readonly_exec.extended_checks() or xchecks() readonly_exec.no_extended_checks() or noxchecks() | |||
| 2022-03-20 | Merge remote-tracking branch 'sektioneins/master' | jvoisin | |
| 2022-02-05 | added config dump/export for use with other tools | Ben Fuhrmannek | |
| 2022-01-12 | fixed compiler warning + better warning message | Ben Fuhrmannek | |
| 2022-01-06 | prevent double checks and fixed segfault on return value access | Ben Fuhrmannek | |
| 2022-01-05 | skip old php check for testing | Ben Fuhrmannek | |
| 2021-12-20 | added @warn/@err to config syntax | Ben Fuhrmannek | |
| 2021-12-14 | fixed typo where execution hook may not have been active | Ben Fuhrmannek | |
| 2021-11-30 | PHP 8.1 compatibility with streams/includes + fix for ticks | Ben Fuhrmannek | |
| 2021-11-19 | added old php version check | Ben Fuhrmannek | |
| 2021-11-11 | inverted logic. set xxe_protection.enable() instead of disable_xxe.disable() | Ben Fuhrmannek | |
| 2021-09-23 | config 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-16 | ported sid min/max restriction from suhosin | Ben Fuhrmannek | |
| 2021-09-16 | ported server.strip and server.encode features from suhosin | Ben Fuhrmannek | |
| 2021-09-15 | implemented execution depth limit | Ben Fuhrmannek | |
| 2021-09-15 | changed version and version output in phpinfo | Ben Fuhrmannek | |
| 2021-08-18 | start SP as late as possible. this allows us to hook functions of extensions ↵ | Ben Fuhrmannek | |
| supposed to be loaded later | |||
| 2021-08-14 | debug log to dup'd stderr / php is closing stderr during shutdown | Ben Fuhrmannek | |
| 2021-08-07 | prevent STDERR debug output based on SP_NODEBUG environment variable | Ben Fuhrmannek | |
| 2021-08-06 | implemented ini settings protection | Ben Fuhrmannek | |
| 2021-08-06 | debug log to dup'd stderr / php is closing stderr during shutdown | Ben Fuhrmannek | |
| 2021-08-02 | properly free memory on shutdown | Ben Fuhrmannek | |
| 2021-07-28 | Sprinkle even more `const` | jvoisin | |
| 2021-05-09 | strtok/strtok_r is a thing from the past, don't use it. | jvoisin | |
| 2021-05-09 | Add some checks to prevent recursion upon config reloading | jvoisin | |
| 2021-05-08 | Remove some memory-leaks | jvoisin | |
| 2021-04-28 | A pass of clang-format | jvoisin | |
| 2020-11-18 | Make the strict mode disableable | jvoisin | |
| The global strict mode was enabled by default without any means to disable it, in certain cases. Bug reported by wedi. | |||
| 2020-08-12 | Allow 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-07 | Move an include | jvoisin | |
| 2019-02-23 | Try to unify the includes | jvoisin | |
| 2018-10-06 | Remove sp_terminate and bump a bit the coverage | jvoisin | |
| 2018-08-30 | Minor code cleanup | xXx-caillou-xXx | |
| 2018-08-30 | Change how we're handling invalid configurations | xXx-caillou-xXx | |
| Since our configuration format is a bit more complex than php's one, we have a `sp.allow_broken_configuration` parameter (`false` by default), that you can set to `true` if you want PHP to carry on if your Snuffleupagus' configuration contains syntax errors. You'll still get a big scary message in your logs of course. We do **not** recommend to use it of course, but sometimes it might be useful to be able to "debug in production" without breaking your website. | |||
| 2018-08-29 | Change how we're validating certificates | xXx-caillou-xXx | |
| 2018-08-29 | Remove the GLOB_BRACE flag | Antoine Tenart | |
| When calling glob() to get the configuration file location, the GLOB_BRACE flag is used. This flag enables the parsing of '{a,b}', so that '/path/{a,b}' represents '/path/a' and '/path/b'. Looking at Snuffleupagus' documentation I saw nowhere this kind of path was supported. Instead the documentation shows that glob() is used for paths with wildcards. The use of GLOB_BRACE is problematic as it is glibc specific and is not supported by some other C libraries, such as Musl. Snuffleupagus cannot be used in Apline for this reason. Since the documentation does not give a valid usage of GLOB_BRACE this patch removes it, which fixes the non-glibc support. Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf> | |||
| 2018-08-29 | Verify certs (#223) | jvoisin | |
| Ensure that certificates are verified in curl should close #47 | |||
| 2018-08-27 | Add whitelist support for php's wrappers | xXx-caillou-xXx | |
| 2018-08-20 | Fix two minor issues | xXx-caillou-xXx | |
| - Fix an infinite loop on `echo` hook - Use the correct function to compare filenames internally | |||
| 2018-07-16 | Yet an other clang-format pass | jvoisin | |
| 2018-07-13 | Allow rules matching on echo and print | xXx-caillou-xXx | |
