<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aaron Meese on Medium]]></title>
        <description><![CDATA[Stories by Aaron Meese on Medium]]></description>
        <link>https://medium.com/@ajmeese7?source=rss-615dd26efe70------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*986REIvthtIAj9FtnFEGCg.jpeg</url>
            <title>Stories by Aaron Meese on Medium</title>
            <link>https://medium.com/@ajmeese7?source=rss-615dd26efe70------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 19:16:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ajmeese7/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Getting an Expo SDK 56 App Running on a Real Device]]></title>
            <link>https://ajmeese7.medium.com/getting-an-expo-sdk-56-app-running-on-a-real-device-ba29e20b6210?source=rss-615dd26efe70------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba29e20b6210</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[expo]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[npm]]></category>
            <dc:creator><![CDATA[Aaron Meese]]></dc:creator>
            <pubDate>Mon, 08 Jun 2026 22:09:32 GMT</pubDate>
            <atom:updated>2026-06-08T22:11:58.141Z</atom:updated>
            <content:encoded><![CDATA[<h4>Modernizing an old app to the newest SDK turns up a few gotchas the docs never connect for you.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jVTs1FX7FaiEuVDkbRJseg.png" /><figcaption>Generated with ChatGPT 🤖</figcaption></figure><p>I spent a weekend dragging a legacy React Native app up to Expo SDK 56 (RN 0.85, React 19, ESLint 10). The code itself modernized without much drama: tests passed, types were clean, the lint was green. The friction all came afterward, when I tried to get the thing running on my phone and building in CI. None of it was in the application code; it came from the gap between an old project’s assumptions and a brand-new SDK.</p><h4>Gotcha 1: Expo Go from the store can’t run a brand-new SDK</h4><p>The first wall: I scanned the QR code with Expo Go on the latest version from the Play Store, on the latest Android, and got told the app is incompatible. It was not a soft warning that let me continue anyway; Expo Go refused to open the project.</p><p>This one isn’t your fault and isn’t fixable on your end. Expo Go is the prebuilt sandbox app you install from the store to preview projects without compiling your own native build. The catch is that the store version lags behind the newest SDK. When SDK 56 is fresh, the store copy of Expo Go still only speaks the previous SDK, so it won’t load your project. Plenty of people online hit the same wall and assumed they broke something. They didn’t.</p><p>This is a timing gap, not a sign that Expo Go is dead. The store build simply hasn’t caught up to SDK 56 yet, and once it does, Expo Go will load the project fine. You can’t wait on an app-store release to test your own code though, so the way through today is a development build: your own native app, with <a href="https://docs.expo.dev/develop/development-builds/expo-go-to-dev-build/">expo-dev-client</a> baked in, built by EAS and installed straight onto your device.</p><pre>npx expo install expo-dev-client<br>npx eas-cli build - profile development - platform android</pre><p>That second command is where the next gotcha showed up.</p><h4>Gotcha 2: A stale dependency from the old app breaks every install</h4><p>The dev build kept failing partway through, during dependency installation:</p><pre>npm error code ERESOLVE<br>npm error ERESOLVE could not resolve<br>npm error While resolving: eslint-plugin-react-native@5.0.0<br>npm error Found: eslint@10.4.1<br>npm error Conflicting peer dependency: eslint@9.39.4<br>npm error peer eslint@&quot;³.17.0 || ^4 || … || ^9&quot; from eslint-plugin-react-native@5.0.0</pre><p>The error names the problem outright: a conflicting peer dependency. (A peer dependency is a package one of your dependencies expects you to supply yourself at a compatible version.) eslint-plugin-react-native@5 supports ESLint up to version 9, and the modernization bumped me to ESLint 10. Modern npm treats that gap as a hard error instead of a warning, so the install refuses to resolve.</p><p>This is the most modernization-flavored gotcha of the bunch. That plugin sat there fine for years on ESLint 8 and 9. The jump to ESLint 10 is what turned a quiet, compatible dependency into a hard blocker. Nothing about my app changed; the ground under an old dependency shifted.</p><p>The part that throws people is <em>where</em> it shows up. A lint plugin has no business in a native build, and it isn’t really in one. The conflict lives in package.json and the lockfile, so it breaks every npm install in the project regardless of what kicked it off. It only looked like “an EAS problem” because that’s when an install happened to run: with a build channel configured, eas-cli notices expo-updates is missing and runs expo install expo-updates for you, which shells out to a plain npm install. The cloud build servers run an install too. Expo didn’t cause the conflict, it just ran npm and inherited it.</p><p><strong>The quick fix</strong>, if you just need installs working again, is to stop npm from enforcing peer ranges. Drop a .npmrc in your project root so every npm invocation (yours, CI’s, and the ones Expo and EAS run for you) reads it:</p><pre>legacy-peer-deps=true</pre><p>Commit it, push it, and the build that kept dying walks straight through. CI goes green on the next run, the dev build finishes, and the APK installs and launches on my phone.</p><p><strong>The better fix</strong> is to treat the stale dependency as what it is. legacy-peer-deps tells npm to stop enforcing peer ranges across the <em>whole</em> project, which means a genuinely incompatible package can slip in later without complaint. So I looked at why the plugin was even there, and found eslint-plugin-react-native registered in my ESLint config with zero active rules. It was leftover from the old setup, contributing nothing, and it was the sole source of the conflict. Removing it fixes the problem at the root with no flag required:</p><pre>npm remove eslint-plugin-react-native</pre><p>With the dead plugin gone, npm ci and the EAS build both resolve cleanly, and I deleted the .npmrc again. The upgrade didn’t break the plugin; it exposed that the plugin had been dead weight for a while. Reach for legacy-peer-deps only when you genuinely need a package that hasn’t bumped its peer range yet, and treat it as the temporary option.</p><h4>Gotcha 3: The emulator won’t boot, but the build is fine</h4><p>The build itself was done and working on my phone, but I also wanted to run it on a local Android emulator. EAS offered to do exactly that, and instead of launching, it died with:</p><pre>Error: …/emulator @Medium_Phone_API_35 exited with signal: SIGABRT</pre><p>If you see that, don’t go re-debugging your build. SIGABRT here is the Android emulator process crashing on boot, which is a host problem rather than anything wrong with the app EAS just produced. The usual culprits live on your machine: KVM (the Linux kernel module that provides the hardware virtualization the emulator needs), the GPU or Vulkan graphics stack the emulator renders through, or a corrupt AVD (Android Virtual Device, the saved definition of the emulated phone you picked).</p><p>The build that runs fine on real hardware is fine. I develop on a physical device anyway, so I didn’t chase it. Just don’t let a broken emulator send you debugging an app that was never the problem.</p><h4><strong>The short version</strong></h4><p>Modernizing an old app to a fresh Expo SDK rarely breaks your code. It surfaces the gap between old assumptions and new tooling:</p><ul><li>Expo Go from the store can’t run the newest SDK yet. Use a development build to test on-device until the store version catches up.</li><li>A dependency that was fine on the old toolchain can become a hard install conflict after the upgrade. Mine was a dead ESLint plugin capping ESLint at 9. It broke the EAS build and CI alike because it lives in package.json, not in Expo.</li><li>A one-line .npmrc with legacy-peer-deps=true is the quick way to unblock every install at once. Removing the stale dependency is the real fix that lets you drop the flag again.</li><li>If eas build --run crashes an emulator with SIGABRT, that’s your AVD or graphics stack, not your app.</li></ul><p>I hope this helps you understand the workaround for getting Expo SDK 56 operational for your application. Follow me on <a href="https://x.com/ajmeese7">X</a> and <a href="https://github.com/ajmeese7">GitHub</a> for more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba29e20b6210" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Version-Controlling Your Claude Memory for Projects]]></title>
            <link>https://ajmeese7.medium.com/version-controlling-your-claude-memory-for-projects-e91c8c47cb06?source=rss-615dd26efe70------2</link>
            <guid isPermaLink="false">https://medium.com/p/e91c8c47cb06</guid>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[memories]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Aaron Meese]]></dc:creator>
            <pubDate>Mon, 08 Jun 2026 00:10:51 GMT</pubDate>
            <atom:updated>2026-06-08T00:10:51.602Z</atom:updated>
            <content:encoded><![CDATA[<h4>Why repeat yourself on every machine when you can have your progress follow you?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C8qB2E29lBABNgeHiQeGuQ.png" /><figcaption>Generated with Claude (as an SVG…)</figcaption></figure><p>I work across several different development machines on my homelab’s Proxmox instance and on my work server, and it is a huge pain to deal with Claude forgetting everything we have learned as we grow together when I switch boxes. This inspired me to seek a version-controlled solution.</p><p>Luckily, the <a href="https://code.claude.com/docs/en/memory#storage-location">storage location</a> for a project can be specified. The following settings.local.json (not settings.json) can be used to allow you to specify where the auto-generated memory files are located:</p><pre>{<br>  &quot;autoMemoryEnabled&quot;: true,<br>  &quot;autoMemoryDirectory&quot;: &quot;~/my-project-dir&quot;<br>}</pre><p>Unfortunately, a current limitation of Claude’s settings is that the path location must either be absolute or use ~/ as a prefix, which is a pretty big barrier to easy portability across machines. My workaround for this is a Bash script that users can run once at setup time to automatically configure their box to point to the repo’s local location.</p><p>You can include the following script in your repo and mention it in the CLAUDE.md so new sessions know to run it when first starting up, cutting out the manual involvement entirely:</p><pre>#!/usr/bin/env bash<br># Point Claude Code&#39;s auto memory at the repo&#39;s committed memory directory.<br>#<br># Claude stores per-project auto memory under ~/.claude/projects/&lt;repo&gt;/memory by<br># default, which lives outside the repo and does not travel across machines. This<br># repo commits its memory to .claude/memory instead. The official `autoMemoryDirectory`<br># setting (https://code.claude.com/docs/en/memory) redirects auto memory there.<br>#<br># That setting must be an absolute path, so it cannot be committed (the repo path<br># differs per machine). This script writes it to the gitignored .claude/settings.local.json,<br># so each machine points at its own checkout while the facts stay version-controlled.<br>#<br># Run once per machine after cloning. Idempotent. Takes effect next session, after<br># you accept the workspace-trust dialog for this folder (same gate as hooks).<br>set -euo pipefail<br><br>command -v jq &gt;/dev/null || { echo &quot;error: jq is required&quot; &gt;&amp;2; exit 1; }<br><br>repo_root=&quot;$(git -C &quot;$(dirname &quot;$0&quot;)&quot; rev-parse --show-toplevel)&quot;<br>dest=&quot;$repo_root/.claude/memory&quot;<br>settings_local=&quot;$repo_root/.claude/settings.local.json&quot;<br><br>if [ ! -d &quot;$dest&quot; ]; then<br>  echo &quot;error: $dest does not exist (is the repo memory committed?)&quot; &gt;&amp;2<br>  exit 1<br>fi<br><br>tmp=&quot;$(mktemp)&quot;<br>if [ -f &quot;$settings_local&quot; ]; then<br>  jq --arg d &quot;$dest&quot; &#39;. + {autoMemoryDirectory: $d}&#39; &quot;$settings_local&quot; &gt; &quot;$tmp&quot;<br>else<br>  jq -n --arg d &quot;$dest&quot; &#39;{autoMemoryDirectory: $d}&#39; &gt; &quot;$tmp&quot;<br>fi<br>mv &quot;$tmp&quot; &quot;$settings_local&quot;<br><br>echo &quot;set autoMemoryDirectory -&gt; $dest&quot;<br>echo &quot;in $settings_local&quot;<br>echo &quot;Restart Claude Code and accept the workspace-trust dialog for the setting to take effect.&quot;</pre><p>This is also available as a <a href="https://gist.github.com/ajmeese7/934e88ad053cced15790457d6e8aec56">Gist</a>.</p><p>I hope this helps improve your developer experience and levels up your workflow across machines! Follow me on <a href="https://x.com/ajmeese7">X</a> and <a href="https://github.com/ajmeese7">GitHub</a> for more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e91c8c47cb06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Set Up Multi-User AI Agents with Hermes (And You Can Too)]]></title>
            <link>https://ajmeese7.medium.com/how-i-set-up-multi-user-ai-agents-with-hermes-and-you-can-too-648b52fe20e9?source=rss-615dd26efe70------2</link>
            <guid isPermaLink="false">https://medium.com/p/648b52fe20e9</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[skills]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-assistant]]></category>
            <category><![CDATA[virtual-assistant]]></category>
            <dc:creator><![CDATA[Aaron Meese]]></dc:creator>
            <pubDate>Thu, 26 Mar 2026 00:40:37 GMT</pubDate>
            <atom:updated>2026-03-26T00:56:42.244Z</atom:updated>
            <content:encoded><![CDATA[<h4>One machine, two people, zero shared context.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*d0-sqPKBHFsXAok804OyLA.png" /><figcaption><a href="https://hermes-agent.nousresearch.com/">https://hermes-agent.nousresearch.com/</a></figcaption></figure><p>Like many of my peers, I was fascinated with OpenClaw when it was first released. Within days of trying it, I had set up agents for both myself and my fiancée — each with their own personality and conversation history. It was genuinely useful: she could ask her agent for recipe ideas and schedule reminders, while mine handled smart home automation and managed my web server.</p><p>But over the following weeks, new OpenClaw releases kept breaking things. The codebase was growing fast, but stability wasn’t keeping pace. After the second time my daily calendar briefing cron job stopped working because of a breaking change, I knew it was time to look elsewhere.</p><p>Enter <a href="https://github.com/NousResearch/hermes-agent">Hermes Agent</a>.</p><h4><strong>Why Hermes?</strong></h4><p>The work of <a href="https://x.com/sudoingX">@sudoingX</a> on X put Hermes on my radar — specifically as a harness for effectively making use of local models to power your agent. Hermes was developed by <a href="https://nousresearch.com/">Nous Research</a>, a self-proclaimed “leader in the American open source AI movement.”</p><p>What drew me in was the claims that it has a much simpler codebase, meaning it would suffer less bloat and slowdown than OpenClaw did. Easy containerization out of the box was a huge plus, and the fact that it’s supposed to be self-improving sounds too good to be true!</p><p>The one thing it didn’t have? Multi-user support.</p><h4><strong>The Problem</strong></h4><p>Out of the box, Hermes is designed to support a single user. One ~/.hermes directory, one personality, one memory store, one conversation history. If your spouse, roommate, or coworker wants their own agent on the same machine, there’s no built-in way to do it.</p><h4>The Solution</h4><p>Here’s the key insight: Hermes already supports an environment variable called HERMES_HOME that tells it where to find its configuration and data. By default it points to ~/.hermes, but there’s nothing stopping you from pointing it somewhere else.</p><p>So the approach is simple:</p><ol><li>Create a second directory (~/.hermes-rachel in my case)</li><li>Give it its own config, personality, API keys, and data directories</li><li>Run a second systemd service with HERMES_HOME pointed at the new directory</li><li>Both instances share the same Hermes codebase — they just read from different homes</li></ol><p>That’s it. Two fully independent agents, one machine, zero shared state.</p><h4>What Each Instance Gets</h4><pre>~/.hermes-rachel/<br>  config.yaml           # Her agent settings and model preferences<br>  SOUL.md               # Her personality (&quot;friendly, concise, no jargon&quot;)<br>  .env                  # API keys (same billing account, but isolated config)<br>  skills/               # Her own skill set<br>  memory/               # What the agent remembers about her<br>  sessions/             # Her conversation history<br>  cron/                 # Her scheduled jobs<br>  whatsapp/session/     # Her WhatsApp connection</pre><h4><strong>Docker Sandboxing</strong></h4><p>For a secondary user’s agent, I strongly recommend Docker sandboxing. This means the agent’s terminal commands run inside a container, so it can’t accidentally (or intentionally) read the primary user’s files:</p><pre>terminal:<br>  backend: docker<br>  docker_image: nikolaik/python-nodejs:python3.11-nodejs20<br>  container_memory: 4096<br>  container_persistent: true</pre><h4><strong>Making It Repeatable: The Skill</strong></h4><p>I didn’t just set this up manually — I had Hermes do it for me, and then I captured the entire process as a <strong>skill</strong>.</p><p>Skills in Hermes are markdown files with YAML frontmatter that teach the agent how to perform a specific task. When you ask Hermes to do something that matches a skill, it loads the instructions and follows them step by step. Think of it as procedural memory for your AI.</p><p>The skill I created covers the full setup end-to-end: directory structure, config templates, systemd services, CLI aliases, and common pitfalls. Any Hermes user can install it with one command:</p><pre>hermes skills install ajmeese7/hermes-multi-user-skill/hermes-multi-user --force</pre><p>Then just tell your agent: <em>”Set up a new Hermes instance for my wife Alice on WhatsApp”</em> — and it knows exactly what to do.</p><p>The full source is on GitHub: <a href="https://github.com/ajmeese7/hermes-multi-user-skill">ajmeese7/hermes-multi-user-skill</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=648b52fe20e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generating NetFlow Data Without a Business-Grade Router]]></title>
            <link>https://medium.com/meese-enterprises/generating-netflow-data-without-a-business-grade-router-e0850fe1dfa3?source=rss-615dd26efe70------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0850fe1dfa3</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[homelab]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Aaron Meese]]></dc:creator>
            <pubDate>Sun, 04 Jan 2026 03:36:41 GMT</pubDate>
            <atom:updated>2026-01-04T03:36:41.144Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<h4>Get router-grade network visibility on a homelab budget.</h4><figure><img alt="A conceptual illustration showing a magnifying lens held over ordinary network cables. Inside the lens, the cables are revealed as glowing, structured data streams, symbolizing the conversion of raw network traffic into visible NetFlow records." src="https://cdn-images-1.medium.com/max/1024/1*vQYF8FGPdzzI5q2-9kjOkw.png" /><figcaption>You don’t need a $10,000 router to see what’s happening on your network. You just need the right lens.</figcaption></figure><p>Most people discover NetFlow (or <a href="https://blog.gigamon.com/2019/09/17/ipfix-vs-netflow/">IPFIX</a>) the same way: they want visibility, they google “NetFlow,” and immediately run into a wall of “you need an enterprise router / switch that exports flows.”</p><p>That’s true if you’re trying to do <em>router-exported</em> NetFlow.</p><p>It’s not true if what you actually want is the end result: <strong>flow records</strong> you can slice, dice, ship to a data lake, correlate to alerts, and use for hunting.</p><p>This post covers the exact workflow I use to generate NetFlow-style data on a plain Linux box — no business-grade router required.</p><h3>What NetFlow is (and why you should care)</h3><p><strong>NetFlow is not packet capture.</strong> It’s summarized metadata about network conversations (“flows”).</p><p>A flow is typically defined by the 5‑tuple:</p><ul><li>Source IP</li><li>Destination IP</li><li>Source port</li><li>Destination port</li><li>Protocol</li></ul><p>…and then you get useful counters and timing:</p><ul><li>Bytes and packets</li><li>Start/end timestamps</li><li>TCP flags (for TCP)</li><li>(Sometimes) interfaces, VLANs, ASNs, etc.</li></ul><p>Why it matters:</p><ul><li><strong>Retention:</strong> storing flows for weeks/months is realistic; storing PCAP for that long usually isn’t.</li><li><strong>Triage speed:</strong> flows answer “who talked to what, how much, and when” fast.</li><li><strong>Detection &amp; hunting:</strong> beaconing, exfil, lateral movement patterns, weird egress, noisy hosts.</li><li><strong>Cost:</strong> flows are cheap to store, cheap to query, and map nicely into most analytics stacks.</li></ul><p>If you’ve ever wished you could do “router-grade visibility” but you’re operating in a homelab, a small shop, a lab environment, or a tight budget… flows are the leverage.</p><h3>The core idea</h3><p>Instead of relying on a router to <em>export</em> flows, you:</p><ol><li><strong>Observe traffic</strong> on an interface (ideally a SPAN/mirror port or the gateway interface).</li><li><strong>Convert packets to flow records</strong> using nfpcapd (from the nfdump toolset).</li><li><strong>Process/export</strong> those flow files with nfdump into something easy to ingest, like CSV.</li></ol><p>This gives you NetFlow-like telemetry even if your “router” is a consumer device that knows nothing about NetFlow.</p><h3>Where to capture traffic</h3><p>You only get flow visibility for traffic your Linux box can actually see. That means you need one of these capture points:</p><ul><li><strong>Best:</strong> a switch mirror/SPAN port feeding a dedicated collector NIC</li><li><strong>Good:</strong> the Linux box is your gateway/router (so the WAN/LAN interface sees everything)</li><li><strong>Okay:</strong> host-level collection (you’ll only see flows for that host)</li></ul><p>If you’re doing mirror/SPAN:</p><ul><li>Disable any “helpful” switch features that re-write or drop mirrored traffic.</li><li>Make sure the collector interface is up and actually receiving frames.</li></ul><h3>Install the tooling</h3><p>You need the nfdump toolset (because it includes both nfpcapd and nfdump).</p><p>On many distros this is as simple as installing a package named nfdump. If your distro package is ancient, build from source instead (especially if you want newer output formats like ndjson).</p><h3>My workflow (verbatim)</h3><p>This is the exact methodology I use:</p><pre># Capture data<br>sudo nfpcapd -i enp6s18 -D -w ~/netflow/raw -S 2 -t 300 -P /tmp/nfpcapd.pid<br><br># Cleanly stop the collection process<br>if [ -f /tmp/nfpcapd.pid ]; then<br>  sudo kill &quot;$(cat /tmp/nfpcapd.pid)&quot; 2&gt;/dev/null || true<br>  sudo rm -f /tmp/nfpcapd.pid<br>fi<br>rm -f ~/netflow/raw/nfcapd.current.*<br><br># Create the CSV<br>nfdump -R ~/netflow/raw -o csv &gt; ~/netflow/csv/all_flows.csv</pre><h4>A quick note: How to find the right interface</h4><p>In the command above, I used -i enp6s18. <strong>Do not just copy-paste that.</strong> You need to specify the physical interface that is actually receiving the traffic you want to monitor.</p><p>If you are monitoring the host itself or acting as a gateway, the easiest way to find your primary interface is to ask “which interface connects me to the world?”:</p><pre># Find the interface used for the default route<br>ip route | awk ‘/^default/ {print $5; exit}’</pre><p>If you are using a <strong>dedicated capture port</strong> (like a SPAN/mirror port on a switch), that interface likely won’t have an IP address or a default route. In that case, look for interfaces that are physically “UP” but exclude virtual stuff like Docker or bridges:</p><pre># List physical-looking interfaces that are UP<br>ip -o link show | grep ‘state UP’ | awk -F’: ‘ ‘{print $2}’ | grep -vE ‘^(lo|docker|veth|br-|virbr|vnet)’</pre><p><strong>Sanity Check:</strong> Before you start the daemon, run a quick tcpdump on your chosen interface to make sure you see the packets you expect: sudo tcpdump -i &lt;your_interface_name&gt; -n -c 5</p><h3>What those flags are doing (and why I use them)</h3><h4>Capture + rotate on an interval</h4><pre>sudo nfpcapd -i enp6s18 -D -w ~/netflow/raw -S 2 -t 300 -P /tmp/nfpcapd.pid</pre><ul><li>-i enp6s18 — the interface you’re sniffing. Replace this with <em>your</em> capture NIC.</li><li>-D — run as a daemon.</li><li>-w ~/netflow/raw — write flow files locally in the standard nfcapd file format.</li><li>-S 2 — create a subdirectory hierarchy under the output directory (helps prevent “one directory with a million files”).</li><li>-t 300 — rotate files every 300 seconds (5 minutes). This keeps files reasonably sized, makes backfills easy, and aligns with how a lot of tooling expects flow data to roll.</li><li>-P /tmp/nfpcapd.pid — write a PID file so stopping the process is deterministic.</li></ul><p>This is not just convenience. Rotation is operational hygiene: smaller chunks are easier to copy, parse, compress, and delete on a schedule.</p><h4>Cleanly stop collection</h4><pre>if [ -f /tmp/nfpcapd.pid ]; then<br>  sudo kill &quot;$(cat /tmp/nfpcapd.pid)&quot; 2&gt;/dev/null || true<br>  sudo rm -f /tmp/nfpcapd.pid<br>fi<br>rm -f ~/netflow/raw/nfcapd.current.*</pre><p>Two reasons I do this:</p><ol><li>I want the process to terminate cleanly, every time, with no guessing.</li><li>nfcapd.current.* files represent “currently-being-written” state. If I’m about to export/ingest everything, I don’t want a partial interval file sneaking into my dataset.</li></ol><p>(If you’re running this continuously, don’t delete nfcapd.current.* while the daemon is active.)</p><h4>Export to CSV</h4><pre>nfdump -R ~/netflow/raw -o csv &gt; ~/netflow/csv/all_flows.csv</pre><ul><li>-R ~/netflow/raw — read a directory tree of nfcapd.* flow files.</li><li>-o csv — print records in CSV format.</li></ul><p>At this point you have a “dumb and universal” artifact: a CSV you can ingest anywhere.</p><h3>Quick sanity checks</h3><p>Before you go build dashboards and detection logic, confirm you’re actually collecting what you think you’re collecting:</p><ul><li>Check that your interface is seeing traffic: sudo tcpdump -i &lt;iface&gt; -c 20</li><li>After a few minutes, run a spot query:</li></ul><pre>nfdump -R ~/netflow/raw | head</pre><p>If you see nothing, the issue is almost always one of:</p><ul><li>Wrong interface</li><li>No mirror/span configured</li><li>Capture point can’t see the traffic you care about</li><li>Permissions/capabilities (run as root to eliminate ambiguity)</li></ul><h3>Practical tips that make this usable at scale</h3><h4>1) Don’t treat CSV as the only output format</h4><p>CSV is great for portability, but for pipelines you may prefer JSON/<a href="https://github.com/ndjson/ndjson-spec">NDJSON</a> if your tooling is log-centric.</p><h4>2) Use filters early</h4><p>If you know you only care about specific subnets, protocols, or ports, filter during export instead of shoveling everything:</p><pre>nfdump -R ~/netflow/raw -o csv &#39;src net 10.0.0.0/8 and dst net 0.0.0.0/0&#39;</pre><h4>3) Plan retention</h4><p>Flows are small compared to PCAP, but they’re not free.</p><ul><li>Decide how long you keep raw nfcapd.* files.</li><li>Decide whether you keep rolled-up exports.</li><li>Automate deletion so the collector doesn’t become a surprise outage.</li></ul><h4>4) Know what you’re not getting</h4><p>This method produces flow records from observed packets. That’s awesome, but there are caveats:</p><ul><li>You only see what hits the interface.</li><li>NAT can collapse “who did what” depending on where you capture.</li><li>Router-exported NetFlow sometimes includes device-specific fields you won’t have.</li></ul><p>For most security + visibility workloads, the trade is worth it.</p><h3>Where this fits in a real workflow</h3><p>Once you have flow data, you can:</p><ul><li>Build “top talkers” views (hosts, ports, destinations)</li><li>Detect beaconing (periodic low-byte flows)</li><li>Detect exfil patterns (rare destinations + high byte counts)</li><li>Correlate destinations with threat intel</li><li>Join flows to asset inventory (hostnames/owners/environments)</li></ul><p>Flows are the backbone dataset you wish you had before you needed it.</p><h3>Closing</h3><p>If you don’t have a router that exports NetFlow, you’re not blocked; you just need a box that can observe traffic and a tool that can convert packets into flow records.</p><p>That’s what nfpcapd + nfdump gives you: a practical “poor man’s NetFlow” pipeline that scales surprisingly far.</p><p>If you build on this approach (continuous collection, compression, forwarding, enrichment, pipeline ingestion), you end up with visibility that feels a lot more “enterprise” than the router that started it all.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0850fe1dfa3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/meese-enterprises/generating-netflow-data-without-a-business-grade-router-e0850fe1dfa3">Generating NetFlow Data Without a Business-Grade Router</a> was originally published in <a href="https://medium.com/meese-enterprises">Meese Enterprises</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configuring Security Onion for Proxmox Deployment]]></title>
            <link>https://medium.com/meese-enterprises/configuring-security-onion-for-proxmox-deployment-ecfc7b38c6da?source=rss-615dd26efe70------2</link>
            <guid isPermaLink="false">https://medium.com/p/ecfc7b38c6da</guid>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[traffic-monitoring]]></category>
            <category><![CDATA[security-onion]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[proxmox]]></category>
            <dc:creator><![CDATA[Aaron Meese]]></dc:creator>
            <pubDate>Fri, 04 Apr 2025 12:23:06 GMT</pubDate>
            <atom:updated>2025-04-04T12:23:06.073Z</atom:updated>
            <content:encoded><![CDATA[<h4>It’s not as simple as their documentation would lead you to believe!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*DaumDekKYuCaSetG.jpg" /><figcaption>Courtesy of <a href="https://securityonionsolutions.com/software">Security Onion Solutions</a>.</figcaption></figure><p>Wanting to have better visibility into my network, I decided to try doing a local deployment of Security Onion. I have Proxmox running on my homelab, so I assumed it would be easy to drop the ISO into that environment and spin it up just like any other OS.</p><p>I was mistaken.</p><h4>Documentation</h4><p>The project itself has very extensive documentation, which can be found here:</p><p><a href="https://docs.securityonion.net/en/2.4/">Security Onion Documentation - Security Onion Documentation 2.4 documentation</a></p><p>The issue is that their <a href="https://docs.securityonion.net/en/2.4/proxmox.html">Proxmox documentation</a> is… lacking. I was able to follow their “First Time Users” <a href="https://docs.securityonion.net/en/2.4/first-time-users.html#first-time-users">deployment guide</a> to get me to this point:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*di0rXf_3V6-JX5Hys4BE8g.png" /><figcaption>Oh boy, this is gonna be fun…</figcaption></figure><p>Searching up the issue, I found their <a href="https://docs.securityonion.net/en/2.4/configuration.html">configuration page</a> has an instance of this exact message! Should be easy to solve then, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*oGkMYbgcnuCjWZnzfYPX-g.png" /><figcaption>Wrong…</figcaption></figure><p>This tells me what the fix is <em>supposed </em>to be, but gives no indication as to how you are supposed to implement it.</p><h4>Proxmox Configuration</h4><p>To back up some, this section is the configurations I went through to get to this point of having a box I could interact with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_BehJo13BgxpgmNZt96q3g.png" /><figcaption>Go to “local (proxmox)” and upload your ISO, which you can get from <a href="https://docs.securityonion.net/en/2.4/download.html">here</a>.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*NwX43tBLUxC_pPo19OB3XQ.png" /><figcaption>Then you create a VM.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*gh1mIIPDMvqKEkxww5NAww.png" /><figcaption>Selecting whatever options make sense for your setup on this first page.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*D2CvHa2tNq7obDeTNcOYMA.png" /><figcaption>Then choosing that ISO for the OS, ensuring that Linux is selected for the Guest OS type.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*qVP2qLpkKZn9Pd42W47bYw.png" /><figcaption>Choose the machine type.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*dQRXSjAqha6w2Udyn06XwA.png" /><figcaption>Make sure you add enough storage to meet the <a href="https://docs.securityonion.net/en/2.4/hardware.html#hardware">specifications</a>.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*GaYNxZhEatDUY-C0-AkwUw.png" /><figcaption>Do the same with the CPU.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*9RpPANjXZrrjv2L-HBYPtw.png" /><figcaption>And the memory.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*l8wSpXys3Hwwi82a_8guug.png" /><figcaption>We can start with the default network settings, we will change this later.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*dOYR1tmBUMS2YDZjKhvcSg.png" /><figcaption>And you can go ahead and create it, but do not boot it yet.</figcaption></figure><h4>Network Configuration</h4><p>At this point, we have to figure out how to create the IP-less network interface that SecOnion is requesting. I was eventually able to accomplish this using a combination of these resources, although I ended up taking a different approach from the first two:</p><ul><li><a href="https://forum.proxmox.com/threads/proxmox-security-onion-without-ovs.128473/">[TUTORIAL] - Proxmox + Security Onion without OVS</a></li><li><a href="https://github.com/0xvext/proxmox-seconiontap.sh">GitHub - 0xvext/proxmox-seconiontap.sh: A bash script to create a persistent port mirror for an IDS within a Proxmox hypervisor</a></li><li><a href="https://pve.proxmox.com/wiki/Network_Configuration">Network Configuration</a></li></ul><p>The method I used was <strong>Creating a Dedicated Sniffing Bridge in Proxmox</strong>, which turned out to be pretty straightforward. The steps were:</p><ol><li><strong>Navigate to Proxmox Host Network Settings:</strong> Go to Datacenter -&gt; YourProxmoxNode -&gt; System -&gt; Network.</li><li><strong>Create a New Bridge:</strong> Click Create -&gt; Linux Bridge.</li><li><strong>Apply Configuration:</strong> Click Apply Configuration (you might need to reboot the host or reload networking, Proxmox will usually prompt if needed, often it applies dynamically).</li></ol><p>For the second step, the options we had to use were:</p><ul><li><strong>Name:</strong> Give it a descriptive name, e.g., <em>vmbr1</em> (if not already used)</li><li><strong>IP Address / CIDR:</strong> Leave <strong>BLANK</strong>. This is crucial.</li><li><strong>Gateway:</strong> Leave <strong>BLANK</strong>.</li><li><strong>Bridge ports:</strong> This is where you link the physical NIC that receives the SPAN/TAP traffic.<br>- <strong>If using a physical SPAN/TAP port:</strong> Identify the physical NIC on your Proxmox host (e.g., eno2, eth1) that is <em>exclusively</em> connected to your switch’s SPAN/mirror port. Enter that physical NIC name here (e.g., eno2). <strong>Important:</strong> This physical NIC should <em>not</em> be part of any other bridge (like vmbr0).<br>- <strong>If monitoring traffic between VMs on the <em>same</em> Proxmox host:</strong> You might leave “Bridge ports” blank for now. You’ll attach the VMs you want to monitor <em>and</em> the SO sniffing interface to this bridge later.</li><li><strong>Comment:</strong> Add a note like “Security Onion Sniffing Port” or “SPAN Input”.</li><li>Click Create.</li></ul><p>The resulting entry will look like so:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*bk15RxZEOsnEQ_HQJgkgQw.png" /><figcaption>Very, very basic.</figcaption></figure><h4>Additional Proxmox Configuration</h4><p>Now that we have our new bridge, we can go back to the <em>securityonion </em>machine and make our final tweaks. You’re going to want to navigate to the “Hardware” tab and click “Add,” then choose “Network Device.” You are going to choose the new <em>vmbr1 </em>and uncheck the “Firewall” box.</p><p>From here, you can start up the machine and begin configuration like normal. When prompted to choose the management interface, select the first NIC (ex. <em>ens18</em>) and select the other interface (ex. <em>ens19</em>) when prompted to choose the sniffing interface.</p><p>Then you’ll have a production instance of Security Onion to use on Proxmox!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecfc7b38c6da" width="1" height="1" alt=""><hr><p><a href="https://medium.com/meese-enterprises/configuring-security-onion-for-proxmox-deployment-ecfc7b38c6da">Configuring Security Onion for Proxmox Deployment</a> was originally published in <a href="https://medium.com/meese-enterprises">Meese Enterprises</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tracking a Malicious Blogspot Redirection Campaign to ApateWeb]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/meese-enterprises/tracking-a-malicious-blogspot-redirection-campaign-to-apateweb-540e79647458?source=rss-615dd26efe70------2"><img src="https://cdn-images-1.medium.com/max/1024/0*DL2I5luj-r0Aw2Eo" width="1024"></a></p><p class="medium-feed-snippet">Including tips and tricks on how to (safely) conduct investigations of your own.</p><p class="medium-feed-link"><a href="https://medium.com/meese-enterprises/tracking-a-malicious-blogspot-redirection-campaign-to-apateweb-540e79647458?source=rss-615dd26efe70------2">Continue reading on Meese Enterprises »</a></p></div>]]></description>
            <link>https://medium.com/meese-enterprises/tracking-a-malicious-blogspot-redirection-campaign-to-apateweb-540e79647458?source=rss-615dd26efe70------2</link>
            <guid isPermaLink="false">https://medium.com/p/540e79647458</guid>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[apateweb]]></category>
            <category><![CDATA[cybercrime]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <dc:creator><![CDATA[Aaron Meese]]></dc:creator>
            <pubDate>Tue, 21 Jan 2025 13:39:08 GMT</pubDate>
            <atom:updated>2025-01-21T13:51:33.096Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Solving Kali Linux Freezing Afer Successful Authentication]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://ajmeese7.medium.com/solving-kali-linux-freezing-afer-successful-authentication-1f21851ce5b7?source=rss-615dd26efe70------2"><img src="https://cdn-images-1.medium.com/max/991/1*GN8pWWkYa3967yUpquXxiA.png" width="991"></a></p><p class="medium-feed-snippet">If you are running into a dreaded black screen like the one above, these are the steps that helped me resolve the issue.</p><p class="medium-feed-link"><a href="https://ajmeese7.medium.com/solving-kali-linux-freezing-afer-successful-authentication-1f21851ce5b7?source=rss-615dd26efe70------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://ajmeese7.medium.com/solving-kali-linux-freezing-afer-successful-authentication-1f21851ce5b7?source=rss-615dd26efe70------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f21851ce5b7</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[kali-linux]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[window-manager]]></category>
            <dc:creator><![CDATA[Aaron Meese]]></dc:creator>
            <pubDate>Mon, 12 Aug 2024 23:43:44 GMT</pubDate>
            <atom:updated>2024-08-12T23:43:44.646Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Exploiting Parallels Plesk Panels With Shodan]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/meese-enterprises/exploiting-parallels-plesk-panels-with-shodan-282248855af2?source=rss-615dd26efe70------2"><img src="https://cdn-images-1.medium.com/max/1489/1*QaiWSitK5XWPpK2Y2rZblA.png" width="1489"></a></p><p class="medium-feed-snippet">There are tens of thousands of outdated Parallels Plesk Panel instances exposed to the open internet, ripe for the reporting!</p><p class="medium-feed-link"><a href="https://medium.com/meese-enterprises/exploiting-parallels-plesk-panels-with-shodan-282248855af2?source=rss-615dd26efe70------2">Continue reading on Meese Enterprises »</a></p></div>]]></description>
            <link>https://medium.com/meese-enterprises/exploiting-parallels-plesk-panels-with-shodan-282248855af2?source=rss-615dd26efe70------2</link>
            <guid isPermaLink="false">https://medium.com/p/282248855af2</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[shodan]]></category>
            <category><![CDATA[osint-investigation]]></category>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Aaron Meese]]></dc:creator>
            <pubDate>Wed, 15 Nov 2023 23:31:42 GMT</pubDate>
            <atom:updated>2023-11-15T23:31:42.085Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Who is Jevin Canders?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/meese-enterprises/who-is-jevin-canders-40fd2ddc0d01?source=rss-615dd26efe70------2"><img src="https://cdn-images-1.medium.com/max/1163/1*W1aKrbyrM7yWHkUrbn_fZQ.png" width="1163"></a></p><p class="medium-feed-snippet">And why is his mirror site on all my Linux distros?</p><p class="medium-feed-link"><a href="https://medium.com/meese-enterprises/who-is-jevin-canders-40fd2ddc0d01?source=rss-615dd26efe70------2">Continue reading on Meese Enterprises »</a></p></div>]]></description>
            <link>https://medium.com/meese-enterprises/who-is-jevin-canders-40fd2ddc0d01?source=rss-615dd26efe70------2</link>
            <guid isPermaLink="false">https://medium.com/p/40fd2ddc0d01</guid>
            <category><![CDATA[investigation]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[apt]]></category>
            <category><![CDATA[osint]]></category>
            <dc:creator><![CDATA[Aaron Meese]]></dc:creator>
            <pubDate>Sat, 12 Aug 2023 01:05:01 GMT</pubDate>
            <atom:updated>2023-08-12T01:05:01.584Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Kase Scenarios: Solving The “Dark Waters” Promotional Invitation]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://ajmeese7.medium.com/kase-scenarios-solving-the-dark-waters-promotional-invitation-b723e5ccc85a?source=rss-615dd26efe70------2"><img src="https://cdn-images-1.medium.com/max/2480/1*9Kw3FTgO4BgdH6cyzTK9AA.jpeg" width="2480"></a></p><p class="medium-feed-snippet">Using OSINT to solve a fun teaser related to the upcoming Kase Scenarios challenge.</p><p class="medium-feed-link"><a href="https://ajmeese7.medium.com/kase-scenarios-solving-the-dark-waters-promotional-invitation-b723e5ccc85a?source=rss-615dd26efe70------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://ajmeese7.medium.com/kase-scenarios-solving-the-dark-waters-promotional-invitation-b723e5ccc85a?source=rss-615dd26efe70------2</link>
            <guid isPermaLink="false">https://medium.com/p/b723e5ccc85a</guid>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[osint-investigation]]></category>
            <category><![CDATA[osint]]></category>
            <dc:creator><![CDATA[Aaron Meese]]></dc:creator>
            <pubDate>Thu, 02 Mar 2023 01:10:39 GMT</pubDate>
            <atom:updated>2023-03-02T01:10:39.419Z</atom:updated>
        </item>
    </channel>
</rss>