Richard Köhl ric

ric запушил(а) main в ric/unbound-sec

  • 525ba18ad9 v0.3.3: GnuPG-Exitcode in GPG-Pipeline prüfen; cd-check.py DO-Bit-Feld fixen Audit-Runde 4 (v0.3.2, e4dfe4a): - [P3] GPG-Pipeline ignorierte den Rückgabecode von GnuPG: In set -eux zählt nur der Exitcode des letzten grep; ein passender VALIDSIG- Fingerprint reichte aus, selbst wenn GnuPG selbst fehlschlug (abgelaufener/widerrufener Key). Jetzt: GnuPG als separater Befehl (Exitcode wird von && geprüft), Status in Datei, dann Fingerprint- Check. Beide Stages (unbound + ldns). - [Minor] test/cd-check.py: DO-Bit (0x8000) stand im 2-Byte-CLASS-Feld statt im 4-Byte-EXTENDED-FLAGS-Feld des OPT-Records → DO-Bit war nicht gesetzt (AD blieb 0). Gefixt auf struct.pack(">HHIH",41,0,0x8000,0), wie dns-check.py und wie unbound es interpretiert (verifiziert: AD=1). Datei ist im Gegentest ungenutzt (validator via module-config off).

1 месяц назад

ric запушил(а) main в ric/unbound-sec

  • e4dfe4a68a v0.3.2: close third-audit findings (negative-test proof, probe exit codes, GPG --status-fd, cosign digest) Closes the findings of the third audit of v0.3.1 (678fdbf): [P2] DNSSEC negative test now proves SIGNATURE REJECTION, not just a SERVFAIL. The old static responder served one packet for every query (only the tid was patched), so a SERVFAIL could come from a failed DNSKEY fetch; and a zone with no parent DS is not per se a validation failure (RFC 4035 5.2). Now: a controlled zone broken.example with an EXPLICIT trust anchor (the zone DNSKEY) and three assertions: - valid zone -> NOERROR + AD - broken zone (A data modified, same RRSIG) -> SERVFAIL - broken zone, validator off (module-config: iterator) -> NOERROR The counter-test (validator off) separates signature rejection from a generic resolution failure. The responder now serves the zone DNSKEY (with its RRSIG) so unbound can prime the trust anchor, and selects A vs DNSKEY by query name. [P3] Probe exit codes distinguish timeouts from execution errors. Only exit code 2 is a timeout (NOT VERIFIED); any other unexpected code (e.g. a Docker start error, exit 125) is an execution error and fails the run. Changed: - GPG signer binding uses machine-readable --status-fd output ([GNUPG:] VALIDSIG <fpr>) instead of parsing the human-readable line. - cosign digest taken from the docker push output (digest: sha256:...) rather than .RepoDigests[0]. Test suite: 40 passed, 0 failed, 3 not verified (all three are external UDP probes flaky on WSL; the deterministic loopback checks and config assertions pass).

1 месяц назад

