portr

Small concurrent TCP port scanner with a tview-based TUI. Archived — kept here for nostalgia and the test suite.

Files

namesizelast change
.editorconfig411 B
.github/FUNDING.yml206 B
.github/ISSUE_TEMPLATE/bug.md660 B
.github/pull_request_template.md706 B
.github/workflows/ci.yml0.8 KB
ARCHIVE_NOTICE.md1.2 KB
cmd/portr/cmd/check.go1.3 KB
cmd/portr/cmd/completion.go0.9 KB
cmd/portr/cmd/export.go1.3 KB
cmd/portr/cmd/root.go1.2 KB
cmd/portr/cmd/version.go0.6 KB
cmd/portr/cmd/watch.go1.4 KB
Dockerfile0.4 KB
docs/design-notes.md7.3 KB
docs/migration.md5.6 KB
go.mod196 B
internal/bench/check_bench_test.go1.1 KB
internal/bench/output_bench_test.go1.0 KB
internal/check/check_test.go2.0 KB
internal/check/check.go2.4 KB
internal/check/rate/limiter_test.go1.0 KB
internal/check/rate/limiter.go1.3 KB
internal/check/result/result.go1.0 KB
internal/check/retry/backoff_test.go0.9 KB
internal/check/retry/backoff.go0.9 KB
internal/check/worker/pool_test.go1.5 KB
internal/check/worker/pool.go1.9 KB
internal/check/worker/worker.go1.6 KB
internal/config/config_test.go2.2 KB
internal/config/config.go1.8 KB
internal/config/loader/yaml_test.go1.7 KB
internal/config/loader/yaml.go1.4 KB
internal/config/target/target_test.go1.2 KB
internal/config/target/target.go1.1 KB
internal/output/json/json_test.go1.1 KB
internal/output/json/json.go1.0 KB
internal/output/output.go0.7 KB
internal/output/prometheus/textfile_test.go1.0 KB
internal/output/prometheus/textfile.go1.6 KB
internal/output/slack/webhook.go1.6 KB
internal/output/table/table_test.go1.3 KB
internal/output/table/table.go1.5 KB
internal/testdata/configs/homelab.yaml0.6 KB
internal/testdata/configs/invalid.yaml0.3 KB
internal/testdata/configs/minimal.yaml0.2 KB
internal/testdata/expected/homelab-report.json0.9 KB
internal/testdata/expected/homelab-report.txt0.5 KB
internal/tui/app.go1.7 KB
internal/tui/keys.go0.8 KB
internal/tui/theme.go0.7 KB
internal/tui/view/detail.go1.0 KB
internal/tui/view/filter_test.go0.7 KB
internal/tui/view/filter.go0.8 KB
internal/tui/view/table_test.go0.9 KB
internal/tui/view/table.go1.7 KB
LICENSE11 KB
main.go2.6 KB
README.md1.9 KB
scanner_test.go2.4 KB
scanner.go2.8 KB
SECURITY.md1.3 KB
tests/integration/config_roundtrip_test.go1.3 KB
tests/integration/fake_server_test.go1.7 KB
tui.go2.1 KB

README

A weekend project from 2021. Left here so the links still work.

Recent commits

  • d71e004 ARCHIVE: close the door
  • 5a02e8b scanner: bound worker pool to ulimit
  • b3c1927 tui: sort results by port
  • 20ee6fa cmd: accept CIDR ranges
  • 9040d1c tui: basic tview layout
  • 30dd2a1 scanner: context cancellation, tests
  • 1e9f42a first commit