<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Layer3 on Le Site de François</title><link>https://lesitedefrancois.be/en/tags/layer3/</link><description>Recent content in Layer3 on Le Site de François</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 François</copyright><atom:link href="https://lesitedefrancois.be/en/tags/layer3/index.xml" rel="self" type="application/rss+xml"/><item><title>IPsec (Internet Protocol Security)</title><link>https://lesitedefrancois.be/en/security/ipsec/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://lesitedefrancois.be/en/security/ipsec/</guid><description>&lt;p&gt;&lt;strong&gt;IPsec (Internet Protocol Security)&lt;/strong&gt; is a suite of IETF standards (core specification RFC 4301) that adds cryptographic security to IP packets at the network layer, transparently to applications running above it. Where &lt;strong&gt;TLS&lt;/strong&gt; secures a specific connection between two application endpoints, IPsec secures all IP traffic between two hosts or networks — including traffic from applications that have no TLS support, protocols that predate encryption (routing protocols, SNMP, ICMP), and layer-3 metadata that TLS cannot protect. IPsec provides two protocol headers: &lt;strong&gt;AH (Authentication Header, IP protocol 51)&lt;/strong&gt; signs the IP packet including immutable header fields, providing integrity and source authentication without confidentiality — rarely used in modern deployments because NAT rewrites fields that AH covers. &lt;strong&gt;ESP (Encapsulating Security Payload, IP protocol 50)&lt;/strong&gt; encrypts the payload and provides authenticated encryption with AES-GCM or ChaCha20-Poly1305, optionally protecting the inner IP header as well; ESP is the universally deployed choice. Both operate in two modes: &lt;strong&gt;transport mode&lt;/strong&gt; protects only the payload of an existing IP packet (used for host-to-host encryption between endpoints that share routing), and &lt;strong&gt;tunnel mode&lt;/strong&gt; encapsulates the entire original IP packet inside a new one with new source and destination addresses — the basis of VPN gateways where traffic from one network is tunnelled to another through the public internet.&lt;/p&gt;</description></item></channel></rss>