Reject unsupported DNS opcodes consistently #7

Merged
ober merged 2 commits from fix/reject-unsupported-opcodes into master 2026-09-23 18:04:04 -04:00
Owner

Summary

Reject unsupported nonzero DNS opcodes consistently in the Scheme and WASM query parsers. The existing server behavior for parser rejection is a silent drop, so UPDATE, NOTIFY, and other unsupported opcodes receive no ordinary QUERY response and cannot reach zone lookup.

The change also regenerates the tracked WASM payloads and embedded source, adds Scheme/WASM parity tests, and bumps the package version to 0.1.5.

Verification

  • PATH=/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/bin:$PATH DYLD_LIBRARY_PATH=/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib make test
  • make security
  • cargo fmt --manifest-path wasm/Cargo.toml --all -- --check
  • cargo check --manifest-path fuzz/Cargo.toml --locked --bins
  • Runtime startup smoke reached the daemon startup path and failed closed at the expected chroot permission boundary.
## Summary Reject unsupported nonzero DNS opcodes consistently in the Scheme and WASM query parsers. The existing server behavior for parser rejection is a silent drop, so UPDATE, NOTIFY, and other unsupported opcodes receive no ordinary QUERY response and cannot reach zone lookup. The change also regenerates the tracked WASM payloads and embedded source, adds Scheme/WASM parity tests, and bumps the package version to 0.1.5. ## Verification - `PATH=/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/bin:$PATH DYLD_LIBRARY_PATH=/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib make test` - `make security` - `cargo fmt --manifest-path wasm/Cargo.toml --all -- --check` - `cargo check --manifest-path fuzz/Cargo.toml --locked --bins` - Runtime startup smoke reached the daemon startup path and failed closed at the expected chroot permission boundary.
Reject unsupported DNS opcodes
Some checks failed
required-ci / required (pull_request) Failing after 3m43s
version-policy / required (pull_request) Successful in 3m45s
cd7ae343f5
Make jdns help smoke check succeed
Some checks failed
required-ci / required (pull_request) Failing after 3m43s
version-policy / required (pull_request) Successful in 3m44s
e689e15246
ober scheduled this pull request to auto merge when all checks succeed 2026-09-23 18:03:28 -04:00
ober merged commit c982abc0de into master 2026-09-23 18:04:04 -04:00
ober referenced this pull request from a commit 2026-09-23 18:04:05 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ober/jerboa-dns!7
No description provided.