Logo of a litchi fruit Litchi Pi
Litchi Pi
  • Accueil
  • Articles
  • RSS
  • Email
  • Github
  • Mastodon
  • How Rust can build an elegant API around raw memory
    06/09/2023
    This post will explain what registers are, what are their use in bare-metal programming, and how these macros allows for smooth Rust code when working with them.
  • Git code audit viewed as a Rust programmer
    24/01/2023
    Analyse the Git source code audit performed by X41 and Gitlab, and find out if the vulnerabilities found would get mitigated by Rust or not. From there, describe good security practices when writing code in Rust.
  • Nixfying the build of web applications easily
    14/01/2023
    Build web applications using Nix, ease the process using a library to build common Javascript frameworks, and present a script to manage a PostgreSQL database. Also calls for contribution on the nix library.
  • Build a Jekyll blog using Nix
    12/01/2023
    Use Nix flakes to build a Jekyll blog, overcoming the setup issues to build the static website and/or serve it locally.
  • Simple errors handling in Rust using macros
    03/09/2022
    Describes how using macros you can easily handle errors of a whole piece of software elegantly.
  • Executing the binary
    23/08/2022
    (serie "Writing a container in rust")
    Execute a binary inside our container, resolve issues of dynamic libraries, mount directories inside the environment. Conclusion of the serie
  • Copy it until you make it
    08/07/2022
    Reflexions on why copy other's work is great for learning, and use the angle of the learning process of pentesting to develop.
  • Syscalls and resources restriction
    10/03/2022
    (serie "Writing a container in rust")
    How to restrict the binary running inside our container in order to protect our system. Introduction to seccomp, syscalls, cgroups, rlimit
  • User namespaces and Linux capabilities
    06/01/2022
    (serie "Writing a container in rust")
    Set up user namespaces, map the UID / GID, restrict the child process with linux capabilities
  • Defining the container environment
    04/01/2022
    (serie "Writing a container in rust")
    Set the container hostname, modify the container mount point, pivoting the root.
  • Birth of a child process
    12/11/2021
    (serie "Writing a container in rust")
    Prepare inter-process communication (IPC), create a clone of the parent process while restricting its scope using namespaces.
  • Creating the skeletton
    03/10/2021
    (serie "Writing a container in rust")
    Getting the configuration, creating the skeletton for the container, checking the Linux kernel version for compatibility
  • Starting the project
    30/09/2021
    (serie "Writing a container in rust")
    Creation of the project, the logging system, the error handlings, and arguments validation
  • Introduction to containers
    20/09/2021
    (serie "Writing a container in rust")
    Overview of what is a container, the problem of software isolation it solves and how does it compares to other solutions.