|
2 | 2 |
|
3 | 3 | <br>
|
4 | 4 |
|
| 5 | +# wolfSentry Release 1.6.2 (January 2, 2024) |
| 6 | + |
| 7 | +Release 1.6.2 of the wolfSentry embedded firewall/IDPS has enhancements, |
| 8 | +additions, and improvements including: |
| 9 | + |
| 10 | +## Noteworthy Changes and Additions |
| 11 | + |
| 12 | +In scripts and Makefile, interpreters (`bash` and `awk`) now follow search `PATH`. Explicit override paths to `bash` and `awk` can be supplied by passing values for `SHELL` and `AWK` to `make`. |
| 13 | + |
| 14 | +Change type of length argument to `wolfsentry_action_res_assoc_by_name()` to `int`, to allow it to accept `WOLFSENTRY_LENGTH_NULL_TERMINATED` (negative number). |
| 15 | + |
| 16 | +Makefile option `STRIPPED` has been split into `STRIPPED` and `FUNCTION_SECTIONS`, the latter directing the compiler and linker to cull any unused object code (with function granularity) to minimize total size. |
| 17 | + |
| 18 | +## Bug Fixes, Cleanups, and Debugging Aids |
| 19 | + |
| 20 | +In `handle_route_endpoint_clause()`, add casts to work around an implicit-promotion bug in gcc-7.5. |
| 21 | + |
| 22 | +In `wolfsentry_route_table_max_purgeable_idle_time_get()` and `_set()`, don't use atomic operations, as the context is already locked and the operand is an `int64_t`. This avoids an inadvertent dependency on software __atomic_load_8() and __atomic_store_8() on 32 bit targets. |
| 23 | + |
| 24 | +Various fixes for benign `cppcheck` reports (`duplicateCondition`, `unsignedLessThanZero`, `unreadVariable`, `invalidPrintfArgType_uint`, `invalidPrintfArgType_sint`, `shadowFunction`, `constVariablePointer`, `preprocessorErrorDirective`). |
| 25 | + |
| 26 | +## Self-Test Enhancements |
| 27 | + |
| 28 | +Add `replace_rule_transactionally()`, now used in `test_static_routes()` for a thorough workout. |
| 29 | + |
| 30 | +Enhance `freertos-arm32-build-test` target to do two builds, one with and one without `FUNCTION_SECTIONS`, for more thorough coverage. |
| 31 | + |
| 32 | +In `test_lwip()` (`tests/unittests.c`), pass a trivial JSON config to `activate_wolfsentry_lwip()`, to avoid compiler optimizing away `wolfsentry_config_json_oneshot()` and its dependencies. |
| 33 | + |
| 34 | +Split cppcheck-analyze recipe into cppcheck-library, cppcheck-force-library, cppcheck-extras, and cppcheck-force-extras, with increased coverage. Only cppcheck-library and cppcheck-extras are included in the "check-all" dependency list. |
| 35 | + |
| 36 | +<br> |
| 37 | + |
5 | 38 | # wolfSentry Release 1.6.1 (November 18, 2023)
|
6 | 39 |
|
7 | 40 | Release 1.6.1 of the wolfSentry embedded firewall/IDPS has enhancements,
|
|
0 commit comments