ric запушил(а) main в ric/unbound-sec

  • 678fdbf7ca v0.3.1: close post-audit acceptance findings Closes the 5 findings of the post-audit acceptance review of v0.3.0 (def097d): [P1] Test isolation: no fixed container_name in the template; the test runs under a dedicated project (unbound-sec-test) with a test-image override (test/compose.test.yml pins unbound-sec:test) and cleans up only the resources it created. The production tag unbound-sec:latest is no longer touched. [P2] Probe semantics: three-state exit codes (0=pass, 1=content deviation, 2=timeout). Content deviations fail the run; timeouts are reported as NOT VERIFIED (visible, non-fatal) and never mask a real finding. [P2] DNSSEC negative test: controlled zone broken.example with a well-formed RRSIG whose DNSKEY cannot be anchored (no parent DS); the test asserts SERVFAIL (no CD) for www.broken.example A with DO. Catches regressions such as val-permissive-mode: yes. [P3] GPG signer binding: extract the signer fingerprint from the gpg --verify output and require it to equal the pinned GNUPG_FINGERPRINT, binding the signature to the expected key. [P3] cosign path: push REGISTRY_IMAGE first, resolve the exact pushed digest, and sign that digest; identity conditions on the verify side. Also: drop-in include moved to top level (so drop-ins may use forward-zone etc.); negative test made self-contained (dedicated network, IP from the responder's own log, stale .broken-zone.bin removed); removed the # syntax=docker/dockerfile:1 directive so the build works fully offline from the local image cache. Test suite: 35 passed, 0 failed, 3 not verified (all three are external UDP probes flaky on WSL; the deterministic loopback checks and config assertions pass).

1 месяц назад

ric запушил(а) main в ric/unbound-sec

  • def097d032 v0.3.0: fix external-audit findings (P1 recursive include, P2 RFC5011 persistence + ports + DoT identity + tests, P3 GPG pin + private-address + resource limits) P1: compose template now mounts ./conf.d (drop-ins) to /config; base config stays baked in at /etc/unbound. New regression test starts the container with the ACTUAL docker-compose.yml. P2: RFC5011 anchor now persistent in /var/unbound (named volume), initialized from the dnssec-root package only if missing. Compose publishes no ports (internal network). DoT examples pin the TLS cert identity (#cloudflare-dns.com). DNSSEC probe builds a correct EDNS-0 DO query (DO bit in OPT EXTFLAGS, arcount=1); drill -D loopback is the primary check, external probes are best-effort (WSL overlay hiccups). P3: GPG release-key fingerprint pinned in Dockerfile; private-address extended (127/8, ::1/128, fc00::/7, fe80::/10); CPU/memory/PID limits in the compose template; README reproducibility + cosign verify corrected. Test suite: 27 -> 33 assertions, all passing.

1 месяц назад

ric запушил(а) main в ric/unbound-sec

  • 0fb485d3ed fix: plain build without CACHEBUST build-arg (set -u); add curl retries for flaky build-host DNS

1 месяц назад

ric запушил(а) main в ric/unbound-sec

  • bb45e979c7 docs: reference projects used as inspiration (provenance + licenses)
  • c536347f38 test: add A/B drop-in verification (v0.1.0 vs v0.2.0), document drop-in guarantee
  • 7e560b09b2 v0.2.0: adopt improvements from unbound image comparison (GPG+SHA256, digest pins, PIE/RELRO, ECS, TFO)
  • beb843d5ab docs: complete deviation reference vs. vanilla Unbound 1.26.2 (build flags, config defaults, packaging) All stock defaults verified against the 1.26.2 source (config_file.c, acl_list.c, configure.ac), documented in docs/vanilla-deviations.md.
  • 32de976950 test: fix DNSSEC/identity probes (raw CHAOS query, host paths, tmpfs uid/gid); verify 19/19 green, 0 CVEs

1 месяц назад

ric создал новую ветку main в ric/unbound-sec

1 месяц назад

ric создал(а) репозиторий ric/unbound-sec

1 месяц назад

ric запушил(а) master в ric/firecrawl-adapter

5 месяцев назад

ric запушил(а) master в ric/firecrawl-adapter

  • c0e67650a3 fix: stabilize build, DI, ports; add deployment docs
  • 43bb5955c1 feat: initial POC with NestJS, hexagonal architecture, vitest tests, docker support

5 месяцев назад

ric создал новую ветку master в ric/firecrawl-adapter

5 месяцев назад

ric создал(а) репозиторий ric/firecrawl-adapter

5 месяцев назад

ric запушил(а) main в ric/hero-wars-capturer

  • e9f1454c49 click actual position, instead of relative position

2 лет назад

ric запушил(а) main в ric/hero-wars-capturer

2 лет назад

ric запушил(а) main в ric/hero-wars-capturer

2 лет назад

ric запушил(а) main в ric/hero-wars-capturer

  • 8422efeb58 fix moloch and angus recognition, add STOP_AT_FIRST_DEATH env

2 лет назад

ric запушил(а) main в ric/hero-wars-capturer

2 лет назад

ric запушил(а) main в ric/hero-wars-capturer

2 лет назад

ric запушил(а) main в ric/hero-wars-capturer

  • e91eec5257 update requirements, fix fallback output

2 лет назад

ric запушил(а) main в ric/hero-wars-capturer

2 лет назад