Files
mctf/ops/tulip/finalize-capture.sh
TakuyaYagam1 6043bc346b fix(towercore): allow peer inventory checks
- keep peer context reads denied with native 0x0203
- preserve opcode 0x23 empty authorized response path
2026-11-29 16:06:23 +03:00

14 lines
240 B
Bash
Executable File

#!/bin/sh
set -eu
capture=$1
case "$capture" in
/traffic/.spool/*.pcap)
mv -- "$capture" "/traffic/${capture##*/}"
;;
*)
echo "refusing unexpected capture path: $capture" >&2
exit 64
;;
esac