What I changed:
Respected repo rules / avoided generated & third‑party artifacts
Skipped Autotools/libtool generated files like configure, aclocal.m4, ltmain.sh, config.guess, config.sub.
Skipped large test vectors (testdata/, dnscrypt/testdata/) and non-UTF8 sample data (pythonmod/examples/dict_data.txt).
Skipped contrib/fastrpz.patch (patch content is effectively third‑party / not meant to be edited in-tree).
Fixed typos in maintained sources/docs
Various doc/comment spelling fixes (e.g. doc/Changelog, doc/example.conf.in, headers, etc.).
Fixed a real typo in a runtime log message: cachedb/redis.c ("%swith" -> "%s with").
Updated Makefile.in to avoid the misspelling Decomissioned while still matching both spellings via regex.
Fixed Synthetize -> Synthesize and other comment-level typos.
Improved a few “codespell false-positive” tokens by adjusting comments (e.g. inout -> in/out).
Repaired an accidental corruption
During edits, daemon/remote.c got partially mangled around the view local-data handlers. I restored it by:
Reintroducing do_view_data_remove()
Repairing do_view_datas_add() and its end-of-function logic
Cleaning up the remaining removed 0 ... message text
Added future-proof configuration
Created repo-root .codespellrc with:
skip = ... list matching the “do not edit / generated / testdata” policy
ignore-words-list = ... for known project terms / false positives
ignore-regex = ... to preserve your existing ignore patterns
Verification
codespell --config ./.codespellrc . now exits 0 (clean run).
Summary
Typos were fixed where safe, generated/third-party areas were excluded, .codespellrc was added for repeatable checks, and codespell now passes cleanly using that config.
Signed-off-by: rezky_nightky <with.rezky@gmail.com>
same time, the client info is copied for attach_sub and add_sub
calls. That makes respip work on dns64 synthesized answers, and
also makes RPZ work with DNS64. The order for the modules is
module-config: "respip dns64 validator iterator".
Found by the static analyzer Svace (ISP RAS).
Handle 'script_py' is created at pythonmod.c:436
by calling function 'fopen' and lost at pythonmod.c:457,465.
Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com>
current delegation information be updated in cache. The fix allows
current delegation and validation recursion information to be
updated, but as a consequence no longer has certain expired
information around for later dnssec valid expired responses.
`harden-unverified-glue`, from Karthik Umashankar (Microsoft).
Enabling this option protects the Unbound resolver against bad
glue, that is unverified out of zone glue, by resolving them.
It uses the records as last resort if there is no other working
glue.
fast reload, move most of the locking management to iter_fwd and
iter_hints methods. The caller still has the ability to handle its
own locking, if desired, for atomic operations on sets of different
structs.
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
Python since 3.12 prints warning about Py_NoSiteFlag is deprecated. It
seems that variable is not needed since Python 3.8, since it sets in
such cases directly config.site_import variable few moments later.
Move using deprecated variable to versions before that flag in config
could be used only.
This should fix warning like:
pythonmod/pythonmod.c: In function 'pythonmod_init':
pythonmod/pythonmod.c:359:7: warning: 'Py_NoSiteFlag' is deprecated [-Wdeprecated-declarations]
359 | Py_NoSiteFlag = 1;
| ^~~~~~~~~~~~~
In file included from /usr/include/python3.12/Python.h:48,
from pythonmod/pythonmod.c:54:
/usr/include/python3.12/cpython/pydebug.h:14:37: note: declared here
14 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_NoSiteFlag;
| ^~~~~~~~~~~~~
https://docs.python.org/3/c-api/init.html#c.Py_NoSiteFlag