Files
stun/e2e/capture.sh
2023-04-18 13:19:15 +02:00

10 lines
252 B
Bash

#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
# SPDX-License-Identifier: MIT
echo "net: $INTERFACE $SUBNET"
tcpdump -U -v -i $INTERFACE \
src net $SUBNET and dst net $SUBNET \
-w /root/dump/dump.pcap