<?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 Aaron&#39;s Worthless Words</title>
    <link>https://a996c8ee.aww-3cz.pages.dev/tags/linux/</link>
    <description>Recent content in Linux on Aaron&#39;s Worthless Words</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 25 Apr 2023 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://a996c8ee.aww-3cz.pages.dev/tags/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Netbox Upgrade Play-by-play</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2023/04/netbox-upgrade-play-by-play/</link>
      <pubDate>Tue, 25 Apr 2023 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2023/04/netbox-upgrade-play-by-play/</guid>
      <description>&lt;p&gt;I just upgraded my Netbox server from v2.7.6 to v3.4.8. This is just a record of what I did in case anyone want to know how I did it.&lt;/p&gt;&#xA;&lt;h2 id=&#34;environment&#34;&gt;Environment&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;The source v2.7.6 server is an Ubuntu 18.04 VM. Yes, both are very old.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;The destination v3.4.8 server is an Ubuntu 20.04 VM.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;We have no media, scripts, or reports in Netbox.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I&amp;rsquo;m running Virtualbox on my laptop to do the data migrations.&lt;/p&gt;</description>
    </item>
    <item>
      <title>A Quick Intro to Google&#39;s Capirca</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2010/04/a-quick-intro-to-googles-capirca/</link>
      <pubDate>Sun, 11 Apr 2010 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2010/04/a-quick-intro-to-googles-capirca/</guid>
      <description>&lt;p&gt;Yeled left a comment earlier this week asking if I&amp;rsquo;d seen &lt;a href=&#34;http://code.google.com/p/capirca/&#34;&gt;Google&amp;rsquo;s Capirca&lt;/a&gt;.  I&amp;rsquo;d heard of it and checked out some presentation slides on it, but I&amp;rsquo;d never actually tried it out, so, in keeping with the script, I downloaded it to see what it could do.  Remember, now, that I&amp;rsquo;ve been playing with it for about 2 hours now, so I&amp;rsquo;m no expert on its use.&lt;/p&gt;&#xA;&lt;p&gt;Capirca is a Python-based solution that Google came up with to automate ACL creation on their many thousands of routers around the world.  You can&amp;rsquo;t blame them for wanting to automate it, either.  How many times do you think they ran into problems with typos or keying errors from their network guys across those devices?&lt;/p&gt;</description>
    </item>
    <item>
      <title>An Interesting Problem with Multiple DCs on a Stick</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2009/03/an-interesting-problem-with-multiple-dcs-on-a-stick/</link>
      <pubDate>Tue, 24 Mar 2009 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2009/03/an-interesting-problem-with-multiple-dcs-on-a-stick/</guid>
      <description>&lt;p&gt;We talked about &lt;a href=&#34;http://aconaway.com/2008/08/12/running-multiple-data-centers-on-a-stick-with-the-csm/&#34; title=&#34;AConaway.com -- Running Multiple Data Centers on a Stick&#34;&gt;running multiple data centers on a stick&lt;/a&gt; back in August, which is where you have multiple logical pairs of client and server VLANs on a single CSM for different tiers or functions.  The big point of the article was that you had to do some fancy forwarding to get a server-initiated connection from one server VLAN to appear out the appropriate client VLAN.  Well, we ran into an interesting issue with the given solution.&lt;/p&gt;</description>
    </item>
    <item>
      <title>VLANs on Linux</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2009/02/vlans-on-linux/</link>
      <pubDate>Thu, 19 Feb 2009 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2009/02/vlans-on-linux/</guid>
      <description>&lt;p&gt;My home network has a Linux box running IPTables as it&amp;rsquo;s center point, and, since there are four networks, it has 4 NICs and 4 cables into the switch.  I kept running into problems with the NICs (they would reorder depending on what flavor of Linux was installed), so I wanted to consolidate the NICs down to 2 &amp;ndash; one for the Internet link and one for the LAN segments with &lt;a href=&#34;http://en.wikipedia.org/wiki/IEEE_802.1Q&#34; title=&#34;Wikipedia.com -- IEEE 802.1q&#34;&gt;802.1q tagging&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Unix Epoch &#43; 1234567890 = Next Friday</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2009/02/unix-epoch-1234567890-next-friday/</link>
      <pubDate>Tue, 03 Feb 2009 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2009/02/unix-epoch-1234567890-next-friday/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m kind of an &lt;a href=&#34;http://en.wikipedia.org/wiki/Obsessive-compulsive_disorder&#34; title=&#34;Wikipedia.com -- OCD&#34;&gt;obsessive-compulsive&lt;/a&gt; when it comes to numbers (1, 2, 3, 4, 5&amp;hellip;), so I&amp;rsquo;m fairly excited about next Friday (..6, 7, 8, 9, 10&amp;hellip;) when &lt;a href=&#34;http://matthewhelmke.net/2009/01/15/unix-time-1234567890/&#34; title=&#34;MatthewHelmke.net -- Unix Time - 1234567890&#34;&gt;Epoch time reaches 1234567890&lt;/a&gt; at 18:31:30 on 13 February(&amp;hellip;11, 12, 13, 14, 15&amp;hellip;).  I&amp;rsquo;m sure my ADD will kick in (&lt;a href=&#34;http://www.crazydogtshirts.com/servlet/the-1135/squirrel-t-dsh-shirt,-funny-shirt,/Detail&#34; title=&#34;CrazyDotTshirts.com - Shirts Built By Dog Robots&#34;&gt;Oh, look.  A squirrel!&lt;/a&gt;) right before, but I&amp;rsquo;ll try to remember to run to a Linux box and type &lt;em&gt;date +%s&lt;/em&gt; (&amp;hellip;16, 17, 18, 19, 20!  Made it!).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Leap Second</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2009/01/leap-second/</link>
      <pubDate>Fri, 02 Jan 2009 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2009/01/leap-second/</guid>
      <description>&lt;p&gt;Did anyone notice (or care about) the leap second?  I did neither.  Here&amp;rsquo;s some cool output from Kevin Oberman on the &lt;a href=&#34;http://nanog.org/&#34; title=&#34;NANOG.org -- Welcoem to NANOG!&#34;&gt;NANOG&lt;/a&gt; list, though.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;bash-2.05b# date Thu Jan  1 00:59:58 CET 2009 bash-2.05b# date Thu Jan  1 00:59:59 CET 2009 bash-2.05b# date Thu Jan  1 00:59:60 CET 2009 bash-2.05b# date Thu Jan  1 01:00:00 CET 2009 bash-2.05b# date Thu Jan  1 01:00:01 CET 2009 bash-2.05b#&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Free and Awesome Network Tools</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2007/11/free-and-awesome-network-tools/</link>
      <pubDate>Sun, 18 Nov 2007 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2007/11/free-and-awesome-network-tools/</guid>
      <description>&lt;p&gt;We all have limited budgets these days. Long gone are the days of unlimited resources and uncontrollable expansion of the network, so it&amp;rsquo;s important that any network dude or dudette pay attention to the open-source world. Below is a list of stuff I use at the office and at home to monitor, trend, and alert the network. All this stuff is free and runs on Linux to save even more cash.&lt;/p&gt;</description>
    </item>
    <item>
      <title>A Simple BGP Lab with Dynamips/Dynagen</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2007/11/a-simple-bgp-lab-with-dynamipsdynagen/</link>
      <pubDate>Sat, 10 Nov 2007 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2007/11/a-simple-bgp-lab-with-dynamipsdynagen/</guid>
      <description>&lt;p&gt;I assume you take every word I say to heart and that you&amp;rsquo;ve been using Dynamips/Dynagen for a few days now, right? Good. That&amp;rsquo;s a start, but let&amp;rsquo;s break down a simple lab to make sure everyone&amp;rsquo;s on the same page. I run my labs on Linux most of the time, so you&amp;rsquo;ll see my commands for that platform. You&amp;rsquo;re a smart one, so you can figure out what to do on Windows. :)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Finding Hosts on Layer 2</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2007/09/44/</link>
      <pubDate>Thu, 27 Sep 2007 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2007/09/44/</guid>
      <description>&lt;p&gt;Most firewalls should block [tag]ICMP[/tag] requests to them, so how do you know that your router or server has layer-2 connectivity to one? It&amp;rsquo;s pretty elementary, actually, but I&amp;rsquo;ve found that not a lot of people know this trick. If you ping the firewall, it will receive the ICMP packet and drop it per the rulebase. In this process, though, the firewall has to answer [tag]ARP[/tag] requests, which will be stored in the router or server&amp;rsquo;s ARP table. If you see it in there, you have connectivity.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using a Linux Box as a File Server</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2007/08/using-a-linux-box-as-a-file-server/</link>
      <pubDate>Thu, 30 Aug 2007 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2007/08/using-a-linux-box-as-a-file-server/</guid>
      <description>&lt;p&gt;Ever heard of &lt;a href=&#34;http://us3.samba.org/samba/&#34; title=&#34;Samba -- Official Site&#34;&gt;Samba&lt;/a&gt;? You should.&lt;/p&gt;&#xA;&lt;p&gt;Samba is an open-source project &amp;ldquo;that provides seamless file and print services to SMB/CIFS clients.&amp;rdquo; That&amp;rsquo;s from the project&amp;rsquo;s website, but what the hell does it mean? In a nutshell, it&amp;rsquo;s an open-source application that lets non-Windows machines share files and printers with Windows machines. In most cases, people use Samba to share files on a Linux box in a really simple setup. I&amp;rsquo;ve read about several cases, though, where superhuman admins have used Samba machines to set up a &lt;a href=&#34;http://www.samba.netfirms.com/PDC.htm&#34; title=&#34;Using Samba as a Domain Controller&#34;&gt;Windows domain&lt;/a&gt;. I&amp;rsquo;m talking full-scale domain login, &lt;a href=&#34;http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html&#34; title=&#34;Samba -- Machine Trust Accounts&#34;&gt;domain machine registration&lt;/a&gt;, and everything. I tried that once and all my Windows machines stopped working. It sucked.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Port Knocking</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2007/08/port-knocking/</link>
      <pubDate>Sat, 11 Aug 2007 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2007/08/port-knocking/</guid>
      <description>&lt;p&gt;A few months ago, a friend of mine told me about the concept of &lt;a href=&#34;http://en.wikipedia.org/wiki/Port_knocking&#34; title=&#34;Wikipedia Article&#34;&gt;port knocking&lt;/a&gt;, where you send packets to a server on certain ports to authenticate access to the box. A daemon running on your server detects the sequence of packets that you send and runs a script (usually IPtables commands), waits a certain amount of time, then runs another script (usually to take the IPtables commands out). This seems like a good way to get access to your home firewall from anywhere without having to open up access to the whole Internet.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The Principle of Least Privilege</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2007/08/the-principle-of-least-privilege/</link>
      <pubDate>Fri, 10 Aug 2007 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2007/08/the-principle-of-least-privilege/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://en.wikipedia.org/wiki/Principle_of_least_privilege&#34; title=&#34;Wikipedia Article&#34;&gt;The Principle of Least Privilege&lt;/a&gt; says that users or applications should only have access to the what it needs to access and that access should be as limited as possible.  This idea can be applied to any number of things, but it is a very important topic when talking about security.&lt;/p&gt;&#xA;&lt;p&gt;The idea is that processes, users, modules, or whatever can only access what they need to in order to function.   This keeps users in check since they don&amp;rsquo;t have any access to anything outside their home directories (or whatever).  It keeps developers in check since their code can only access a small set of files or processes.  It keeps hackers in check since the Apache server they&amp;rsquo;re hacking can&amp;rsquo;t access the password file.  It even keeps administrators in check since it forces them to use &lt;em&gt;sudo&lt;/em&gt;, which is logged to syslog.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using an Old Server as a Home Firewall</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2007/08/using-an-old-server-as-a-home-firewall/</link>
      <pubDate>Fri, 10 Aug 2007 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2007/08/using-an-old-server-as-a-home-firewall/</guid>
      <description>&lt;p&gt;You can use an old PC as a firewall at home (and at work, I guess). It&amp;rsquo;s not that hard to do if you have a basic knowledge of Linux, DHCP, and IPtables, but that may be saying a lot.&lt;/p&gt;&#xA;&lt;p&gt;Why would anyone want to do this, though? If you&amp;rsquo;re like me, you like to know what&amp;rsquo;s going on in the network. One of the Linksys routers you buy at Best Buy or Circuit City just doesn&amp;rsquo;t let you monitor very well. You can&amp;rsquo;t get very good logs off of it, so you don&amp;rsquo;t really know what it&amp;rsquo;s doing or complaining about. It also doesn&amp;rsquo;t let you query the interfaces, so you really don&amp;rsquo;t know how much bandwidth you&amp;rsquo;re using.  If you have a Linux box as your router/firewall/gateway, you can get really good logs, monitor the interfaces with SNMP, and have some really great, granular control over your network.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
