<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>James Wendel&#39;s Ramblings</title>
    <link>https://jwendel.net/</link>
    <description>Recent content on James Wendel&#39;s Ramblings</description>
    <generator>Hugo -- 0.140.2</generator>
    <language>en</language>
    <lastBuildDate>Sat, 21 Sep 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jwendel.net/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Things I Learned Building is.xivup.com</title>
      <link>https://jwendel.net/2024/09/things-i-learned-building-is.xivup.com/</link>
      <pubDate>Sat, 21 Sep 2024 00:00:00 +0000</pubDate>
      <guid>https://jwendel.net/2024/09/things-i-learned-building-is.xivup.com/</guid>
      <description>&lt;p&gt;This is a WIP.  Last update 2024-09-21.&lt;/p&gt;
&lt;p&gt;I wrote a &lt;a href=&#34;https://jwendel.net/2024/08/refresh-of-is.xivup.com-a-history/&#34;&gt;fairly bland history&lt;/a&gt; of &lt;a href=&#34;https://is.xivup.com&#34;&gt;is.xivup.com&lt;/a&gt;, but I wanted to dive into some of the technical aspects of the site that are interesting (aka: this post).  The code is not open-source right now due to &amp;ldquo;reasons&amp;rdquo;, so you get this blog post instead.&lt;/p&gt;
&lt;h2 id=&#34;where-it-is-now&#34;&gt;Where it is now&lt;/h2&gt;
&lt;p&gt;Running &lt;a href=&#34;https://github.com/boyter/scc&#34;&gt;scc&lt;/a&gt; on the codebase yields the following:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;───────────────────────────────────────────────────────────────────────────────
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Language                 Files     Lines   Blanks  Comments     Code Complexity
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;───────────────────────────────────────────────────────────────────────────────
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Go                          35      5139      594       235     4310        721
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Plain Text                  22        22        0         0       22          0
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Go Template                 14       784       32         5      747         24
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;TypeScript                  10      1662      194       157     1311        173
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;JSON                         7       141        2         0      139          0
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Sass                         3       387       89        76      222          0
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;LESS                         2       483       64        63      356          0
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Markdown                     2       181       21         0      160          0
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;YAML                         2       583       22        27      534          0
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;HTML                         1        68        2         0       66          0
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;JavaScript                   1         2        0         1        1         16
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Shell                        1        24        8         3       13          1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Systemd                      1        15        2         0       13          0
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;TypeScript Typings           1        68       10         0       58          0
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;───────────────────────────────────────────────────────────────────────────────
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Total                      102      9559     1040       567     7952        935
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;───────────────────────────────────────────────────────────────────────────────
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The backend is entirely in Go, and the front is a mix of various tech.  There are some interesting bits in all these holes, so lets dive in!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Refresh of is.xivup.com (A History)</title>
      <link>https://jwendel.net/2024/08/refresh-of-is.xivup.com-a-history/</link>
      <pubDate>Wed, 21 Aug 2024 00:00:00 +0000</pubDate>
      <guid>https://jwendel.net/2024/08/refresh-of-is.xivup.com-a-history/</guid>
      <description>&lt;p&gt;This is a brief history of the creation and maintenance of is.xivup.com.&lt;/p&gt;
&lt;p&gt;I have been running a server status website for FFXIV (Final Fantasy XIV, an MMO) &lt;a href=&#34;https://web.archive.org/web/20170901034000/http://is.xivup.com/&#34;&gt;since 2017&lt;/a&gt; at &lt;a href=&#34;https://is.xivup.com&#34;&gt;is.xivup.com&lt;/a&gt;.  The primary purpose of it is to have an auto-refreshing site that can tell people if the FFXIV servers are up.  Because I suck at coming up with new ideas, this 2017 site was already a &amp;ldquo;v2&amp;rdquo;, as my original one was embedded on my FFXIV fansite I ran back before the game first came out.  I had a server status &lt;a href=&#34;https://web.archive.org/web/20110221232733/http://www.ff14news.com/serverstatus&#34;&gt;site in 2011&lt;/a&gt; before &lt;em&gt;A Realm Reborn&lt;/em&gt; was launched.&lt;/p&gt;</description>
    </item>
    <item>
      <title>As Things Pass</title>
      <link>https://jwendel.net/2024/06/as-things-pass/</link>
      <pubDate>Mon, 24 Jun 2024 00:00:00 +0000</pubDate>
      <guid>https://jwendel.net/2024/06/as-things-pass/</guid>
      <description>&lt;figure&gt;
  &lt;img src=&#34;niko.webp&#34; alt=&#34;&#34; defer /&gt;
  &lt;figcaption&gt;
    &lt;p class=&#34;caption&#34;&gt;&lt;/p&gt;
  &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;Note: this post is effectively just a journal entry for myself.  Don&amp;rsquo;t expect much of interest here.&lt;/p&gt;
