Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TMHSDigital/subenum
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d3bc577
Choose a base ref
...
head repository: TMHSDigital/subenum
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 997e0d6
Choose a head ref
  • 15 commits
  • 43 files changed
  • 3 contributors

Commits on Nov 29, 2026

  1. Configuration menu
    Copy the full SHA
    a45b999 View commit details
    Browse the repository at this point in the history
  2. Normalize -dns-server once at flag parse time (#459)

    A bare-IP -dns-server worked for the main scan, but -axfr, -nsec-walk
    and the -dry-run preflight passed the raw value to the dialer, which
    failed with "missing port in address". Normalize the flag right after
    parsing (covering flag, env and config sources) and drop the per-call
    copies in scanOptions and the -ptr pass.
    
    Fixes #459
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    5fbcd4b View commit details
    Browse the repository at this point in the history
  3. Stop handing out rate slots past -max-duration (#460)

    -max-duration was checked only before a worker started a job, so under
    a low -rate every worker parked in the limiter when the deadline passed
    still sent its queries afterwards: a 2s budget at -rate 5 ran 43s.
    
    The scan now carries its deadline on the context (WithSendDeadline,
    attached after the pre-scan checks, which keep their exemption from
    #340). The limiter refuses a slot at or after it with ErrPastDeadline,
    which classifies as canceled. ResolveTypes reserves all of a name's
    slots at once, so a name is fully sent or not at all, and a job the
    deadline kept from its slots is reported as skipped, so it stays
    resumable. The lab repro now ends at the budget plus the checks.
    
    Fixes #460
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    1cfcbd7 View commit details
    Browse the repository at this point in the history
  4. Add changelog entries for #459 and #460

    Refs #459
    Refs #460
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    e1e2938 View commit details
    Browse the repository at this point in the history
  5. Keep -dL lookahead transfers and walks out of -rate (#461)

    The next -dL target's lookup is fetched while the current one scans
    (#365). Its -axfr transfer and -nsec-walk have their own pacing, so
    their queries came on top of the scan's -rate, up to twice the limit.
    
    Under -rate the lookahead now fetches only the passive sources; the
    transfer and walk are deferred and run when that target starts.
    Without -rate the overlap stays, since there is no limit to exceed.
    
    Fixes #461
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    e5daff4 View commit details
    Browse the repository at this point in the history
  6. Count -permute and -ptr hits in takeover, internal and found (#458)

    Only the main pass's takeover hints and internal addresses reached the
    target summary, so a takeover found only by the permutation or PTR
    pass was in the results but missing from -stats, subenum report and
    the Action outputs (always 0 under -permute-only). Add each pass's
    counts to the target's totals, and include ptr_found in the report's
    Found column and the Action's found output.
    
    Fixes #458
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    dc71593 View commit details
    Browse the repository at this point in the history
  7. Say -r pool members can be DoT or DoH (#471)

    Since #404 the -r pool accepts tls:// and https:// members, but the
    README, the library guide and ARCHITECTURE still called pools plain
    UDP. Bring the three in line with -h and the Config.ResolverPool godoc.
    
    Fixes #471
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    a6f3411 View commit details
    Browse the repository at this point in the history
  8. Install the action's own release by default, not the newest (#462)

    The version input defaulted to latest, so an action pinned to a tag or
    a commit SHA still downloaded whatever release was newest and ran an
    action.yml against a binary it was never tested with.
    
    An empty version (the new default) now installs the tag in the action
    ref, or for a SHA or branch pin ACTION_RELEASE, the release this
    action.yml ships with. A test keeps ACTION_RELEASE on CITATION.cff's
    version, which the release job already checks against the tag.
    version: latest still installs the newest release.
    
    Fixes #462
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    710cfa9 View commit details
    Browse the repository at this point in the history
  9. Test the NSEC walk parser's rejection branches (#467)

    nsecNext's length, truncation and dot-in-label checks, the reply ID and
    QR check, the "no NSEC record covers" path, the TC=1 TCP retry (both
    succeeding and with TCP unreachable) and a canceled walk had no tests;
    weakening the length check left the package green. Deleting it now
    fails two cases.
    
    Fixes #467
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    4661072 View commit details
    Browse the repository at this point in the history
  10. Test the default resume state no-follow write from the CLI (#469)

    Every CLI test passed an explicit -state, so the default-path branch
    that writes without following a symlink never ran; disabling it left
    the suite green. The new test runs without -state in a temp directory
    whose subenum-resume.json is a symlink and checks the link's target is
    untouched and the link replaced, and that an explicit -state symlink is
    followed. It skips only where symlinks cannot be made, so it also runs
    on the macOS and Windows jobs. A second test covers resuming after the
    wordlist was deleted and a -state in a missing directory.
    
    Fixes #469
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    cb79aa3 View commit details
    Browse the repository at this point in the history
  11. Give library tests on a local server a generous timeout (#452)

    TestSources failed once under full-suite load with no results after
    exactly 1 s: with the library default timeout, the preflight or the
    wildcard check timed out and the scan ended before any name was looked
    up. Set Timeout 10s and Attempts 2 in it and in the other pkg/subenum
    scans against dnstest that relied on the default, and make TestSources
    report a scan error event instead of an empty map.
    
    Fixes #452
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    5fe6e26 View commit details
    Browse the repository at this point in the history
  12. Bucket -hosts names by target once (#465)

    With -hosts and -dL, each target's For walked every host name and
    recomputed its owner, so selection was O(names x targets), run once per
    target and again for the lookahead. LimitTo now buckets the entry
    indexes by owner in one pass and counts the names under no target;
    For walks only its bucket and Outside returns the count.
    
    BenchmarkHostsManyTargets (200k names, 2000 targets): 8.93 s/op before,
    11.4 ms/op after.
    
    Fixes #465
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    a10eb6d View commit details
    Browse the repository at this point in the history
  13. Share the zone summary fields and pre-scan notices (#474)

    The CLI and the TUI filled the same seven AXFR and NSEC fields of
    TargetSummary line for line, and the TUI retyped the skipped-entries
    line, the simulation notes and the bundled wordlist name.
    
    Add report.Zone (fed an axfr.Result; the CLI converts its targetAXFR),
    report.SimulationNote, wordlist.SkippedLine and wordlist.BundledName,
    and call them from both front ends. The printed text is unchanged.
    
    Fixes #474
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    933ad25 View commit details
    Browse the repository at this point in the history
  14. Add Lab 10: a dangling CNAME (#450)

    The labs had no exercise for the most common finding, a CNAME to a
    deleted app on a hosting provider. lab10-dangling-cname.zone has two
    such aliases (Heroku, GitHub Pages), one to a gone host on no known
    provider, and one working alias, so -type A,CNAME shows
    dangling:<provider>, plain dangling and no hint side by side.
    
    Register it in the -simulate-zone help, README, the site flag table and
    unreleased.yml, write its docs/labs.md section with an answer key, and
    add a CLI test. Built-in scenarios are now sorted by lab number, so
    lab10 follows lab9 in listings. Drop the leftover unreleased tags of
    values v0.12.0 shipped (lab7-lab9, type=SRV, type=HTTPS), which the tag
    check flags once the values list is not empty.
    
    Fixes #450
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    2ac1323 View commit details
    Browse the repository at this point in the history
  15. Add Lab 11: SRV records and a dangling SRV target (#451)

    -srv and the dangling-srv hint had no lab. lab11-srv.zone has SRV
    records at three names on the built-in -srv list: _sip._tcp and
    _ldap._tcp point at hosts in the zone, _autodiscover._tcp at a host
    that is gone. With -srv -type A,SRV the three are found with sources
    [srv] and autodiscover is flagged dangling-srv, with no network.
    
    Register it like Lab 10, write its docs/labs.md section with an answer
    key, and add a CLI test.
    
    Fixes #451
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 29, 2026
    Configuration menu
    Copy the full SHA
    997e0d6 View commit details
    Browse the repository at this point in the history
Loading