summaryrefslogtreecommitdiff
path: root/src/sp_config_utils.c (follow)
AgeCommit message (Collapse)Author
2022-05-03Even more constjvoisin
2021-08-16fincy new scanner/parser for config rules + fixed a few bugs along the way + ↵Ben Fuhrmannek
fixed related unittests
2021-08-08removed invalid inline keywordBen Fuhrmannek
2021-08-03fixed mem leak in get_paramBen Fuhrmannek
2019-06-20removed commentBen Fuhrmannek
2019-06-19fix snufflepagus_globals linking issues and one mac compatibility issueBen Fuhrmannek
2018-08-28Use php's logging functionsxXx-caillou-xXx
This commit replace our usage of `php_log_err` with `zend_error`. This should allow administrators to display errors in the webpage, should they want to; and to properly manipulate the verbosity's level. This should close #217
2018-07-13Massively optimize how rules are handledxXx-caillou-xXx
This commit does a lot of things: - Use hashtables instead of lists to store the rules - Rules that can be applied at launch time won't be tried at runtime - Improve feedback when writing nonsensical rules - Make intensive use of `zend_string` instead of `char*`
2018-01-17Remove useless "head" member in our linked lists implementationsimon MAGNIN-FEYSOT
This should close #85
2017-12-28Clang-format passThibault "bui" Koechlin
- `clang-format --style="{BasedOnStyle: google, SortIncludes: false}" -i snuffleu*.c sp_*.c sp_*.h` - Update the documentation accordingly
2017-12-21Remove the now useless `validate_str` functionxXx-caillou-xXx
2017-12-21Rename sp_node_t to sp_list_nodejvoisin
Since we now have sp_list and sp_tree, it makes sense to specify that nodes are only for lists.
2017-12-20Better parsing of the rulesxXx-caillou-xXx
Thanks to this huge commit from @xXx-caillou-xXx, we can now write amazingly flexible rules.
2017-12-04Fix the configuration parser wrt. non-matching bracketsjvoisin
This validation step is a bit idiotic, but we'll replace it with a proper parser anyway.
2017-10-30Merge pull request #54 from arpd/43-free-at-shutdownblotus
43 free at shutdown
2017-10-27Improve a bit the coverage wrt. broken configurationsjvoisin
2017-10-26Renames `sp_new_list` -> `sp_list_new`Ben Foster
To be consistent with the rest of the `sp_list` functions.
2017-10-23Add a test for unmatched bracketsjvoisin
2017-10-22Improve an error messagejvoisin
2017-10-09Implement matching on the calltrace (#17)jvoisin
* Implement matching on the calltrace
2017-10-02First pass for #9jvoisin
2017-09-25Show the line number in case of processing errorjvoisin
2017-09-20Initial importSebastien Blot