ntop

Ubuntu
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

ntop

文章 yehlu »

1.重設密碼
ntop -A

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

代碼: 選擇全部

USER="ntop"
INTERFACES="eth0,eth1,eth2"
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

device eth0 entered promiscuous mode

文章 yehlu »

http://www.plurk.com/p/cvjjeb

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

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

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

雅玲~ 一年前
alextwl: 喔!! 都沒有仔細看說明 謝謝學長
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

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

文章 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.
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: ntop

文章 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...
回覆文章

回到「Ubuntu」