diff options
| -rw-r--r-- | debian/changelog | 24 | ||||
| -rw-r--r-- | doc/source/changelog.rst | 69 | ||||
| -rw-r--r-- | src/php_snuffleupagus.h | 4 |
3 files changed, 64 insertions, 33 deletions
diff --git a/debian/changelog b/debian/changelog index fc9e0b0..3177034 100644 --- a/debian/changelog +++ b/debian/changelog | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | snuffleupagus (0.6.0) UNRELEASED; urgency=medium | ||
| 2 | |||
| 3 | [ jvoisin ] | ||
| 4 | * More constification | ||
| 5 | * Snuffleupagus should now be able to get client's ip addresses in more cases | ||
| 6 | * Documented compatibility with Heroku | ||
| 7 | * Improved logging | ||
| 8 | * Added a couple of tests | ||
| 9 | |||
| 10 | [ wargio ] | ||
| 11 | * allow empty configurations | ||
| 12 | |||
| 13 | -- jvoisin <julien.voisin+snuffleupagus@dustri.org> Fri, 06 Nov 2020 17:45:00 +0200 | ||
| 14 | |||
| 15 | |||
| 1 | snuffleupagus (0.5.1) UNRELEASED; urgency=medium | 16 | snuffleupagus (0.5.1) UNRELEASED; urgency=medium |
| 2 | 17 | ||
| 3 | [ jvoisin ] | 18 | [ jvoisin ] |
| @@ -11,7 +26,6 @@ snuffleupagus (0.5.1) UNRELEASED; urgency=medium | |||
| 11 | 26 | ||
| 12 | -- jvoisin <julien.voisin+snuffleupagus@dustri.org> Sat, 20 Jun 2020 12:30:00 +0200 | 27 | -- jvoisin <julien.voisin+snuffleupagus@dustri.org> Sat, 20 Jun 2020 12:30:00 +0200 |
| 13 | 28 | ||
| 14 | |||
| 15 | snuffleupagus (0.5.0) UNRELEASED; urgency=medium | 29 | snuffleupagus (0.5.0) UNRELEASED; urgency=medium |
| 16 | 30 | ||
| 17 | [ kkadosh ] | 31 | [ kkadosh ] |
| @@ -37,7 +51,7 @@ snuffleupagus (0.4.1) UNRELEASED; urgency=medium | |||
| 37 | * Improve and clarify the documentation | 51 | * Improve and clarify the documentation |
| 38 | * Add support for PHP7.3 | 52 | * Add support for PHP7.3 |
| 39 | * Improve the coverage, we have now reached 99% of coverage | 53 | * Improve the coverage, we have now reached 99% of coverage |
| 40 | * Improve the `mb_string` hooking logic | 54 | * Improve the `mb_string` hooking logic |
| 41 | * The script that check uploaded file is now available in PHP | 55 | * The script that check uploaded file is now available in PHP |
| 42 | * Fix segfault on 32-bit for PHP7.3 | 56 | * Fix segfault on 32-bit for PHP7.3 |
| 43 | * Fix segfault when using `sloppy_comparison` feature with array | 57 | * Fix segfault when using `sloppy_comparison` feature with array |
| @@ -67,11 +81,11 @@ snuffleupagus (0.3.1) UNRELEASED; urgency=medium | |||
| 67 | 81 | ||
| 68 | * Disable XXE and harden PRNG by default | 82 | * Disable XXE and harden PRNG by default |
| 69 | * Use SameSite on PHP's session cookie in the default rules | 83 | * Use SameSite on PHP's session cookie in the default rules |
| 70 | * Relax a bit what files can be included in the default rules | 84 | * Relax a bit what files can be included in the default rules |
| 71 | * Add the possibility to ignore files hashes when generating rules | 85 | * Add the possibility to ignore files hashes when generating rules |
| 72 | * The filename filter is now accepting phar paths | 86 | * The filename filter is now accepting phar paths |
| 73 | * The harden rand_feature is not ignoring parameters anymore in function calls | 87 | * The harden rand_feature is not ignoring parameters anymore in function calls |
| 74 | * Fix possible crashes/hangs when using php-fpm's pools | 88 | * Fix possible crashes/hangs when using php-fpm's pools |
| 75 | * Fix an infinite loop on echo hook | 89 | * Fix an infinite loop on echo hook |
| 76 | * Fix an issue with filename filter | 90 | * Fix an issue with filename filter |
| 77 | * Fix some documentation issues | 91 | * Fix some documentation issues |
diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst index a72b737..b4b87b8 100644 --- a/doc/source/changelog.rst +++ b/doc/source/changelog.rst | |||
| @@ -1,8 +1,25 @@ | |||
| 1 | Changelog | 1 | Changelog |
| 2 | ========= | 2 | ========= |
| 3 | 3 | ||
| 4 | 0.5.1 - `Order of the Elephant <https://github.com/nbs-system/snuffleupagus/releases/tag/v0.5.1>`__ 2020/06/20 | 4 | 0.6.0 - `Elephant in the room <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.6.0>`__ 2020/11/06 |
| 5 | -------------------------------------------------------------------------------------------------------------- | 5 | ---------------------------------------------------------------------------------------------------------- |
| 6 | |||
| 7 | New features | ||
| 8 | ^^^^^^^^^^^^ | ||
| 9 | * Allow empty configurations | ||
| 10 | |||
| 11 | Improvements | ||
| 12 | ^^^^^^^^^^^^ | ||
| 13 | |||
| 14 | * More constification | ||
| 15 | * Snuffleupagus should now be able to get client's ip addresses in more cases | ||
| 16 | * Documented compatibility with Heroku | ||
| 17 | * Improved logging | ||
| 18 | * Added a couple of tests | ||
| 19 | |||
| 20 | |||
| 21 | 0.5.1 - `Order of the Elephant <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.5.1>`__ 2020/06/20 | ||
| 22 | ----------------------------------------------------------------------------------------------------------- | ||
| 6 | 23 | ||
| 7 | New features | 24 | New features |
| 8 | ^^^^^^^^^^^^ | 25 | ^^^^^^^^^^^^ |
| @@ -19,8 +36,8 @@ Improvements | |||
| 19 | * Improve the gitlab CI | 36 | * Improve the gitlab CI |
| 20 | 37 | ||
| 21 | 38 | ||
| 22 | 0.5.0 - `Elephant Flats <https://github.com/nbs-system/snuffleupagus/releases/tag/v0.5.0>`__ 2019/06/12 | 39 | 0.5.0 - `Elephant Flats <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.5.0>`__ 2019/06/12 |
| 23 | -------------------------------------------------------------------------------------------------------------- | 40 | ---------------------------------------------------------------------------------------------------- |
| 24 | 41 | ||
| 25 | Improvements | 42 | Improvements |
| 26 | ^^^^^^^^^^^^ | 43 | ^^^^^^^^^^^^ |
| @@ -45,8 +62,8 @@ Bug fixes | |||
| 45 | 62 | ||
| 46 | 63 | ||
| 47 | 64 | ||
| 48 | 0.4.1 - `Loxodonta <https://github.com/nbs-system/snuffleupagus/releases/tag/v0.4.1>`__ 2018/12/21 | 65 | 0.4.1 - `Loxodonta <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.4.1>`__ 2018/12/21 |
| 49 | -------------------------------------------------------------------------------------------------------------- | 66 | ----------------------------------------------------------------------------------------------- |
| 50 | 67 | ||
| 51 | Improvements | 68 | Improvements |
| 52 | ^^^^^^^^^^^^ | 69 | ^^^^^^^^^^^^ |
| @@ -66,8 +83,8 @@ Bug fixes | |||
| 66 | 83 | ||
| 67 | 84 | ||
| 68 | 85 | ||
| 69 | 0.4.0 - `Oliphant Chuckerbutty <https://github.com/nbs-system/snuffleupagus/releases/tag/v0.4.0>`__ 2018/08/31 | 86 | 0.4.0 - `Oliphant Chuckerbutty <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.4.0>`__ 2018/08/31 |
| 70 | -------------------------------------------------------------------------------------------------------------- | 87 | ----------------------------------------------------------------------------------------------------------- |
| 71 | 88 | ||
| 72 | New features | 89 | New features |
| 73 | ^^^^^^^^^^^^ | 90 | ^^^^^^^^^^^^ |
| @@ -105,8 +122,8 @@ Bug fixes | |||
| 105 | 122 | ||
| 106 | 123 | ||
| 107 | 124 | ||
| 108 | 0.3.1 - `Elephant Arch <https://github.com/nbs-system/snuffleupagus/releases/tag/v0.3.1>`__ 2018/08/20 | 125 | 0.3.1 - `Elephant Arch <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.3.1>`__ 2018/08/20 |
| 109 | ------------------------------------------------------------------------------------------------------ | 126 | --------------------------------------------------------------------------------------------------- |
| 110 | 127 | ||
| 111 | Improvements | 128 | Improvements |
| 112 | ^^^^^^^^^^^^ | 129 | ^^^^^^^^^^^^ |
| @@ -128,21 +145,21 @@ Bug fixes | |||
| 128 | - Fix the Arch Linux's PKGBUILD | 145 | - Fix the Arch Linux's PKGBUILD |
| 129 | 146 | ||
| 130 | 147 | ||
| 131 | 0.3.0 - `Dentalium elephantinum <https://github.com/nbs-system/snuffleupagus/releases/tag/v0.3.0>`__ 2018/07/17 | 148 | 0.3.0 - `Dentalium elephantinum <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.3.0>`__ 2018/07/17 |
| 132 | --------------------------------------------------------------------------------------------------------------- | 149 | ------------------------------------------------------------------------------------------------------------ |
| 133 | 150 | ||
| 134 | New features | 151 | New features |
| 135 | ^^^^^^^^^^^^ | 152 | ^^^^^^^^^^^^ |
| 136 | 153 | ||
| 137 | - Session cookies can now be `encrypted <https://github.com/nbs-system/snuffleupagus/pull/178>`__ | 154 | - Session cookies can now be `encrypted <https://github.com/jvoisin/snuffleupagus/pull/178>`__ |
| 138 | - Some occurrences of `type juggling <https://github.com/nbs-system/snuffleupagus/pull/186>`__ can now be eradicated | 155 | - Some occurrences of `type juggling <https://github.com/jvoisin/snuffleupagus/pull/186>`__ can now be eradicated |
| 139 | - It's `now possible <https://github.com/nbs-system/snuffleupagus/pull/187>`__ to hook `echo` and `print` | 156 | - It's `now possible <https://github.com/jvoisin/snuffleupagus/pull/187>`__ to hook `echo` and `print` |
| 140 | 157 | ||
| 141 | Improvements | 158 | Improvements |
| 142 | ^^^^^^^^^^^^ | 159 | ^^^^^^^^^^^^ |
| 143 | 160 | ||
| 144 | - The `.filename()` filter is `now matching <https://github.com/nbs-system/snuffleupagus/pull/167>`__ on the file where the function is called instead on the one where it's defined. | 161 | - The `.filename()` filter is `now matching <https://github.com/jvoisin/snuffleupagus/pull/167>`__ on the file where the function is called instead on the one where it's defined. |
| 145 | - Vastly `optimize <https://github.com/nbs-system/snuffleupagus/issues/166>`__ the way we hook native functions | 162 | - Vastly `optimize <https://github.com/jvoisin/snuffleupagus/issues/166>`__ the way we hook native functions |
| 146 | - The format of the logs has been streamlined to ease their processing | 163 | - The format of the logs has been streamlined to ease their processing |
| 147 | 164 | ||
| 148 | 165 | ||
| @@ -151,11 +168,11 @@ Bug fixes | |||
| 151 | 168 | ||
| 152 | - Better handling of filters for built-in functions | 169 | - Better handling of filters for built-in functions |
| 153 | - Fix various possible integer overflows | 170 | - Fix various possible integer overflows |
| 154 | - Fix an `annoying memory leak <https://github.com/nbs-system/snuffleupagus/issues/192#issuecomment-404538124>`__ impacting mostly `mod_php` | 171 | - Fix an `annoying memory leak <https://github.com/jvoisin/snuffleupagus/issues/192#issuecomment-404538124>`__ impacting mostly `mod_php` |
| 155 | 172 | ||
| 156 | 173 | ||
| 157 | 0.2.2 - `Elephant Moraine <https://github.com/nbs-system/snuffleupagus/releases/tag/v0.2.2>`__ 2018/04/12 | 174 | 0.2.2 - `Elephant Moraine <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.2.2>`__ 2018/04/12 |
| 158 | --------------------------------------------------------------------------------------------------------- | 175 | ------------------------------------------------------------------------------------------------------ |
| 159 | 176 | ||
| 160 | New features | 177 | New features |
| 161 | ^^^^^^^^^^^^ | 178 | ^^^^^^^^^^^^ |
| @@ -177,8 +194,8 @@ Bug fixes | |||
| 177 | - Fix a crash related to variadic functions | 194 | - Fix a crash related to variadic functions |
| 178 | 195 | ||
| 179 | 196 | ||
| 180 | 0.2.1 - `Elephant Point <https://github.com/nbs-system/snuffleupagus/releases/tag/v0.2.1>`__ 2018/02/07 | 197 | 0.2.1 - `Elephant Point <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.2.1>`__ 2018/02/07 |
| 181 | ------------------------------------------------------------------------------------------------------- | 198 | ---------------------------------------------------------------------------------------------------- |
| 182 | 199 | ||
| 183 | Bug fixes | 200 | Bug fixes |
| 184 | ^^^^^^^^^ | 201 | ^^^^^^^^^ |
| @@ -194,8 +211,8 @@ Improvements | |||
| 194 | - Improve a bit the portability of the code | 211 | - Improve a bit the portability of the code |
| 195 | - Minor code simplification | 212 | - Minor code simplification |
| 196 | 213 | ||
| 197 | 0.2.0 - `Elephant Rally <https://github.com/nbs-system/snuffleupagus/releases/tag/v0.2.0>`__ - 2018/01/18 | 214 | 0.2.0 - `Elephant Rally <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.2.0>`__ - 2018/01/18 |
| 198 | --------------------------------------------------------------------------------------------------------- | 215 | ------------------------------------------------------------------------------------------------------ |
| 199 | 216 | ||
| 200 | New features | 217 | New features |
| 201 | ^^^^^^^^^^^^ | 218 | ^^^^^^^^^^^^ |
| @@ -226,7 +243,7 @@ External contributions | |||
| 226 | 243 | ||
| 227 | - Simplification and clean up of our linked-list implementation by `smagnin <https://github.com/smagnin>`__ | 244 | - Simplification and clean up of our linked-list implementation by `smagnin <https://github.com/smagnin>`__ |
| 228 | 245 | ||
| 229 | 0.1.0 - `Mighty Mammoth <https://github.com/nbs-system/snuffleupagus/releases/tag/v0.1.0>`__ - 2017/12/21 | 246 | 0.1.0 - `Mighty Mammoth <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.1.0>`__ - 2017/12/21 |
| 230 | --------------------------------------------------------------------------------------------------------- | 247 | ------------------------------------------------------------------------------------------------------ |
| 231 | 248 | ||
| 232 | - Initial release | 249 | - Initial release |
diff --git a/src/php_snuffleupagus.h b/src/php_snuffleupagus.h index 6b0e210..213e27e 100644 --- a/src/php_snuffleupagus.h +++ b/src/php_snuffleupagus.h | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | #ifndef PHP_SNUFFLEUPAGUS_H | 1 | #ifndef PHP_SNUFFLEUPAGUS_H |
| 2 | #define PHP_SNUFFLEUPAGUS_H | 2 | #define PHP_SNUFFLEUPAGUS_H |
| 3 | 3 | ||
| 4 | #define PHP_SNUFFLEUPAGUS_VERSION "0.5.1" | 4 | #define PHP_SNUFFLEUPAGUS_VERSION "0.6.0" |
| 5 | #define PHP_SNUFFLEUPAGUS_EXTNAME "snuffleupagus" | 5 | #define PHP_SNUFFLEUPAGUS_EXTNAME "snuffleupagus" |
| 6 | #define PHP_SNUFFLEUPAGUS_AUTHOR "NBS System" | 6 | #define PHP_SNUFFLEUPAGUS_AUTHOR "NBS System & Julien (jvoisin) Voisin" |
| 7 | #define PHP_SNUFFLEUPAGUS_URL "https://github.com/jvoisin/snuffleupagus" | 7 | #define PHP_SNUFFLEUPAGUS_URL "https://github.com/jvoisin/snuffleupagus" |
| 8 | #define PHP_SNUFFLEUPAGUS_COPYRIGHT "LGPLv2" | 8 | #define PHP_SNUFFLEUPAGUS_COPYRIGHT "LGPLv2" |
| 9 | 9 | ||