&lt;p&gt;2022 was a turbulent year for my family.  Early in the year my dog had major emergency surgery on
the same day my father-in-law had open-heart surgery.  That was a stressful, wondering if we would
lose either or both of them on that day (spoiler, all went well for both!  And the father-in-law is
still going strong even today).  In May my mom had major surgery to replace a hip joint (which was
compounded by an old skiing accident).  I was able to fly out and help her for the first week she
was home.&lt;/p&gt;</description>
    </item>
    <item>
      <title>My Firewall Made My Application 10x Slower</title>
      <link>https://jwendel.net/2022/10/my-firewall-made-my-application-10x-slower/</link>
      <pubDate>Tue, 18 Oct 2022 00:00:00 +0000</pubDate>
      <guid>https://jwendel.net/2022/10/my-firewall-made-my-application-10x-slower/</guid>
      <description>&lt;h2 id=&#34;intro&#34;&gt;Intro&lt;/h2&gt;
&lt;p&gt;Firewalls are great, until they get in your way.  I run a &lt;a href=&#34;https://is.xivup.com/&#34;&gt;simple website&lt;/a&gt; that occasionally gets really large traffic spikes, so I like to load test it to know its limits.  I&amp;rsquo;ve been migrating it from GCP to Linode, and during the migration testing I ran into some performance bottlenecks.  This has led me on a really long journey of writing my own nftable firewall rules.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If you want to skip the firewall background, jump to the &lt;a href=&#34;https://jwendel.net/2022/10/my-firewall-made-my-application-10x-slower/#debugging&#34;&gt;debugging section&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;See the &lt;a href=&#34;https://jwendel.net/2022/10/my-firewall-made-my-application-10x-slower/#note&#34;&gt;note&lt;/a&gt; section about the truth of the article title.&lt;/li&gt;
&lt;li&gt;Spoiler: performance issues were caused by connection tracking.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;firewall-background&#34;&gt;Firewall Background&lt;/h2&gt;
&lt;p&gt;At a high level, firewalls are meant to limit and control traffic to, and sometimes from, a server.  Firewalls can work in many ways and at any layer in the &lt;a href=&#34;https://en.wikipedia.org/wiki/OSI_model&#34;&gt;OSI model&lt;/a&gt;), though most people think about them at the Network and Transport layers.  As well, firewalls can be at a network&amp;rsquo;s edge, per machine, or both.&lt;/p&gt;</description>
    </item>
    <item>
      <title>And Back to a Static Site Generator</title>
      <link>https://jwendel.net/2022/09/and-back-to-a-static-site-generator/</link>
      <pubDate>Sat, 17 Sep 2022 00:00:00 +0000</pubDate>
      <guid>https://jwendel.net/2022/09/and-back-to-a-static-site-generator/</guid>
      <description>&lt;p&gt;I wrote about &lt;a href=&#34;https://jwendel.net/2021/06/picking-ghost/&#34;&gt;Picking Ghost&lt;/a&gt; a year ago, but I&amp;rsquo;m now going back to a static site generator.&lt;/p&gt;
