#!/bin/bash # # check-archweb.sh # Quick filter for Archweb IPv6 probes against /lastupdate # LOG=/var/log/nginx/stygian_access.log if [[ ! -f "$LOG" ]]; then echo "Log file not found: $LOG" exit 1 fi echo "=== IPv6 Archweb checks for /lastupdate ===" sudo awk ' $1 ~ /\[::/ && $7 ~ /lastupdate/ { printf "%-40s %-30s %-5s %-40s %s\n", $1, $4, $6, $7, $9 } ' "$LOG" | tail -20