1 頁 (共 1 頁)

ntop

發表於 : 2012-09-11 16:44:44
yehlu
1.重設密碼
ntop -A

2.設定檔
/var/lib/ntop/init.cfg

代碼: 選擇全部

USER="ntop"
INTERFACES="eth0,eth1,eth2"

device eth0 entered promiscuous mode

發表於 : 2012-09-11 17:02:00
yehlu
http://www.plurk.com/p/cvjjeb

(゚∀゚) 說 一年前
進入混雜模式很正常,它的意思只是說 eth0 進入接收所有封包(不論是不是傳給自己)的狀態

雅玲~ 一年前
ㄟ?! 所以是正常的喔! 因為ntop啟動後都會出現這行訊息!

(゚∀゚) 說 一年前
ntop manpage 有寫原因,它為了監控整個本地網路,所以才需要開promiscuous mode...

雅玲~ 一年前
alextwl: 喔!! 都沒有仔細看說明 謝謝學長

ntop crash "segfault ... error 4 in libntop-3.3.so .."

發表於 : 2012-09-11 17:02:34
yehlu
https://bugs.launchpad.net/ubuntu/+sour ... bug/588049

Workaround: install the 3.4 version from

apt-add repository ppa:sylvain-garcia

then modify /etc/init.d/ntop
Line 96 add the flag -b *(this is the same as --disable-decoders)

(I started with line 95 to display the full modified command)
start-stop-daemon --start --quiet --name $NAME --exec $DAEMON -- \
-d -b -L -u $USER -P $HOMEDIR \

then restart ntop

sudo service ntop restart

it would be nice if the package maintainer would add the -b flag to the package. Or expain to me how to do it and I'll do it myself.

Re: ntop

發表於 : 2012-09-11 18:05:28
yehlu
Tue Sep 11 18:04:55 2012 **ERROR** ....open of /var/lib/ntop/prefsCache.db failed: File op en error
Tue Sep 11 18:04:55 2012 Possible solution: please use '-P <directory>'
Tue Sep 11 18:04:55 2012 **FATAL_ERROR** GDBM open failed, ntop shutting down...