#!/bin/sh
# DF-0301 run script (requires root for BPF access)
# Threat model: network attacker on same L2 segment
ifconfig carp0 destroy 2>/dev/null
ifconfig carp0 create
ifconfig carp0 vhid 1 advskew 200 advbase 1 pass testkey12345678901 10.0.2.200/24
ifconfig carp0 up
sleep 1
./carp_replay /dev/bpf1 vtnet0 1 testkey12345678901 10.0.2.200
