Add multiple features
This commit is contained in:
28
README.md
28
README.md
@@ -43,6 +43,20 @@ wtfn dns query example.com A --transport doh --server 1.1.1.1 --tls-name cloudfl
|
||||
wtfn dns detect example.com --transport doh --servers 1.1.1.1 --tls-name cloudflare-dns.com
|
||||
wtfn dns watch --duration 10s --filter example.com
|
||||
|
||||
# TLS
|
||||
wtfn tls handshake example.com:443
|
||||
wtfn tls cert example.com:443
|
||||
wtfn tls verify example.com:443
|
||||
wtfn tls alpn example.com:443 --alpn h2,http/1.1
|
||||
|
||||
# Discover
|
||||
wtfn discover mdns --duration 3s
|
||||
wtfn discover ssdp --duration 3s
|
||||
|
||||
# Diag
|
||||
wtfn diag --out report.json --json
|
||||
wtfn diag --bundle report.zip
|
||||
|
||||
# Calc
|
||||
wtfn calc contains 192.168.0.0/16 192.168.1.0/24
|
||||
wtfn calc overlap 10.0.0.0/24 10.0.1.0/24
|
||||
@@ -69,6 +83,11 @@ Command flags (implemented):
|
||||
- `dns query`: `--server <ip[:port]>`, `--transport <udp|tcp|dot|doh>`, `--tls-name <name>`, `--socks5 <url>`, `--timeout-ms <n>`
|
||||
- `dns detect`: `--servers <csv>`, `--transport <udp|tcp|dot|doh>`, `--tls-name <name>`, `--socks5 <url>`, `--repeat <n>`, `--timeout-ms <n>`
|
||||
- `dns watch`: `--duration <Ns|Nms>`, `--iface <name>`, `--filter <pattern>`
|
||||
- `http head|get`: `--timeout-ms <n>`, `--follow-redirects <n>`, `--show-headers`, `--show-body`, `--max-body-bytes <n>`, `--http1-only`, `--http2-only`, `--geoip`
|
||||
- `tls handshake|cert|verify|alpn`: `--sni <name>`, `--alpn <csv>`, `--timeout-ms <n>`, `--insecure`
|
||||
- `discover mdns`: `--duration <Ns|Nms>`, `--service <type>`
|
||||
- `discover ssdp`: `--duration <Ns|Nms>`
|
||||
- `diag`: `--out <path>`, `--bundle <path>`, `--dns-detect <domain>`, `--dns-timeout-ms <n>`, `--dns-repeat <n>`
|
||||
|
||||
## GeoIP data files
|
||||
GeoLite2 mmdb files should live in `data/`.
|
||||
@@ -118,12 +137,19 @@ Implemented:
|
||||
- Core CLI with JSON output and logging.
|
||||
- sys, ports, neigh, cert roots.
|
||||
- geoip, probe, dns query/detect/watch.
|
||||
- http head/get with timing and GeoIP.
|
||||
- tls handshake/verify/cert/alpn.
|
||||
- DoT/DoH + SOCKS5 proxy for DoH.
|
||||
- discover mdns/ssdp.
|
||||
- diag report + bundle.
|
||||
- calc subcrate with subnet/contains/overlap/summarize.
|
||||
- CMake/Makefile build + package + install targets.
|
||||
- Basic unit tests for calc and TLS parsing.
|
||||
|
||||
In progress:
|
||||
- http, tls, discover, diag.
|
||||
- none.
|
||||
|
||||
See `docs/implementation_status.md` for a design-vs-implementation view.
|
||||
|
||||
## License
|
||||
MIT (see `LICENSE`).
|
||||
|
||||
Reference in New Issue
Block a user