Salta al contenuto

Piero Bosio Social Web Site Personale

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Defederating servers / Blocking users from Fediverse

Fediverso
7 3 16
  • Hello. :wave:

    I have been trying to filter out some of the foreign language posts that come from the Fediverse.
    I have been using the "Filtering" to defederate instances. (In most cases, these are single-user instance bot accounts.)
    Even if I add in an instance to the list, and separate it with a line break, posts from that instance will still appear.
    Is it because I am using a relay?

    Example: I have fairy.id listed as a server in the Filtering box.
    ec469a76-d433-4a99-97e1-aeb87fb0fd52-image.png
    But their posts still appear.
    (I added the server to the Filtering box yesterday. Restarted NodeBB in that time)
    03f5ac22-67df-4df3-9ae1-46a600f9edd6-image.png

    Additionally, how do I block/perma mute a Fediverse account for the entire website without blocking the entire instance?
    Seems like 'Delete Account' is the way, but perhaps I am missing something obvious, and I am just blind, lol.

  • Hello. :wave:

    I have been trying to filter out some of the foreign language posts that come from the Fediverse.
    I have been using the "Filtering" to defederate instances. (In most cases, these are single-user instance bot accounts.)
    Even if I add in an instance to the list, and separate it with a line break, posts from that instance will still appear.
    Is it because I am using a relay?

    Example: I have fairy.id listed as a server in the Filtering box.
    ec469a76-d433-4a99-97e1-aeb87fb0fd52-image.png
    But their posts still appear.
    (I added the server to the Filtering box yesterday. Restarted NodeBB in that time)
    03f5ac22-67df-4df3-9ae1-46a600f9edd6-image.png

    Additionally, how do I block/perma mute a Fediverse account for the entire website without blocking the entire instance?
    Seems like 'Delete Account' is the way, but perhaps I am missing something obvious, and I am just blind, lol.

    That's a really good question! It might be that posts are still leaking through due to some other reason (maybe relays, maybe something else).

    I'll have to audit the instance deny-list code and double check.

    As for blocking individual users, there is no way to do this instance-wide yet. However that is a good idea, I will look into implementing this.

  • FWIW deleting an account won't block the user from coming back. If you navigate back to their profile (via direct link or clicked link, or if they're mentioned, etc.) NodeBB will just pull their account info in again.

  • Crakila Can you please try again with the latest develop commit? I updated the blocking logic to handle both activity retrieval and sending. Prior to this, it was only checking the domain on incoming activities.

    I don't know whether this would explain why the posts from fairy.id still show up for you, but it's worth a shot.

  • julian I switched over to the latest develop commit last night and left it to see if that post from fairy.id would reappear.
    Now, posts are not coming into recent?cid=-1, except for profiles that I am following and any boosted posts from those followed profiles.

    I have hit 'Rebuild & Restart' and even done ./nodebb stop and ./nodebb start

  • Crakila odd, nothing from relays anymore? I didn't touch that code :thinking_face:

    That's the only other way content would come in besides follow relationships...

  • julian After playing around with the different branches over the last day or so, It seems that new posts are not coming in from relays.
    'Remote Categories' and followed profiles are working fine.

    I reverted to the main v4.5.1 release and after an hour or so, posts started to come in, but not as many.
    So before I went to bed, I switched it back to the develop branch. As of this morning, there are no new posts from relays.

    I was able to get some logs.
    I have seen the 'Unable to acquire lock, skipping processing of ' before and ignored it since it posts were coming in.

    2025-09-21T06:25:08.856Z [4567/6524] - warn: [activitypub/notes.assert] Could not assert  (Cannot read properties of undefined (reading 'startsWith')).
    2025-09-21T06:28:52.515Z [4567/6524] - warn: [activitypub/notes.assert] Could not assert 	(Cannot read properties of undefined (reading 'startsWith')).
    2025-09-21T06:30:08.120Z [4567/6524] - warn: [activitypub/notes.assert] Could not assert 	(Cannot read properties of undefined (reading 'startsWith')).
    2025-09-21T06:31:41.071Z [4567/6524] - warn: [activitypub/notes.assert] Could not assert 	(Cannot read properties of undefined (reading 'startsWith')).
    2025-09-21T06:33:25.827Z [4567/6524] - warn: [activitypub/notes.assert] Could not assert 	(Cannot read properties of undefined (reading 'startsWith')).
    2025-09-21T06:34:48.177Z [4567/6524] - warn: [activitypub/notes.assert] Could not assert 	(Cannot read properties of undefined (reading 'startsWith')).
    2025-09-21T06:37:08.556Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 
    2025-09-21T07:24:43.908Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 
    2025-09-21T07:39:49.680Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 
    2025-09-21T08:41:10.163Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 
    2025-09-21T09:05:09.607Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 
    2025-09-21T09:12:26.511Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 
    2025-09-21T09:57:06.940Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 
    2025-09-21T10:12:10.390Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 
    

