#!/bin/bash set -euo pipefail HOST="${1:-127.0.0.1}" PORT="${2:-80}" echo "🛰️ Tracing and probing $HOST:$PORT ..." scutil --proxy || true ping -c 2 "$HOST" || true traceroute "$HOST" || true echo "🌐 curl:" curl -I --max-time 5 "http://$HOST:$PORT/" || true echo "✅ Probe complete."