<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Linux on datahacker</title>
		<link>https://datahacker.blog/tags/linux/</link>
		<description>Recent content in Linux on datahacker</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sun, 29 Nov 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://datahacker.blog/tags/linux/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Bibliography for VPN Articles</title>
				<link>https://datahacker.blog/reference/networking/vpn/vpn-bibliography/</link>
				<pubDate>Mon, 02 Dec 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/vpn-bibliography/</guid>
				<description>&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;&#xA;&lt;p&gt;Historical bibliography: dates and attributions are retained unless a correction is stated. A reachable later edition does not verify the exact version originally consulted. The exact editions, dates and authorship attached to the Xenial manual citations and the unlinked 1999 IP Command Reference remain unconfirmed. Retrieval failures are recorded as unverified, not as proof that a link is dead.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xA;&lt;p&gt;This is a list of sources I found useful while writing my comprehensive guides on VPNs for Small Business Owners, Home Office Workers, and Split VPNs&lt;/p&gt;</description>
			</item>
			<item>
				<title>OpenVPN and OpenSSL: Partners in Security</title>
				<link>https://datahacker.blog/reference/networking/vpn/openvpn-and-openssl-partners-in-security/</link>
				<pubDate>Fri, 18 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/openvpn-and-openssl-partners-in-security/</guid>
				<description>&lt;p&gt;OpenVPN depends on cryptographic libraries for functions such as TLS, certificate verification and data encryption. This article explains why that dependency matters and how to distinguish the application version, the library it actually uses and a distributor’s package revision.&lt;/p&gt;&#xA;&lt;p&gt;The original article was written in 2019. Its “current” release lists and CVE totals were a historical snapshot, not a reliable guide to today’s support or a tested compatibility matrix. The corrected discussion keeps that history separate from current selection criteria.&lt;/p&gt;</description>
			</item>
			<item>
				<title>5 Ways to Install OpenVPN on Ubuntu 14.04, 16.04, 18.04</title>
				<link>https://datahacker.blog/tutorials/networking/vpn/5-ways-install-openvpn-ubuntu-14-16-18/</link>
				<pubDate>Tue, 15 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/vpn/5-ways-install-openvpn-ubuntu-14-16-18/</guid>
				<description>&lt;p&gt;This guide records installation approaches originally discussed for Ubuntu 14.04, 16.04 and 18.04. Those releases are outside standard maintenance; any remaining security coverage depends on the release, package and applicable extended-support entitlement. Check &lt;a href=&#34;https://ubuntu.com/about/release-cycle&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;Ubuntu’s release lifecycle&lt;/a&gt; before using a historical system.&lt;/p&gt;&#xA;&lt;p&gt;The examples below have been corrected against documentation. They have not been rerun as Ubuntu installations during this review. The 2.4.7 source examples are explicitly historical, not a recommendation to deploy that old release.&lt;/p&gt;</description>
			</item>
			<item>
				<title>False Version Reporting in Ubuntu 16.04</title>
				<link>https://datahacker.blog/tutorials/linux-systems/ubuntu/false-versioning-in-ubuntu-16-04/</link>
				<pubDate>Tue, 01 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/linux-systems/ubuntu/false-versioning-in-ubuntu-16-04/</guid>
				<description>&lt;p&gt;An OpenSSL version check on Ubuntu 16.04 could print the same &lt;code&gt;1.0.2g&lt;/code&gt; banner before and after a security update. The package did change. The short banner identifies the upstream base, not the full Ubuntu build or its patch history. That distinction matters when a version check guides an upgrade or a dependency decision.&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-tip&#34; aria-label=&#34;Tip&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Tip&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;&lt;p&gt;This is a sister article to &lt;a href=&#34;https://datahacker.blog/reference/linux-systems/ubuntu/clear-as-mud-openssl-and-ubuntu-versioning-system/&#34;&gt;Clear as Mud: OpenSSL and Ubuntu&amp;rsquo;s Versioning System&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>OpenVPN Version List and Changelog</title>
				<link>https://datahacker.blog/reference/networking/vpn/openvpn-version-list-and-changelog/</link>
				<pubDate>Tue, 01 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/openvpn-version-list-and-changelog/</guid>
				<description>&lt;p&gt;This is a historical guide to selected OpenVPN releases discussed in the original article, which stopped at 2.4.8. It is not a complete current release list. The old cipher matrix mixed encryption, authentication, hashes, TLS versions and library requirements; those are separate properties and cannot be represented by one “best cipher” per OpenVPN version.&lt;/p&gt;&#xA;&lt;p&gt;The original matrix and its dates remain available in the preserved original version. The corrected comparison below identifies documented changes without presenting those obsolete releases as current installation choices.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Is Your VPN Helping or Hurting You?</title>
				<link>https://datahacker.blog/blog/2019/is-your-vpn-helping-or-hurting-you/</link>
				<pubDate>Thu, 29 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/blog/2019/is-your-vpn-helping-or-hurting-you/</guid>
				<description>&lt;p&gt;If you could sum up the purpose of a Virtual Private Network (VPN) in one word, what would it be? My choice: Integrity.&lt;/p&gt;&#xA;&lt;p&gt;Of course, I&amp;rsquo;m talking about &lt;em&gt;data integrity&lt;/em&gt;: detecting unauthorized changes to data. Confidentiality, which protects the contents from disclosure, and authentication, which establishes the relevant identity or origin, are related but distinct properties.&lt;/p&gt;&#xA;&lt;p&gt;But what about the integrity &lt;em&gt;of the VPN service itself&lt;/em&gt;? Protocol standards exist: &lt;a href=&#34;https://datatracker.ietf.org/doc/html/rfc4301&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;IPsec&lt;/a&gt; and &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;IKEv2&lt;/a&gt; are examples. Implementing a standard does not by itself verify a provider&amp;rsquo;s logging claims, client software, operations, or suitability for your needs. A certification or audit should be evaluated for its actual scope; it is not a universal guarantee of provider quality.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Help! I Cannot Log into My Ubuntu Server!</title>
				<link>https://datahacker.blog/tutorials/linux-systems/ubuntu/cant-log-into-ubuntu-server/</link>
				<pubDate>Tue, 27 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/linux-systems/ubuntu/cant-log-into-ubuntu-server/</guid>
				<description>&lt;p&gt;Can&amp;rsquo;t boot your Ubuntu server?&lt;/p&gt;&#xA;&lt;p&gt;Garbled &lt;em&gt;GRUB&lt;/em&gt; file got you down?&lt;/p&gt;&#xA;&lt;p&gt;SSH on the fritz?&lt;/p&gt;&#xA;&lt;p&gt;Driving you crazy and ready to DELETE AND REINSTALL the O.S.???&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;Quick and Simple chroot to Server Stuck in Limbo&lt;/h2&gt;&#xA;&lt;p&gt;Wait one. I can&amp;rsquo;t guarantee a solution, but this strategy has worked for me a few times.&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;First Things, First&lt;/h3&gt;&#xA;&lt;p&gt;&lt;span id=&#34;recovery-media&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;p&gt;Grab yourself a Linux live USB or LiveCD that can boot the machine and provide a terminal. For an Ubuntu installation, an official Ubuntu live image matching the installed system’s CPU architecture is a straightforward starting point.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Netmask/Genmask Conversion Table</title>
				<link>https://datahacker.blog/reference/networking/routing/netmask-genmask-conversion-table/</link>
				<pubDate>Sun, 25 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/netmask-genmask-conversion-table/</guid>
				<description>&lt;p&gt;This chart converts IPv4 prefix lengths to dotted decimal, hexadecimal, inverse, and binary masks. It also separates the number of addresses in a prefix from the number commonly assigned to hosts.&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;Static Chart&lt;/h2&gt;&#xA;&lt;p&gt;An IPv4 prefix of length &lt;code&gt;p&lt;/code&gt; contains &lt;code&gt;2^(32-p)&lt;/code&gt; addresses. The inverse mask is the bitwise complement of the netmask.&lt;/p&gt;&#xA;&lt;p&gt;For a conventional subnet with distinct network and broadcast addresses, the familiar host-count calculation subtracts two. &lt;strong&gt;That calculation is not universal:&lt;/strong&gt; &lt;a href=&#34;https://datatracker.ietf.org/doc/html/rfc3021&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;RFC 3021&lt;/a&gt; permits both addresses of a &lt;code&gt;/31&lt;/code&gt; on a point-to-point link. A &lt;code&gt;/32&lt;/code&gt; identifies one address, commonly used for a host route.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Follow the (ip) Rules</title>
				<link>https://datahacker.blog/reference/networking/firewalls/follow-the-ip-rules/</link>
				<pubDate>Sat, 24 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/firewalls/follow-the-ip-rules/</guid>
				<description>&lt;p&gt;Hopefully, you have already read and/or understand these concepts:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/routing/policy-based-routing/&#34;&gt;Policy Based Routing&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/routing/iproute-and-routing-tables/&#34;&gt;iproute and Routing Tables&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/routers-routes-subnets-and-netmasks/&#34;&gt;Routers, Routes, Subnets, and Netmasks&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Now, it&amp;rsquo;s time to talk about &lt;em&gt;ip rules&lt;/em&gt;. The Routing Policy Database (RPDB) selects an action, often a lookup in a routing table. The usual IPv4 rules consult &lt;code&gt;local&lt;/code&gt;, &lt;code&gt;main&lt;/code&gt;, and &lt;code&gt;default&lt;/code&gt;. Those lookups choose routes; they do not grant firewall permission to all traffic.&lt;/p&gt;&#xA;&lt;p&gt;Routes and rules added at the command line affect the live kernel state. Save or reapply them through the system&amp;rsquo;s network configuration if they should survive reboot. Firewall-rule persistence is a separate concern; see &lt;a href=&#34;https://datahacker.blog/tutorials/networking/firewalls/persistence-making-iptables-changes-stick/&#34;&gt;Persistence: Making iptables Changes Stick&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Persistence: Making iptables Changes Stick</title>
				<link>https://datahacker.blog/tutorials/networking/firewalls/persistence-making-iptables-changes-stick/</link>
				<pubDate>Sat, 24 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/firewalls/persistence-making-iptables-changes-stick/</guid>
				<description>&lt;p&gt;One of the challenges of &lt;em&gt;iptables&lt;/em&gt;, routes, and rules (&lt;em&gt;iprules&lt;/em&gt;) is making changes to them permanent. Any changes you make on-the-fly only last until the next system restart. However, there are several ways of making them persist through reboots.&lt;/p&gt;&#xA;&lt;p&gt;Choose one of the methods below to store your changes in user-manageable scripts that are run every time your server is restarted.&lt;/p&gt;&#xA;&lt;div id=&#34;section-1&#34;&gt;&lt;/div&gt;&#xA;&lt;div id=&#34;migration-heading-1&#34;&gt;&lt;/div&gt;&#xA;&lt;h2 id=&#34;method-1-systemd-start-up-process&#34;&gt;Method #1: &lt;em&gt;systemd&lt;/em&gt; Start-Up Process&lt;/h2&gt;&#xA;&lt;p&gt;This method uses two services: one to establish the firewall before normal network configuration, and another to apply routing policy after the interface and source address are ready. The demonstrated network manager is &lt;em&gt;NetworkManager&lt;/em&gt;, with a dependency that requires successful firewall startup. The original example was written on Ubuntu 16.04. This revised design still needs validation on the system where you intend to use it.&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>systemd</title>
				<link>https://datahacker.blog/reference/linux-systems/systemd/</link>
				<pubDate>Fri, 23 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/linux-systems/systemd/</guid>
				<description>&lt;p&gt;&lt;em&gt;systemd&lt;/em&gt; is a &lt;a href=&#34;https://manpages.ubuntu.com/manpages/xenial/man1/systemd.1.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;system and service manager&lt;/a&gt;. When it runs as PID 1, it acts as the system&amp;rsquo;s init process and manages services and other resources through units. A separate user manager can also run within a user session.&lt;/p&gt;&#xA;&lt;p&gt;Ubuntu 15.04 made systemd its standard boot and service manager, replacing Upstart for that role; the &lt;a href=&#34;https://documentation.ubuntu.com/release-notes/15.04/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;release notes&lt;/a&gt; identify the Ubuntu Touch exception and continued use of Upstart for user sessions. This was a regular interim release, not an unscheduled release.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Bibliography (Networking Articles)</title>
				<link>https://datahacker.blog/reference/networking/bibliography-linux-networking/</link>
				<pubDate>Wed, 14 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/bibliography-linux-networking/</guid>
				<description>&lt;p&gt;These references preserve the sources recorded for the historical networking articles. Dates and editions remain as originally cited. An archive link identifies a preserved copy; it does not establish that the copy is the exact revision consulted on the date shown.&lt;/p&gt;&#xA;&lt;p&gt;Andreasson, Oskar. &lt;em&gt;Iptables Tutorial 1.2.1&lt;/em&gt;. Chapter 6: Traversing of tables and chains. &lt;a href=&#34;https://www.frozentux.net/iptables-tutorial/chunkyhtml/c962.html&#34;&gt;https://www.frozentux.net/iptables-tutorial/chunkyhtml/c962.html&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Andreasson, Oskar. 2006. &lt;em&gt;Iptables Tutorial 1.2.2. &lt;/em&gt;&lt;a href=&#34;http://homes.di.unimi.it/sisop/qemu/iptables-tutorial.pdf&#34;&gt;http://homes.di.unimi.it/sisop/qemu/iptables-tutorial.pdf&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Anicas, Mitchell. 14 August 2015. &lt;em&gt;How To List and Delete Iptables Firewall Rules&lt;/em&gt;. &lt;em&gt;Digital Ocean&lt;/em&gt;, &lt;a href=&#34;https://www.digitalocean.com/community/tutorials/how-to-list-and-delete-iptables-firewall-rules&#34;&gt;https://www.digitalocean.com/community/tutorials/how-to-list-and-delete-iptables-firewall-rules&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Linux Network Routing Best Practices</title>
				<link>https://datahacker.blog/tutorials/networking/routing/linux-network-routing-best-practices/</link>
				<pubDate>Wed, 14 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/routing/linux-network-routing-best-practices/</guid>
				<description>&lt;p&gt;Here are some brief concepts to keep in mind when adding new routes and routing tables.&lt;/p&gt;&#xA;&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;Routing Table Names and IDs&lt;/h3&gt;&#xA;&lt;p&gt;The &lt;code&gt;rt_tables&lt;/code&gt; file assigns names to numeric table IDs; it does not contain routes or determine lookup order. Keep these conventions in mind:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use unambiguous names and IDs that do not conflict with existing configuration.&lt;/li&gt;&#xA;&lt;li&gt;Keep the built-in mappings intact: local is 255, main is 254, and default is 253.&lt;/li&gt;&#xA;&lt;li&gt;IDs between 100 and 200 are a possible local convention, not a kernel requirement.&lt;/li&gt;&#xA;&lt;li&gt;Gaps between table IDs are optional. Rule priorities, not table IDs, control lookup order.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://man7.org/linux/man-pages/man8/ip-route.8.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;ip-route manual&lt;/a&gt; describes table IDs and reserved values; &lt;a href=&#34;https://man7.org/linux/man-pages/man8/ip-rule.8.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;ip-rule&lt;/a&gt; describes policy order.&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>Introduction to Split Gateways</title>
				<link>https://datahacker.blog/reference/networking/routing/introduction-to-split-gateways/</link>
				<pubDate>Sat, 20 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/introduction-to-split-gateways/</guid>
				<description>&lt;p&gt;Having explained &lt;a href=&#34;https://datahacker.blog/reference/networking/routing/gateways/&#34;&gt;gateway routes&lt;/a&gt;, this article examines what the series calls a &lt;em&gt;split gateway&lt;/em&gt;: routes or policies that send selected traffic through different paths.&lt;/p&gt;&#xA;&lt;p&gt;It focuses on reading the configuration and reasoning about route selection. The &lt;a href=&#34;https://datahacker.blog/tutorials/networking/routing/split-gateway-tutorial/&#34;&gt;Split Gateway Tutorial&lt;/a&gt; covers configuration examples. “Split gateway” here is descriptive terminology, not a special Linux route type or a way to bypass routing validation.&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;Gateway or Route?&lt;/h2&gt;&#xA;&lt;p&gt;A route is a table entry describing a destination prefix and how matching traffic should be handled. It can lead directly through an interface or via a next-hop router. A host route describes one address; it is not restricted to a physically attached host.&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>route and netstat</title>
				<link>https://datahacker.blog/reference/networking/routing/route-and-netstat/</link>
				<pubDate>Sat, 20 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/route-and-netstat/</guid>
				<description>&lt;p&gt;This section describes the use of alternative tools to the &lt;em&gt;iproute2&lt;/em&gt; suite for viewing the status of a network. They may be old, but &lt;strong&gt;route&lt;/strong&gt; and &lt;strong&gt;netstat&lt;/strong&gt; can still be useful when troubleshooting IPv4 routing tables.&lt;/p&gt;&#xA;&lt;p&gt;The examples below use one illustrative IPv4 topology throughout: &lt;code&gt;eth0&lt;/code&gt; has address &lt;code&gt;192.168.10.10/24&lt;/code&gt;, and its next-hop router is &lt;code&gt;192.168.10.6&lt;/code&gt;. They are explanatory output, not a capture from the reader&amp;rsquo;s host. These legacy tools show only part of modern Linux routing state; use &lt;code&gt;ip route&lt;/code&gt; and &lt;code&gt;ip rule&lt;/code&gt; for policy routing.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Special Routing Use-Case Scenarios (iproute2)</title>
				<link>https://datahacker.blog/tutorials/networking/routing/special-routing-use-cases-iproute2/</link>
				<pubDate>Sat, 20 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/routing/special-routing-use-cases-iproute2/</guid>
				<description>&lt;p&gt;Linux routes can select a path, return a terminal error, or supply a preferred source address for locally generated traffic. These functions are different from firewall filtering and Network Address Translation (NAT).&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;Dropping Packets&lt;/h2&gt;&#xA;&lt;p&gt;A route can reject or discard traffic without specifying an output device. This affects packets whose policy lookup selects that route; an earlier matching policy rule or a more specific route can change the result.&lt;/p&gt;</description>
			</item>
			<item>
				<title>iproute and Routing Tables</title>
				<link>https://datahacker.blog/reference/networking/routing/iproute-and-routing-tables/</link>
				<pubDate>Fri, 19 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/iproute-and-routing-tables/</guid>
				<description>&lt;p&gt;Routes describe how the kernel reaches destinations. Policy rules decide which routing tables to consult. Together they provide Linux policy routing; iptables is a separate packet-filtering interface, not a third component of the RPDB.&lt;/p&gt;&#xA;&lt;h2 id=&#34;section-1&#34;&gt;Routes&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;ip route&lt;/code&gt; belongs to iproute2 and manages kernel routing tables. The older &lt;code&gt;route&lt;/code&gt; command belongs to net-tools. It can still help when reading historical output, but it does not provide iproute2&amp;rsquo;s policy-table controls.&lt;/p&gt;&#xA;&lt;p&gt;Use &lt;code&gt;ip -4 route show table all&lt;/code&gt; to inspect all IPv4 tables, or name one table explicitly. Modern Linux table identifiers are 32-bit values, not a limit of 256 tables. The reserved identifiers and optional names are explained below.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Policy Based Routing</title>
				<link>https://datahacker.blog/reference/networking/routing/policy-based-routing/</link>
				<pubDate>Fri, 19 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/policy-based-routing/</guid>
				<description>&lt;p&gt;A routing table describes paths to network destinations. Linux can use several tables, with a Routing Policy Database (RPDB) deciding which table to consult. The policies are expressed as rules; the tables hold the routes.&lt;/p&gt;&#xA;&lt;p&gt;The RPDB provides a way to choose among several routing tables based on traffic attributes. Rules and routes are separate. Several rules can consult the same table, or different rules can consult different tables. This lets you make routing decisions beyond a single destination-based table.&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>Routing and Filtering Network Traffic</title>
				<link>https://datahacker.blog/reference/networking/routing/routing-and-filtering-network-traffic/</link>
				<pubDate>Wed, 17 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/routing-and-filtering-network-traffic/</guid>
				<description>&lt;p&gt;A brief, high-level introduction to Linux routing and packet filtering: what the kernel decides, and which tools configure those decisions.&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;10,000 Foot View&lt;/h2&gt;&#xA;&lt;p&gt;Routing selects how a packet reaches its destination. Packet filtering decides whether a packet is allowed to proceed. Packet modification, including NAT and marking, is another function that can interact with those decisions. These functions work together, but they are not interchangeable layers of one command.&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>
			<item>
				<title>Linux ACL File Systems</title>
				<link>https://datahacker.blog/reference/linux-systems/linux-acl-file-systems/</link>
				<pubDate>Tue, 25 Jun 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/linux-systems/linux-acl-file-systems/</guid>
				<description>&lt;p&gt;Linux already has a basic file-permission system: an owner, an owning group, and read, write, and execute permissions for the owner, group, and everyone else. Extended POSIX ACLs add finer control, such as permissions for an additional named user or group. A file without an extended ACL is not automatically open to everyone. See the Linux &lt;a href=&#34;https://man7.org/linux/man-pages/man7/inode.7.html&#34;&gt;file-mode documentation&lt;/a&gt; and &lt;a href=&#34;https://man7.org/linux/man-pages/man5/acl.5.html&#34;&gt;ACL manual&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;ACL is an acronym for &amp;ldquo;Access Control List.&amp;rdquo; In Linux documentation, the three ordinary permission entries can themselves be described as a minimal ACL. Here, &lt;strong&gt;extended ACL&lt;/strong&gt; means permissions beyond those basic owner/group/other entries. The name &amp;ldquo;POSIX ACL&amp;rdquo; is conventional; the underlying POSIX.1e draft did not become a final standard.&lt;/p&gt;</description>
			</item>
			<item>
				<title>What Is Bash?</title>
				<link>https://datahacker.blog/reference/linux-systems/bash/bash-bourne-again-shell/</link>
				<pubDate>Sat, 15 Jun 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/linux-systems/bash/bash-bourne-again-shell/</guid>
				<description>&lt;img alt=&#34;Original article image: What is BaSH?&#34; loading=&#34;lazy&#34; src=&#34;https://datahacker.blog/images/nano_screenshot_v4.png&#34;/&gt;&#xA;&lt;p&gt;Often written as &amp;ldquo;Bash&amp;rdquo; or &amp;ldquo;BASH&amp;rdquo;, &lt;em&gt;BaSH&lt;/em&gt; is an acronym for &amp;ldquo;Bourne Again SHell.&amp;rdquo; BaSH is a UNIX shell programming language interpreter that comes preinstalled with many UNIX and Linux based operating systems, including Ubuntu.&lt;/p&gt;&#xA;&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;Why Use Bash?&lt;/h3&gt;&#xA;&lt;p&gt;Bash is free software distributed under the GNU General Public License. It is the GNU project&amp;rsquo;s shell: a program that interprets commands, runs other programs, and supports interactive work and scripts. The &lt;a href=&#34;https://www.gnu.org/software/bash/manual/html_node/What-is-Bash_003f.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;GNU introduction&lt;/a&gt; describes its relationship to the Bourne shell and features borrowed from other shells.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
