OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • ASN number with ntopng problem
« previous next »
  • Print
Pages: [1]

Author Topic: ASN number with ntopng problem  (Read 4996 times)

RomanLeBg

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
ASN number with ntopng problem
« 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.
Logged

RomanLeBg

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: ASN number with ntopng problem
« Reply #1 on: February 20, 2019, 07:24:20 pm »
up ;D 
« Last Edit: February 21, 2019, 05:43:54 pm by RomanLeBg »
Logged

RomanLeBg

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: ASN number with ntopng problem
« Reply #2 on: February 21, 2019, 05:44:12 pm »
any help ?
Logged

RomanLeBg

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: ASN number with ntopng problem
« Reply #3 on: February 22, 2019, 07:05:19 pm »
please
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: ASN number with ntopng problem
« Reply #4 on: February 22, 2019, 07:13:41 pm »
Did you search the forums? I remember about a hack discussed in here
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

RomanLeBg

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: ASN number with ntopng problem
« Reply #5 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 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
Logged

RomanLeBg

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: ASN number with ntopng problem
« Reply #6 on: February 28, 2019, 06:02:56 pm »
i think i will let like it is nobody can help me here thanks anyway
Logged

deekdeeker

  • Newbie
  • *
  • Posts: 36
  • Karma: 4
    • View Profile
Re: ASN number with ntopng problem
« Reply #7 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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • ASN number with ntopng problem
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2