Hi,
I’m trying to start a fresh suricata 4.1.8 installation on rhel 7.
I’ve read the steps in the documentation so I’ve configured HOME_NET with the right address and set the interface in the af-packet section to the nic I want to listen to.
When I run suricata by “systemctl start suricata”, I constantly get the fatal errors below, It can’t find eth0. I don’t have a eth0 in my machine and I haven’t configured this in my suricata.yaml.
When I run sudo suricata -c /etc/suricata/suricata.yaml -i ens192:3 it starts without the errors below.
Why does it search for eth0 when I start with suricata.yaml file?
I hope someone can help me out, I’m testing for 2 days now, it would be nice to move a little forward
26/8/2020 -- 09:19:30 - <Notice> - This is Suricata version 4.1.8 RELEASE
26/8/2020 -- 09:19:30 - <Warning> - [ERRCODE: SC_ERR_SYSCALL(50)] - Failure when trying to get MTU via ioctl for 'eth0': No such device (19)
26/8/2020 -- 09:19:30 - <Warning> - [ERRCODE: SC_ERR_SYSCALL(50)] - Failure when trying to get MTU via ioctl for 'eth0': No such device (19)
26/8/2020 -- 09:19:30 - <Error> - [ERRCODE: SC_ERR_AFP_CREATE(190)] - Unable to find type for iface "eth0": No such device
26/8/2020 -- 09:19:30 - <Notice> - all 1 packet processing threads, 4 management threads initialized, engine started.
26/8/2020 -- 09:19:30 - <Error> - [ERRCODE: SC_ERR_AFP_CREATE(190)] - Unable to find iface eth0: No such device
26/8/2020 -- 09:19:30 - <Error> - [ERRCODE: SC_ERR_AFP_CREATE(190)] - Couldn't init AF_PACKET socket, fatal error
26/8/2020 -- 09:19:30 - <Error> - [ERRCODE: SC_ERR_FATAL(171)] - thread W#01-eth0 failed
Thanks in advance for your time and effort, it’s greatly appreciated!