SOLVED CPANEL-37321 - cPHulk Countries Management Updates

Operating System & Version
ALMALINUX 8.4 kvm
cPanel & WHM Version
v96.0.9

bluedogranch

Member
Jun 7, 2021
5
0
1
US
cPanel Access Level
Root Administrator
Hi,
I want to use Countries Management to blacklist various countries, but my question is this: how often does cPHulk update the IP lists to block?

IP block allocations change daily, and there is the possibility that an IP range blocked by cPHulk will be transferred to a county that is not blocked, or verse vice, so someone using Countries Management may end up with IPs blocked that they do not want blocked.

So how often does cPHulk update the IP lists to block? How are the IP blocks updated? is there a script that downloads the new IP blocks from the IP list providers?

Thanks
 

rscalover

Well-Known Member
Dec 16, 2010
110
12
68
cPanel Access Level
Root Administrator
Hello,

What is your goal exactely ? cpHulk will not prevent people in countries you block to connect to your server or send emails to your server that is not the purpose of cphulk .

Maxmind Geoip is your friend there are tools available to convert there database to the old *.dat format.
 

cPJustinD

Administrator
Staff member
Jan 12, 2021
286
52
103
Houston
cPanel Access Level
Root Administrator
Hello bluedogranch! cPhulk pulls the country IP information from the file located at /usr/local/cpanel/3rdparty/share/geoipfree/IpToCountry.dat.

It appears that the IP information is pulled from the database available at http://software77.net/geo-ip/.

However, we do have an internal case open with our development team, CPANEL-36133, due to an issue we've noticed where the IP information available in that database is not always up-to-date. Unfortunately, we don't have control over when these IPs are updated. However, I believe the intended resolution is to pull from an available database that contains more up-to-date IP information.

I hope that this information helps. If you have any other questions or concerns, please let us know!

Best regards,
 

bluedogranch

Member
Jun 7, 2021
5
0
1
US
cPanel Access Level
Root Administrator
Hi,
Any update on this? I noticed that software77.net is now gone, as are their IP information files.
How is cPhulk updating the IP data for country management blocklists?
Thanks
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,570
2,612
363
cPanel Access Level
Root Administrator
I can't say for sure exactly when 102 will be released. If I had to guess, and please remember this is just a guess, it would be early 2022, as v100 will be going to Current soon.

I spoke with the developers about the backporting options and I'll post an update once I have one.
 

sugarrock

Registered
Nov 29, 2021
1
0
1
USA
cPanel Access Level
Root Administrator
This is causing a huge issue for myself and my users because the current database is very out of date. I need to know how I can manually update the database as well as information on when we can expect a full resolution to this issue. Waiting for version 102 to fix a security feature seems like pretty bad practice. Add to that we don't even have a release date or any information about the fix that was implemented.
 

tmurdock

Active Member
Jul 6, 2015
27
1
53
United States
cPanel Access Level
Root Administrator
Are there any updates on this? I am have an IP that is currently being blocked, but every geo lookup I do says this IP is located in the United States and should not be blocked due to the US being whitelisted.