<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Networking on datahacker</title>
		<link>https://datahacker.blog/reference/networking/</link>
		<description>Recent content in Networking on datahacker</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Mon, 23 Nov 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://datahacker.blog/reference/networking/index.xml" rel="self" type="application/rss+xml" />
			<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>DNS Alphabet Soup: Dedicated, Dynamic, Smart</title>
				<link>https://datahacker.blog/reference/networking/dns-dedicated-dynamic-smart/</link>
				<pubDate>Thu, 10 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/dns-dedicated-dynamic-smart/</guid>
				<description>&lt;p&gt;Dedicated DNS. Dynamic DNS. Smart DNS. What the heck are these things???&lt;/p&gt;&#xA;&lt;p&gt;Many consumers get confused between these very distinct services. It&amp;rsquo;s not their fault. I blame the marketing messages of the companies peddling each particular type of product, which are often confusing and don&amp;rsquo;t tell the consumer the whole story one way or another. In this article, I break down their differences and the problem(s) each solves.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve also written a related article on the pros and cons of combining various privacy services, such as DNS services and VPNs. You&amp;rsquo;ll find that discussion here: &lt;a href=&#34;https://datahacker.blog/tutorials/security-privacy/privacy/mitigating-risk-combining-privacy-services/&#34;&gt;Mitigating Risk: Combining Privacy Services&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Linux Firewall Management Tools Overview</title>
				<link>https://datahacker.blog/reference/networking/linux-netfilter-tools/</link>
				<pubDate>Fri, 23 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/linux-netfilter-tools/</guid>
				<description>&lt;p&gt;Linux provides several tools for different parts of packet handling. &lt;code&gt;route&lt;/code&gt; belongs to the older net-tools package; &lt;code&gt;ip route&lt;/code&gt; and &lt;code&gt;ip rule&lt;/code&gt; belong to iproute2. They configure kernel routing state rather than carrying packets themselves. For policy routing and multiple tables, use &lt;code&gt;ip route&lt;/code&gt; and &lt;code&gt;ip rule&lt;/code&gt;. The older &lt;code&gt;route&lt;/code&gt; display can still be useful when reading a historical example.&lt;/p&gt;&#xA;&lt;p&gt;A route describes how to reach a destination. Policy rules determine which routing table to consult, or return an action such as &lt;code&gt;prohibit&lt;/code&gt;. Netfilter is the kernel framework used for packet filtering, connection tracking, and NAT. &lt;code&gt;iptables&lt;/code&gt; and &lt;code&gt;nft&lt;/code&gt; configure firewall rules within that framework. These tools complement one another; choosing a route does not by itself grant permission to forward traffic.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Linux Networking F.A.Q.</title>
				<link>https://datahacker.blog/reference/networking/linux-networking-faq/</link>
				<pubDate>Sun, 11 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/linux-networking-faq/</guid>
				<description>&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-1&#34;&gt;What Is the Purpose of Routing Tables?&lt;/h3&gt;&#xA;&lt;p&gt;Routing tables inform the Linux kernel where to find destinations on a network. They describe information such as which network interface to send a packet on, and whether the destination is local (on a local network) or remote.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-2&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-2&#34;&gt;How Do You Define a &amp;ldquo;Default&amp;rdquo; Gateway?&lt;/h3&gt;&#xA;&lt;p&gt;For IPv4, a default route has destination prefix &lt;code&gt;0.0.0.0/0&lt;/code&gt;. It can name a next-hop gateway, or use an interface directly where that is appropriate, such as a point-to-point link. A default route and a default gateway are not quite the same thing.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Breaking Down IPv4 Address Headers</title>
				<link>https://datahacker.blog/reference/networking/breaking-down-ipv4-address-headers/</link>
				<pubDate>Mon, 05 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/breaking-down-ipv4-address-headers/</guid>
				<description>&lt;p&gt;Every IP packet includes metadata that describes the data payload it is carrying to its destination. This metadata information has evolved over time as the Internet has matured. This article explains the contents and purpose of metadata found in IPv4 headers - the portion of an IP packet that precedes the data payload.&lt;/p&gt;&#xA;&lt;p&gt;An IPv4 packet begins with a header that describes the packet: where it is going, where it came from, and how it should be handled. The basic header is 20 bytes; options and padding can extend it to 60 bytes.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Routers, Routes, Subnets, and Netmasks</title>
				<link>https://datahacker.blog/reference/networking/routers-routes-subnets-and-netmasks/</link>
				<pubDate>Tue, 30 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routers-routes-subnets-and-netmasks/</guid>
				<description>&lt;p&gt;A critical component of managing routes is understanding &lt;em&gt;netmasks&lt;/em&gt;. Hosts as well as routers use address prefixes to describe local networks and route destinations. For IPv4, a contiguous netmask identifies the network bits, leaving the remaining bits to vary within that subnet.&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;Routers and Routes&lt;/h2&gt;&#xA;&lt;p&gt;Network &lt;em&gt;routers&lt;/em&gt; forward IP packets between networks. Their routing information can come from interface configuration, static routes, or routing protocols. An administrator defines the intended topology and policy; dynamic discovery does not remove that responsibility.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Netmask Filtering Deep Dive</title>
				<link>https://datahacker.blog/reference/networking/netmask-filtering-deep-dive/</link>
				<pubDate>Sat, 20 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/netmask-filtering-deep-dive/</guid>
				<description>&lt;p&gt;What is a &lt;em&gt;Netmask&lt;/em&gt; (or &lt;em&gt;Genmask&lt;/em&gt;)? And why is understanding it so important when it comes to network routing?&lt;/p&gt;&#xA;&lt;p&gt;A &lt;em&gt;netmask&lt;/em&gt; identifies the network bits of an IPv4 address. &lt;code&gt;Genmask&lt;/code&gt; is the label used for that mask in the legacy &lt;a href=&#34;https://man7.org/linux/man-pages/man8/route.8.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;route(8)&lt;/a&gt; display. The two terms refer to the same mask here.&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;Table of Contents&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#routers-and-routes&#34;&gt;Routers and Routes&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#slash-notation&#34;&gt;Slash Notation&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#valid-values&#34;&gt;Valid Netmask Values&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#wildcard_mask&#34;&gt;The Wildcard Mask&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#how-masks-work&#34;&gt;How Masks Work&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#bitwise&#34;&gt;Bitwise Functions&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#examples&#34;&gt;Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;span id=&#34;routers-and-routes&#34;&gt;&lt;/span&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>A Brief History of Linux Networking</title>
				<link>https://datahacker.blog/reference/networking/brief-history-of-linux-networking/</link>
				<pubDate>Wed, 17 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/brief-history-of-linux-networking/</guid>
				<description>&lt;p&gt;Have you ever wondered why Linux network management is so confusing? You need only make a cursory review of the history of Linux networking tools to understand how it got this way.&lt;/p&gt;&#xA;&lt;blockquote&gt;It&#39;s not surprising so many people become confused attempting to comprehend Linux network routing functions, given the manner in which they have evolved. The names of several important commands and processes are nearly identical to others belonging to completely different tool generations.&lt;/blockquote&gt;&#xA;&lt;p&gt;Legacy interfaces can remain familiar while their implementation changes. A command name alone does not establish which kernel interface it uses, and the continuity of names does not mean Linux networking code remained unchanged for twenty years.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Security Implications of Samba Access to Non-ACL File Systems</title>
				<link>https://datahacker.blog/reference/networking/security-implications-of-samba-access-to-non-acl-file-systems/</link>
				<pubDate>Mon, 01 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/security-implications-of-samba-access-to-non-acl-file-systems/</guid>
				<description>&lt;p&gt;Several processes control the flow of data through a Samba-managed network connection. File and directory permissions are an important part of that protection, even when extended ACLs are not in use.&lt;/p&gt;&#xA;&lt;p&gt;Linux and UNIX already provide ordinary owner/group/other permissions. In this article, “non-ACL” means &lt;strong&gt;without extended POSIX ACLs&lt;/strong&gt;, not without file-level access control. A Samba login does not make the entire file system accessible. For the distinction and worked permission examples, start with &lt;a href=&#34;https://datahacker.blog/reference/linux-systems/linux-acl-file-systems/&#34;&gt;Linux ACL File Systems&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
