J
JoeW
I wrote a simple class to manage a ban list I have in a SQL database.
The table consists of 4 fields: ip_address, time, ban_length,
ban_type. I simply add the ip address to the database with the current
date and time, the length of the ban in minutes and the type of ban (0
= single ip, 1 = class c, 2 = class b, 3 = class a). It works fine but
I would like some feedback on it if I could get it, positive or
negative I just want an opinion or maybe some suggestions if I am
doing anything wrong. It uses a regex to match the ip address stored
in sql with the ip address from the REMOTE_ADDR header. it is here if
you want to take a look
http://www.synacksolutions.net/AccessManagment.cs.txt
Thanks for the help, you guys are great!
Joe
The table consists of 4 fields: ip_address, time, ban_length,
ban_type. I simply add the ip address to the database with the current
date and time, the length of the ban in minutes and the type of ban (0
= single ip, 1 = class c, 2 = class b, 3 = class a). It works fine but
I would like some feedback on it if I could get it, positive or
negative I just want an opinion or maybe some suggestions if I am
doing anything wrong. It uses a regex to match the ip address stored
in sql with the ip address from the REMOTE_ADDR header. it is here if
you want to take a look
http://www.synacksolutions.net/AccessManagment.cs.txt
Thanks for the help, you guys are great!
Joe