Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How to ban an entire ip range through mysql database  (Read 3267 times)

0 Members and 1 Guest are viewing this topic.

dke

  • Guest
How to ban an entire ip range through mysql database
« on: October 22, 2006, 01:10:47 am »

Hi all,

i find it easyer to just manually edit the database for coppermine, then to use the gui for some stuff, like banning. But i havent figured out how to ban entire ip ranges, id have to create 255 rows and put example "212.145.232.1" in the first and then go to 2,3,4,5,6,7 etc.. is there a way to just type "1.2.3.1-1.2.3.255" in one single key?

thanks in advance!
« Last Edit: October 22, 2006, 01:53:08 am by Nibbler »
Logged

Nibbler

  • Guest
Re: How to ban an entire ip range through mysql database
« Reply #1 on: October 22, 2006, 01:26:37 am »

You can't ban IP ranges via the database. Ban via .htaccess or at the firewall level instead.
Logged

dke

  • Guest
Re: How to ban an entire ip range through mysql database
« Reply #2 on: October 22, 2006, 01:48:37 am »

alright, thanks for the info
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 12 queries.