Skip to content

Commit 94d3a38

Browse files
authored
Merge pull request #119 from douzzer/20240103-wolfsentry-doc-sync
wolfSentry update for release 1.6.2
2 parents 1a7a453 + 1af94b4 commit 94d3a38

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

wolfSentry/src/ChangeLog.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,39 @@
22

33
<br>
44

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+
538
# wolfSentry Release 1.6.1 (November 18, 2023)
639

740
Release 1.6.1 of the wolfSentry embedded firewall/IDPS has enhancements,

wolfSentry/src/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ topic.
101101

102102
| `make` Option | Macro Option | Description |
103103
| -------------- | ------------ | ----------- |
104-
| `V` | | Verbose `make` output <br> e.g. `make V=1 -j test` |
104+
| `SHELL` | | Supplies an explicit/alternative path to `bash`. |
105+
| `AWK` | | Supplies an explicit/alternative path to Gnu `awk`. |
106+
| `V` | | Verbose `make` output <br> e.g. `make V=1 -j test` |
105107
| `USER_MAKE_CONF` | | User-defined make clauses to include at the top of the main Makefile <br> e.g. `make -j USER_MAKE_CONF=Makefile.settings` |
106108
| `EXTRA_CFLAGS` | | Additional arguments to be passed verbatim to the compiler |
107109
| `EXTRA_LDFLAGS` | | Additional arguments to be passed verbatim to the linker |
@@ -114,6 +116,7 @@ topic.
114116
| `C_WARNFLAGS` | | The warning flags to use (overriding the generally applicable defaults) |
115117
| `STATIC` | | Build statically linked unit tests |
116118
| `STRIPPED` | | Strip binaries of debugging symbols |
119+
| `FUNCTION_SECTIONS` | | Cull any unused object code (with function granularity) to minimize total size. |
117120
| `BUILD_DYNAMIC` | | Build dynamically linked library |
118121
| `VERY_QUIET` | | Inhibit all non-error output during build |
119122
| `TAR` | | Path to GNU tar binary for `make dist`, should be set to `gtar` for macOS |

0 commit comments

Comments
 (0)