Author |
Message |
gravutrad
Hangin' Around
Joined: Feb 27, 2012
Posts: 30
|
Posted:
Thu Aug 17, 2017 7:08 pm |
|
Hi to all.
I've totally deactivated sentinel to replace it by other protection (in the simple config, and advanced parameters, in each protection), but i still received sentinel emails blocking googlebots (not in the robots protection list).
does the condition for the write email function in the nukesentinel.php file is really applied:
php Code:if($blocker_row['activate'] > 0 AND $blocker_row['activate'] < 6)
|
In the database, all datas in my activate field are well to 0...so the condition shouldn't permit that i receive these emails...
Thanks for advance. |
|
|
|
|
neralex
Site Admin
Joined: Aug 22, 2007
Posts: 1774
|
Posted:
Fri Aug 18, 2017 7:24 am |
|
Strange issue. Do you tried to add the output of $blocker_row['block_name'] to the variable $message inside the write_mail() function in order to check which blocker has used this function call?
For example find:
php Code:$message .= _AB_REASON . ': ' . $blocker_row['reason'] . "\n";
|
and add after:
php Code:$message .= 'Blocker: ' . $blocker_row['block_name'] . "\n";
|
|
|
|
|
|
gravutrad
|
Posted:
Fri Aug 18, 2017 4:33 pm |
|
Good idea.
I try and i report more when i tested all.
this is an example of mail received:
Quote: | _AB_DATETIME: 2017-08-18 12:45:24 CEST GMT +0200
_AB_IPBLOCKED: 66.249.66.*
_AB_USERID: Anonymous (1)
_AB_REASON: 1
--------------------
_AB_USERAGENT:
_AB_QUERY: /index.php
_AB_GET: /index.php
_AB_POST: /index.php
_AB_X_FORWARDED: none
_AB_CLIENT_IP: none
_AB_REMOTE_ADDR: 66.249.66.129
_AB_REMOTE_PORT: 41024
_AB_REQUEST_METHOD: GET
--------------------
_AB_WHOISFOR
Unable to query WhoIs information for . |
Thanks neralex. |
|
|
|
|
gravutrad
|
Posted:
Sun Aug 27, 2017 5:18 am |
|
php Code:_AB_DATETIME: 2017-08-24 15:21:42 CEST GMT +0200
_AB_IPBLOCKED: 151.80.31.*
_AB_USERID: Anonymous (1)
_AB_REASON: 1
Blocker: 1
--------------------
_AB_USERAGENT:
_AB_QUERY: /index.php
_AB_GET: /index.php
_AB_POST: /index.php
_AB_X_FORWARDED: none
_AB_CLIENT_IP: none
_AB_REMOTE_ADDR: 151.80.31.153
_AB_REMOTE_PORT: 32768
_AB_REQUEST_METHOD: GET
--------------------
_AB_WHOISFOR
Unable to query WhoIs information for .
|
What's the blocker 1? |
|
|
|
|
neralex
|
Posted:
Sun Aug 27, 2017 8:53 am |
|
Have you made changes on the sentinel-files besides the edit in this function?
$blocker_row['block_name'] and $blocker_row['reason'] should be strings and not integer values. Please re-check your changes to close out copy&paste issues. You can compare it in the db-table: nuke_nsnst_blockers, there you can find all values for each blocker-field. |
|
|
|
|
gravutrad
|
Posted:
Tue Aug 29, 2017 2:42 am |
|
I've only done the changes posted.
Blocker 1 is so a blocker abuse union. |
|
|
|
|
neralex
|
Posted:
Tue Aug 29, 2017 12:48 pm |
|
This not what I meant because the values of both variables are shouldn't be integer values. Both are strings like what you can see in the database. There is no filter which is using integer values to "translate" in strings. The fields $blocker_row['block_name'] and $blocker_row['reason'] should be shown in your email as text not as number. So I guess somewhere in your scripts the array values of $blocker_row are overridden or the whole array will be builded in a wrong way. |
|
|
|
|
Raven
Site Admin/Owner
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Sep 19, 2017 1:28 am |
|
gravutrad, have you resolved this issue? |
|
|
|
|
gravutrad
|
Posted:
Tue Oct 31, 2017 5:43 am |
|
Still not but isn't really grave. (sentinel should be desactived and not sending mails but it's not a big problem) |
|
|
|
|
|