I have resolved this issue by adding the following rule to local_rules.xml.
<rule id="100014" level="0">
<description>Ignoring NodeBB (socket.io).</description>
I have configured "allow users to upload any file"
If I upload a pdf file, I get the following error message:
"Invalid file type. Allowed types are: .png, .jpg, .bmp, .jpeg"
Any help is appreciated -
I use NodeBB 1.13.3 on Ubuntu 18.04 where OSSEC is also installed on.
While using NodeBB, after some clicks I get the following message from OSSEC:
"High amount of POST requests in a small period of time (likely bot)."
Then my IP address gets blocked
If I stop ossec, then all works fine.
Any idea how to resolve this - much appreciated !
Freshly installed NodeBB 1.13.3 on Ubuntu 18.04.
All works fine but uploading any file (category, logo, etc) gives the following error in the UI:
In the log the error is as following:
at validateFiles (/home/<user>/nodebb/src/middleware/index.js:107:15)
at Layer.handle [as handle_request] (/home/<user>/nodebb/node_modules/express/lib/router/layer.js:95:5)
at next (/home/<user>/nodebb/node_modules/express/lib/router/route.js:137:13)
at Form.<anonymous> (/home/<user>/nodebb/node_modules/connect-multiparty/index.js:114:7)
at Form.emit (events.js:315:20)
at emitCloseNT (internal/streams/destroy.js:81:10)
at processTicksAndRejections (internal/process/task_queues.js:83:21)