Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
how to clear geoIP settings under aliases
« previous
next »
Print
Pages: [
1
]
Author
Topic: how to clear geoIP settings under aliases (Read 1817 times)
DEC670airp414user
Full Member
Posts: 164
Karma: 8
how to clear geoIP settings under aliases
«
on:
November 09, 2023, 10:54:25 pm »
how can I clear this file to make this back to empty?
Last updated
2023-04-27T15:15:06
Total number of ranges
684178
Logged
doktornotor
Hero Member
Posts: 709
Karma: 70
Re: how to clear geoIP settings under aliases
«
Reply #1 on:
November 11, 2023, 08:28:24 am »
Probably by deleting
/usr/local/share/GeoIP
, ussure about the purpose of doing this.
Logged
DEC670airp414user
Full Member
Posts: 164
Karma: 8
Re: how to clear geoIP settings under aliases
«
Reply #2 on:
November 11, 2023, 11:57:20 am »
Quote from: doktornotor on November 11, 2023, 08:28:24 am
Probably by deleting
/usr/local/share/GeoIP
, ussure about the purpose of doing this.
I run business edition. but trying to clear that out as I no longer wish to utilize that function
Logged
DEC670airp414user
Full Member
Posts: 164
Karma: 8
Re: how to clear geoIP settings under aliases
«
Reply #3 on:
December 13, 2023, 11:41:42 pm »
just tried and this did work
thank you
I’ll reply in the morning, but as I kind of expected. I went from 30% system memory usage to 18% just by deleting those.
No I do not have the alias in use, I actually no longer use business editioni am, running the latest community
«
Last Edit: December 14, 2023, 12:27:42 am by DEC670airp414user
»
Logged
DEC670airp414user
Full Member
Posts: 164
Karma: 8
Re: how to clear geoIP settings under aliases
«
Reply #4 on:
December 19, 2023, 01:19:49 pm »
memory creeped up again.
I checked and these files ARE BACK??
how do this files automatically come back, and why did memory go from 41% usage to 17% after I deleted them again and rebooted?
I ssh'd into the console. went to the folder posted above. rm * and then typed ls and it was empty my last post
are these automatically installed because I went back to opnsense business since most of the latest vulnerabilities have been addressed?
Logged
doktornotor
Hero Member
Posts: 709
Karma: 70
Re: how to clear geoIP settings under aliases
«
Reply #5 on:
December 19, 2023, 06:58:53 pm »
Yes, they are automatically downloaded when you fill in your Maxmind link.
https://docs.opnsense.org/manual/how-tos/maxmind_geo_ip.html
«
Last Edit: December 19, 2023, 07:01:58 pm by doktornotor
»
Logged
DEC670airp414user
Full Member
Posts: 164
Karma: 8
Re: how to clear geoIP settings under aliases
«
Reply #6 on:
December 19, 2023, 08:40:44 pm »
I am not using the service and do not have a key inserted anywhere
So strange
Logged
doktornotor
Hero Member
Posts: 709
Karma: 70
Re: how to clear geoIP settings under aliases
«
Reply #7 on:
December 20, 2023, 11:57:30 am »
I do not have business edition anywhere. These might be used in other places there as well. Now, if you do not have any GeoIP aliases, they don't use any memory. The files are sitting there. Hunting in a wrong place, I'm afraid.
Logged
brybro
Newbie
Posts: 6
Karma: 0
Re: how to clear geoIP settings under aliases
«
Reply #8 on:
January 14, 2024, 07:47:11 pm »
Quote from: doktornotor on November 11, 2023, 08:28:24 am
Probably by deleting
/usr/local/share/GeoIP
, ussure about the purpose of doing this.
I was wondering the same thing here for different reason. I loaded "country" csv and want to switch to "city" csv. I do not want to railroad this topic so I will post separately too on this topic.
But... how do you delete the "/usr/local/share/GeoIP" if you wanted to?
Thanks for considering my questions, admittedly a noob trying to learn as much as I can for a passion project
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
how to clear geoIP settings under aliases