Support

Admin Tools

#39910 How to exclude DJ Accessibility from WAF?

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.4.0
PHP version
8.2
Admin Tools version
7.4.4

Latest post by toonetcreation on Thursday, 25 January 2024 05:26 CST

toonetcreation

Hi,

I have the attached error due to a specific plugin : Dj Accessibility.

Their develpper told me this :

I think there is a possibility that you will be banned when DJ-Accessibility plugin will trigger ajax request for template too often - this may be a reason of ban.

So I would like to exclude this from WAF, what is your advice to exclude correctly option=com_ajax&plugin=Djaccessibility&format=raw ?

Thanks

L.

toonetcreation

maybe something like this : https://i.imgur.com/dylpa65.png ?

toonetcreation

other info : https://i.imgur.com/8Rz2gex.png

nicholas
Akeeba Staff
Manager

Admin Tools does not block a request based on the rate of requests. Moreover, you see that you are being blocked with the reason "template= in URL". 

Go to Admin Tools,  Web Application Firewall, Configure WAF, Cloaking and set Allow site templates to Yes. Click on the Save button.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

toonetcreation

thanks for your feedback Nicholas.

The option Allow site templates was already set to yes :-/

nicholas
Akeeba Staff
Manager

Ask the developer of the extension if they are mistakenly using a GET or POST variable called template. Why mistakenly? Some URL parameters (no matter if they are used in GET or POST) have a special meaning for Joomla: Itemid, option, view, task, controller, tmpl, template, and tp. These cannot be used by third party developers for any other purpose. They are always caught in core Joomla! code where they do something. The template parameter selects the Joomla! template to render the page with. If the developer of this extension tries to use it for some other purpose he's using an invalid value. The only reason he has not observed a problem is that Joomla! treats invalid values in a lax manner, falling back to the default template. At some point, however, he'll try using a value which coincides with the name of an installed but unused template on the site, which will cause all sorts of impossible to debug issues on his code.

Please note that my comment above doesn't mean the other developer is stupid. All of that is largely undocumented. I won't judge people for not knowing what is not possible for them to find out about unless someone explicitly tells them.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

toonetcreation

thank you Nicholas for this clarification, I check this out and I come back to you.

have a nice evening.

toonetcreation

Jus to give you an update, I have checked this issue with the developer to solve it.

should be ok.

thanks

L.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!