Hi
Just playing with openupload as it looks like a real answer to a problem we have had for a while.
I have it up and running on a trial server and while I need to look at the some of the options like captcha because I don't gave GD installed, I am very impressed with the ease of use and fuunctionality
My problem is with the banned addresses plugin.
>From my testing the deny/allow list held in banned.txt seems to work on the order the entries exist rather than the priority given
For example the standard file shows
id|ip|access|priority
1|127.0.0.1|allow|1
2|0.0.0.0/0|allow|999
Adding another entry using the Gui changes it to
id|ip|access|priority
1|127.0.0.1|allow|1
2|0.0.0.0/0|allow|999
3|10.60.10.244|deny|5
The final entry is my own internal IP and I am not blocked. It appears that the entry at 2 overrides the antry at 3 despite the priorities.
I tested by manually editing the banned.txt file to put the rules in what looks like the correct order
id|ip|access|priority
1|127.0.0.1|allow|1
2|10.60.10.244|deny|5
3|0.0.0.0/0|allow|999
In this format everything works as expected and my address is banned but everything else is allowed.
Is this a known bug? Have I got a config error?
Thanks
Steve
_______________________________________________________________________________________________________________
Leicestershire County Council - Council of the Year 2009
_______________________________________________________________________________________________________________
This e-mail and any files transmitted with it are confidential. If you are not the intended recipient, any reading, printing, storage, disclosure, copying or any other action taken in respect of this e-mail is prohibited and may be unlawful. If you are not the intended recipient, please notify the sender immediately by using the reply function and then permanently delete what you have received.
Incoming and outgoing e-mail messages are routinely monitored for compliance with Leicestershire County Council's policy on the use of electronic communications. The contents of e-mails may have to be disclosed to a request under the Data Protection Act 1998 and the Freedom of Information Act 2000.
The views expressed by the author may not necessarily reflect the views or policies of the Leicestershire County Council.
Attachments to e-mail messages may contain viruses that may damage your system. Whilst Leicestershire County Council has taken every reasonable precaution to minimise this risk, we cannot accept any liability for any damage which you sustain as a result of these factors. You are advised to carry out your own virus checks before opening any attachment.
|