我的/etc/rkhunter.conf.local包含这一行:
PORT_WHITELIST='* TCP:7000'
如果我运行rkhunter -c,看起来这个星星正在被扩展:
root@willow / # rkhunter -c Invalid entry specified in PORT_WHITELIST configuration option: bin Invalid entry specified in PORT_WHITELIST configuration option: boot ...
有没有人知道这个方法? 我正在使用rkhunter 1.4.2-5和Ubuntu 16.04。
它看起来像使用最后的rkhunter副本,你应该更新你的conf从:
PORT_WHITELIST="/path/to/bin PROTO:PORT"
至:
PORT_PATH_WHITELIST="/path/to/bin" PORT_WHITELIST="PROTO:PORT"
在你的情况下:
PORT_PATH_WHITELIST="*" #or whatever bin binds to TCP:7000 PORT_WHITELIST="TCP:7000"