Gli ultimi otto messaggi ricevuti dalla Federazione
  • per saperne di più

  • julian After playing around with the different branches over the last day or so, It seems that new posts are not coming in from relays.
    'Remote Categories' and followed profiles are working fine.

    I reverted to the main v4.5.1 release and after an hour or so, posts started to come in, but not as many.
    So before I went to bed, I switched it back to the develop branch. As of this morning, there are no new posts from relays.

    I was able to get some logs.
    I have seen the 'Unable to acquire lock, skipping processing of ' before and ignored it since it posts were coming in.

    2025-09-21T06:25:08.856Z [4567/6524] - warn: [activitypub/notes.assert] Could not assert (Cannot read properties of undefined (reading 'startsWith')). 2025-09-21T06:28:52.515Z [4567/6524] - warn: [activitypub/notes.assert] Could not assert (Cannot read properties of undefined (reading 'startsWith')). 2025-09-21T06:30:08.120Z [4567/6524] - warn: [activitypub/notes.assert] Could not assert (Cannot read properties of undefined (reading 'startsWith')). 2025-09-21T06:31:41.071Z [4567/6524] - warn: [activitypub/notes.assert] Could not assert (Cannot read properties of undefined (reading 'startsWith')). 2025-09-21T06:33:25.827Z [4567/6524] - warn: [activitypub/notes.assert] Could not assert (Cannot read properties of undefined (reading 'startsWith')). 2025-09-21T06:34:48.177Z [4567/6524] - warn: [activitypub/notes.assert] Could not assert (Cannot read properties of undefined (reading 'startsWith')). 2025-09-21T06:37:08.556Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 2025-09-21T07:24:43.908Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 2025-09-21T07:39:49.680Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 2025-09-21T08:41:10.163Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 2025-09-21T09:05:09.607Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 2025-09-21T09:12:26.511Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 2025-09-21T09:57:06.940Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of 2025-09-21T10:12:10.390Z [4567/6524] - warn: [activitypub/notes.assert] Unable to acquire lock, skipping processing of
    per saperne di più

  • @pfefferle verflixt 😅 gefunden. Vielen Dank 🙏

    per saperne di più

  • @pfefferle das habe ich schon versucht und gesucht und gesucht – nix passendes dazu gefunden. Aber wenn das dort sein soll … suche ich mal weiter.

    per saperne di più

  • @tekshrek @Mastodon du kannst dein Profil so konfigurieren dass alte eintrage gelöscht werden. Einfach mal in den Einstellungen nachschauen!

    per saperne di più

  • Hat jetzt ein geheimes „Selbstreinigungsprogramm“ eingebaut?
    Meine älteren Posts auf mastodon.social sind alle weg.
    Keine Ahnung, ob das Feature heißt: "Autolöschung deluxe", "Cache-Alzheimer" oder einfach nur „Pech gehabt“.

    Weiß da jemand mehr darüber oder ist @Mastodon selbst am besten gefragt?
    Oder soll ich schon anfangen, Screenshots zu archivieren wie in den 90ern?

    per saperne di più

  • What does acct stand for?

    per saperne di più

  • @rimu web+acct

    per saperne di più
Post suggeriti