How to enable TX capturing in KATA [KATA/KEDRE]
Sometimes one may need to enable transmitted traffic capturing in KATA (in example, for local testing of Suricata detections).
Here's how to do it.
Instructions for KATA 3.7.*
-
In file
/etc/modprobe.d/pf_ring.confsetenable_tx_capture=1. File should look like this:options pf_ring enable_tx_capture=1min_num_slots=16384 -
Stop
apt-preprocessorandsuricataservices:systemctl stop apt-preprocessor.servicesystemctl stop suricata.service -
Reload
pf_ringmodule:rmmod pf_ringmodprobe pf_ring -
Start
apt-preprocessorandsuricatabacksystemctl start apt-preprocessor.servicesystemctl start suricata.service
Instructions for KATA 4.0/4.1
-
In file
/etc/modprobe.d/pf_ring.confsetenable_tx_capture=1. File should look like this:options pf_ring enable_tx_capture=1min_num_slots=16384 -
Stop
dockerservice:systemctl stop docker -
Reload
pf_ringmodule:rmmod pf_ringmodprobe pf_ring -
Start d
ockerbacksystemctl start docker
Instructions for KATA 5.0
-
In file
/etc/pf_ring/pf_ring.confsetenable_tx_capture=1. File should look like this:options pf_ring enable_tx_capture=1min_num_slots=16384 -
Stop
dockerservice:systemctl stop docker -
Reload
pf_ringmodule:rmmod pf_ringmodprobe pf_ring -
Start d
ockerbacksystemctl start docker
With these changes, KATA will capture and process both incoming and outgoing traffic.
0 Comments
Recommended Comments
There are no comments to display.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now