OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: RomanLeBg on February 19, 2019, 02:54:08 pm

Title: ASN number with ntopng problem
Post by: RomanLeBg on February 19, 2019, 02:54:08 pm
Hi all, i recently installed OPNsense and ntopng but the Maxmind database can't be used by ntopng i don't know why so i downloaded the GeoLite2 ASN in maxmind db format (https://dev.maxmind.com/geoip/geoip2/geolite2/)
and restarted opnsense but it doesn't worked so i asked on the ntopng telegram if they can help me so they said that i needted to install libmaxminddb but its already installed so they ask me to do ntopng ./configure but as i'm not building from source the output say that ./configure can't be found so they asked me to ask you. can you help me ? by the way i also tried to extract the tar.gz archive following this tutorial https://docs.zeek.org/en/stable/frameworks/geoip.html but it didn't give me a .mmdb file just a file without .mmdb so i tried to rename it but it didn't worked.
Title: Re: ASN number with ntopng problem
Post by: RomanLeBg on February 20, 2019, 07:24:20 pm
up ;D 
Title: Re: ASN number with ntopng problem
Post by: RomanLeBg on February 21, 2019, 05:44:12 pm
any help ?
Title: Re: ASN number with ntopng problem
Post by: RomanLeBg on February 22, 2019, 07:05:19 pm
please
Title: Re: ASN number with ntopng problem
Post by: mimugmail on February 22, 2019, 07:13:41 pm
Did you search the forums? I remember about a hack discussed in here
Title: Re: ASN number with ntopng problem
Post by: RomanLeBg on February 23, 2019, 01:29:42 pm
Hi, thank you for your responses unfortunately i've tried to update /usr/local/bin/geoipupdate.sh from this post https://forum.opnsense.org/index.php?topic=10733 (https://forum.opnsense.org/index.php?topic=10733) but it didn't change anything on ntopng webpage, i just have 2 .mmdb file in the geoip folder but when i do a ls -l /usr/local/share/ntopng/httpdocs/geoip/GeoLite2-ASN.mmdb it reply :
-r--r--r--  1 root  wheel  0 Feb 23 13:23 /usr/local/share/ntopng/httpdocs/geoip/GeoLite2-ASN.mmdb
so i don't know why because at the download time it say xx% of 27Mo
Title: Re: ASN number with ntopng problem
Post by: RomanLeBg on February 28, 2019, 06:02:56 pm
i think i will let like it is nobody can help me here thanks anyway
Title: Re: ASN number with ntopng problem
Post by: deekdeeker on May 24, 2019, 07:23:31 pm
fo me i find the script not useful , i just download the databases manually and scp them into the proper directory. make sure the files actually get copied, with the script i noticed it would copy into the tmp directory but never actually fully copy the file.