ntop
Installation
yum install ntop yum install graphviz ln -s /usr/bin/dot /usr/local/bin/dot
oder von der Seite http://www.ntop.org/
Siehe: http://servert.wordpress.com/category/install-ntop-on-red-hat-enterprise-linux-centos-linux-debian/
Fertige rpms gibt es unter: http://upload.lonelyspooky.com/rpm/EL6/. Hier ist ein fertig kompiliertes rpm: ntop-5.0-2.el6.i686.rpm
Erster Start
ntop -P /usr/share/ntop --set-admin-password=meteosat ntop
alle weiteren Starts, Restarts uns Stops können über das Initscript /etc/init.d/ntop ausgeführt werden.
ntop Verwenden
ntop stellt eine Webseite unter http127.0.0.1:3000 zur Verfügung
Weitere Informationen:
http://www.ntop.org/documentation.html
http://www.thquast.de/page2/ntop/doku.html
http://www.linux-magazin.de/Heft-Abo/Ausgaben/2002/11/Top-in-Form
ntop für Windows
http://www.ntop.org/demo/ntop/win32/
—-
====== ntopng ======
Ntop next Generation
==== Installation ====
Repo erstellen:
vim /etc/yum.repos.d/ntop.repo
<code bash>
[ntop]
name=ntop packages
baseurl=http://rpm.ntop.org/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.nmon.net/centos/RPM-GPG-KEY-deri
</code>
Installieren
yum install pfring n2disk nProbe ntopng ntopng-data
Services autostarten
chkconfig redis onchk
config ntopng on
Startparameter anpassen
cd /etc/ntopng
vim ntopng.start
Einfügen:
–local-networks „192.168.124.0/24“ „10.10.0.0/24“ # durch lokales Netz ersetzen
—interface eth0 # überwachtes Interface
Konfiguration
cp ntopng.conf.sample ntopng.conf
vim ntopng.conf
einfügen
-G=/var/tmp/ntopng.pid # Ort des PID-Files
Service redis und ntopng starten
Jetzt kann über http://127.0.0.1:3000 auf ntopng zugegriffen werden. Der Login ist:
admin:admin
Wenn iptables läuft, kann diese chain verwendet werden:
-A INPUT -m state –state NEW -m tcp -p tcp –dport 3000 -j ACCEPT
Link: http://blog.redbranch.net/2013/11/07/ntopng-on-centos-6/