this post was submitted on 21 Jan 2025
0 points (NaN% liked)

ActivityPub

0 readers
14 users here now

Focused discussion related to ActivityPub integration in NodeBB

founded 2 days ago
 

Looking through my logs it seems that NodeBB doesn't have any defined User Agent for it's ActivityPub requests.

Mastodon has Mastodon/<version> (athing; +https://<websitehere>) Friendica has Friendica/<version> +https://<website>

And many more other federated software have similar things. But when looking through my web request logs I'm not seeing any specific User Agent for NodeBB forums. The only one in fact that I've found which might be NodeBB is node-fetch.

I'm asking simply because I have a tool that monitors specifically for ActivityPub requests from various clients. And I'd like to be able to track NodeBB ActivityPub requests as well, but I'm not seeing how at the moment.

you are viewing a single comment's thread
view the rest of the comments
[–] andrew@pythag.net 1 points 2 days ago (3 children)

I can see 'NodeBB/4.x' in my NGINX log, when this forum Announced this post, and when it's retrieved my user details.

It's just that though, not the +website that everything else seems to have.

[–] julian@community.nodebb.org 0 points 2 days ago (1 children)

@andrew@pythag.net thanks for pointing this out, let me get the user agent updated to report the hostname.

NodeBB right now only reports 4.x though. Exposing the full version could aid targeting for malicious users in the event of a security vulnerability.

cc @tankerkiller125

[–] tankerkiller125@community.nodebb.org 1 points 20 hours ago (1 children)

@julian I completely understand not putting the full version in the user agent, I think a lost of the other Mastodon clients do something similair.

@andrew@pythag.net Thanks for the info! I did end up finding it with that user agent. Apparently my events log was just WAY behind what I thought it should be.

[–] julian@community.nodebb.org 1 points 20 hours ago

@tankerkiller125 @andrew@pythag.net NodeBB will report the hostname in the next version.

load more comments (1 replies)