Support

Admin Tools

#40808 Invalid field: Permanently disallow IP after this many automatic blocks

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.5
PHP version
8.1.28
Admin Tools version
7.5.3

Latest post by nicholas on Tuesday, 11 June 2024 01:58 CDT

bepos

Hi,

I'm trying to temporarily disable WAF. But when i try to save the settings the message "Invalid field: Permanently disallow IP after this many automatic blocks" appears

What can be the cause of this?

Regards,

Mark

bepos

FYI: the search field in your support tool doesn't appear. Or at least i can not find it. Only the search button is visible.

nicholas
Akeeba Staff
Manager

The search "button" is just a link to DuckDuckGo to search our site (https://duckduckgo.com/?q=site%3Aakeeba.com). The link opens in a new tab (target="_blank"). I assume you have a browser extension or configuration which prevents the new tab from showing up. Check your browser's location bar; there should be an icon allowing you to open the "pop-up window" that was blocked.

As for the message, it tells you to find the option named "Permanently disallow IP after this many automatic blocks" and check its value. Go to Components, Admin Tools for Joomla, Web Application Firewall, Configure WAF, Auto-ban tab. Set "Add persistent offenders to the IP Disallow List" to Yes. You will now see the "Permanently disallow IP after this many automatic blocks". Enter a value greater than zero in there (3 will do). Set "Add persistent offenders to the IP Disallow List" back to No. Click on Save & Close.

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!

bepos

Hi Nicholas,

i will check my browser.

Β 

I have tried the steps you suggested to get rid of the message, but it doesnt work.Β 

Any other suggestions?

Β 

Kind regards,

Mark

nicholas
Akeeba Staff
Manager

If you get exactly the same error then you did not follow the steps correctly. If the error message (which comes from Joomla's own form validation code) mentions a different field than "Permanently disallow IP after this many automatic blocks" you can either look for that field yourself, or ask me where to find it.

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!

bepos

Hi Nicholas,

hereby the steps i did:

AdminTools for Joomla! > Control Panel
WAF
Configure WAF
Auto-ban
IP blocking of repeat offenders : enable
Block IP after this many blocked requests : set to 3
Add persistent offenders to the IP Disallow List : set to No
IP blocking of repeat offenders : disable
Save

As you can see the option-text aren't exaclty as what you describe, but i can not find those. And these opions seem to be the same.

The problem sill exists.

So if you want to take a look i can give you a login.

Regards,

Mark

nicholas
Akeeba Staff
Manager

I copied you the labels of the options from the Admin Tools interface. In other words, I was following the process on my dev site as I was going along. That said, I see that you are NOT changing the option I told you. You are changing a completely different option, which explains why you are not having success.

I am going to give step-by-step, detailed instructions:

  1. Log into your site's backend (administrator). Make sure your chose language is "English (Great Britain)" to be able to follow my instructions.
  2. On the left hand side menu, find the menu item titled "Components" and click on it.
  3. Find the item called "Admin Tools for Joomla!" and click on it.
  4. On this new page, look in the main content are of the page. There is a button labelled "Web Application Firewall". Click on it.
  5. A new page load, with different buttons. Find the button labelled "Configure WAF" and click on it.
  6. On the new page that loads, there are a number of tabs at the top. Find the tab labelled "Auto-ban". It is the 7th tab from the start, 3rd tab from the end.
  7. Inside this area there are several options. Towards the bottom of page, there is an option labelled "Add persistent offenders to the IP Disallow List". It is either the 3rd or 4th option counting from the bottom. Please find it, and note down its current setting. You will need it in step 10.
  8. If the "Add persistent offenders to the IP Disallow List" option is currently set to No (the toggle control's background is grey), click on the toggle control to set it to Yes (the toggle control's background is green). If it is already set to Yes (the toggle control's background is green) do not touch it.
  9. An option labelled "Permanently disallow IP after this many automatic blocks" is now below the "Add persistent offenders to the IP Disallow List". This is the 3rd option from the bottom of the page. On the right hand side of the "Permanently disallow IP after this many automatic blocks" label there is a number entry control. Change its content to the number three: 3
  10. If the setting you noted down on step 7 was No (the toggle control's background was grey) find again the "Add persistent offenders to the IP Disallow List" option. It is the 4th option from the bottom of the page. Click on its toggle control so it goes into the No position (the toggle control's background becomes gray again).
  11. Look at the toolbar towards the top of the page. There is a Save button. Click the dropdown control next to it to open the drop-down. Find the option titled Save & Close in the drop-down menu and click on it.

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!

bepos

Okay. I need a vacation i guess....

I totally missed the option. How could i mis it.Β 

I changed the option and now the message is gone.

Β 

Thanks for your patience!

Β 

Kind regards,

Mark

Β 

nicholas
Akeeba Staff
Manager

No worries! I'm glad we got that fixed :)

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!

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!