Skip to content
  • Categories
  • Recent
  • Popular
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB-ActivityPub Bridge Test Instance

  1. Home
  2. Categories
  3. General Discussion
  4. AP Test (community.nodebb.org)
  5. User Agent Used for Federation?

User Agent Used for Federation?

Scheduled Pinned Locked Moved AP Test (community.nodebb.org)
5 Posts 3 Posters 43 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • tankerkiller125@community.nodebb.orgT This user is from outside of this forum
    tankerkiller125@community.nodebb.orgT This user is from outside of this forum
    tankerkiller125@community.nodebb.org
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • andrew@pythag.netA This user is from outside of this forum
      andrew@pythag.netA This user is from outside of this forum
      andrew@pythag.net
      wrote on last edited by
      #2

      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.orgJ 1 Reply Last reply
      0
      • andrew@pythag.netA andrew@pythag.net

        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.orgJ This user is from outside of this forum
        julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.org
        wrote on last edited by
        #3

        @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

        1 Reply Last reply
        0
        • tankerkiller125@community.nodebb.orgT This user is from outside of this forum
          tankerkiller125@community.nodebb.orgT This user is from outside of this forum
          tankerkiller125@community.nodebb.org
          wrote on last edited by
          #4

          @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.

          1 Reply Last reply
          0
          • julian@community.nodebb.orgJ This user is from outside of this forum
            julian@community.nodebb.orgJ This user is from outside of this forum
            julian@community.nodebb.org
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Popular