Recent Topics

1 Feb 20, 2017 04:04    

Hello,

Have ban many IP in my blog, when user are blocked how I can redirect to an other web site ?

2 Feb 20, 2017 17:13

Hi @hdtv,

There are no default ways to redirect visitors from blocked IP.

Maybe, we can try to include an event that let plugins to capture and perform this action.

I'll open a request for this use case.

Regards!

3 Feb 22, 2017 01:52

@hdtv Can you describe a use case of why one would want to do that?

Thanks.

4 Feb 22, 2017 02:53

Hi,

With your product it's possible ban full ip of one country (next feature has better interface for ban all except one). I have activated this option for block many countries. Now I have few users can't enter and ask me if it's possible are redirected to another web site if countries are banned, or for this user ask directly login and password to see the web site.

5 Feb 26, 2017 15:18

1) If you choose to block a country then it really means it's blocked because you cannot tolerate the amount of spam comming form that country. If we re-enable a way to ask for an account from that country, it re-opens the spam gate.

2) Again, if a user is blocked where would you redirect him. Please describe a real life scenario to explain why it makes sense to do this. Why would blocked users be redirected to a different site? What problem does this solve?

6 Feb 26, 2017 19:36

I blocked the IPs of all countries that do not participate in projects, to prevent robots and not spammers. But the problem is that sometimes we are traveling in one of the blocked countries and therefore impossible to enter the site. I would like to be able to associate with a member's account a fixed IP or a range of IP which will allow the member to connect even if the country is blocked.

In this case a special page, so that the members affected by these restrictions must add their login / password to see the site and if there are abuses the account is suspended after 3-5 failures.

7 Feb 27, 2017 18:04

Ok, if you travel to those countries, it's a completely different use case.

1) It will be very difficult to predict your IP.

2) I think what you need is the ability to log in on an existing account from blocked countries, but still prevent these countries from registering new accounts. Would this work?

8 Feb 27, 2017 18:29

1) I have many users, have Static IP Address.
2) Yes it's correct.

9 Feb 28, 2017 02:28

I looked at this a little more closely. It seems that b2evolution will actually let you log in into existign accounts even when you are in a blocked country but will block you later when you try to do specific actions. Can you confirm? Can you tell on which action it blocks you (just trying to make extra sure we are looking at the correct piece of code before we change it)

10 Mar 03, 2017 17:14

Hi - I'm jumping in here.
I like the idea of something like a "404" page for blocked IPs.
Visitors from there know, that they are on "my domain" and they can read what the "your are blocked ...."- page says. That's it.
On this page you can put some advertisement (if business blog/forum what so ever) and everybody is happy.
Blocked visitors know they are blocked and they can read who says so. :)

11 Mar 03, 2017 17:26

Ok so basically, you mean you want a nicer display of the "blocked" message? (which makes more sense to me than a redirect)

Also, then it would be a "403 - Forbidden" page.

12 Mar 03, 2017 17:31

@fplanque wrote earlier:

Ok so basically, you mean you want a nicer display of the "blocked" message? (which makes more sense to me than a redirect)


Also, then it would be a "403 - Forbidden" page.


Yes - fantastic - that's it!

13 Mar 04, 2017 02:05

Yes to have better page to understand like errors :

http 511 : Network authentication required (have login and password + banners)
http 451 : Unavailable For Legal Reasons (simple page with banners)
http 406 & 418 : lol

With that Google are informed are (banned) from this web site…

In the same time add better firewall to have choice if it's full web site, one blog or send comment. Currently I use htaccess to restrict countries and redirect to another web site if are banned.

14 Mar 04, 2017 21:22

I agree there should be an actual 403 http response on blocked requests instead of a 200. However, is widely used to print just a plain text (as we currently do), in order to avoid unwanted visitors to load extra resources (images, css, js, etc.). Let's think that these may be just automatic and massive requests which may hammer our server out, so keeping our answer as simple as possible would be a good idea.

What I'm thinking is, does make any sense to edit "special" posts from the back-office, assign them to the blocking actions and print them using the skin's 403 template? Just to make possible to display per-collection based messages (different languages may be a use case), even if we use the same skin on those collections.

15 Mar 08, 2017 01:56

@hdtv Please answer my previous questions:

It seems that b2evolution will actually let you log in into existign accounts even when you are in a blocked country but will block you later when you try to do specific actions. Can you confirm? Can you tell on which action it blocks you (just trying to make extra sure we are looking at the correct piece of code before we change it)

Without your answer on this, I fear you expect the blocking to be something that it is not.

Blocked IPs in b2evolution do NOT prevent from seeing the site. They only prevent from performing specific (spammy) operations.

@hdtv wrote earlier:

With that Google are informed are (banned) from this web site…

Google will not try to perform those special/spammy operations, so Google is not an issue.


Form is loading...