Archives de catégorie : Uncategorized

Huge /var/log/lastlog file and BackupPC backup

After enabling AD authentication on a server you might end up with a « huge » /var/log/lastlog file that in my case did not played nice with my BackupPC with rsync xfer method: it resulted in a 300 GB lastlog file! The … Continuer la lecture

Publié dans Uncategorized | Laisser un commentaire

Quick benchmark of Gzip and Gnupg throughput

Testing Gzip and Gnupg throughput for compressing and encrypting large files on-the-fly on Intel Core i5-6200U @2.30 GHz. gzip vs. pigs: gzip –best : 23,8 MB/s pigz -p 2 –best : 51 MB/s pigs -p 4 –best : 60 MB/s … Continuer la lecture

Publié dans Uncategorized | Laisser un commentaire

« realm join » returns with error « Server not found in Kerberos database »

Trying to join an AD domain (Sama 4 AD DC) from a specific (Ubuntu 20.04) server would fail with a « Server not found in Kerberos database » error: It turns out that this problem was that the IP address of the … Continuer la lecture

Publié dans Uncategorized | Un commentaire

Siara Systems leaking CPE’s MAC addresses?

After a DSL/network outage, I launched a tcpdump on the ethernet interface to see if pppd was renegotiating the PPPoE session, and I saw all these LCP Term-Request frames that seems to come from other customers’ equipments (given the various … Continuer la lecture

Publié dans Uncategorized | 2 commentaires

Pluie et orage

Pluie et orage, le matin, en marchant le long d’une rivière.

Publié dans Uncategorized | Laisser un commentaire

Chiffrage homomorphique

Je viens de lire un article sur Slashdot intitulé IBM Researchers Open Source Homomorphic Crypto Library qui me rappelle un autre article que j’avais précédemment lu sur ce sujet de chiffrage homomorphique Alice and Bob in Cipherspace. Le chiffrage homomorphique est une méthode … Continuer la lecture

Publié dans Uncategorized | Laisser un commentaire

Libération a 40 ans

Le 5 Février 1973 naissait le journal Libération. Le 5 Février 2013, Libération ressort la première édition du journal. Une phrase retient mon attention dans cette première édition : Qui d’entre nous, en lisant son journal du matin, n’a pas … Continuer la lecture

Publié dans Uncategorized | Laisser un commentaire

Locking in PHP to serialize execution of critical sections

Sometimes, execution of some code in parallel can lead to troubles: this is known as race-conditions, where parallel execution of some specific operations leads to corruption and/or unexpected results. In these cases, the solution is to use locking techniques to … Continuer la lecture

Publié dans Uncategorized | Laisser un commentaire

RFC: Dead-WAN-Detection protocol

Is there a « standard » protocol for a device connected to a Wifi network to detect when the WAN/uplink connection is dead, and behave as if there was no Wifi at all? Here is a use case I’m seing for such … Continuer la lecture

Publié dans Uncategorized | Laisser un commentaire

« Kobo by FNAC » versus « Kobo »

Mise à jour le 2012/10/18 : la mise à jour iOS est enfin arrivée ! L’application « Kobo by FNAC » est inutilisable depuis la sortie de iOS 6. Depuis le 19 Septembre 2012, date de sortie de iOS 6, les commentaires négatifs … Continuer la lecture

Publié dans Uncategorized | Laisser un commentaire