summaryrefslogtreecommitdiff
path: root/cmd/dgrep
AgeCommit message (Collapse)Author
2026-07-22feat: DTail fork — server/client feature developmentPaul Buetow
Squashed development of the snonux/dtail fork's product code (internal/, cmd/) since diverging from mimecast/dtail. Major areas: - Read/output path: the former "turbo" channel-less path is now the single, default server-side read/output path for cat/grep/tail and MapReduce; the old channel-based path and its config/env toggles were removed. - MapReduce: single aggregate implementation (server + serverless) fed directly by a processor pipeline, with input-exhausted finalization via the shutdown coordinator; high-concurrency and data-race fixes. - Journal source reads (journal:unit.service) via journalctl, Linux-gated behind a journal-v1 capability. - Auth-key fast reconnect: in-memory per-user public-key cache with TTL/max-keys, registered over an authenticated session (AUTHKEY), checked before authorized_keys. - Interactive query reload (--interactive-query) with SESSION START/UPDATE generation boundaries and capability negotiation. - Client-side deadlines: --timeout / --shutdownAfter as context deadlines; follow shutdown handling. - Client logging: diagnostics-only daily log by default, opt-in payload tee via --log-payload. - Numerous correctness fixes (buffer-pool double-recycle races, EOF-sentinel leaks, glob-expansion cap, TOCTOU in CSV parsing) with accompanying unit tests. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2024-03-29lint warningsPaul Buetow
2021-11-07can set ssh private key path file via env varPaul Buetow
2021-10-31rename spartan mode to plain modePaul Buetow
2021-10-27integration tests use separate ssh private key filePaul Buetow
2021-10-20make pprof bind address configurablePaul Buetow
2021-10-15add dcat color output testPaul Buetow
2021-10-14add dgrep context integration testsPaul Buetow
2021-10-14Merging grep context from masterPaul Buetow
2021-10-10add another dmap test - reading 100 source files at oncePaul Buetow
fix a data race when reading multiple files on one server from the same session at once
2021-10-10vetting and linting and some code restylingPaul Buetow
2021-10-09refactorPaul Buetow
2021-10-03add dmap testsPaul Buetow
2021-10-02Client default log dir is ~/logPaul Buetow
2021-10-02refactor config reader - also looks in additional search paths for config ↵Paul Buetow
file unless NONE is specified
2021-10-02move args to config packagePaul Buetow
logger package rewrite as dlog
2021-10-02add spartan modePaul Buetow
2021-10-02additional flags can be interpreted as file listPaul Buetow
2021-08-12add missing brush and also add color client configs plus jsonschemaPaul Buetow
2021-07-31more on configurable colorsPaul Buetow
2020-12-29Quiet mode also affects client side loggingPaul Buetow
2020-12-26rename spartan to quietPaul Buetow
2020-12-26initial spartan mode supportPaul Buetow
2020-12-08merge developPaul Buetow
2020-09-10printing client stats every other second only if the connection count has ↵Paul Buetow
changed or when SIGUSR1 or SIGINFO recieved
2020-09-04remove of Quiet mode, this will be obsoletePaul Buetow
2020-09-04refactoring client args passingPaul Buetow
2020-09-04server side support for new regex packagePaul Buetow
2020-05-20can specify a private ssh key via command line, no password support yet thoughPaul Buetow
2020-05-13add more ssh key debuggingPaul Buetow
2020-03-04fix silent logging https://github.com/mimecast/dtail/issues/5Paul Buetow
2020-02-16server kills subprocesses correctly on cancelPaul Bütow
2020-02-07Introduce drun command, refactor code to use context packagePaul Bütow
2020-01-21Move commands to cmd/ and move internal dependencies to internal/Paul Bütow