<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>IPsec on datahacker</title>
		<link>https://datahacker.blog/tags/ipsec/</link>
		<description>Recent content in IPsec on datahacker</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Thu, 26 Nov 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://datahacker.blog/tags/ipsec/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>A Layman&#39;s Guide to Networking Cryptography</title>
				<link>https://datahacker.blog/reference/security-privacy/cryptography/laymans-guide-to-networking-cryptography/</link>
				<pubDate>Wed, 25 Dec 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/security-privacy/cryptography/laymans-guide-to-networking-cryptography/</guid>
				<description>&lt;p&gt;This article explains common network cryptographic concepts in plain-English.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration-heading-1&#34;&gt;Contents&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#primary&#34;&gt;Primary Features of Secure Communications&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#common-auth-methods&#34;&gt;Common Authentication Methods&lt;/a&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#auth-via-PKI&#34;&gt;Authenticating with PKI&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#ipsec-ah&#34;&gt;IPsec Authentication Header (AH)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#ipsec-esp&#34;&gt;IPsec Encapsulating Security Payload (ESP)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#passwords&#34;&gt;Passwords&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#common-enc-methods&#34;&gt;Common Encryption Methods&lt;/a&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#asymmetric-keys&#34;&gt;Asymmetric Keys&lt;/a&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#pki&#34;&gt;PKI&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#x509&#34;&gt;X.509&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#cert-authors&#34;&gt;Certificate Authorities (CAs)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#symmetric-keys&#34;&gt;Symmetric Keys&lt;/a&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#diffie-hellman-algo&#34;&gt;Diffie-Hellman Algorithm&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#pre-shared-keys&#34;&gt;Pre-Shared Keys&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#shared-secrets&#34;&gt;Shared Secrets&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#hybrid-systems&#34;&gt;Hybrid Systems&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#key-exchange-agreements&#34;&gt;Common Key Exchange Agreements&lt;/a&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#diffie-hellman&#34;&gt;Diffie-Hellman&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#ike&#34;&gt;IKE/IKEv2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#mobike&#34;&gt;MOBIKE&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#kink&#34;&gt;KINK&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#kerberos&#34;&gt;Kerberos&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#pfs&#34;&gt;Perfect Forward Secrecy&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;span id=&#34;primary&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration-heading-2&#34;&gt;Primary Features of Secure Communications&lt;/h2&gt;&#xA;&lt;p&gt;Secure communication usually combines several properties:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Demystifying IKE/IKEv2</title>
				<link>https://datahacker.blog/reference/security-privacy/cryptography/demystifying-ike-ikev2/</link>
				<pubDate>Wed, 25 Dec 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/security-privacy/cryptography/demystifying-ike-ikev2/</guid>
				<description>&lt;p&gt;IKEv2 authenticates IPsec peers and establishes the security associations and shared keying material they need. It negotiates how traffic will be protected; IPsec, not IKEv2, carries the protected application traffic.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#ike&#34;&gt;IKE/IKEv2&lt;/a&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#characteristics&#34;&gt;Characteristics&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#ikev2-ipsec&#34;&gt;IKEv2 and IPsec&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#2-phase&#34;&gt;IKEv2 Exchanges and Historical IKEv1 Phases&lt;/a&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#phase1&#34;&gt;IKEv2 Initial Exchanges&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#phase2&#34;&gt;Child SAs and IKEv2 Control Exchanges&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#ikev2-flowchart&#34;&gt;The Three Musketeers: ISAKMP, OAKLEY, and SKEME&lt;/a&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#isakmp&#34;&gt;ISAKMP&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#oakley&#34;&gt;OAKLEY&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#skeme&#34;&gt;SKEME&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#skeme-analysis&#34;&gt;Historical SKEME Security Context&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;span id=&#34;ike&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;section-1&#34;&gt;IKE/IKEv2&lt;/h2&gt;&#xA;&lt;p&gt;IKEv2 was first defined in &lt;a href=&#34;https://datatracker.ietf.org/doc/html/rfc4306&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;RFC 4306&lt;/a&gt; in 2005 and is not backward compatible with IKEv1. &lt;a href=&#34;https://datatracker.ietf.org/doc/html/rfc7296&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;RFC 7296&lt;/a&gt; defines the base IKEv2 protocol. Separate RFCs cover &lt;a href=&#34;https://datatracker.ietf.org/doc/html/rfc7427&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;signature authentication&lt;/a&gt;, &lt;a href=&#34;https://datatracker.ietf.org/doc/html/rfc7670&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;raw public-key support&lt;/a&gt;, and &lt;a href=&#34;https://datatracker.ietf.org/doc/html/rfc8247&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;cryptographic algorithm guidance&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Critical Vulnerability Impacts Nearly All VPN Software</title>
				<link>https://datahacker.blog/blog/2019/critical-vulnerability-impacts-nearly-all-vpn-software/</link>
				<pubDate>Sat, 07 Dec 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/blog/2019/critical-vulnerability-impacts-nearly-all-vpn-software/</guid>
				<description>&lt;aside class=&#34;dh-callout dh-callout-important&#34; aria-label=&#34;Important&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Important&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;&lt;strong&gt;Historical Vulnerability Report&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;This article was written in December 2019. Its attack description and mitigation discussion have been checked against the cited research, with a dated Ubuntu advisory check below. The proposals are not a verified remediation plan for every operating system, VPN product or network topology. No runtime attack or mitigation test was performed for this editorial review.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xA;&lt;p&gt;&lt;strong&gt;In December 2019, researchers disclosed CVE-2019-14899: an attack against TCP connections carried inside a VPN on affected systems. The described attacker was near the client, such as at a malicious Wi-Fi access point. The attack did not require breaking the VPN&amp;rsquo;s encryption or compromising its server.&lt;/strong&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Secure Tunneling IP Network Protocol IDs</title>
				<link>https://datahacker.blog/reference/networking/ip-network-protocol-ids/</link>
				<pubDate>Mon, 02 Dec 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/ip-network-protocol-ids/</guid>
				<description>&lt;p&gt;&lt;em&gt;Tunnels&lt;/em&gt; in IT networking carry one protocol&amp;rsquo;s traffic inside another protocol between endpoints. They can connect hosts or networks, and do not require the endpoints to be on different subnets. A tunnel may protect against eavesdropping, tampering, or both, but encapsulation alone does not provide that protection. This article covers both secure VPN protocols and related encapsulation mechanisms.&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;&lt;p&gt;Reviewed November 2026. IP protocol numbers, TCP/UDP ports and security properties are different things. A recognizable protocol number or port is not proof that a connection is authenticated or encrypted. The original 2019/2020 wording is preserved separately.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;</description>
			</item>
			<item>
				<title>How VPNs Work - Part 2: Protocols</title>
				<link>https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-2-protocols/</link>
				<pubDate>Thu, 31 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-2-protocols/</guid>
				<description>&lt;p&gt;This article is Part 2 in a series of articles about how Virtual Private Networks (VPNs) work. &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-1-overview/&#34;&gt;Part 1&lt;/a&gt; of the series, &lt;em&gt;How VPNs Work&lt;/em&gt; outlined VPN functionality at a high level. &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-3-encryption-and-authentication/&#34;&gt;Part 3 (Encryption and Authentication)&lt;/a&gt; in this series explores security and encryption pitfalls you should be aware of, including deprecated ciphers, how some VPN service providers conceal their use of lower level encryption methods, and explains &lt;em&gt;Perfect Forward Secrecy&lt;/em&gt; and why it is important.&lt;/p&gt;</description>
			</item>
			<item>
				<title>How VPNs Work - Part 3: Encryption and Authentication</title>
				<link>https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-3-encryption-and-authentication/</link>
				<pubDate>Thu, 31 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-3-encryption-and-authentication/</guid>
				<description>&lt;p&gt;This article is Part 3 in a series of three (3) articles about how Virtual Private Networks (VPNs) work. While I get into some technical details, the intent is to scratch the surface just enough to convey the most important security and privacy concepts about each subject.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-1-overview/&#34;&gt;Part 1&lt;/a&gt; of this series, &lt;em&gt;How VPNs Work&lt;/em&gt; outlines VPN functionality at a high level. &lt;a href=&#34;https://datahacker.blog/reference/networking/vpn/how-vpns-work-part-2-protocols/&#34;&gt;Part 2 (Protocols)&lt;/a&gt; in this series examines VPN protocols and VPN server compatibility. And this article (Part 3) explores security and encryption risks in VPNs, such as encryption ciphers and Forward Secrecy.&lt;/p&gt;</description>
			</item>
			<item>
				<title>What Is IPsec?</title>
				<link>https://datahacker.blog/reference/networking/vpn/what-is-ipsec/</link>
				<pubDate>Thu, 24 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/what-is-ipsec/</guid>
				<description>&lt;p&gt;This document is a comprehensive, high-level overview of what IPsec is and how it works.&lt;/p&gt;&#xA;&lt;p&gt;IPsec is a flexible network security framework that may be applied to a number of different use case scenarios. In spite of its ubiquity, IPsec has got to be one of the most confusing standards in IT Security.&lt;/p&gt;&#xA;&lt;p&gt;IPsec is confusing because it is defined by a large group of intertwined standards, protocols, and frameworks. No single document explains IPsec down to every detail. There are literally hundreds of documents that describe portions of IPsec processes and functions (though the vast majority of them are outdated). The purpose of this document is to distill down &lt;em&gt;relevant&lt;/em&gt; IPsec specifications into a simple overview, eloquently capturing the essence and most salient points of what IPsec is and how it works.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
