This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/tcpdump/services/tcpdump

11 lines
140 B
Plaintext

start()
{
tcpdump -G $cfg_tcpdump_log_duration -s 0 -C $cfg_tcpdump_log_length -w %s_log.pcap -i eth0 &
}
stop()
{
killall tcpdump
}