When I am logged in as admin, and go to highlight a sub album (or photo of a sub album) Sentinel Blocked me... in a big way! (Maybe I should disable the block IP, email and HUUUGE amounts of windows.....
(managed to crash a P4 3.6ghz with half a gig of ram in approx 10 seconds..... mates @ work were impressed )
Unfortunately, I've needed to disable Sentinel right now until a "fix" is resolved (if anybody gets ideas, btw, there's still some security on the site... )- if anybody can help, please let me know. I can give more details if necessary, and possibly set up an admin account if it helps....
Only registered users can see links on this board! Get registered or login to the forums!
normaly this function opens a new window but now in this window there is the banned message from Sentinel, but it shows the full path to the sentinel script:
Quote:
Warning: fopen(.htaccess): failed to open stream: Permission denied in /srv/www/htdocs/html/includes/sentinel.php on line 386
Warning: fwrite(): supplied argument is not a valid stream resource in /srv/www/htdocs/html/includes/sentinel.php on line 387
Warning: fclose(): supplied argument is not a valid stream resource in /srv/www/htdocs/html/includes/sentinel.php on line 388
Joined: Jun 03, 2004 Posts: 229 Location: Tamworth, UK
Posted:
Tue Jun 08, 2004 2:36 pm
looks like you may have an install issue with your version of sentinel- I never get the warning messages....... That said I've got disipal's error messages tweak installed as well, not sure if that would make a difference...
I've set sentinel to just email me at the minute with this one- another user triggered it tonight by adding photo's or similar....
That said, I tried the changes to includes/sentinel.php on this thread:
Only registered users can see links on this board! Get registered or login to the forums!
which *looks* like it may have kinda cured the problem, somewhat- I'll keep monitoring the mails, etc. Once I'm happy that gallery install isn't going to casue any problems, I'll up the ante to "block and background"...
Only registered users can see links on this board! Get registered or login to the forums!
i try´d it and the remake of thumbs works now, but not the highlight function. I still get banned. I used the code from your posting:
Code:
if (eregi("http\:\/\/", $name) OR (eregi("cmd",$querystring) AND !eregi("&cmd",$querystring)) OR eregi("exec",$querystring) AND !eregi("execu",$querystring) OR eregi("concat",$querystring)) {
Quote:
Query String:
Only registered users can see links on this board! Get registered or login to the forums!
@andyb
Quote:
looks like you may have an install issue with your version of sentinel- I never get the warning messages.......
you was right, i have setted up sentinel to write down to the .htaccess but i didnt chmoded to 666 it was still 644. after i corrected this the full path is not more shown but still the banned message if i try to highlight a photo, maybe one more mistake of me..
Is your htaccess chmod 0666 ? That "should" get rid of the failed to open stream issue. Somehow I missed that one when I posted originally.
yes it is now 666, this was one mistake from me before, now the path to sentinel.php is not more shown, but i still get banned if i try to highlight a photo
if (eregi("http\:\/\/", $name) OR (eregi("cmd",$querystring) AND !eregi("&cmd",$querystring) AND !eregi("cmd=highlight",$querystring)) OR eregi("exec",$querystring) AND !eregi("execu",$querystring) OR eregi("concat",$querystring)) {
Seems to work ok let us know if you find anymore Gallery issues so they can be addressed in a future release.
Joined: Jun 03, 2004 Posts: 229 Location: Tamworth, UK
Posted:
Sat Jul 10, 2004 3:21 pm
I've tried all the permeatations of the codes listed above;
just upgraded gallery as well to v1.4.3-pl2
If I try to highlight an album, or photo, or do anything a normal user can do, sentinel sends me an email;
In the pop up window, instead of getting a confirmation window or similar, it throws the whole site into the smaller pop up window.....
The Email from Sentinel wrote:
Date & Time: 2004-07-10 16:40:29
Blocked IP: 80.229.144.109
User ID: audioc (2)
Reason: Abuse - OTHER
--------------------
User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Query String:
Only registered users can see links on this board! Get registered or login to the forums!
Thanks for any input you can give- I'm gonna be on holiday for the next 2 weeks or so, so I'll look into it when I get back...
So far, in this thread (and some others) I am pelased and appreciative of the work that you guys do; the only problems I really have that I struggle to get my noggin round all appear to relate to Gallery.....
If you need a guinea pig to try on a "live" site any future versions of Sentinel, give me a shout via pm or similar......
We've got a user base of over 2,000, galleries with over 3,000 photos, nearly a dozen moderators and three admins....
Joined: Nov 19, 2002 Posts: 322 Location: On the Road
Posted:
Sun Jul 11, 2004 1:30 pm
I am having the same trouble with gallery. Six, you said
Quote:
You can try this
Code:
if (eregi("http\:\/\/", $name) OR (eregi("cmd",$querystring) AND !eregi("&cmd",$querystring) AND !eregi("cmd=highlight",$querystring)) OR eregi("exec",$querystring) AND !eregi("execu",$querystring) OR eregi("concat",$querystring)) {
Seems to work ok let us know if you find anymore Gallery issues so they can be addressed
Where does this code go?
Also, on a side note, I now have 2 deny from sections in myhtacess file. Will that cause any problems? Thanks, Steve
Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
Posted:
Sun Jul 11, 2004 4:01 pm
Steve,
All of the changes, as in
Only registered users can see links on this board! Get registered or login to the forums!
, are in includes/sentinel.php as that's where the block comes from. Now, for those who are still having problems, make sure that you are only using Senitnel(tm) as if you are using other blockers they may be interferring with the work-around code.
Last edited by Raven on Sun Jul 11, 2004 5:09 pm; edited 1 time in total
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum