summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-12update snuffleupagus.h with new versionkka
2019-05-14Fix the cookie's handling for PHP7.3+jvoisin
PHP 7.3+ added a new prototype for the cookie setting mechanism, breaking our ghetto samesite-injection, this commit takes care of it.
2019-05-13Allow php > 7.4 to fail in the CIjvoisin
2019-05-13Fix VLD-related issue in the CIjvoisin
VLD isn't yet available for PHP7.4, so don't install it on PHP > 7.3
2019-04-07Protect against a now-public open_basedir bypassjvoisin
2019-02-23Try to unify the includesjvoisin
2019-02-23Fix the testsuite on php8.jvoisin
In php8, it's non-trivial to hook strlen, since this function is usually optimized away by the compiler.
2019-02-23Add php8 to travis and fix php7.4jvoisin
- Use clang-format on the code - Improve portability wrt. php8 - Fix php7.4 compatibility. See https://dustri.org/b/fixing-snuffleupagus-sloppy-comparison-on-array_keys-for-php74.html for a detailed writeup
2019-02-11Fix a warning on FreeBSDavkarenow
This should fix the following: ```C snuffleupagus/src/sp_config.c:193:10: warning: implicit declaration of function 'getline' is invalid in C99 [-Wimplicit-function-declaration] while (getline(&lineptr, &n, fd) > 0) { ^ 1 warning generated. ```
2019-01-22Fix typos and suggest more broad term for sysadminstomcodes
2019-01-21Document the point of having a black-list approach for evaljvoisin
2019-01-19Fix typo in how Snuffleupagus is spelled in doc/source/config.rsttomcodes
2019-01-16Improve a bit the default rulesjvoisin
2019-01-16Clean up a bit our .travis-ci.yml filejvoisin
Credit goes to @szepeviktor, this commit is a straight ripoff of https://github.com/nbs-system/snuffleupagus/pull/273 but without the bits that I'm not fond of, so we can move this forward while still being able to bikeshed around the bust the rest of it if we want to.
2019-01-16Fix a compilation warningjvoisin
2019-01-16Minor improvements of debian/rulesjvoisin
2019-01-14Reorganize the testsuitejvoisin
Splitting the testsuite in several components makes it easier to manage and comprehend. This was also needed some some tests aren't passing on Alpine Linux, but we still want to run as many of them as we can on this platform.
2019-01-12We're not in alpha anymore \o/jvoisin
2019-01-12Fix missing symbol when there is no session supportjvoisin
It's possible to build PHP with sessions as a module, or even without sessions at all. This commit make it possible to use Snuffleupagus on those platforms.
2019-01-12Make compilation stop gracefully in the absence of PCREjvoisin
2019-01-12Add Alpine back to the CI, compile-only, no testsuitejvoisin
2019-01-12Add a compile-only target to the Makefilejvoisin
2019-01-09Add a note about PHP7.3+ SameSite supportjvoisin
2019-01-09Rename a documentation filejvoisin
2019-01-07Depend on shlibs in DebianViktor Szépe
This should fix the following lintian warning: > W: snuffleupagus: missing-depends-line
2019-01-07Remove a terminal dot in the readmeViktor Szépe
2019-01-05Don't build with clangjvoisin
This will dramatically lower the time required to run the CI. Clang isn't really supported by php on travis anyway, since it's using weird constructs that clang can't compile.
2019-01-05Improve a bit the readmejvoisin
2019-01-05Add ubuntu and a badge in the READMEjvoisin
2019-01-03Add a gitlab-ci file, and a fix test on Fedorajvoisin
2019-01-01Fix a harmless-but-invalid zend_string_releasejvoisin
2019-01-01Fix the buildjvoisin
Snuffleupagus doesn't support php7.4 for now
2018-12-31Fix spelling issue in features docPhilip Keighley
Changed 'passer' to 'passed'
2018-12-26Document that it's not possible to hook builtins via regexpjvoisin
Also bump a bit the coverage
2018-12-26Add two eval-related testsjvoisin
2018-12-26Fix a typojvoisin
2018-12-26Fix the build for php7.0jvoisin
We only want to prevent crash/infinite recursion, we don't really care about the error/warning messages.
2018-12-26Fix the build for php7.0 and php7.1jvoisin
2018-12-26Bump a bit the coveragejvoisin
2018-12-26Add a PHP5 guardjvoisin
2018-12-26Remove an unnecessary guard against infinite recursion in session handlingjvoisin
This used to be useful in the times of PHP5.4/Suhosin (https://github.com/sektioneins/suhosin/issues/60), but nowadays, php is handling this case on its own.
2018-12-26Make the testsuite a bit more portablejvoisin
2018-12-25Tighten a bit the command-injection prevention rulejvoisin
2018-12-23Mention that SP is packaged in Fedora and FreeBSDjvoisin
2018-12-23Fix a typo in the changelogjvoisin
Spotted by @PeeHaa
2018-12-21bump the changelogv0.4.1kka
2018-12-15Document the previous commitjvoisin
2018-12-15Provide a php script, to get rid of the python one for test suiteRemi Collet
This commit adds a php version of the upload_validation.py script.
2018-12-15Improve simulation mode for session cookies (#259)jvoisin
Since decrypt_zval doesn't provide a way to tell apart failed and successful decryption when used in simulation mode, we'll have to restore the original value if something goes wrong, because crypto_secretbox_open might modify the value.
2018-12-07Add support for php7.3jvoisin