<?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 The Maledictive Engineer on Medium]]></title>
        <description><![CDATA[Stories by The Maledictive Engineer on Medium]]></description>
        <link>https://medium.com/@eneiford?source=rss-f93158891581------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*i_cSsHFLQMRoUUcL0JoEBA.png</url>
            <title>Stories by The Maledictive Engineer on Medium</title>
            <link>https://medium.com/@eneiford?source=rss-f93158891581------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 16:59:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@eneiford/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[The Path of a Network Engineer]]></title>
            <link>https://medium.com/@eneiford/the-path-of-a-network-engineer-4715ce6a1684?source=rss-f93158891581------2</link>
            <guid isPermaLink="false">https://medium.com/p/4715ce6a1684</guid>
            <category><![CDATA[network-engineer]]></category>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[The Maledictive Engineer]]></dc:creator>
            <pubDate>Sat, 15 Aug 2020 21:25:10 GMT</pubDate>
            <atom:updated>2020-08-15T21:25:10.555Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Aav5lqtkz9vQSWdXkbfBw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@jack_1?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Rémi Jacquaint</a> on <a href="https://unsplash.com/s/photos/path?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>As a network engineer, the writing on wall has become clear. The business of moving packets around a network has changed. No longer is relying on the skills of old cutting it in today’s market place. While you still need to understand the fundamental core of route/switch, the landscape has evolved and with it a seismic shift in the expectations of what engineering teams are responsible for.</p><p>DevOps was the buzzword a few years ago. Anything infrastructure needed to conform to DevOps development lifecycles. Infrastructure-as-code, version control, APIs. The network has been struggling to keep up with adoption of these tools that has come so much easier to other disciplines. Systems and DBAs have a leg up, in that their workloads live on infrastructure that has been in the midst of an abstraction movement for over a decade. The virtualization craze of the early 2010s cemented the need for those teams to create processes around rapidly migrating workloads.</p><p>The Network was not so lucky. We embraced overlay technologies, such as they were. But underpinning the core of all of the network domain still existed a very phyisical underlay that maintained device configuration in a very traditional way. Large static configurations applied to physical infrastructure. Abstract as much as you can into the overlay, and maybe you can implement an SDN technology that was actually successful (ACS, i’m looking at you).</p><p>These technologies continue to evolve, but there was never a “winner” in the space. The cloud has disrupted the scene much more dramatically than any SDN implementation ever did. One thing was clear, however. There was a fundamental shift to the core responsibility of the Network Engineer (especially in the datacenter, but the impact can be seen in the enterprise network as well).</p><p>The path for most network engineers is organic. They have a skillset and can fill a need that not everyone has the capacity for. Network engineering requires a fundamental understanding of the business processes you are supporting, and an understanding that you will never be recognized for your service. Network Engineering is not sexy. I have not met any young talented infrastructure engineers who just always wanted to be a network engineer.</p><p>My path was no different. I started this life as a windows support technician. I received my first Microsoft certification in Server 2000, and was well on my way to the MCSE on server 2008. I was working for a managed service provider, and there was really no network engineer on staff. We mostly were configuring Small Business Server, and the majority of our client networks consisted of dell powerconnect switches connecting a few servers, and then whatever cheap switch infrastructure was purchased to link the workstations to the server network.</p><p>Security was starting to become a priority, even for small businesses, and firewalls were being deployed at the smallest of our customers. Mostly SonicWalls (we had a Dell partnership), but a few of our customers stepped up the big boys — Cisco ASA 5505s!</p><p>Pretty much all of our device configuration was done via the gui (we were a windows shop after all) and no one knew shit about ‘nix. The Cisco ASDM interface was horribly convoluted for a team of windows admins, but I liked the challenge, and it was an opportunity to set myself apart from my peers as a specialists. So I took on the firewalls. Little did I understand the implications of that decision years ago. The entirety of my career trajectory shifted on that decision.</p><p>That being said, there were some skills that I was very late to develop. It wasn’t until I got my first job on an enterprise networking team that I realized how ignorant I was of the field I had chosen. Fortunately my ASA experience translated enough to keep me from immediately sinking, but I was in for a shock of exposure as I was unable to even have intelligent conversations on some of the most basic elements of managing an enterprise network.</p><p>If I had known ever considered a career in the network I sure wish I would have spent a little bit more time in my formative years focusing on some the skills that I have been playing catch-up developing ever since.</p><h3>1 — Learn Linux</h3><p>I can’t emphasize this enough. The enterprise uses windows as little as possible for good reason, but the network just has no use for it. The basic administration of a unix-based shell and fundamental understanding of the processes that occur in an operating system are invaluable tools to network engineers. You need to be comfortable identifying logs, configs, tcpdump, dig, mtr, telnet, traceroute, etc. A fundamental understanding of Linux will make the leap to using these tools seem like a small skip, as opposed to the leap it took from someone who did all their troubleshooting in GUI menus.</p><h3>2 — Git</h3><p>I’ve used many repositories in the last 10 years working in the enterprise, CVS, SVN, Bitbucket. While CVS and SVN are mostly relegated to old-school engineers who approached these problems back when Perl was the big network programming language, and FreeBSD was the OS for engineers, you will still see some implementations today. Just learn git. Really really learn it. Use it for your personal files. Setup your dotfiles repository and just make yourself comfortable with its working. It will translate to any other versioning tool, which in all likelyhood is going to be git anyway.</p><h3>3 — Learn a language (or two)</h3><p>The flexibility that is unleashed when you can solve problems yourself by writing a few lines of code shifts the world under your feet. Its one of those unchaining moments when you are no longer fettered by the tools you have purchased or acquired, but only by your determination and creativity (and ability to google). For network engineering, I would recommend Go. Its a relatively simple language to learn, it has some structure requirements that force logical coding decisions, and has build in documentation. Python is probably the second recommendation. Lots and lots of network engineers rely on Python, and tools like Ansible are basically Python and Jinja2 libraries with a YAML-based declaration model.</p><p>Any programming experience will translate here, but those would be where I would start if I had zero experience, and had no idea where to start.</p><h3>4 — AWS / GCP / Azure</h3><p>These are not going away. Learn one deeply, learn them all topically. The networking capabilities of the cloud is evolving at a breathtaking pace. Start utilizing the tools and training that is available for cloud for free. Almost every business will have some stake in the cloud, and even the largest industries that are tied to physical infrastructure will be migrating workloads that make sense. There is just no parallel to the scalability that the cloud offers an organization.</p><p>I’d love to know how the other network engineers out there fell into this career path, and what other tips you might have for someone who may be considering the sexy life of an engineer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4715ce6a1684" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why are Access Control Lists so hard?!]]></title>
            <link>https://medium.com/@eneiford/why-are-access-control-lists-so-hard-27ebeb186c4f?source=rss-f93158891581------2</link>
            <guid isPermaLink="false">https://medium.com/p/27ebeb186c4f</guid>
            <category><![CDATA[firewall]]></category>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[security-engineering]]></category>
            <category><![CDATA[network-engineering]]></category>
            <dc:creator><![CDATA[The Maledictive Engineer]]></dc:creator>
            <pubDate>Sat, 15 Aug 2020 08:28:43 GMT</pubDate>
            <atom:updated>2020-08-16T00:39:27.080Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a-P3zmoCIshJqSyuAQQGeA.jpeg" /><figcaption>How I Learned to Stop Worrying and Love the Access Control</figcaption></figure><p>We’ve all been there. There’s a critical delivery, application teams are in a panic requesting resources at the last minute to meet a deadline that they had months to plan for, but somehow still are scrambling. Project managers are whining to anyone in a position of power about how the infrastructure teams are all standing in the way of meeting deadlines. Then the inevitable happens — a developer is unable to access a particular resource, and immediately the call rises around the office, you read the indignity in the slack messages, you hear the exasperation on the zoom calls — someone failed to open up the ACL.</p><h3>“How could this happen? I told you to copy the access from my other host!”</h3><p>The subtext is clear. How could you be so incompetent? Why is it that Access Control Lists are always wrong, can’t you do your job!</p><p>And they are correct. We are terrible people. As network engineers, we do enjoy the power we hold over an organization. No engineering team is so reviled, yet so critical to the function of an organization (well, maybe security). No team has to understand so thoroughly how every aspect of the business operates, while at the same time having no fucking idea what anyone else is doing.</p><p>I need to understand <strong>how</strong> your application behaves, I need to understand <strong>why</strong> your application does what it does, but only at a very macro level. I need to know how your processes interact with other processes, I could give two fucks what the result of those processes are (unless of course they need to interact with a third process).</p><p>I digress. To understand why we suck at ACLs, we need to understand why ACLs are shit to begin with.</p><h3>Problem #1:</h3><p>ACLs are largely stored in device configurations. Routers, Firewalls, Load Balancers. Most of these things have configuration files that are best suited for very specific functions. Need to route traffic around your infrastructure, great, put in a router, establish your peers, set your route policies and steer that traffic baby. What that thing DOES is pretty clear. You can issue concise commands and get direct information about the operation of that device. Add policy enforcement to the mix and whoa there Bessy, you done fucked up.</p><p>Firewall configurations within the data center can (and will) quickly grow to hundreds of thousands of lines.</p><p>What if you have applications with huge latency dependencies, and someone at some point said, OK great, lets just use our switches to apply the access filters in TCAM at line speed. Oh fuck you. Now you done fucked up twice. Hammering a square peg in a round hole with that one. Switches are not designed to manage massive ACLs, they often have restrictions in the amount of grouping they can accommodate (and trust me, you need to be able to implement a sane object-grouping strategy — more on this to come). Once a config starts to become unwieldy, the problems in managing your access policies are just going to snowball.</p><p>Through all my years of education, never once was I sitting in class, and a professor would pause and say “That is how an Access Control List functions, now lets talk about how to <em>manage</em> the access control policies long-term. Because if you don’t, hoo-boy, at some point in your career, everyone is going to <strong><em>hate</em></strong> you”.</p><h3>Problem #2:</h3><p>Responsibility. Application owners are responsible for making the application <em>work</em>. They have a shit job too, so I don’t blame them on this one. The firewall rules that permit application communication <strong><em>are</em></strong> part of the application. I have never started as a network engineer at an organization where this is the case. I’ve heard mythical stories of organizations that actually have a security team responsible for the administration of ACLs, but in practice, its always been neteng’s responsibility. Security often gets to wield their giant random ban-hammer over the ability to implement a particular ACL, but they are always one step removed from the application teams and the network team. Having a security review and approval process exacerbates a bad ACL strategy. By being human beings, they are therefore as shitty at their jobs as the rest of us. They will arbitrarily approve or deny ACLs depending on their mood, or if their coffee was burnt. They carry their own heir of superiority that comes with being the gatekeepers of pretty much everything anyone else is allowed to do (with the exclusion of their own team, of course).</p><h3>Problem #3:</h3><p>Risk aversion. Everyone is goddamn petrified of deleting firewall rules. You can check all the fucking netflow exports, packet-captures, hit-counters, whatever the fuck you want to prove to the application team, your boss, whoever, that an ACL is not being used. As soon as someone somewhere removes an ACL line and something breaks, suddenly no one will ever let you remove another firewall rule ever for any reason. Firewall configurations are stale. Often they are confusing as shit as well. Obfuscated object groups with meaningless names, nested object-groups that act like Russian Dolls, mixed deny and permit rules spattered throughout the policy to make visual inspection of the configuration impossible. Compound that with generations of engineers adding rules with their own idiosyncrasies and bad habits and you have a recipe for disaster. You manage a firewall 1000 times with no impact, good for you, way to do your damn job. You fuck up once and miss a dependency or pull the wrong line, and that’s all anyone will remember. They don’t care how shitty and tedious managing ACLs are. Toughen up buttercup, don’t break my shit.</p><h3>OK, so how do we fix it?</h3><p>I’m glad you asked. Because its possible, and its actually not <em>hard</em>. It takes some buy-in from the organization, and there will be a period of pain to get to a sane policy. Often if the existing rule set is already out of control, it turns into a years-long effort. Installing a new hardware platform is a great time to start a greenfield deployment of the new firewall ACL strategy. Let the legacy wither and die and every time someone complains, steer them to the better way.</p><h3>1. Understand that your firewall is going to manage access for lots of things for a very long time.</h3><p>Physical network infrastructure often has expected lifecycles of 7+ years. Figure out a way to organize the chaos.</p><p>Develop an organization strategy that works and STICK TO IT, even if there is some push back. Exceptions are the enemy here. If you ever want to get to where you are automating this rule set, think like a Mandolorian — “This is the way”.</p><p>Here are some general guidelines I have found effective:</p><ul><li>Create object groups that have meaningful names. Don’t use change ticket numbers or other referential information here that become impossible to decipher. If you look at large organizations, how many applications do you actually support…hundreds, thousands? In the scheme of things, the number of applications is not that large. I find that creating object groups referencing the application they support is best</li><li>Name your object groups over the service they <strong><em>DIRECTLY</em></strong> support. So application x (appX) consumes LDAP as part of its service. Even if the LDAP currently only supports appX, name the LDAP group for the LDAP service it is protecting, not the appX it is supporting by proxy. As soon as application Y (appY) comes along and also needs to talk to LDAP, you’ll understand why it was a good idea. Always think of an object-group in relation to the simplest element the ACLs referencing that object-group will be protecting.</li><li>Use object-group nesting effectively. Too-deep of nests are a nightmare to maintain. No nesting limits the ability for you to effectively manage your ACL ruleset. I find that a 2-level nesting strategy works for 95% of situations. I never nest more than a 3rd level.</li><li>Level 1 Object group — contains groups of like things (e.g. appX web servers). This object group should contain no nested objects, and contain every like entity the group represents. The objects within the group should be interchangeable in function for the scope of the object group</li><li>Level 2 Object group — this is an access group that only contains Level 1 Object groups. From our example above you would have the following structure</li></ul><pre>Object Groups: <br>  appX_app_servers  (level 1 object group)    <br>    1.1.1.1    <br>    1.1.1.2    <br>    1.1.1.3   </pre><pre>  appY_app_servers  (level 1 object group)    <br>    1.1.2.1      </pre><pre>  LDAP_servers  (level 1 object group)    <br>    2.2.2.1    <br>    2.2.2.2   </pre><pre>  LDAP_server_sources  (level 2 object group)    <br>    appx_app_servers    <br>    appy_app_servers  </pre><pre>ACL:  <br>  LDAP_server_sources &gt; LDAP_servers TCP389, TCP636 Permit</pre><ul><li>Even if a level 1 object group only contains a single host, go ahead and follow the standard. Create the object group and then add that object group into any level 2 object group that will grant the access it requires.</li></ul><h3>2. Work with the application teams to ensure they understand it is in their best interest to “own” the object-groups that represent their service.</h3><p>Often application teams already have to create network diagrams of their application to use as a reference. It’s almost never detailed enough to include firewall object groups. If you can get the firewall object group names that represent the service nodes in a network diagram that the application team owns, you have won half the battle. Security will sign off on the design, and everyone is on the same page.</p><p>When the requests start coming in asking to “add 1.1.1.4 to appX_app_servers” suddenly there is no ambiguity. This is a much better relationship with your application teams then getting a request that says “copy access from 1.1.1.2 for host 1.1.1.4”</p><p>Which one of those conversations sounds easier to automate?</p><p>If you can get security sign-off on the firewall groups that represent an application during the POC and pre-prod deployments, there is never a question if the access will be permitted in the future. The access has already been permitted. Is 1.1.1.4 an appX_app_server? Yes, well then it automatically inherits all the access policies of the other appX_app_servers just by being placed into the object group that represents those servers.</p><h3>3. Deny by default, permit by exception</h3><p>The default access policy for security enforcement should be deny (edge ACLs are a different beast for a different conversation). You should fight tooth and nail to keep every line of ACL being a permit. There are situation where stacking a narrow permit over a broad deny can accomplish an ask without much thought, but it sets a bad precedent. If at all possible stick to this rule. You can almost always accomplish the same access by only permitting the exact traffic without having to resort to inserting a deny in the middle of your rule base. Having a strict but simple access policy will be much easier to automate down the road. Explicit permit, implicit deny all. That way the only thing in your ACL is the traffic you want to know about, not the traffic you want to exclude knowing about.</p><p>A flip to this coin is negating access. Don’t do this either. Some firewalls allow you to use negation (NOT).</p><pre>e.g. NOT appY_servers &gt; LDAP_servers TCP389 / TCP636 Permit</pre><p>Checkpoints specifically come to mind, but I am sure there are others. This is just as bad as a deny buried in your code. You want to define good traffic, as opposed to excluding bad traffic. Let the default deny block everything.</p><h3>Firewall ACL Tools:</h3><p>There are many security products that attempt to do some of this work for you. I have used some of them with varying levels of success (and frustration). Cisco CSM, Cisco Tetration, Juniper Space, Palo Alto Panorama. Each of these tools has their efficiencies, but build your solid foundation of access strategy, object-group membership, and shared ACL ownership, and then allow these tools to manage some of the administration of implementing the policies in sane way.</p><p>Just trying to do my part to make us network / security engineers a little less hated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27ebeb186c4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>