<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>My notes and stuff - Security</title>
    <subtitle>This is just a space for me to share some notes and thoughts. I hope someone finds something useful here.</subtitle>
    <link rel="self" type="application/atom+xml" href="https://suchaboris.com/tags/security/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://suchaboris.com/"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2025-11-02T00:00:00+00:00</updated>
    <id>https://suchaboris.com/tags/security/atom.xml</id>
    <entry xml:lang="en">
        <title>Debugging K8s Network Policies</title>
        <published>2025-11-02T00:00:00+00:00</published>
        <updated>2025-11-02T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Unknown
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://suchaboris.com/blog/debugging-k8s-network-policies/"/>
        <id>https://suchaboris.com/blog/debugging-k8s-network-policies/</id>
        
        <content type="html" xml:base="https://suchaboris.com/blog/debugging-k8s-network-policies/">&lt;p&gt;My focus last week (in personal projects space) was to add network policies to my &lt;strong&gt;homelab&lt;&#x2F;strong&gt;. I added them to all custom namespaces but, in the end, had to revert some and replace them with less restrictive ones because some things just stopped working, and I had no time to investigate why.&lt;&#x2F;p&gt;
&lt;p&gt;The biggest challenge was in the very beginning when none of the policies I added did anything. Everything looked good in the logs and on the &lt;strong&gt;K8s&lt;&#x2F;strong&gt; cluster. I mean, there were no errors or reports of invalid configs.&lt;&#x2F;p&gt;
&lt;p&gt;After several hours of cumulative debugging, checking all configs, and brainstorming with AI, I found that my nodes just didn&#x27;t have the &lt;strong&gt;iptables&lt;&#x2F;strong&gt; binary! 🤦&lt;&#x2F;p&gt;
&lt;p&gt;Everything looked great in the logs, but no rules were enforced. After adding the binary and updating my bootstrap scripts, all the rules started working as intended.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>The Joy of Scope Creep in a Homelab</title>
        <published>2025-10-26T00:00:00+00:00</published>
        <updated>2025-10-26T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Unknown
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://suchaboris.com/blog/the-joy-of-scope-creep-in-a-homelab/"/>
        <id>https://suchaboris.com/blog/the-joy-of-scope-creep-in-a-homelab/</id>
        
        <content type="html" xml:base="https://suchaboris.com/blog/the-joy-of-scope-creep-in-a-homelab/">&lt;p&gt;Last week was a classic case of &lt;strong&gt;scope creep&lt;&#x2F;strong&gt; (for a personal project): I started one task and it instantly spawned five more. On one hand, it&#x27;s a good learning process; on the other, it feels less productive because my To-Do list got bigger, not smaller.&lt;&#x2F;p&gt;
&lt;p&gt;All I wanted was to set up some &lt;strong&gt;security scanner&lt;&#x2F;strong&gt; for my &lt;strong&gt;homelab K8s cluster&lt;&#x2F;strong&gt;. After researching different tools, I spun one up and got a summary report, which was great. Time to start fixing vulnerabilities and misconfigurations, right?&lt;&#x2F;p&gt;
&lt;p&gt;Well, I thought I needed to set up alerting first so I know the number does not go up. But for that, I need to set up &lt;strong&gt;secret management&lt;&#x2F;strong&gt; so alerts can be sent via email. And each part requires quite a bit of reading, research, and evaluation of which solution will work best for my case.&lt;&#x2F;p&gt;
&lt;p&gt;And so, by the end of the week, my To-Do list for the homelab is twice as big as it was when the week started. And I love it. I am learning so much with this project.&lt;&#x2F;p&gt;
</content>
        
    </entry>
</feed>
