<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on blog.eenblam.net</title><link>https://blog.eenblam.net/posts/</link><description>Recent content in Posts on blog.eenblam.net</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 09 Dec 2024 23:55:48 -0800</lastBuildDate><atom:link href="https://blog.eenblam.net/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Trace the Rainbow: writing a Wireshark dissector</title><link>https://blog.eenblam.net/posts/dissector/</link><pubDate>Mon, 09 Dec 2024 23:55:48 -0800</pubDate><guid>https://blog.eenblam.net/posts/dissector/</guid><description>&lt;h1 id="trace-the-rainbow-writing-a-wireshark-dissector">Trace the Rainbow: writing a Wireshark dissector&lt;/h1>
&lt;p>I recently found a good excuse to learn about writing packet dissectors in Wireshark,
which are super helpful if you&amp;rsquo;re working on a custom protocol.
If you&amp;rsquo;re unfamiliar, &lt;a href="https://www.wireshark.org/">Wireshark&lt;/a> is an open-source packet analyzer for inspecting network traffic.
Teaching Wireshark about your protocol allows you to sort and filter packets by its fields, extract them to columns, and apply conditional highlighting.&lt;/p>
&lt;p>I&amp;rsquo;ve done a number of the Protohackers networking challenges. When testing my &lt;a href="https://github.com/eenblam/protohackers/tree/main/7">solution&lt;/a> to &lt;a href="https://protohackers.com/problem/7">problem #7&lt;/a> last fall, Wireshark helped me track down a tricky parsing bug. After, I thought, “This would’ve been even easier if Wireshark understood my protocol! I want good search. I want colors to mean something!&amp;quot; So I added a simple Lua dissector, and thought I’d share a bit about that.&lt;/p></description></item><item><title>Recurse #9: Domain Fronting and Packet Gymnastics</title><link>https://blog.eenblam.net/posts/recurse_009/</link><pubDate>Thu, 04 May 2023 09:00:43 -0700</pubDate><guid>https://blog.eenblam.net/posts/recurse_009/</guid><description>&lt;h1 id="recurse-sp223-9-domain-fronting-and-packet-gymnastics">Recurse SP2'23 #9: Domain Fronting and Packet Gymnastics&lt;/h1>
&lt;p>I was reading up on &lt;a href="https://www.bamsoftware.com/papers/fronting/">domain fronting&lt;/a> recently.
In short, network censors can&amp;rsquo;t see the Host header when your traffic is encrypted with TLS,
but they &lt;em>can&lt;/em> see the TLS &lt;a href="https://en.wikipedia.org/wiki/Server_Name_Indication">SNI (Server Name Indication)&lt;/a> extension,
so they just drop any TLS Client Hello packets containing a censored domain in the SNI.
Domain fronting is a censorship circumvention strategy that relies on content delivery networks
accepting an SNI for an unblocked domain, while allowing a different Host header to be provided
in the HTTP request.&lt;/p></description></item><item><title>Recurse #8: Projects coalesce</title><link>https://blog.eenblam.net/posts/recurse_008/</link><pubDate>Wed, 05 Apr 2023 00:00:00 +0000</pubDate><guid>https://blog.eenblam.net/posts/recurse_008/</guid><description>&lt;h1 id="recurse-sp223-8-projects-coalesce">Recurse SP2'23 #8: Projects coalesce&lt;/h1>
&lt;p>I was pretty focused today, but I&amp;rsquo;m also feeling like I&amp;rsquo;m growing a backlog.&lt;/p>
&lt;p>Here are my current areas of interest for the batch,
along with the status of things I&amp;rsquo;m working on in each area:&lt;/p>
&lt;ul>
&lt;li>Image processing
&lt;ul>
&lt;li>PAUSED: I made some simple &lt;strong>image filters&lt;/strong> last week, and I&amp;rsquo;m still planning to work on implementing &lt;strong>faster convolution&lt;/strong> soon. I&amp;rsquo;ve just put the project aside this week to focus on networking and databases.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Mapping
&lt;ul>
&lt;li>IDEA: &lt;strong>Line-of-sight (LoS) tool&lt;/strong>. I&amp;rsquo;ve worked for a few different companies and orgs that were, in some fashion, wireless ISPs (Internet service providers.) It was often useful to have access to software for determing if two points have a clear line-of-sight between them, based on LiDAR data sets of building and terrain height.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Networking
&lt;ul>
&lt;li>ACTIVE: I&amp;rsquo;m working through the &lt;strong>&lt;a href="https://www.protohackers.com">protohackers&lt;/a> challenges&lt;/strong>.&lt;/li>
&lt;li>NEXT: We have a study group focused on learning about the current network &lt;strong>censorship circumvention&lt;/strong> landscape. I have a lot of papers to catch up on!&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>General software dev: scraping, web development, databasing, etc.
&lt;ul>
&lt;li>ACTIVE: The NLRB &lt;strong>scraping project&lt;/strong> is currently scratching all these itches, and while hopefully include a spatial/mapping component by the time we&amp;rsquo;re done.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;p>I started Recurse with a fairly &lt;a href="https://blog.eenblam.net/posts/touch_draft.md/">loose idea&lt;/a>
of what I wanted to do.
I think I&amp;rsquo;m now feeling confident that I have a clear list of
projects and goals that are both achievable
and sufficiently challenging and educational.
(One of the Recurse &lt;a href="https://www.recurse.com/self-directives">self-directives&lt;/a>
is to &amp;ldquo;always work at the edge of your abilities.&amp;rdquo;)
The scraping and LoS projects will be pretty involved,
and I&amp;rsquo;ll learn a lot from the rest.&lt;/p></description></item><item><title>Recurse #7: Starting Protohackers</title><link>https://blog.eenblam.net/posts/recurse_007/</link><pubDate>Tue, 04 Apr 2023 08:42:14 -0700</pubDate><guid>https://blog.eenblam.net/posts/recurse_007/</guid><description>&lt;h1 id="recurse-sp223-7-starting-protohackers">Recurse SP2'23 #7: Starting Protohackers&lt;/h1>
&lt;p>Sadly, after writing about blogging daily in #5,
day #6 was mostly consumed by some health stuff.
So there is no post #6.&lt;/p>
&lt;p>As for today:&lt;/p>
&lt;ul>
&lt;li>I revisited the scraping project with Nikki and Tom. We had a good call to discuss data modeling, which gets interesting when your data comes from an unreliable or hard-to-parse source.&lt;/li>
&lt;li>I wrote some Go to &amp;ldquo;solve&amp;rdquo; protohackers #0. My solutions repo is &lt;a href="https://github.com/eenblam/protohackers">here&lt;/a>.&lt;/li>
&lt;li>I worked on deploying protohackers solutions with &lt;code>doctl&lt;/code>.&lt;/li>
&lt;/ul>
&lt;h2 id="smoke-test">Smoke Test&lt;/h2>
&lt;p>This is &lt;a href="https://protohackers.com/problem/0">problem #0&lt;/a> of Protohackers,
which is just meant to get you up and running.
This was kind of my side project for the day in addition to data modeling research.&lt;/p></description></item><item><title>Recurse #5: A Week in Writing</title><link>https://blog.eenblam.net/posts/recurse_005/</link><pubDate>Sun, 02 Apr 2023 11:01:48 -0700</pubDate><guid>https://blog.eenblam.net/posts/recurse_005/</guid><description>&lt;h1 id="recurse-sp223-5-a-week-in-writing">Recurse SP2'23 #5: A Week in Writing&lt;/h1>
&lt;p>Thus ends my first week at the &lt;a href="https://www.recurse.com/">Recurse Center&lt;/a>!
I feel like so much happened, and the program has been a blast from the start.
But I already wrote about all that, so now I&amp;rsquo;m gonna write about writing.&lt;/p>
&lt;p>For most of the week, I spent the first half of the day on calls and pairing,
the second half on my own projects and studies.
This wouldn&amp;rsquo;t be a bad schedule, but I then invented a third half of the day
to write about things, clean up code for public consumption, and debug issues
before (and long after) marking my post for publication.
And by &amp;ldquo;invented&amp;rdquo; I mean that blogging and debugging consumed most of my evenings this week.&lt;/p></description></item><item><title>Recurse #4: A Familiar Gopher</title><link>https://blog.eenblam.net/posts/recurse_004/</link><pubDate>Thu, 30 Mar 2023 00:00:00 +0000</pubDate><guid>https://blog.eenblam.net/posts/recurse_004/</guid><description>&lt;h1 id="recurse-sp223-4-a-familiar-gopher">Recurse SP2'23 #4: A Familiar Gopher&lt;/h1>
&lt;p>Small highlights from today:&lt;/p>
&lt;ul>
&lt;li>I got to collaborate with some folks on a fun scraping and data analysis project this morning. It was nice to write some Go, and I have some thoughts below!&lt;/li>
&lt;li>I got coffee with a local Recurser, &lt;a href="https://www.hryx.net/">Stevie&lt;/a>, to discuss audio programming, Zig, and more.&lt;/li>
&lt;li>I implemented some &lt;em>really&lt;/em> slow Gaussian blurring as a follow-up to yesterday&amp;rsquo;s reading. I talked to my friend about speeding this up, but I want to work that implementation out before writing about it here. Soon!&lt;/li>
&lt;/ul>
&lt;p>A big question I had for Stevie was
&amp;ldquo;how do different processes pass audio stream data between one another?&amp;rdquo;&lt;/p></description></item><item><title>Recurse #3: Towards a cel-shader</title><link>https://blog.eenblam.net/posts/recurse_003/</link><pubDate>Wed, 29 Mar 2023 14:04:12 -0700</pubDate><guid>https://blog.eenblam.net/posts/recurse_003/</guid><description>&lt;h1 id="recurse-sp223-3-towards-a-cel-shader">Recurse SP2'23 #3: Towards a cel-shader&lt;/h1>
&lt;p>I worked late Monday and Tuesday,
and today the rest of life just sorta caught up with me.
So, the post is mostly just some research notes.&lt;/p>
&lt;p>On Monday, a fellow Recurser, &lt;a href="https://eblog.fly.dev/bytehacking.html">Efron&lt;/a>,
suggested writing a (2D) cel-shader.
I want to pause my work on Vidrato to do some math,
so this seems like a great next step.&lt;/p>
&lt;p>This seems to have two main components:&lt;/p></description></item><item><title>Recurse #2: Vidrato</title><link>https://blog.eenblam.net/posts/recurse_002/</link><pubDate>Tue, 28 Mar 2023 22:55:46 -0700</pubDate><guid>https://blog.eenblam.net/posts/recurse_002/</guid><description>&lt;h1 id="recurse-sp223-2-vidrato">Recurse SP2'23 #2: Vidrato&lt;/h1>
&lt;p>Just a quick update for today. I got to do a lot of pairing on different things,
but my personal focus was on continuing the &lt;a href="https://blog.eenblam.net/posts/recurse_001">video filter&lt;/a> from yesterday.&lt;/p>
&lt;p>I also learned about &lt;a href="https://fly.io/dist-sys/">https://fly.io/dist-sys/&lt;/a> , AKA &amp;ldquo;Gossip Glomers&amp;rdquo;, a set of distributed systems challenges similar to protohackers, Cryptopals, etc. If I get through protohackers, this could be a good follow-up.&lt;/p>
&lt;p>Since daily Recurse blog posts will get pretty spammy, I&amp;rsquo;m hoping to
explore Hugo&amp;rsquo;s features for providing separate RSS/Atom feeds for
different kinds of posts, e.g. separating &lt;code>article&lt;/code>s from &lt;code>journal&lt;/code> entries.&lt;/p></description></item><item><title>Recurse #1: Fun with OpenCV</title><link>https://blog.eenblam.net/posts/recurse_001/</link><pubDate>Mon, 27 Mar 2023 18:01:33 -0700</pubDate><guid>https://blog.eenblam.net/posts/recurse_001/</guid><description>&lt;h1 id="recurse-sp223-1-fun-with-opencv">Recurse SP2'23 #1: Fun with OpenCV&lt;/h1>
&lt;p>Wow, my batch finally started today! At a glance, this looked like:&lt;/p>
&lt;ul>
&lt;li>8-9:45am PST: Initial call plus meet-and-greet&lt;/li>
&lt;li>DM&amp;rsquo;d lots of folks to set up coffee chats and pairing sessions this week&lt;/li>
&lt;li>11, 12, and 1: various coffee chats
&lt;ul>
&lt;li>One chat turned into a networking study group, which I&amp;rsquo;m looking forward to!&lt;/li>
&lt;li>I also learned about &lt;a href="https://wiki.dn42.us/Home">dn42&lt;/a>. It&amp;rsquo;s a big VPN you can join to play with BGP in a way that won&amp;rsquo;t let you accidentally tear down the Internet or cost you lots of money.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>The last coffee chat devolved into pair programming on a small OpenCV project I had in mind, which I write about below.&lt;/li>
&lt;li>3pm: Took a walk, during which I realized what caused a confusing bug (which I omitted here.)&lt;/li>
&lt;li>Came home and met with the same pairing partner to discuss Go network programming.
&lt;ul>
&lt;li>Specifically, I was given a crash course through problem 6 of &lt;a href="https://protohackers.com/">protohackers&lt;/a>, a fun sequence of socket programming challenges. I&amp;rsquo;m now inspired to tackle these myself in Go. :)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>6pm: Spent forever debugging video codec issues in order to make this blog post work in Firefox.&lt;/li>
&lt;li>Fixed code highlighting on the blog, then spent a while writing and revising this post.&lt;/li>
&lt;/ul>
&lt;h1 id="pairing-on-numpyopencv">Pairing on Numpy+OpenCV&lt;/h1>
&lt;p>I took my first stab at &lt;a href="https://opencv.org/">OpenCV&lt;/a>
this weekend by applying &lt;a href="https://en.wikipedia.org/wiki/Canny_edge_detector">Canny edge detection&lt;/a>
to my webcam feed.&lt;/p></description></item><item><title>touch draft.md</title><link>https://blog.eenblam.net/posts/touch_draft/</link><pubDate>Fri, 03 Mar 2023 10:07:15 -0800</pubDate><guid>https://blog.eenblam.net/posts/touch_draft/</guid><description>&lt;h1 id="touch-draftmd">touch draft.md&lt;/h1>
&lt;p>It feels weird to start a blog again in 2023. I&amp;rsquo;ve tried and failed at that several times out of fear of how I&amp;rsquo;ll be received. This fear stems from a self-critical voice I&amp;rsquo;ve carried for a long time, which I&amp;rsquo;m now determined to overcome. I&amp;rsquo;d hate for the people close to me and those that I admire to refrain from sharing their thoughts - I&amp;rsquo;d miss out on so much! So I&amp;rsquo;ve decided that I won&amp;rsquo;t tolerate that voice for myself any longer.&lt;/p></description></item></channel></rss>