&lt;p&gt;For personal writing, I previously published a few posts on another domain back in 2013.  I used Hugo back then, but much of it was poorly done (and I wasn&amp;rsquo;t able to regenerate that site since ~2015, so it just languished).  Last year I tried Wordpress and Ghost, but went with Ghost.  And now in 2022, I&amp;rsquo;m back to Hugo.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Classical Enterprise Network Security vs Zero Trust</title>
      <link>https://jwendel.net/2021/07/classical-enterprise-network-security-vs-zero-trust/</link>
      <pubDate>Sat, 03 Jul 2021 18:00:00 +0000</pubDate>
      <guid>https://jwendel.net/2021/07/classical-enterprise-network-security-vs-zero-trust/</guid>
      <description>&lt;p&gt;Opinions are my own and not those of my employer.&lt;/p&gt;
&lt;p&gt;While it&amp;rsquo;s been 6 years since I left Cisco to join Google, it&amp;rsquo;s interesting to realize that even back then, the 2 companies approached network security in very different ways.&lt;/p&gt;
&lt;h2 id=&#34;snort-and-enterprise-network-security&#34;&gt;Snort and Enterprise Network Security&lt;/h2&gt;
&lt;p&gt;I previously worked at &lt;a href=&#34;https://en.wikipedia.org/wiki/Sourcefire&#34;&gt;SourceFire&lt;/a&gt; (which was acquired by Cisco) on their network security equipment.  Their core software, &lt;a href=&#34;https://snort.org/&#34;&gt;Snort&lt;/a&gt;, is effectively a deep packet inspection tool with pattern matching (it&amp;rsquo;s a lot more, but that is the high-level). Snort relies on seeing packet data to work effectively.  I very much believed in the product during my tenure (and continued to after I left).&lt;/p&gt;</description>
    </item>
    <item>
      <title>A Period and Two Spaces</title>
      <link>https://jwendel.net/2021/06/a-period-and-two-spaces/</link>
      <pubDate>Sat, 05 Jun 2021 18:00:00 +0000</pubDate>
      <guid>https://jwendel.net/2021/06/a-period-and-two-spaces/</guid>
      <description>&lt;p&gt;Ghost subtly told me I am &lt;a href=&#34;https://www.wired.com/2010/06/iphone-4-holding-it-wrong/&#34;&gt;holding it wrong&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;As I&amp;rsquo;ve been writing posts with Ghost, I have seen that it will do odd things with paragraph layout if I put two spaces after a period. This aligns with Microsoft Word and most of the publishing industry, which says you should only have one space after a period. &lt;a href=&#34;https://en.m.wikipedia.org/wiki/Sentence_spacing&#34;&gt;Per Wikipedia&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The desired or correct sentence spacing is often debated but some sources now claim an additional space is not necessary.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Picking Ghost</title>
      <link>https://jwendel.net/2021/06/picking-ghost/</link>
      <pubDate>Wed, 02 Jun 2021 21:44:58 -0600</pubDate>
      <guid>https://jwendel.net/2021/06/picking-ghost/</guid>
      <description>&lt;p&gt;One of the eternal questions for someone starting a blog is what platform to use.  Let&amp;rsquo;s go through that thought process.&lt;/p&gt;
&lt;h1 id=&#34;self-hosted-or-not&#34;&gt;Self Hosted or Not&lt;/h1&gt;
&lt;p&gt;Hosting on a third-party platform would get me up and writing faster, but as someone who has previously run my own Wordpress instance, I like self hosting. My 3 main reasons:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I enjoy the tinkering.  Playing with Linux systems to get them working efficiently helps me to learn.  While much of the detailed knowledge hasn&amp;rsquo;t applied directly to my day-to-day job, many of the general concepts I learned along the way have been applicable.&lt;/li&gt;
&lt;li&gt;Customization.  While I don&amp;rsquo;t intend to do a lot of theme customization, being able to do whatever I want to the system is always a nice option.  The free hosting of &lt;a href=&#34;https://wordpress.com/&#34;&gt;WordPress&lt;/a&gt;, &lt;a href=&#34;https://medium.com/&#34;&gt;Medium&lt;/a&gt;, &lt;a href=&#34;https://substack.com/&#34;&gt;Substack&lt;/a&gt;, and others have more limited customization options.&lt;/li&gt;
&lt;li&gt;Cost.  Ghost hosted is more expensive than the bottom end Linode or DigitalOcean instance  ($9 vs $5 /month).  Medium and Substack are free, but very much limit your customization.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I knew I was likely going to self host from the start, but realizing how much those other platforms limited post styling made it a simple choice.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Final Fantasy XIV - Server Locations</title>
      <link>https://jwendel.net/2013/06/final-fantasy-xiv-server-locations/</link>
      <pubDate>Sun, 16 Jun 2013 13:55:49 +0000</pubDate>
      <guid>https://jwendel.net/2013/06/final-fantasy-xiv-server-locations/</guid>
      <description>&lt;p&gt;This post was partially inspired by a FFXIV post from Reddit: &lt;a href=&#34;https://web.archive.org/web/20131126115757/http://www.daevaofwar.net/index.php?/topic/196-how-to-check-your-na-server-ping/&#34;&gt;How to check your NA server ping&lt;/a&gt;. My post below gives players real FFXIV servers to ping test against.&lt;/p&gt;
