ipinfo geoip update not working

Started by Lucid1010, October 06, 2025, 04:30:08 AM

Previous topic - Next topic
https://github.com/opnsense/core/issues/7779#issuecomment-3156278832

Patching file opnsense/scripts/filter/lib/alias/geoip.py using Plan A...
Hunk #1 succeeded at 23.
Hunk #2 succeeded at 34.
Hunk #3 succeeded at 44.
Hunk #4 succeeded at 157.
done
All patches have been applied successfully.  Have a nice day.


opnsense version 25.7.4


You cannot view this attachment.

error
In order to use GeoIP, you need to configure a source in the GeoIP settings tab



The error still occurs even when I change it to the MaxMind URL.

I work for IPinfo, but I am not an expert in Opnsense. I am just leaving this comment here in case there is an issue with our data that we need to investigate from our end.

I thought that the only service usable for this was Maxmind. I don't see ipinfo mentioned here https://docs.opnsense.org/manual/aliases.html#geoip

It's a feature request and an experimental patch that might make it into one of the next releases.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: Patrick M. Hausen on October 06, 2025, 09:19:57 PMIt's a feature request and an experimental patch that might make it into one of the next releases.

I've confirmed that it's on the v26.1 roadmap.
Does this mean it's impossible even with
opnsense-patch? Does the next release mean 25.7.x, or 26.1?

You can get it with opnsense-patch now or most probably with 26.1.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

It will get a final QA round today and released tomorrow in 25.7.5.  Note there's more than one patch to opnsense-patch. Haven't heard of any issues yet...


Cheers,
Franco


Quote from: Patrick M. Hausen on October 07, 2025, 08:32:27 AMYou can get it with opnsense-patch now or most probably with 26.1.

 Just as in the content of the post, I am reporting that `opnsense-patch` completed successfully, but an error is still occurring.

I would suggest to use the FULL cherry pick instead of a single commit from master...

# opnsense-patch https://github.com/opnsense/core/commit/fe20dfd71514

As I said this is still being tested and that's why it wasn't released and that issues that still exist can likely be fixed before release.


Cheers,
Franco

BTW, as long as "Total number of ranges" is 0 that popup will show regardless of the URL was filled out correctly or not. The database has to be successfully loaded too.


Cheers,
Franco

October 12, 2025, 01:58:33 PM #10 Last Edit: October 12, 2025, 04:52:43 PM by DEC670airp414user
as a opnsense business licensed user.    which is the better option
the included Opnsense updates to the geoip data.

or using the new ipinfolite?

or is the Business edition pulling data from them now?


edit.  after reading the thread in the first post.   ill keep using the version included in business edition


The business edition will move to a builtin IPInfo database in 25.10.1. We want to introduce the new feature (or at least table entry scaling) in 25.10 before switching people over.


Cheers,
Franco

I updated to 25.7.5 at the weekend and today wanted to try out IPInfo. I followed the directions from the release notes, I signed up and replaced the MaxMind URL with the new one from my account but so far I see no change or any error. How can I check the status and maybe force an update? I did check the new URL manually through my browser and the file does download.

If your numbers look like this you're on the right database:

Last updated: 2025-10-12T14:22:04.775778   
Total number of ranges: 4589299

Nope, they are still the same as the last run against the old MaxMind URL

I've tried making a change to a rule on my WAN connection and that didn't cause an update, and checking some log files doesn't show anything but I'm not sure where to be looking.

Last updated 2025-10-10T10:06:14   
Total number of ranges 1298663