OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • GEOIP stopt working
« previous next »
  • Print
Pages: 1 2 [3] 4 5 ... 7

Author Topic: GEOIP stopt working  (Read 90725 times)

Taomyn

  • Sr. Member
  • ****
  • Posts: 444
  • Karma: 20
    • View Profile
Re: GEOIP stopt working
« Reply #30 on: January 09, 2020, 04:17:41 pm »
Quote from: chemlud on January 09, 2020, 04:15:29 pm
If I try to browse

https://download.maxmind.com/app/geoip_download

I get

"Edition ID required"


You must use the whole URL not just the first part, it's all here: https://github.com/opnsense/docs/blob/master/source/manual/how-tos/maxmind_geo_ip.rst

Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: GEOIP stopt working
« Reply #31 on: January 09, 2020, 04:20:47 pm »
If I browse the whole URL including my Licence Key, I get

"Invalid licence key"

Hoooraaayyyy!
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Taomyn

  • Sr. Member
  • ****
  • Posts: 444
  • Karma: 20
    • View Profile
Re: GEOIP stopt working
« Reply #32 on: January 09, 2020, 04:23:31 pm »
Quote from: chemlud on January 09, 2020, 04:20:47 pm
If I browse the whole URL including my Licence Key, I get

"Invalid licence key"

Hoooraaayyyy!


Did you copy paste it from the document I linked to or mine, because using "licence_key" produces that message, it has to be spelt "license_key" i.e. spelt the American way.
Logged

Neptunek

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: GEOIP stopt working
« Reply #33 on: January 09, 2020, 04:26:37 pm »
Try this:
Login to: https://www.maxmind.com/en/account/login
Next click on the left menu GeoIP2 - Download Files, Next in Download Databases find file which you want and copy link to GZIP, paste this link in OPNsense and this is working :)
Logged

Taomyn

  • Sr. Member
  • ****
  • Posts: 444
  • Karma: 20
    • View Profile
Re: GEOIP stopt working
« Reply #34 on: January 09, 2020, 04:30:08 pm »
Quote from: Neptunek on January 09, 2020, 04:26:37 pm
Try this:
Login to: https://www.maxmind.com/en/account/login
Next click on the left menu GeoIP2 - Download Files, Next in Download Databases find file which you want and copy link to GZIP, paste this link in OPNsense and this is working :)


Those links are date-stamped, so you will never get an updated file using them.You have to use the licence key version of the URL so it gets you the latest file.
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: GEOIP stopt working
« Reply #35 on: January 09, 2020, 04:34:16 pm »
I generated a new key and now it works in the browser. Yaaaeeyyy!

...but not in the OPNsense, get the window that I have to configure Alias...
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Taomyn

  • Sr. Member
  • ****
  • Posts: 444
  • Karma: 20
    • View Profile
Re: GEOIP stopt working
« Reply #36 on: January 09, 2020, 04:37:20 pm »
Quote from: chemlud on January 09, 2020, 04:34:16 pm
I generated a new key and now it works in the browser. Yaaaeeyyy!

...but not in the OPNsense, get the window that I have to configure Alias...


Yes, that's where I am stuck as well  :(
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: GEOIP stopt working
« Reply #37 on: January 09, 2020, 04:41:01 pm »
Maxmind updated the updater. Maybe opnsense is outdated? Nice trick...
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Taomyn

  • Sr. Member
  • ****
  • Posts: 444
  • Karma: 20
    • View Profile
Re: GEOIP stopt working
« Reply #38 on: January 09, 2020, 04:48:52 pm »
Quote from: chemlud on January 09, 2020, 04:41:01 pm
Maxmind updated the updater. Maybe opnsense is outdated? Nice trick...


The latest 19.7.9 was meant to be the update for this.
Logged

dcol

  • Hero Member
  • *****
  • Posts: 635
  • Karma: 51
    • View Profile
Re: GEOIP stopt working
« Reply #39 on: January 09, 2020, 05:45:30 pm »
I also just get the message pop-up. Using the URL in a browser works
Reboot also did not work. We need a patch
« Last Edit: January 09, 2020, 05:58:13 pm by dcol »
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: GEOIP stopt working
« Reply #40 on: January 09, 2020, 06:07:25 pm »
I let it sit there for some time and now:

Code: [Select]
Last updated
2020-01-06T23:45:56
Total number of ranges
433499

..on the GeoIP page for "Aliases"

***scratchhead***
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Taomyn

  • Sr. Member
  • ****
  • Posts: 444
  • Karma: 20
    • View Profile
Re: GEOIP stopt working
« Reply #41 on: January 09, 2020, 06:10:26 pm »
Quote from: chemlud on January 09, 2020, 06:07:25 pm
I let it sit there for some time and now:

Code: [Select]
Last updated
   2020-01-06T23:45:56   
Total number of ranges
   433499

..on the GeoIP page for "Aliases"

***scratchhead***


I left work and just got home and mine has done the same - so it's not quick then, and could need some better feedback for the next release. But at least it works now.
Logged

dcol

  • Hero Member
  • *****
  • Posts: 635
  • Karma: 51
    • View Profile
Re: GEOIP stopt working
« Reply #42 on: January 09, 2020, 06:19:53 pm »
So how long did it take. Mine has been sitting for about 45 minutes
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: GEOIP stopt working
« Reply #43 on: January 09, 2020, 06:36:39 pm »
... checked the first time after 90 min or so.
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

repa

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: GEOIP stopt working
« Reply #44 on: January 09, 2020, 06:46:46 pm »
The documentation here is wrong:
https://github.com/opnsense/docs/blob/master/source/manual/how-tos/maxmind_geo_ip.rst

The URL is not licence_key=My_Licence_key&suffix=zip

it shouold be

license_key=My_Licence_key&suffix=zip
Logged

  • Print
Pages: 1 2 [3] 4 5 ... 7
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • GEOIP stopt working
 

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