Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
IP address banning?
I am a moderator for a forum which just installed Vanilla, so we are all learning our way around. We understand how to ban usernames, but the Admins seem to not be able to find a way to ban someone using the IP address.
It is very important we find a way to do this because we are a website designed for teenage girls and often have a pedophile or two find the site. We would be greatful if someone could point out if (and how) to ban using IP addresses, so these offenders cannot simply sign up for another account.
Thanks!
0
This discussion has been closed.
Comments
maybe a feature like this would be useful: when a user applies for membership, along with the application form, the admin would receive notification if this application is coming from an IP that has been used by a banned account in the past.
also on a site such as yours a "report this comment to a moderator" function might help.
We understand that and have that happened before. However, we have one particular person coming back over and over again and it's getting quite irritating. They are not using a popular/well known ISP, so if it ends up blocking a couple people, we would rather have that happen, then have a possible pedophile roaming on the message board.
Order allow,deny Deny from 111.222.333.444 <-- replace this with whatever Allow from all
if you don't have a .htaccess file there, just create a plain text file, paste that in, and upload it. sooner or later someone will make a vanilla extension.
I put this into my .htaccess file as mentioned above but they still get in.
Is there a secret?
I really want to allow guests to post but this bot is really persistent and the links posted are very unsavoury.
Posted: Wednesday, 14 March 2007 at 1:53PM (AEDT)
1. Create a new admin screen to manage banned IPs.
2. Also add a link on each of the comments to "ban this IP".
3. Have your extension check the banned list and then attach to the delegates when adding a comment or starting a discussion to throw the error.
You could also have your error message explain that the IP has been banned and have them contact an administrator to unban their account despite the IP blockage. Then add a link to the account page that says something like "Allow Access Despite IP Banning" - and make your IP check also check the UserID to let those users pass through.
The problem is that the Guest Posting extension uses a guest account which needs to be set up.
The password is hidden from the visiting poster, in fact the whole thing is transparent to the visitor.
So I can't ban the guest account as that would ban all visitors from posting.
I thought the .htaccess method would work, I'll investigate further.
Posted: Wednesday, 14 March 2007 at 2:11PM (AEDT)
But if you are using one for friendly urls, then that is not the case.
I used it and this got written to the .htaccess file...
<Limit GET> order deny,allow </Limit> Allow From all Deny From 60.230.139.189
Posted: Wednesday, 14 March 2007 at 2:25PM (AEDT)
Why the order line is alone inside the limit element and why just limit it to the get request, or why just change the order for the get request?
And as it is, you first deny the guy them allow everybody (so you allow the guy again). The order should be the opposite: you allow everybody then deny some ip.
Deny From 60.230.139.189
Posted: Wednesday, 14 March 2007 at 3:13PM (AEDT)
Now trying...
<Limit GET> order allow,deny allow from all deny from 60.230.139.189 </Limit>
Posted: Wednesday, 14 March 2007 at 5:47PM (AEDT)
That might be the answer you are looking for.