PROXMOX : Firewall

J’ai bloqué plusieurs pays :
– Iran : https://scanitex.com/en/resources/ip-ranges/ir
– Corée du Nord : https://scanitex.com/en/resources/ip-ranges/kp
– Vietnam : https://scanitex.com/en/resources/ip-ranges/vn
– Russie : https://scanitex.com/en/resources/ip-ranges/ru
– Pakistan : https://scanitex.com/en/resources/ip-ranges/pk
– Singapore : https://scanitex.com/en/resources/ip-ranges/sg
– Hong Kong : https://scanitex.com/en/resources/ip-ranges/hk
– Belarus : https://scanitex.com/en/resources/ip-ranges/by

Trop d’attaques … infernal.

# wc -l /etc/pve/firewall/cluster.fw
30725 /etc/pve/firewall/cluster.fw
# du -sh /etc/pve/firewall/cluster.fw
71K /etc/pve/firewall/cluster.fw

Le fichier cluser.fw est limité à 120 K.

FitTrackee : Migration des données de Garmin

J’ai utilisé le projet : https://github.com/mitch0667/garmin2fittrackee , c’est la version 0.01 (la première)

Utilsation :

$ curl -LsSf https://astral.sh/uv/install.sh | sh
downloading uv 0.11.12 x86_64-unknown-linux-gnu
installing to /home/XXXX/.local/bin
  uv
  uvx
everything's installed!
...
$ cd garmin2fittrackee-0.1.0/src/
$ uv run garmin2fittrackee sync-activities /home/XXXX/Nextcloud/MyData/garmin.com.v2/ --fittrackee-url  https://fit.cyber-neurones.org/ --username XXXXX  --password XXXXX
warning: The `tool.uv.dev-dependencies` field (used in `/home/XXXX/Téléchargements/garmin2fittrackee/pyproject.toml`) is deprecated and will be removed in a future release; use `dependency-groups.dev` instead
Found 7778 activities.
  Syncing activities... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 (+3488 created  ↻5 updated  ⏭0 skipped  ✗1205 errors)  7778 / 7778
Activity sync complete: 3488 created, 5 updated, 0 skipped, 3080 unmapped, 1205 errors

J’ai donc pu ajouter 3488 activités qui avaient plus de 2 ans ( donc pas possible via un sync ).
Il reste à comprendre les 1205 erreurs …

Avant l’import :

Après l’import :

Bilan, c’est quasiment parfait. Je vais donc refaire un export de toutes mes données Garmin.
J’espère que FirTrackee va ajouter rapidement le suivi :
– Du poids,
– De la VMA,
– VO2Max,
– Seuil lactique de course,
– Status d’entrainement.

A suivre.

Les mapping manquants

$ grep "No mapping for Garmin" logs/garmin2fittrackee_2026-05-09_16-00-02.log | awk '{print $11}' | sort -n | uniq -c
      5 'backcountry_skiing',
      8 'backcountry_skiing_snowboarding_ws',
      8 'breathwork',
    628 'e_bike_fitness',
      2 'e_bike_mountain',
     11 'floor_climbing',
     46 'gravel_cycling',
      6 'hiit',
     18 'indoor_cardio',
     68 'indoor_rowing',
      1 'indoor_running',
     46 'lap_swimming',
     75 'multi_sport',
    968 'other',
      5 'paddelball',
      1 'paddling_v2',
     11 'pilates',
      3 'skate_skiing_ws',
     77 'stair_climbing',
     21 'tennis_v2',
      2 'whitewater_rafting_kayaking',

backcountry_skiing => 10
gravel_cycling => 4
tennis_v2 => 55
e_bike_mountain => 7
lap_swimming => 16 ?