Author |
Message |
CurtisH
Life Cycles Becoming CPU Cycles

Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI
|
Posted:
Mon Mar 07, 2005 3:46 pm |
|
When attempting to manually add an IP to block it is not being entered into the database for me. It is writing it to the .htaccess file for me, but not the database |
_________________ Those who dream by day are cognizant of many things which escape those who dream only by night. ~Poe |
|
|
 |
CurtisH

|
Posted:
Mon Mar 07, 2005 6:44 pm |
|
Ok, I completely uninstalled Sentinel and then reinstalled it and the above issue still remains. I have checked the database and it is indeed empty (ip block). Everything else seems to be working as it should but I am uncertain as to why it isn't storing the manually blocked IP addresses in the database.
Anyone else experience this? |
|
|
|
 |
BobMarion
Former Admin in Good Standing

Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)
|
Posted:
Tue Mar 08, 2005 12:32 am |
|
Find (admin/modules/nukesentinel/ABBlockedIPAddSave.php):Code: $db->sql_query("INSERT INTO ".$prefix."_nsnst_blocked_ips VALUES ('$xIPs', '$xuser_id', '$xusername', '$xuser_agent', '$bantime', '$xnotes', '$xreason', '$temp_qs', '$xx_forward_for', '$xclient_ip', '$xremote_addr', '$xremote_port', '$xrequest_method', '$xexpires', '00')");
| Change to:Code: $db->sql_query("INSERT INTO ".$prefix."_nsnst_blocked_ips VALUES ('$xIPs', '$xuser_id', '$xusername', '$xuser_agent', '$bantime', '$xnotes', '$xreason', '$temp_qs', '$temp_qs', '$temp_qs', '$xx_forward_for', '$xclient_ip', '$xremote_addr', '$xremote_port', '$xrequest_method', '$xexpires', '00')");
|
|
_________________ Bob Marion
Codito Ergo Sum
Only registered users can see links on this board! Get registered or login! |
|
|
 |
nexus
New Member


Joined: Jan 15, 2005
Posts: 5
|
Posted:
Tue Mar 08, 2005 4:19 pm |
|
mine didnt work before , and doesnt work after applying that ^  |
|
|
|
 |
nexus

|
Posted:
Tue Mar 08, 2005 4:34 pm |
|
Ok n/m that post ^ d*** opera had cached the page
works fine now , thx bob  |
|
|
|
 |
Lucifix
Regular


Joined: Mar 11, 2005
Posts: 67
|
Posted:
Sat Jun 11, 2005 6:05 am |
|
Hi,
I am facing the SAME problem as CurtisHancock. I have upgraded nukesentinel to NukeSentinel™ 2.3.0 but that doesn't solve the problem.
Any idea what could be wrong? |
|
|
|
 |
BobMarion

|
Posted:
Tue Jun 14, 2005 2:04 pm |
|
Email me at webmaster(at)nukescripts(dot)net . |
|
|
|
 |
dcasmr
Worker


Joined: Feb 06, 2004
Posts: 147
|
Posted:
Tue Nov 08, 2005 2:35 am |
|
Hello,
I have just noticed that sentinel 2..4.2 is not adding the blocked IPs to the blocked IP table either.... I wanted to use Bob' fixe but my line is different in the ABBlcokedIPAddSave.php is different ...
sql_query("INSERT INTO `".$prefix."_nsnst_blocked_ips` VALUES ('$xIPs', '$xuser_id', '$xusername', '$xuser_agent', '$bantime', '$xnotes', '$xreason', '$temp_qs', '$temp_qs', '$temp_qs', '$xx_forward_for', '$xclient_ip', '$xremote_addr', '$xremote_port', '$xrequest_method', '$xexpires', '$xc2c')");
I do receive the e-mails about the blocked IPs... any ideas?
thanks |
|
|
|
 |
|