- Debugging
- Debugging Traffic Mirroring
Debugging
Debugging Traffic Mirroring
Updating Traffic Mirroring
You can update your traffic mirroring code by running the following in your Metlo traffic mirroring instance:
Bash
sudo systemctl stop metlo-traffic-mirror.service
sudo bash -c "curl -L https://raw.githubusercontent.com/metlo-labs/metlo/master/deploy/govxlan/update.sh | /bin/bash"
sudo systemctl daemon-reload
sudo systemctl start metlo-traffic-mirror.service
Detailed Logs
You can view the logs for the running traffic mirroring service by running the following in your Metlo traffic mirroring instance::
Bash
sudo systemctl stop metlo-traffic-mirror.service
sudo bash -c "curl -L https://raw.githubusercontent.com/metlo-labs/metlo/master/deploy/govxlan/update.sh | /bin/bash"
sudo systemctl daemon-reload
sudo systemctl start metlo-traffic-mirror.service
To view more detailed logs you can stop the traffic mirroring service and start it manually with a lower logging level:
Bash
sudo systemctl stop metlo-traffic-mirror.service
metlo-pcap -l trace
Be sure to restart the traffic mirroring service after your done!
Bash
sudo systemctl start metlo-traffic-mirror.service