Hello,
I have the Zabbix application running in a jail (as a TrueNas plugin) and I have problem running the nmap application.
I managed to discover my network, but the nmap tool is unusable so I cannot run the "Detect Operating system" script.
When trying t run the nmap command locally, I have the following error:
root@zabbix:~ # sudo nmap -O 10.10.0.1
Starting Nmap 7.93 ( https://nmap.org ) at 2023-03-05 23:43 PST
dnet: Failed to open device epair0b
QUITTING!
I get the same error also as zabbix user.
Things that I checked:
1. allow_raw_sockets option is enabled in jail
2. modified the sudoers file using visudo and added entry: zabbix ALL=(ALL:ALL) NOPASSWD: /usr/local/bin/nmap
Note: The system is FreeBSD zabbix 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 n245412-484f039b1d0 TRUENAS amd64
I would really appreciate some new ideas since I think I checked everything I found on Google...
Thank you and wish a nice day for whoever stopped and read this
I have the Zabbix application running in a jail (as a TrueNas plugin) and I have problem running the nmap application.
I managed to discover my network, but the nmap tool is unusable so I cannot run the "Detect Operating system" script.
When trying t run the nmap command locally, I have the following error:
root@zabbix:~ # sudo nmap -O 10.10.0.1
Starting Nmap 7.93 ( https://nmap.org ) at 2023-03-05 23:43 PST
dnet: Failed to open device epair0b
QUITTING!
I get the same error also as zabbix user.
Things that I checked:
1. allow_raw_sockets option is enabled in jail
2. modified the sudoers file using visudo and added entry: zabbix ALL=(ALL:ALL) NOPASSWD: /usr/local/bin/nmap
Note: The system is FreeBSD zabbix 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 n245412-484f039b1d0 TRUENAS amd64
I would really appreciate some new ideas since I think I checked everything I found on Google...
Thank you and wish a nice day for whoever stopped and read this