YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Pages: 1 ... 6 7 8 9 10 
Topic Tools
 
Verbose: No such file or directory (Read 10,677 times)
 Reply #105 - Jul 6th, 2013 at 12:09pm
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: Verbose: No such file or directory
Looks good so far - no repeat entries in .htaccess.

I wonder if its like the help files where I had to re-save in order for the files to show up?
 
 
IP Logged  
 Reply #106 - Jul 6th, 2013 at 3:11pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,876
Earth


YaBB 2.5
Re: Verbose: No such file or directory
That's a possibility if you were using your old .htaccess file or old ban_log files on the new install. Guardian wouldn't know what was already there and so just added to it - but those old blocked IPs should still have been blocked.

(Which reminds me - I still have some work to do on Guardian/Ban/Error log integration for 2.5.4  Shocked )
 
WWW  
IP Logged  
 Reply #107 - Jul 6th, 2013 at 4:26pm
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: Verbose: No such file or directory
Dandello wrote on Jul 6th, 2013 at 3:11pm:
That's a possibility if you were using your old .htaccess file or old ban_log files on the new install.

That's exactly what I did when the old forum crashed. I was trying to get it back up as quickly as possible.

Dandello wrote on Jul 6th, 2013 at 3:11pm:
Which reminds me - I still have some work to do on Guardian/Ban/Error log integration for 2.5.4

I wish I could help but I'm not that great at coding.

I noticed a few things that I'm curious about.

I see IPs listed in the Ban Members page and the Guardian page. Do both read/write to the same file?

From what it looks like the Ban_Members writes to Settings.pl and the Guardian writes to .htaccess. Why the duplication?

Also, there isn't a way to access the Variables/ban_log.txt from the admin center (to be honest I'm not really sure of its value since its not there). It might be nice to have it in there to edit or clear if that does disrupt something I'm not aware of. (it looks like Ban_Members and Errors page might read this file)
 
 
IP Logged  
 Reply #108 - Jul 6th, 2013 at 7:38pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,876
Earth


