Introduction

Library to catch traffic/packets using linux tcpdump command

Keywords

Arguments

node_ip file_Name
= ${dump_default_name}
network_Adapter
= eth0
user
= ${DEFAULT_USER}
password
= ${EMPTY}
prompt
= ${DEFAULT_LINUX_PROMPT}
prompt_timeout
= ${DEFAULT_TIMEOUT}
filter
= ${EMPTY}

Documentation

Connects to the remote machine and starts tcpdump

Arguments

tag
= ${EMPTY}
filter
= ${EMPTY}
ips
= @{EMPTY}

Documentation

Start packet captures on the given list of node ips. The captures will be named with the tag and ip.

Arguments

system
= ${TOOLS_SYSTEM_IP}
user
= ${TOOLS_SYSTEM_USER}
password
= ${TOOLS_SYSTEM_PASSWORD}
prompt
= ${TOOLS_SYSTEM_PROMPT}
timeout
= 5s
eth
= eth0
more_params
= ${None}

Documentation

Connects to the remote machine via ssh and starts tcpdump linux command

Arguments

conn_id

Documentation

This keyword will list the running processes looking for tcpdump and then kill the process with the name tcpdump

Arguments

conn_ids
= @{EMPTY}

Documentation

Stop the packet captures on the given list of node connection ids

Arguments

filename
= ${dumppcap}.xz

Documentation

Stops catching packets with tcpdump and download the saved file

Tcpdump

image/svg+xml