Cloudron 7.1.2 Firewall not IPv6 ready?
I tried to add IPv6 ACL to the Firewall but received this error message:
<html> <head><title>413 Request Entity Too Large</title></head> <body> <center><h1>413 Request Entity Too Large</h1></center> <hr><center>nginx</center> </body> </html>
@imc67 It should be. Do you see this even if you add say one IPv6 address? How big is your IPv6 list?
(I am testing in the meantime).
There is a 1MB limit of all REST query sizes. You are probably hitting that?
OK, I can reproduce this but I had to add a massive amount of addresses to hit the 1MB limit (like almost 30k ranges).
@imc67 Can you tell me the size of your block list? You can save it to a file and check the rough size.
@girish thanks for your quick response.
The current list with IPv4 was exactly 1MB, I wanted to add some IPv6 altogether 1.1MB and got the error.
@imc67 Ah ok, I will bump it to 2MB then.
@girish is it something I can do right now?
@imc67 essentially the patch for this is https://git.cloudron.io/cloudron/box/-/commit/eb0662b2455e0687ab3ce5dd02d2466e16670092 so two files need to be adjusted. The
.ejsfile is a template which will result in
/etc/nginx/applications/my.<domain.com>.confso besides the editing the .ejs file additionally edit that file and then
systemctl restart nginxand
systemctl restart box.