- python/configs/: 7 purpose-built config files, one per error class: all-ok.txt, dns-failure.txt, connection-refused.txt, timeout.txt, tls-errors.txt (badssl.com), http-errors.txt (real 404 paths on stable hosts), mixed.txt (one of each, no timeout) - python/configs/usage.md: runnable sh commands + expected output per config, plus quick-sweep and full-sweep loops; commands written for running from the python/ directory - docs/custom-usage-examples.md: example 11 added (all failure classes at once) - docs/usage/py-simple.md: added pointer to python/configs/ and corrected limitation note (4xx/5xx are FAIL, not OK) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
15 lines
541 B
Plaintext
15 lines
541 B
Plaintext
# Timeout — non-routable IP addresses that accept no TCP traffic.
|
|
# The kernel sends a SYN but never gets a reply; simple.py waits the full
|
|
# 10-second hard-coded timeout per host before printing FAIL.
|
|
#
|
|
# WARNING: this config takes ~20 seconds to complete (10 s per host).
|
|
#
|
|
# 10.255.255.1 and 192.0.2.1 (RFC 5737 TEST-NET-1, documentation-only range)
|
|
# are guaranteed to be unreachable on any normal network.
|
|
#
|
|
# Run: python3.14 python/simple.py python/configs/timeout.txt
|
|
# Expected exit code: 1
|
|
|
|
http://10.255.255.1/
|
|
http://192.0.2.1/
|