Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic Added ErrorLog Security (Read 3713 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Added ErrorLog Security
Oct 8th, 2014 at 8:06pm
Mark & QuoteQuote  
ErrorLog Security YaBB 261

This mod adds extra anti-spam features to the errorlog Admin section - auto-ban IPs with repeated errors in .htaccess

Version History
---------------
0.1 - First release - Oct 08, 2014

For YaBB 2.6.1

Instructions:

Apply the mod and upload (in ASCII mode):

cgi-bin/yabb2/Admin/Modlist.pm
cgi-bin/yabb2/Admin/NewSettings.pm
cgi-bin/yabb2/Admin/Settings_Antispam.pm
cgi-bin/yabb2/Languages/English/Admin.lng
cgi-bin/yabb2/Sources/Subs.pm

This one works pretty well at banning IPs that are repeating the same error over and over and filling up the errorlog. It doesn't stop all of the stupids and may unintentionally block humans who can't read instructions and think the Captcha will miraculously be correct the 4th time they hit the submit button.

Edited:
Minor edits in 2611 zip.
« Last Edit: Dec 15th, 2014 at 10:44pm by Dandello »  

errorlog_security_261.zip ( 1 KB | 175 Downloads )
errorlog_security_2611.zip ( 1 KB | 196 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Added ErrorLog Security
Reply #1 - Nov 15th, 2014 at 5:48pm
Mark & QuoteQuote  
Code
Select All
<edit file>
 Languages/German/Admin.lng
 </edit file>

 <search for>
 1;
 </search for>

 <add before>
 $admin_txt{'error_spd'} = q~ErrorLog-Geschwindigkeit-Verbot. Minimale Anzahl der Sekunden zwischen mehreren Fehlerprotokolleinträge aus der gleichen IP-Adresse. <br /><span class="small">Zuwiderhandlungen werden durch .htaccess verboten, wenn erlaubt. Auf "0" gesetzt, um abzuschalten</span>~;

 </add before> 






Code
Select All
<edit file>
 Languages/German_Du/Admin.lng
 </edit file>

 <search for>
 1;
 </search for>

 <add before>
 $admin_txt{'error_spd'} = q~ErrorLog-Geschwindigkeit-Verbot. Minimale Anzahl der Sekunden zwischen mehreren Fehlerprotokolleinträge aus der gleichen IP-Adresse. <br /><span class="small">Zuwiderhandlungen werden durch .htaccess verboten, wenn erlaubt. Auf "0" gesetzt, um abzuschalten</span>~;

 </add before> 


  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Added ErrorLog Security
Reply #2 - Jan 6th, 2015 at 6:53am
Mark & QuoteQuote  
Installed this to test the installation, and all went smoothly.

Promptly removed it, because I already manage to get banned from my own host at least once a year because of things going wrong, and I don't want anything on my system the increases the chances of it happening more frequently.

As far as I can safely test, this is good.  Wink
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Added ErrorLog Security
Reply #3 - Feb 6th, 2015 at 7:45pm
Mark & QuoteQuote  
After having gotten myself banned by .htaccess HERE for running Xenu  Embarrassed, (it can fill up an errorlog really fast) an IP whitelist is in order for this Mod.  :Smiley

Edited:
Also an IP whitelist for Guardian - maybe a check against the Admin's last IP?
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Added ErrorLog Security
Reply #4 - Feb 9th, 2015 at 6:58pm
Mark & QuoteQuote  
I assume a white list is something that tells it to *not* do the action if the person is on the list?

I heartily approve of the idea for something that does that for the main admin account. I have gotten myself banned several times while working at settings up forums with some mod that has some error, while trying to install it. (Thankfully not in the last couple of months, however.
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Added ErrorLog Security
Reply #5 - Feb 9th, 2015 at 8:18pm
Mark & QuoteQuote  
Yeah - this one will no doubt be much more complicated than it looks on the outside.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Added ErrorLog Security
Reply #6 - Mar 5th, 2015 at 1:07am
Mark & QuoteQuote  
Haven't added the whitelist - However the 2611 zip works with YabMod
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Added ErrorLog Security
Reply #7 - Oct 29th, 2015 at 1:52pm
Mark & QuoteQuote  
For Dutch/Nederlands:

In Admin.lng find
Code
Select All
1; 



Add before
Code
Select All
$admin_txt{'error_spd'} = q~ErrorLog snelheid verbanning. Minimum aantal seconden tussen meerdere foute logboekvermeldingen van hetzelfde IP-adres. <br /><span class="small">Overtreders worden verbannen door middel van .htaccess wanneer toegestaan. Zet op '0' om uit te schakelen</span>~;
  



Many thanks to Pieszyce for doing the Dutch/Nederlands translation.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Added ErrorLog Security
Reply #8 - Feb 18th, 2016 at 4:56pm
Mark & QuoteQuote  
Included in 2.7.00
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Added ErrorLog Security

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry