tcpdumpw

command module
v0.0.0-...-66f5bc9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

README

tcpdump wrapper


How to build

Using go

go generate ./... && go build -o bin/pcap cmd/pcap.go

NOTE: apply gofumpt before commit; i/e: gofumpt -l -w .

Using Taskfile

Quick build
task -v local-build
Verbose build
task -v local-dist
Docker build
task -v docker-build

How to use

sudo ./bin/tcpdumpw \
  -use_cron -cron_exp='*/5 * * * * *' \
  -timezone='America/Los_Angeles' \
  -timeout=60 -interval=10 \
  -tcpdump -jsondump -jsonlog \
  -extension=pcap -directory=$(pwd) \
  -ordered -filter='tcp port 443'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL