Dear sirs,

I installed yesterday the SVN version of ntopng in a Centos 6.3 machine.
Then i started ntopng as follows: ntopng -i eth5 (I want to collect traffic from this interface) and the output is:

root@testes ntopng]# ntopng -i eth5
27/Aug/2013 17:10:43 [Redis.cpp:54] Succesfully connected to Redis 32 bit v.2.4.10
27/Aug/2013 17:10:43 [Ntop.cpp:419] Setting local networks to 192.168.1.0/24
27/Aug/2013 17:10:43 [Ntop.cpp:419] Setting local networks to 192.168.0.0/16,172.16.0.0/12,10.0.0.0/8,0.0.0.0/32,224.0.0.0/8,239.0.0.0/8,255.255.255.255/32 27/Aug/2013 17:10:43 [Prefs.cpp:525] WARNING: Config file /var/tmp/ntopng/ntopng-users.conf not found (it will be created) 27/Aug/2013 17:10:43 [PcapInterface.cpp:53] Reading packets from interface eth5...
27/Aug/2013 17:10:43 [Ntop.cpp:468] Registered interface eth5 [id: 0]
27/Aug/2013 17:10:43 [Utils.cpp:212] User changed to nobody
27/Aug/2013 17:10:43 [main.cpp:161] PID stored in file /var/tmp/ntopng.pid
27/Aug/2013 17:10:43 [HTTPserver.cpp:308] HTTP server listening on port 3000 [/root/ntopng/httpdocs][/root/ntopng/scripts]
27/Aug/2013 17:10:43 [main.cpp:193] Using RRD version 1.4.7
27/Aug/2013 17:10:43 [main.cpp:202] Working directory: /var/tmp/ntopng
27/Aug/2013 17:10:43 [main.cpp:204] Scripts/HTML pages directory: /usr/local/share/ntopng 27/Aug/2013 17:10:43 [Ntop.cpp:146] Welcome to ntopng i686 v.1.0.1 ($Revision: 6697 $) - (C) 1998-13 ntop.org 27/Aug/2013 17:10:43 [PeriodicActivities.cpp:51] Started periodic activities loop... 27/Aug/2013 17:10:43 [NetworkInterface.cpp:506] Started packet polling on interface eth5...

Next I tried to access web interface (http://testes:3000) but authentication always fail (admin/admin). To solve this, I created the file in the indicated location and with this content:
user.nuno.password="MD5 hash of password"
user.nuno.full_name=Nuno
user.nuno.group=administrator

Starting again ntopng, now there was no warning but authentication fail again (now with user nuno).

[root@testes ntopng]# ntopng -i eth5
27/Aug/2013 16:50:41 [Redis.cpp:54] Succesfully connected to Redis 32 bit v.2.4.10
27/Aug/2013 16:50:41 [Ntop.cpp:419] Setting local networks to 192.168.1.0/24
27/Aug/2013 16:50:41 [Ntop.cpp:419] Setting local networks to 192.168.0.0/16,172.16.0.0/12,10.0.0.0/8,0.0.0.0/32,224.0.0.0/8,239.0.0.0/8,255.255.255.255/32 27/Aug/2013 16:50:41 [PcapInterface.cpp:53] Reading packets from interface eth5...
27/Aug/2013 16:50:41 [Ntop.cpp:468] Registered interface eth5 [id: 0]
27/Aug/2013 16:50:41 [Utils.cpp:212] User changed to nobody
27/Aug/2013 16:50:41 [main.cpp:161] PID stored in file /var/tmp/ntopng.pid
27/Aug/2013 16:50:41 [HTTPserver.cpp:308] HTTP server listening on port 3000 [/root/ntopng/httpdocs][/root/ntopng/scripts]
27/Aug/2013 16:50:41 [main.cpp:193] Using RRD version 1.4.7
27/Aug/2013 16:50:41 [main.cpp:202] Working directory: /var/tmp/ntopng
27/Aug/2013 16:50:41 [main.cpp:204] Scripts/HTML pages directory: /usr/local/share/ntopng 27/Aug/2013 16:50:41 [Ntop.cpp:146] Welcome to ntopng i686 v.1.0.1 ($Revision: 6697 $) - (C) 1998-13 ntop.org 27/Aug/2013 16:50:41 [PeriodicActivities.cpp:51] Started periodic activities loop... 27/Aug/2013 16:50:41 [NetworkInterface.cpp:506] Started packet polling on interface eth5...

I started ntop in verbose mode (-v) but there was no significant logs about the authentication process...

Can anyone help me to solve this problem?

Thanks in advance!
Best regards,
Nuno.

--
.................................................................
 Nuno Rodrigues : e-mail e msn: [email protected] : http://www.ipb.pt/~nuno
 Eq. Assistente 2o Triénio : Dep. Informática e Comunicações : ESTiG/IPB
 Coordenador do Centro de Comunicações do IPB
.................................................................


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to