summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)Author
2020-12-13Get rid of pcre1jvoisin
2020-12-12Mark the relevant php8 tests as broken (#359)jvoisin
* Skip tests broken on php8 * Oops * Fix some tests * Add some XXE tests for php8 * Fix a test
2020-12-01In tests, don't `die("skip")` but `print "skip"` instead (#358)jvoisin
This is required since the `die` is making php8 choke
2020-11-30Fix an other type mismatch in zend_compile_stringjvoisin
2020-11-30Fix the type of zend_compile_string (#357)jvoisin
This was changed in https://github.com/php/php-src/commit/f5dbebd82e642b1d1af462b486fc392ecff2c67a
2020-11-29Fix some unused variables warnings introduced in ea7c76bjvoisin
2020-11-29Fix zend_write booking typejvoisin
The signature was changed in PHP8: https://github.com/php/php-src/commit/e15409b43cacf711608189c299191f2969ea331c
2020-11-29Don't call libxml_disable_entity_loader for php8+jvoisin
This functions is deprecated, but since PHP8+ requires libxml 2.9.0 where XXE are disabled by default, there is no need to call it anymore.
2020-11-29Make the `>` operator skip over functionsjvoisin
2020-11-20Add some tests for the strict modejvoisin
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.
2020-11-12Add a testjvoisin
2020-11-12Invalid configurations with mutually exclusive keywords now abortsjvoisin
2020-11-12Harmonize a bit the configuration parsing and fix a typojvoisin
2020-11-12Simplify a bit a functionjvoisin
2020-11-12Snuffleupagus now uses pcre2 by defaultjvoisin
2020-11-08Mark a test as brokenjvoisin
2020-11-06Bump the changelogv0.6.0jvoisin
2020-11-06Clang-format againjvoisin
2020-11-06Constify a bit morejvoisin
2020-11-06Use proper prototype declarationjvoisin
2020-10-03Fix the testsuite for php7.4jvoisin
2020-08-16Remove a useless line of codejvoisin
2020-08-16Add a test for the native loggingjvoisin
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-08-05Add a test for the syslog output of the logsjvoisin
2020-07-22refactoring sp_log_* (#340)Giovanni
Co-authored-by: Giovanni Dante Grazioli <giovanni.dantegrazioli@nbs-system.com>
2020-07-21Fixed issue on impossible bailout.Giovanni Dante Grazioli
2020-07-21Fix #338 - added log type if type is simulation, drop or log. (#339)Giovanni
Co-authored-by: Giovanni Dante Grazioli <giovanni.dantegrazioli@nbs-system.com>
2020-07-12One more constjvoisin
2020-07-12More constificationjvoisin
2020-07-12Use $_SERVER['REMOTE_ADDR'] in last resort to get the client's ip addrjvoisin
2020-07-08Add a couple of `restrict`jvoisin
2020-07-04Fix a small typojvoisin
2020-07-04Reorder some declarationjvoisin
So that the syslog part is tight as possible
2020-07-04Add two tests related to x-forwarded-for and remote-addrjvoisin
2020-07-04Run clang-format on the codebasejvoisin
2020-07-04Factorize how snuffleupagus gets client's ip addrjvoisin
2020-07-04Fix a syslog-related issuejvoisin
Previously, the syslog logging would always go to LOG_ERR no matter the severity.
2020-06-20Bump the changelogv0.5.1jvoisin
2020-06-19Fix the gitlab-ci Ubuntu runnerjvoisin
2020-06-07Fix a broken test on php nightlyjvoisin
Apparently, php is now raising errors for non-existing keys in arrays, so we're now catching the exception to allow the test to be run.
2020-06-07Mark simplexml tests as brokenjvoisin
2020-06-07Travis-ci's SimpleXML setup is weirdjvoisin
So we're disabling simplexml's check on it.
2020-05-14Fix the testsuite under php7.4jvoisin
2020-05-01Make the testsuite work on php7.4jvoisin
Before php7.4, it seems that the curl module was loaded by default, but since it's no the case anymore, it has to be manually specified in the testsuite. Interestingly, Php's testsuite mechanism is running snippets to determine some runtime parameters like the extension directory. Unfortunately,it tries to run them with Snuffleupagus loaded, resulting in an error, since no configuration file is passed.
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.
2020-02-19Improve a bit php8 compatibilityjvoisin
PHP changed the way it exposes if a function has variadic arguments or not, hence why we need yet an other ifdef.
2019-11-03Log ip addresseskkadosh