Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Added ErrorLog Security Reply #1 - Nov 15th, 2014 at 5:48pm Mark & QuoteQuote Code <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 <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)} IP Logged
Batchman Full Member Offline I Love YaBB! Posts: 165 Location: Somewhere just East of Crazy Joined: Jul 25th, 2014 Gender: Mood: Depressed Zodiac sign: 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. If you don't know where you are, but you don't care, you're not lost ... you're exploring! IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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 , (it can fill up an errorlog really fast) an IP whitelist is in order for this Mod. : Edited: Also an IP whitelist for Guardian - maybe a check against the Admin's last IP? Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Batchman Full Member Offline I Love YaBB! Posts: 165 Location: Somewhere just East of Crazy Joined: Jul 25th, 2014 Gender: Mood: Depressed Zodiac sign: 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! IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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. WWW IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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. WWW IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Added ErrorLog Security Reply #7 - Oct 29th, 2015 at 1:52pm Mark & QuoteQuote For Dutch/Nederlands: In Admin.lng find Code 1; Add before Code $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. WWW IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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. WWW IP Logged