<?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 unordered</title>
		<link>https://unorde.red/categories/networking/</link>
		<description>Recent content in Networking on unordered</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Fri, 28 Feb 2020 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://unorde.red/categories/networking/feed.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Exploring Facebook&#39;s network</title>
				<link>https://unorde.red/exploring-facebooks-network/</link>
				<pubDate>Fri, 28 Feb 2020 00:00:00 +0000</pubDate>
				<guid>https://unorde.red/exploring-facebooks-network/</guid>
				<description>&lt;p&gt;What does the (physical) network of a big internet company like Facebook look&#xA;like? I&amp;rsquo;m going to try to find out. I&amp;rsquo;ll be making a lot of assumptions, loosely&#xA;backed by informaton gathered from possibly out of date sources. I&amp;rsquo;ll try to be&#xA;explicit when something is guesswork.&lt;/p&gt;&#xA;&lt;p&gt;A good place to start is the traceroute tool. By default it performs reverse DNS&#xA;lookups for each hop. This often reveals interesting information, and&#xA;facebook.com is no exception.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Playing with ICMP and NAT</title>
				<link>https://unorde.red/icmp-and-nat/</link>
				<pubDate>Mon, 18 Feb 2019 00:00:00 +0000</pubDate>
				<guid>https://unorde.red/icmp-and-nat/</guid>
				<description>&lt;p&gt;ICMP stands for Internet Control Message Protocol. It is used by network devices&#xA;to send error messages and operational information. If you&amp;rsquo;ve ever used &lt;code&gt;ping&lt;/code&gt;&#xA;to poke a machine, you&amp;rsquo;ve used the ICMP protocol!&lt;/p&gt;&#xA;&lt;p&gt;The ICMP protocol is very simple. It is considered a layer 3 protocol, and&#xA;messages are wrapped by IP. The header consists of several fields. The first&#xA;byte is a numeric type. For example, 8 is an IPv4 echo request, while 0 is an&#xA;IPv4 echo reply. Next is a code that expands on the type, then a checksum and&#xA;finally 4 bytes that depend on the type/code. For ping, these four bytes consist&#xA;of an identifier and a sequence number. After the header there may be a payload.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Internet 101: TCP</title>
				<link>https://unorde.red/tcp/</link>
				<pubDate>Sat, 04 Nov 2017 00:00:00 +0000</pubDate>
				<guid>https://unorde.red/tcp/</guid>
				<description>&lt;p&gt;&lt;em&gt;This article assumes the reader has basic knowledge of &lt;a href=&#34;https://unorde.red/ip/&#34;&gt;IP&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;IP gives us addressing and the ability to send packets from one machine on the&#xA;internet to another, assuming that routing is configured correctly at each hop.&#xA;However, it provides little else.&lt;/p&gt;&#xA;&lt;p&gt;Imagine trying to send a large file over IP. Due to the length restriction on IP&#xA;packets, the file is broken up into chunks, and each chunk is sent in order as&#xA;an IP packet. In this scenario, any number of things can go wrong. An unreliable&#xA;link may corrupt a packet. A router may choose to route one or more packets&#xA;differently from the others. Packets may be silently dropped or duplicated in&#xA;misconfigured networking devices. Eventually, the destination machine receives&#xA;the packets out of order, with some missing, corrupted or duplicated. Obviously,&#xA;reliably reconstructing the file from these packets is impossible.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Internet 101: Autonomous systems</title>
				<link>https://unorde.red/autonomous-systems/</link>
				<pubDate>Tue, 10 Oct 2017 00:00:00 +0000</pubDate>
				<guid>https://unorde.red/autonomous-systems/</guid>
				<description>&lt;p&gt;&lt;em&gt;This article assumes basic knowledge of &lt;a href=&#34;https://unorde.red/ip/&#34;&gt;IP&lt;/a&gt; and&#xA;&lt;a href=&#34;https://unorde.red/cidr/&#34;&gt;CIDR&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;The internet is made up of a huge number of networks. These networks are owned&#xA;by many different entities in many different countries, who each control one or&#xA;many IP prefixes. The IANA and the internet registries under it allocate the&#xA;prefixes. But how are these networks identified, and how does traffic flow&#xA;between them?&lt;/p&gt;&#xA;&lt;p&gt;An autonomous system is collection of IP prefixes controlled by a single entity.&#xA;This entity can be an ISP, large company, government or academic institution.&#xA;The IANA, via the internet registries under it, allocates a unique number (32&#xA;bits, used to be 16) to every such entity. This is called an ASN, or autonomous&#xA;system number.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Internet 101: CIDR</title>
				<link>https://unorde.red/cidr/</link>
				<pubDate>Mon, 09 Oct 2017 00:00:00 +0000</pubDate>
				<guid>https://unorde.red/cidr/</guid>
				<description>&lt;p&gt;&lt;em&gt;This article assumes the reader has basic knowledge of &lt;a href=&#34;https://unorde.red/ip/&#34;&gt;IP&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;IP defines the IP address, and the packets that are sent across networks.&#xA;However, it doesn&amp;rsquo;t state how the packets are routed. What happens when a packet&#xA;arrives at a router? The only information the router has is the destination&#xA;address. If it isn&amp;rsquo;t directly connected to the machine hosting this address, how&#xA;will it know where to send the packet?&lt;/p&gt;</description>
			</item>
			<item>
				<title>Internet 101: IP</title>
				<link>https://unorde.red/ip/</link>
				<pubDate>Sun, 08 Oct 2017 00:00:00 +0000</pubDate>
				<guid>https://unorde.red/ip/</guid>
				<description>&lt;p&gt;The Internet Protocol is responsible for moving data across network boundaries.&#xA;How does it do this?&lt;/p&gt;&#xA;&lt;h3 id=&#34;addressing&#34;&gt;Addressing&lt;/h3&gt;&#xA;&lt;p&gt;To route data on a multi node path from one machine to another, it is necessary&#xA;to uniquely and deterministically identify the source and destination machine&#xA;(it should be noted that this idea is abused a lot in the wild). IP does this by&#xA;defining a numerical IP address.&lt;/p&gt;&#xA;&lt;p&gt;For IPv4, this is a 32 bit number (e.g. 172.16.254.1). Since the number of&#xA;possible IPv4 addresses is grossly insufficient, IPv6 defines a 128 bit number.&#xA;IPv6 addresses are typically shown using eight four-digit hexadecimal numbers&#xA;delimited by colons (e.g. 2001:db8:0:1234:0:567:8:1).&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
