You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I test this project with pktegn in the same machine, pktgen in docker and dpdk-suricata in host.
I build a clear docker envrioment mounting hugepages folder and /tmp/virtio/, where I plan to save my virtio socks on host.
Then I run this command in docker
`./pktgen -l 1-5 -n 3 --socket-mem 1024 --vdev 'eth_vhost0,iface=/tmp/virtio/sock0' --file-prefix=test --no-pci -- -P -m "5.0"
It seems pktgen works well in container, and there it is a sock0 file in /tmp/virtio/
And I test this for sure in host: sudo ./testpmd -l 0-1 -n 1 --socket-mem 1024 --vdev 'virtio_user0,path=/tmp/virtio/sock0' -- -i --forward-mode=io --auto-start
Testpmd can receive packte from pktgen(all packets can be received in order).
Then I run dpdk-suricata in host with config like this:
I test this project with pktegn in the same machine, pktgen in docker and dpdk-suricata in host.
I build a clear docker envrioment mounting hugepages folder and /tmp/virtio/, where I plan to save my virtio socks on host.
Then I run this command in docker
`./pktgen -l 1-5 -n 3 --socket-mem 1024 --vdev 'eth_vhost0,iface=/tmp/virtio/sock0' --file-prefix=test --no-pci -- -P -m "5.0"
It seems pktgen works well in container, and there it is a sock0 file in /tmp/virtio/
And I test this for sure in host:
sudo ./testpmd -l 0-1 -n 1 --socket-mem 1024 --vdev 'virtio_user0,path=/tmp/virtio/sock0' -- -i --forward-mode=io --auto-start
Testpmd can receive packte from pktgen(all packets can be received in order).
Then I run dpdk-suricata in host with config like this:
Command: ./src/suricata -c suricata.yaml --dpdkintel
But I got this error:
Then I locate this error in
DPDK-Suricata_3.0/suricata-3.0/src/util-dpdk-setup.c
Line 164 in 3535817
And I notice there is a TODO saying that:
And the default configuration is:
I try to change default config in your code by imitating l2fwd's config, but failed. Now I am not sure if there is still a todo or not.
The text was updated successfully, but these errors were encountered: