更新界面

时间:2017-09-21 05:42:33

标签: interface bro

我从源代码构建Bro IDS。它已成功安装

user@ubuntu:~$ bro -v
bro version 2.4.1

我在VM中运行兄弟。我的以太网接口在ens33而不是eth0。在将node.cfg更新到我的自定义界面(即ens33)之后,我仍然无法启动兄弟。

node.cfg

[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

我从日志中可以理解的是,bro​​ctl无法读取更新的node.cfg,因为它使用了错误的接口。现在我需要知道我需要做些什么改变才能在不崩溃的情况下启动兄弟?

1 个答案:

答案 0 :(得分:-1)

您应该在/etc/bro/node.cfg中编辑配置文件,并将eth0更改为ens33