Ntop

Backup, Restore und Transfer von Daten
Post Reply
quicksilver
Posts: 68
Joined: 2003-04-08 16:15
Contact:
 

Ntop

Post by quicksilver »

Weiss jemand wie ich Ntop Einstelle das man nur als Nutzer die Daten einsehen kann und nicht Jeden Hans und Franz ? Weil im mom kann jeder der die Adresse kennt ohne passwort die daten einsehen.


thx
dodolin
Posts: 3840
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe
Contact:
 

Re: Ntop

Post by dodolin »

man ntop:
-w
ntop sports and embedded web server so that users can
attach their web browsers to the specified port and
browse traffic information remotely. Supposing to start
ntop at the port 3000 (default port), the URL to access
is http://hostname:3000/. Users and URLs to protect with
passwords are stored in a database file.
By default
user/URL administration are accessible uniquely by the
user admin with password admin Passwords are stored in an
encrypted form into the database for further security.
Please note that an HTTP server is NOT needed but it's
embedded into the application. If -w is set to 0 the HTTP
port will not be enabled ('-w 0' is accepted only if ntop
has been compiled with HTTPS support and ntop has not
been started with '-W 0' [see below]). You can also use
the IP:Port notation to bind ntop to the specified IP-
Address, e.g. -w 127.0.0.1:3000

[...]
-P
This allows to specify where db-files are searched or
created (default "."). In addition DBPATH/html is added
to the searchlist for the WEB-files
Ich habe inzwischen keinen ntop mehr laufen, aber ich meine, mich entsinnen zu können, dass es direkt in der Weboberfläche sowas wie den Punkt "Admin" o.ä. gibt, in dem man das einstellen konnte.

Alternativ würde ich es so machen:
Binde ntop nur an localhost und betreibe deinen Apachen als Proxy und nehme die Authentifizierung über den Apachen vor.
Post Reply