YaBB 2.5
Re: Verbose: No such file or directory
BanMembers and Guardian have slightly different functions (well, more than slightly, actually). Guardian (when activated) will write to the .htaccess file and its own log in Settings.pl and generally catches IP addresses where bad things came from (like bogus stuff in query strings). BanMembers writes to one of 3 different lists in Settings.pl, depending on how that member was banned by the admin (user name, email address or IP.). Guardian is pretty much automatic (although the admin can add and remove things from Guardian's lists). BanMember isn't automatic at all. Guardian keeps the offending IPs from accessing the site on the server level. BanMember keeps the offending member/IP from being anything but a Guest, but they still can be a Guest.

The integration I need to go over is for 2.5.4 where we're giving the admin the ability to ban IPs and add them the Guardian list from the error log page. The admin will also be able to see the ban_log from that page and add offending IP addresses to Guardian from there as well. But we don't want the admin to inadvertently add the same IP to the Guardian list multiple times.
« Last Edit: Jul 6th, 2013 at 7:40pm by Dandello »  
WWW  
IP Logged  
 Reply #109 - Jul 6th, 2013 at 9:43pm
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: Verbose: No such file or directory
Dandello wrote on Jul 6th, 2013 at 7:38pm:
The integration I need to go over is for 2.5.4 where we're giving the admin the ability to ban IPs and add them the Guardian list from the error log page. The admin will also be able to see the ban_log from that page and add offending IP addresses to Guardian from there as well. But we don't want the admin to inadvertently add the same IP to the Guardian list multiple times.

Excellent!

Dandello wrote on Jul 6th, 2013 at 7:38pm:
BanMember isn't automatic at all.

I noticed IPs are automatically being added in BanMembers. I'm guess its coming from the Email and Username banning.
 
 
IP Logged  
 Reply #110 - Jul 7th, 2013 at 12:12am
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: Verbose: No such file or directory
9.227.168.pre

would it cause a problem if  I added "." as an invalid character?
 
 
IP Logged  
 Reply #111 - Jul 7th, 2013 at 12:58am
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Online
Posts: 1,555
UK:Scotland/livingston


YaBB 2.5
Re: Verbose: No such file or directory
RonS2 wrote on Jul 7th, 2013 at 12:12am:
9.227.168.pre

would it cause a problem if  I added "." as an invalid character?

I think it may as it is used as a ip divider but Dandello will know more about it.
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #112 - Jul 7th, 2013 at 1:03am
There are no actions to perform.  

Bill Myers 
God Member
Beta Testers
*****
Offline
Posts: 1,482
Los Angeles


YaBB 2.4
Re: Verbose: No such file or directory
RonS2 wrote on Jul 7th, 2013 at 12:12am:
9.227.168.pre

Dandello solved the spam-bot registration attempts with just numbers here, and I can happily confirm that it works.

 
Morning, noon, or night, have a great one! ...
WWW BillHMyers  
IP Logged  
 Reply #113 - Jul 7th, 2013 at 5:17am
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,876
Earth


YaBB 2.5
Re: Verbose: No such file or directory
I don't think adding a period as an invalid character in a user name would hurt at all.
 
WWW  
IP Logged  
 Reply #114 - Jul 7th, 2013 at 11:34pm
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: Verbose: No such file or directory
Thanks Dandello.

Since I require members use only their full name on my forum it makes sense to only allow only upper and lower case letters while registering. I'm also thinking this might be another way to thwart spammers.

I tired to edit the code today and was only successful in crashing my test forum.

I beleive I need to change section
Code (Perl)Select All
	&fatal_error("invalid_character","$register_txt{'35'} $register_txt{'241re'}") if $member{'regusername'} =~ /[^\w\+\-\.\@]/;
    if ( $member{'regusername'} =~ /^[0-9]+$/sm ) {
        fatal_error( 'all_numbers',
            "$register_txt{'35'} $register_txt{'241n'}" );
    }
 



Do I just add
Code (Perl)Select All
\#\$\%\^\&\* 



and so on after the highlighted code in the first box?
 
 
IP Logged  
 Reply #115 - Jul 8th, 2013 at 12:41am
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,876
Earth


YaBB 2.5
Re: Verbose: No such file or directory
To get really restrictive (and to do what you're thinking) replace the
Code Select All
/[^\w\+\-\.\@]/ 

with
Code Select All
m/[^a-zA-Z0-9_\ ]/sm 


That should allow only letters, numbers, underscores and spaces to be used in user name.

Edited:
Typos - some days my brain just doesn't wake up when the rest of me does. To just remove the period from allowed characters replace the first code with
Code Select All
/[^\w\+\-\@]/ 

« Last Edit: Jul 8th, 2013 at 3:30pm by Dandello »  
WWW  
IP Logged  
 Reply #116 - Jul 8th, 2013 at 3:30pm
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: Verbose: No such file or directory
Thanks again

I changed it so only text and the underscore is allowed

Code Select All
m/[^a-zA-Z_]/gsm  

 
 
IP Logged  
 Reply #117 - Jul 8th, 2013 at 3:39pm
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: Verbose: No such file or directory
Dandello wrote on Jul 8th, 2013 at 12:41am:
Typos - some days my brain just doesn't wake up when the rest of me does. To just remove the period from allowed characters replace the first code with


LOL I have days like that to.

Will my change work?  If so and I get a .pre error with numbers I know the problem is my server

Edited:
Picked off better then a dozen spammers so far trying to use characters other then letters Smiley
« Last Edit: Jul 8th, 2013 at 7:41pm by RonS2 »  
 
IP Logged  
 Reply #118 - Jul 8th, 2013 at 7:48pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Online
Posts: 1,555
UK:Scotland/livingston


YaBB 2.5
Re: Verbose: No such file or directory
RonS2 wrote on Jul 8th, 2013 at 3:39pm:
Edited: Picked off better then a dozen spammers so far trying to use characters other then letters

That's what we like to see a happy admin  Smiley  Smiley
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #119 - Jul 8th, 2013 at 10:26pm
There are no actions to perform.  

Bill Myers 
God Member
Beta Testers
*****
Offline
Posts: 1,482
Los Angeles


YaBB 2.4
Re: Verbose: No such file or directory
xnoddyx wrote on Jul 8th, 2013 at 7:48pm:
That's what we like to see a happy admin  Smiley  Smiley

You and Dandello are amazing! It's reassuring that both of you know YaBB so well.  Cool

Dandello figured this out right from the start ... back on June 9th.
Snap!
Smiley

 
Morning, noon, or night, have a great one! ...
WWW BillHMyers  
IP Logged  
Pages: 1 ... 6 7 8 9 10 
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.