this post was submitted on 16 Aug 2026
4 points (83.3% liked)

Lemmy.ca Support / Questions

646 readers
7 users here now


This community is for support requests specific to lemmy.ca.

If you need to contact an admin privately, please message @admin@lemmy.ca.

If you are a technical user and you have questions or need support with the Lemmy software itself, please visit !lemmy_support@lemmy.ml.


founded 5 years ago
MODERATORS
 

lemmit.online is currently allowed on sh.itjust.works but blocked on lemmy.ca so I looked into it a bit deeper and found there are other differences between the list of sitewide blocked instances for each server.

I'm bringing this to your attention as a low priority background task request to review the differences and see whether the instance in question should be blocked on both sites or allowed for each since they are both fedecan sites.

Here are some stats about the blocked instances:

  • 90 instances are blocked on lemmy.ca
  • 100 instances are blocked on sh.itjust.works
  • 29 blocked instances are common between lemmy.ca and sh.itjust.works
  • 61 instances are blocked only for lemmy.ca but not on sh.itjust.works
  • 71 instances are blocked only for sh.itjust.works but not on lemmy.ca

I'll post in some comments to this post the list of instances blocked on only one of the two fedecan owned lemmy servers and the shell commands I used to gather the data.

you are viewing a single comment's thread
view the rest of the comments
[–] SomethingWentWrong@lemmy.ca 2 points 1 day ago

shell commands to gather data about blocked instances across multiple lemmy servers

# create an empty directory to work in to avoid clutter
# suggest running this to create a directory for today's date:
DATE=`date +%Y-%m-%d`; mkdir $DATE; cd $DATE

# loop through list of lemmy servers to download json files of blocked instances
# and extract the blocked domains to a txt file
for site in lemmy.ca lemmy.ml lemmy.world lemmy.zip sh.itjust.works
do
  echo $site
  site_base_fname=`echo $site | tr \. _`
  curl -s --request GET \
     --url https://$site/api/v3/federated_instances?kind=blocked \
     --header 'accept: application/json' > blocked_${site_base_fname}.json
  cat blocked_${site_base_fname}.json | jq -r '.federated_instances.blocked.[].domain' | sort -u > blocked_${site_base_fname}.txt
done

# number of common blocked instances for both lemmy.ca and sh.itjust.works
comm -1 -2 blocked_lemmy_ca.txt blocked_sh_itjust_works.txt | wc

# instances only blocked on lemmy.ca but not on sh.itjust.works
comm -2 -3 blocked_lemmy_ca.txt blocked_sh_itjust_works.txt > only_blocked_for_lemmy_ca.txt

# instances only blocked on sh.itjust.works but not on lemmy.ca
comm -1 -3 blocked_lemmy_ca.txt blocked_sh_itjust_works.txt > only_blocked_for_sh_itjust_works.txt

# instances blocked across at least two lemmy servers
# h/t DDG Search Assist AI
awk '{instances[$0]++} END { for (instance in instances) {if(instances[instance]>1) {print instances[instance], instance }}}' blocked*.txt | sort -k1,1nr -k2,2

# instances blocked on at least one lemmy server
awk '{instances[$0]++} END { for (instance in instances) { print instances[instance], instance }}' blocked*.txt | sort -k1,1nr -k2,2