Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.4.6.beta : issue with ipBlocker #794

Closed
vincent3569 opened this issue Apr 17, 2014 · 6 comments
Closed

1.4.6.beta : issue with ipBlocker #794

vincent3569 opened this issue Apr 17, 2014 · 6 comments
Milestone

Comments

@vincent3569
Copy link
Contributor

hi

If I enable ipBlocker in admin>plugins, I have a blank page when I apply.
If ipBlocker is disabled, and I try to access to plugin options with the relevant button in admin>plugins, I have these warnings in admin>options>plugin:

screenshot002

btw: I don't change any option since last install.

@sbillard
Copy link
Contributor

I cannot reproduce this, neither in English nor French.

But there must be another error somewhere. That is the only thing that causes these "cannot modify headers" warnings.

The error is happening because the plugin thinks it should be blocking the IP address. That should not be happening when the plugin is disabled, so I will fix that condition.

I would guess that the blank screen when you enable the plugin is caused by it blocking your IP address. To understand that we need to know what all the options are and what your IP address is.

sbillard added a commit that referenced this issue Apr 17, 2014
@acrylian acrylian added this to the 1.4.6 milestone Apr 17, 2014
@vincent3569
Copy link
Contributor Author

I can't reproduce the issue at home (I guess taht I have an 'allowed' IP).
I will have another try tomorrow moring at job.

in my database, I found thses options:
with a filter %Blocker% on creator, and a filter %Blocker% on option name:

capture

capture2

current options of the plugin are empy, but it seems there are older options with IP values. I hope they are not used by the plugin.
if these optiions are deprecated, it should be some cleanup during setup process (#768)

@sbillard
Copy link
Contributor

failed_access_blocker_forbidden is obsolete. But as you can see from the record, there was not indication of where it was created, so no real means for deleting it without human intelligence. (See #768.) Same is probably true for ipBlocker but I do not know when that was ever an option.

The others are current options. Note, though, that not all are user options, For instance, the forbidden list is used internally to manage timeouts for excessive hack attempts. But if you IP is found in that list it will be blocked (presuming the plugin is enabled.) But the block should be removed when the timeout expires.

@sbillard
Copy link
Contributor

Any uipdate?

@vincent3569
Copy link
Contributor Author

since the last commit, I can't reproduce the issue.

@sbillard
Copy link
Contributor

Ok, guess that the fix got all issues. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants