summaryrefslogtreecommitdiff
path: root/src/php_snuffleupagus.h (follow)
AgeCommit message (Collapse)Author
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
2018-09-03Fix #241 segfault on 32-bit related to bad protype (#242)Remi Collet
This should close #241
2018-08-31Bump the changelogv0.4.0jvoisin
2018-08-30Change how we're handling invalid configurationsxXx-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-29Change how we're validating certificatesxXx-caillou-xXx
2018-08-29Verify certs (#223)jvoisin
Ensure that certificates are verified in curl should close #47
2018-08-27Add whitelist support for php's wrappersxXx-caillou-xXx
2018-08-20Bump the changlogv0.3.1hamza (hes) ES SAHELY
2018-07-19Bump the changelogkka
2018-07-16Yet an other clang-format passjvoisin
2018-07-09Trying to fix sloppy comparison (#186)jvoisin
* Trying to fix sloppy comparison https://github.com/nbs-system/snuffleupagus/issues/10 by modifying php's opcode
2018-05-29Support session encryptionkkadosh
Implement session encryption.
2018-05-15Refactor the encryption process to extract encrypt/decrypt functions (#176)kkadosh
Refactor the encryption process to extract encrypt/decrypt functions
2018-03-12Bump the changelogv0.2.2jvoisin
2018-02-07Bump the changelogv0.2.1jvoisin
2018-02-05Compatibility layer for pcre2jvoisin
This should close #129
2018-01-22switch to commonly used version schema (#136)Remi Collet
* switch to commonly used version schema * update release process
2018-01-18Bump the changelogjvoisin