我已经从源代码构建了 Bro IDS。它已成功安装
user@ubuntu:~$ bro -v
bro version 2.4.1
我在VM中运行兄弟。我的以太网接口是 ens33 而不是 eth0。将 node.cfg 更新到我的自定义界面(即 ens33)后,我仍然无法启动兄弟。
节点配置文件
[bro]
type=standalone
host=localhost
interface=ens33
当我启动 broctl 时,我看到以下错误日志
Bro 2.4.1
Linux 4.4.0-96-generic
==== No reporter.log
==== stderr.log
fatal error: problem with interface eth0 (eth0: SIOCETHTOOL(ETHTOOL_GET_TS_INFO) ioctl failed: No such device)
==== stdout.log
max memory size (kbytes, -m) unlimited
data seg size (kbytes, -d) unlimited
virtual memory (kbytes, -v) unlimited
core file size (blocks, -c) unlimited
==== .cmdline
-i eth0 -U .status -p broctl -p broctl-live -p standalone -p local -p bro local.bro broctl broctl/standalone broctl/auto
==== .env_vars
PATH=/usr/bin:/usr/share/broctl/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
BROPATH=/var/spool/bro/installed-scripts-do-not-touch/site::/var/spool/bro/installed-scripts-do-not-touch/auto:/usr/share/bro:/usr/share/bro/policy:/usr/share/bro/site
CLUSTER_NODE=
==== .status
TERMINATED [atexit]
==== No prof.log
==== No packet_filter.log
==== No loaded_scripts.log
我可以从日志中了解到 broctl 无法读取更新的 node.cfg,因为它使用了错误的接口。现在我需要知道我还需要进行哪些更改才能在不崩溃的情况下启动兄弟?