&lt;p&gt;With Final Fantasy XIV: A Realm Reborn releasing in two months, and with the beta servers now online with regional servers, I figured it was time to take a peek at where the servers were located. There was some guessing in the community that the North American servers would be located in Canada, and they are correct!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Simcity - Launching the Launcher</title>
      <link>https://jwendel.net/2013/04/simcity-launching-the-launcher/</link>
      <pubDate>Mon, 01 Apr 2013 12:00:00 +0000</pubDate>
      <guid>https://jwendel.net/2013/04/simcity-launching-the-launcher/</guid>
      <description>&lt;h3 id=&#34;preamble&#34;&gt;Preamble&lt;/h3&gt;
&lt;p&gt;When I first started looking at the Simcity 2013 traffic, I had hoped I could peak at all of the server communication they do.  Sadly (for me), the team at Maxis was fairly smart when it came to securing their encrypted traffic and they were able to thwart my initial attempts to man-in-the-middle (&lt;a href=&#34;http://en.wikipedia.org/wiki/Man-in-the-middle_attack&#34;&gt;MITM&lt;/a&gt;) the connection between the Simcity client and their servers.  I plan on attempt that some more in the future, but for now I&amp;rsquo;m going to look at the traffic from a higher level.  I&amp;rsquo;m not entirely skilled here, but I know enough to have been able to pull it off for the &lt;a href=&#34;http://na.finalfantasyxiv.com/&#34;&gt;Final Fantasy XIV&lt;/a&gt; login system (which will be its own post someday).&lt;/p&gt;</description>
    </item>
    <item>
      <title>SimCity Network Traffic &amp; World List</title>
      <link>https://jwendel.net/2013/03/simcity-network-traffic-and-world-list/</link>
      <pubDate>Sun, 10 Mar 2013 14:00:00 +0000</pubDate>
      <guid>https://jwendel.net/2013/03/simcity-network-traffic-and-world-list/</guid>
      <description>&lt;p&gt;Like many other who have tried playing &lt;a href=&#34;http://www.simcity.com&#34;&gt;Simcity&lt;/a&gt; since it&amp;rsquo;s launch, I&amp;rsquo;ve had time wasted fighting with their servers trying to get online.  This motivated me to start looking at the game&amp;rsquo;s network traffic to see what I could find.&lt;/p&gt;
 

&lt;figure&gt;
  &lt;img src=&#34;simcity_launcher-468x300.webp&#34; alt=&#34;&#34; defer /&gt;
  &lt;figcaption&gt;
    &lt;p class=&#34;caption&#34;&gt;&lt;/p&gt;
  &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;When you initially start up the game, the launcher connects to a number of different servers; this includes the advertisement area (the newsletter in the above screenshot) and recent news.  If you click the &amp;ldquo;SELECT SERVER&amp;rdquo; button, it does a GET on this URL:&lt;br&gt;
&lt;a href=&#34;http://worlds.simcity.com/parallelworlds.json&#34;&gt;http://worlds.simcity.com/parallelworlds.json&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Contact</title>
      <link>https://jwendel.net/contact/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://jwendel.net/contact/</guid>
      <description>contact</description>
    </item>
  </channel>
</rss>
