Outils pour utilisateurs

Outils du site


blog

Contre DNS

Source : https://freenet.org/about/faq/#does-freenet-have-decentralized-domain-names-or-dns

Does Freenet have decentralized domain names or DNS?

Not currently, and mostly on purpose. Domain names do three different jobs: identification, human-readable naming, and discovery. We think DNS is the wrong fit for all three on a decentralized network.

  • Identification: Freenet identifies content and applications by contract hashes, which are content-addressed keys. They’re fully decentralized and cryptographically verifiable, but not human-friendly.
  • Human-readable naming: This is the problem captured by Zooko’s triangle: a name can be at most two of human-meaningful, secure, and decentralized. DNS gets memorability by being centralized. Freenet prefers local, personal naming instead: memorable nicknames each user keeps for the identities they care about, like the contacts list on your phone (a “petname” system). Because the names are personal rather than global, there’s no central registry to control and no race to squat every good name.
  • Discovery: “Find the thing I want” is really a search problem, not a naming one, and search and recommendation handle it better than a global namespace can. That’s what we’re designing in Atlas, a decentralized discovery layer that’s still at the design stage.

So Freenet has no direct equivalent of decentralized domain names, because we don’t think DNS is the right tool for either identification or discovery.

FIXME

2026/07/28 09:29 · Jean-Baptiste

Limiter la consommation de la RAM d'une application avec les cgroups slices

Source : https://unix.stackexchange.com/questions/499485/how-do-i-use-swap-space-for-emergencies-only

/home/jean/.config/systemd/user/mozilla.slice

[Unit]
Description=Slice for Mozilla apps
Before=slices.target
 
[Slice]
MemoryAccounting=yes
MemoryHigh=5G
MemoryMax=6G
systemd-run --user --slice mozilla.slice --scope -- /usr/bin/firefox &

FIXME

2026/07/28 05:29 · Jean-Baptiste

Procédure simple augmentation de la SWAP

Prérequis :

  • Les applications métiers doivent être arrêtées
  • Les commandes ci-dessous sont à faire en root
# Connaître l’état actuel de la RAM et du SWAP
free -m
 
# Localiser la partition SWAP
grep swap /etc/fstab
 
# Désactiver le SWAP
swapoff -a
 
# Redimensionner la partition SWAP
lvresize -L 4G /dev/vgsys01/lvswap
 
# Créer la zone d’échange SWAP
mkswap /dev/vgsys01/lvswap
 
# Activer le SWAP
swapon -a
 
# Vérifier
free -m
2026/07/17 15:49 · Jean-Baptiste

Exemple git clone avec Ansible

    - name: Git clone
      ansible.builtin.git:
        repo: https://{{ git_user }}:{{ git_password }}@{{ git_url }}
        dest: /tmp/plop/
        single_branch: true
        version: "{{ git_version }}"
        depth: 1
      environment:
        GIT_SSL_NO_VERIFY: "true"
        # GIT_TERMINAL_PROMPT: 0
      vars:
        git_user: "{{ lookup('env', 'GIT_USER') | urlencode }}"
        git_password: "{{ lookup('env', 'GIT_PASSWORD') | urlencode | replace('/', '%2f') }}"
        git_url: gitlab.acme.local/plop
        git_version: "{{ lookup('env', 'GIT_VERSION') }}"
2026/07/16 14:47 · Jean-Baptiste
blog.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki