classify health check as bot page view
-
First, how does NodeBB differentiate between "Page Views Bot" and normal views?
IMO since the healthcheck always requests the same path from the same ip, it should get picked up.
If not, maybe some header check?From 2022 https://github.com/NodeBB/NodeBB/issues/10780
which seems still to be the case https://github.com/search?q=repo%3ANodeBB%2FNodeBB spider-detector&type=codeStill this does not answer me HOW they identify a bot
must be somewhere in there.
-
First, how does NodeBB differentiate between "Page Views Bot" and normal views?
IMO since the healthcheck always requests the same path from the same ip, it should get picked up.
If not, maybe some header check?From 2022 https://github.com/NodeBB/NodeBB/issues/10780
which seems still to be the case https://github.com/search?q=repo%3ANodeBB%2FNodeBB spider-detector&type=codeStill this does not answer me HOW they identify a bot
must be somewhere in there.
@BrutalBirdie I guess this is what they classify as bots then https://github.com/binarykitchen/spider-detector/blob/master/index.js
-
We have a route at
https://forum.cloudron.io/sping
that we use for up time checks, requests to that route do not count as pageviews. -
We have a route at
https://forum.cloudron.io/sping
that we use for up time checks, requests to that route do not count as pageviews.@baris wow! Great to know!
This is not documented anywhere, right?Only present in code and no doc files.
https://github.com/search?q=repo%3ANodeBB%2FNodeBB+sping&type=code
https://docs.nodebb.org/ nothing about sping -
@baris wow! Great to know!
This is not documented anywhere, right?Only present in code and no doc files.
https://github.com/search?q=repo%3ANodeBB%2FNodeBB+sping&type=code
https://docs.nodebb.org/ nothing about sping@BrutalBirdie nice catch, I've added it into our openapi spec, so it will show up at https://docs.nodebb.org/api/read/ after 4.3.0 is released.
https://github.com/NodeBB/NodeBB/commit/8ffbc35923cc8f9a785a8edb80d52991a885ec22
-
@BrutalBirdie nice catch, I've added it into our openapi spec, so it will show up at https://docs.nodebb.org/api/read/ after 4.3.0 is released.
https://github.com/NodeBB/NodeBB/commit/8ffbc35923cc8f9a785a8edb80d52991a885ec22
@baris Ahhhhh so you are https://github.com/barisusakli
That explains a lot.
I was thinking, who is this first time poster and how does he know this
Welcome to the Cloudrom Forum!And since you are who you are
and you are reading this right now
Could you give https://forum.cloudron.io/topic/13687/have-chats-been-turned-of-on-purpose a read? Pretty please -