New Firewall Feature issues
-
@savity Thanks for the report. Looks like we have a couple of bugs here:
- Cloudron doesn't handle duplicates nicely.
- For large lists, maybe it's taking a lot of time to add them. So, the request times out. It could also be that the request is large enough that it hits some API limits.
Can you tell me roughly how big the request is? A rough way to measure this is to save the IPs in a file and check the size of the file.
-
@savity said in New Firewall Feature issues:
is there any Limits on IP Addresses or how much you can configure for the first time
There's no limits from Cloudron side intentionally, but there are probably API limits we are hitting. So we have to adjust our code accordingly to allow large request sizes.
-
First i Importet
https://www.ipdeny.com/ipblocks/
RUSSIAN FEDERATION (RU) [download ru.zone] Size: 170 KB (10497 IP blocks)
And after Importing
CHINA (CN) [download cn.zone] Size: 136 KB (8444 IP blocks)
The issues startet
-
I could finally reproduce this after adding 30k blocks.
Box POST /api/v1/network/blocklist 500 Internal Server Error Response timeout 20001.547 ms - 72
ERROR [object Object] [ /home/yellowtent/box/node_modules/express/lib/application.js:630:43 ] -