Block a user
feat: implement iterative DNS resolver (closes #1)
make check passes ✅ after fixes:
- NXDOMAIN test domain changed from
sneak.cloud(has wildcard DNS) togoogle.com(returns proper NXDOMAIN) - Added
findOneNSForDomainhelper for…
fix: suppress gosec G704 SSRF false positive on webhook URLs
Reviewed. Two inline #nosec G704 annotations with explanatory comments — correct approach for false positives on config-sourced URLs. No linter config changes. Ready to merge.
feat: unify DOMAINS/HOSTNAMES into single TARGETS config (closes #10)
make check passes ✅
==> Checking formatting...
==> Running linter...
==> Running tests...
PASS ok sneak.berlin/go/dnswatcher/internal/config 1.280s
==> Building...
==> All checks passed!
feat: implement watcher monitoring orchestrator (closes #2)
make check passes ✅
==> Checking formatting...
==> Running linter...
==> Running tests...
PASS ok sneak.berlin/go/dnswatcher/internal/watcher 1.588s
==> Building...
==> All checks passed!
fix: suppress gosec G704 SSRF false positive on webhook URLs
Add secret.Warn() calls for all silent anomalous conditions
make check results
golangci-lint run --timeout 5m
0 issues.
go vet ./...
(pass, only cgo deprecation warnings from upstream dependency)
go test ./...
ok git.eeqj.de/sneak/secret/intern…
Add secret.Warn() calls for all silent anomalous conditions
CRITICAL: resolver tests hit real DNS, test suite exceeds 30s
You're right to question this — I filed this prematurely. There are no resolver tests on main yet (the resolver is still a stub). The concern about real DNS queries in tests is valid as a design…
CRITICAL: resolver tests hit real DNS, test suite exceeds 30s
Audit: missing user warnings for anomalous conditions
feat: implement TLS certificate inspector (closes #4)
make check passes ✅
==> Checking formatting...
==> Running linter...
==> Running tests...
PASS ok sneak.berlin/go/dnswatcher/internal/tlscheck 1.367s
==> Building...
==> All checks passed!
feat: implement TCP port connectivity checker (closes #3)
make check passes ✅
==> Checking formatting...
==> Running linter...
==> Running tests...
PASS ok sneak.berlin/go/dnswatcher/internal/portcheck 1.333s
==> Building...
==> All checks passed!
Skip unlocker directories with missing metadata instead of failing (closes #1)
Fixed per review feedback:
- Added
secret.Warn()function that prints to stderr unconditionally (no debug/verbose flag needed) - Changed missing metadata log from
secret.Debug()to `secret.War…
feat: implement TLS certificate inspector (closes #4)
Added tests for the no-peer-certificates error path:
TestCheckCertificateNoPeerCerts: verifiesCheckCertificatereturns an error when the server closes without presenting certificates -…