<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Technology on Luke Hebert</title><link>https://lukehebert.com/category/technology/</link><description>Recent content in Technology on Luke Hebert</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 23 Aug 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://lukehebert.com/category/technology/index.xml" rel="self" type="application/rss+xml"/><item><title>Enable Kubelet Certificates in Kubernetes if you forgot.</title><link>https://lukehebert.com/post/enable-kubelet-serving-certificates-in-kubernetes-if-you-did-not-do-so-during-cluster-deployment-metric-server/</link><pubDate>Sat, 23 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/enable-kubelet-serving-certificates-in-kubernetes-if-you-did-not-do-so-during-cluster-deployment-metric-server/</guid><description>Enables kubelet TLS bootstrapping so the controller-manager issues proper serving certificates, resolving the x509 certificate validation error in metrics-server. Covers deployment edits, controller-manager configuration, and automated certificate renewal.</description></item><item><title>AWS Instance Metadata</title><link>https://lukehebert.com/post/aws-instance-metadata/</link><pubDate>Thu, 21 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/aws-instance-metadata/</guid><description>An overview of the AWS EC2 Instance Metadata Service (IMDS), including its link-local address and the difference between IMDSv1 and IMDSv2 access.</description></item><item><title>firewalld Quick Reference</title><link>https://lukehebert.com/post/firewalld-cheatsheet/</link><pubDate>Thu, 21 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/firewalld-cheatsheet/</guid><description>A practical cheat sheet for managing firewalld on RHEL, Fedora, and CentOS systems. Covers zones, services, ports, rich rules, NAT, and direct iptables-style rules.</description></item><item><title>Installing Kubernetes the Hard Way</title><link>https://lukehebert.com/post/update-kubernetes-the-hard-way/</link><pubDate>Thu, 21 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/update-kubernetes-the-hard-way/</guid><description>A guide to building a Kubernetes cluster manually, component by component, without kubeadm or minikube. This approach provides a deep understanding of how Kubernetes works under the hood and prepares you for both certification exams and day-to-day operations.</description></item><item><title>CNIs and the CKA Exam</title><link>https://lukehebert.com/post/important-note-about-cni-and-cka-exam/</link><pubDate>Tue, 19 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/important-note-about-cni-and-cka-exam/</guid><description>Clarifies which CNI plugins are acceptable for the CKA exam and explains why the official Kubernetes documentation avoids vendor-specific deployment commands.</description></item><item><title>Gateway API</title><link>https://lukehebert.com/post/gateway-api/</link><pubDate>Tue, 19 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/gateway-api/</guid><description>Gateway API is a Kubernetes add-on that provides dynamic infrastructure provisioning and advanced traffic routing through an extensible, role-oriented configuration mechanism. It organizes traffic handling around three stable API kinds: GatewayClass, Gateway, and HTTPRoute.</description></item><item><title>Ingress and Ingress Controllers</title><link>https://lukehebert.com/post/ingress-and-ingress-controllers/</link><pubDate>Tue, 19 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/ingress-and-ingress-controllers/</guid><description>An overview of Kubernetes Ingress resources and the controllers that fulfill them, covering terminology, creation, and prerequisites.</description></item><item><title>Ingress Annotations and Rewrite Target</title><link>https://lukehebert.com/post/ingress-annotations-and-rewrite-target/</link><pubDate>Tue, 19 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/ingress-annotations-and-rewrite-target/</guid><description>Explains how the rewrite-target annotation in the NGINX Ingress controller maps user-facing URL paths to backend services, preventing 404 errors. Includes examples of simple and regex-based rewrites.</description></item><item><title>Kubernetes Gateway API: A Practical Guide Using NGINX (2025)</title><link>https://lukehebert.com/post/practical-guide-to-gateway-api-2025/</link><pubDate>Tue, 19 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/practical-guide-to-gateway-api-2025/</guid><description>A practical walkthrough of the Kubernetes Gateway API using the NGINX Gateway Controller, covering HTTP routing, TLS termination, traffic splitting, and multi-protocol support. The concepts are implementation-agnostic and apply across any Gateway API-compatible controller.</description></item><item><title>Kubernetes Internal DNS (Search Base)</title><link>https://lukehebert.com/post/kubernetes-internal-dns-search-base/</link><pubDate>Tue, 19 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kubernetes-internal-dns-search-base/</guid><description>Kubernetes provides a built-in DNS service that assigns predictable names to Services and Pods within a cluster. By default, pods use cluster.local as their search base for internal DNS resolution, enabling communication through human-readable names rather than ephemeral IP addresses.</description></item><item><title>Network Namespaces (Virtual Network)</title><link>https://lukehebert.com/post/network-namespaces-virtual-network/</link><pubDate>Tue, 19 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/network-namespaces-virtual-network/</guid><description>Network namespaces provide the foundation for container network isolation in Docker and Kubernetes. This guide covers listing, creating, and linking namespaces, bridging, NAT, and how Docker and Kubernetes build on these primitives.</description></item><item><title>Nginx Ingress Controller</title><link>https://lukehebert.com/post/nginx-ingress-controller/</link><pubDate>Tue, 19 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/nginx-ingress-controller/</guid><description>A practical guide to installing and configuring the Ingress-Nginx Controller in Kubernetes, covering Helm and kubectl methods, cloud-provider annotations, and local testing workflows.</description></item><item><title>Using Persistent Volume Claims in a Pod (PVC)</title><link>https://lukehebert.com/post/using-persistent-volume-claims-in-a-pod-pvc/</link><pubDate>Mon, 18 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/using-persistent-volume-claims-in-a-pod-pvc/</guid><description>This guide explains how Persistent Volumes and Persistent Volume Claims work together in Kubernetes and shows how to reference a PVC inside a Pod definition. It also covers access modes and the difference between static and dynamic provisioning.</description></item><item><title>Basic (CSV) Authentication to the API Server</title><link>https://lukehebert.com/post/basic-csv-authentication-to-the-api-server/</link><pubDate>Sat, 16 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/basic-csv-authentication-to-the-api-server/</guid><description>Configure HTTP basic authentication on a kubeadm-managed Kubernetes cluster using a CSV credentials file. Covers mounting the file into kube-apiserver, defining RBAC roles, and verifying access with curl.</description></item><item><title>Docker and Container Capabilities</title><link>https://lukehebert.com/post/docker-and-container-capabilities/</link><pubDate>Sat, 16 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/docker-and-container-capabilities/</guid><description>An in-depth overview of Linux capabilities and how they govern privilege inside Docker containers and Kubernetes pods. Covers capability sets, file capabilities, bounding sets, securebits, and user-namespace interactions.</description></item><item><title>K8s Impersonation: Stepping Into Someone Else's Pods</title><link>https://lukehebert.com/post/user-impersonation/</link><pubDate>Sat, 16 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/user-impersonation/</guid><description>Learn how Kubernetes administrators can verify permissions and impersonate other users using kubectl auth can-i and the &amp;ndash;as flag.</description></item><item><title>Kubectx and Kubens</title><link>https://lukehebert.com/post/kubectx-and-kubens/</link><pubDate>Sat, 16 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kubectx-and-kubens/</guid><description>Kubectx and kubens are lightweight CLI tools that simplify switching between Kubernetes clusters and namespaces. This guide covers installation and basic usage for both tools.</description></item><item><title>Kubernetes TLS Check List</title><link>https://lukehebert.com/post/kubernetes-tls-check-list/</link><pubDate>Sat, 16 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kubernetes-tls-check-list/</guid><description>A practical checklist covering X.509 certificate requirements for Kubernetes nodes, users, and the API server. Includes deployment methods, cert-manager workflows, and Extended Key Usage configuration.</description></item><item><title>Finding Which Java Threads Are Eating Your CPU for Breakfast</title><link>https://lukehebert.com/post/finding-which-java-threads-are-consuming-your-cpu/</link><pubDate>Fri, 15 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/finding-which-java-threads-are-consuming-your-cpu/</guid><description>When a Java process is eating your CPU, you need to know exactly which thread is responsible. This guide walks through JVisualVM, jstack, top, and jvmtop to pinpoint the culprit.</description></item><item><title>How to Inspect a Thread Dump Like a Pro</title><link>https://lukehebert.com/post/how-to-inspect-a-thread-dump-like-a-pro/</link><pubDate>Fri, 15 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/how-to-inspect-a-thread-dump-like-a-pro/</guid><description>Learn how to capture, read, and interpret Java thread dumps using JDK tools like jstack and jcmd. Covers thread states, CPU analysis, deadlock detection, and practical tools for spotting performance issues.</description></item><item><title>Not Enough Storage Available While Using Jstack (Win)</title><link>https://lukehebert.com/post/not-enough-storage-available-while-using-jstack-win/</link><pubDate>Thu, 14 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/not-enough-storage-available-while-using-jstack-win/</guid><description>A quick fix for the &amp;rsquo;not enough storage available&amp;rsquo; error when running jstack on Windows, caused by the JVM running under the Local System Account. Two workarounds using Psexec or JMX remote monitoring.</description></item><item><title>Backing Up etcd</title><link>https://lukehebert.com/post/backing-up-etcd/</link><pubDate>Wed, 13 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/backing-up-etcd/</guid><description>A practical guide to backing up and restoring the etcd key-value database in a Kubernetes cluster. Covers snapshot-based and file-based backup methods, integrity checks, and static pod manifest updates.</description></item><item><title>Upgrading a K8 Cluster</title><link>https://lukehebert.com/post/upgrading-a-cluster/</link><pubDate>Wed, 13 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/upgrading-a-cluster/</guid><description>A step-by-step guide to upgrading a Kubernetes cluster using kubeadm, covering control plane and worker node upgrades. Includes the full sequence from version planning through final verification.</description></item><item><title>Jstack and Jcmd: What Are Your Java Threads Even Doing?</title><link>https://lukehebert.com/post/using-jcmd-jstack-to-get-thread-information/</link><pubDate>Tue, 12 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/using-jcmd-jstack-to-get-thread-information/</guid><description>A practical guide to using the jcmd and jstack utilities for collecting thread dumps, heap data, and CPU information from a running JVM process. Includes ready-to-use scripts and one-liners for troubleshooting slow or hung Java applications.</description></item><item><title>Kubernetes Resource Management</title><link>https://lukehebert.com/post/kubernetes-resource-management/</link><pubDate>Mon, 11 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kubernetes-resource-management/</guid><description>A practical guide to configuring CPU, memory, and storage requests and limits in Kubernetes, covering container-level, Pod-level, and namespace-level resource controls. Includes troubleshooting steps for common scheduling and OOM issues.</description></item><item><title>Pod Node Assignment &amp; Manual Scheduling</title><link>https://lukehebert.com/post/manually-scheduling-pods/</link><pubDate>Mon, 11 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/manually-scheduling-pods/</guid><description>Learn how to assign Kubernetes pods to specific nodes at creation time and how to reassign running pods using Binding objects. Covers scheduler behavior and common pitfalls that leave pods stuck in Pending state.</description></item><item><title>JSON Path</title><link>https://lukehebert.com/post/json-path/</link><pubDate>Sun, 10 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/json-path/</guid><description>A practical guide to JSON Path syntax, operators, and filters, with hands-on examples for extracting data from JSON documents and Kubernetes resources via kubectl.</description></item><item><title>Useful JsonPath Queries for Kubernetes</title><link>https://lukehebert.com/post/useful-json-path-queries-for-kubernetes/</link><pubDate>Sun, 10 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/useful-json-path-queries-for-kubernetes/</guid><description>A practical guide to kubectl JsonPath expressions for extracting, formatting, and combining Kubernetes resource fields. Covers core patterns, array indexing, literal strings, and when to reach for jq instead.</description></item><item><title>Helm Templates: A Practical Reference</title><link>https://lukehebert.com/post/helm-template-cheat-sheet/</link><pubDate>Fri, 08 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/helm-template-cheat-sheet/</guid><description>A comprehensive cheatsheet covering essential Helm template functions, syntax, and patterns for writing and debugging chart templates. Use it as a quick lookup while building or troubleshooting Helm charts.</description></item><item><title>Helm: A Practical Reference Guide</title><link>https://lukehebert.com/post/helm-usage-cheatsheet/</link><pubDate>Fri, 08 Aug 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/helm-usage-cheatsheet/</guid><description>A quick-reference guide covering Helm repository management, chart installation, release management, and common deployment workflows. Use this as a day-to-day cheat sheet for working with Helm in Kubernetes environments.</description></item><item><title>kubectl Quick Reference for Kubernetes</title><link>https://lukehebert.com/post/kubectl-quick-reference-kubernetes/</link><pubDate>Tue, 15 Jul 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kubectl-quick-reference-kubernetes/</guid><description>A quick reference covering commonly used kubectl commands, flags, and workflows for managing Kubernetes resources. Topics range from shell autocomplete and cluster contexts to creating, viewing, updating, and deleting resources.</description></item><item><title>pgBackRest and Helpful Commands</title><link>https://lukehebert.com/post/pgbackrest-and-helpful-commands/</link><pubDate>Wed, 02 Jul 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/pgbackrest-and-helpful-commands/</guid><description>A practical reference for pgBackRest backup, restore, and cleanup commands for PostgreSQL. Covers manual cleanup, incremental backups, retention policies, and stanza management.</description></item><item><title>Understanding Machine CPU Usage</title><link>https://lukehebert.com/post/understanding-machine-cpu-usage/</link><pubDate>Wed, 18 Jun 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/understanding-machine-cpu-usage/</guid><description>A practical walkthrough of reading node_cpu_seconds_total from the Prometheus Node exporter, calculating per-second rates, and deriving overall CPU utilization percentages across multiple machines.</description></item><item><title>An Introductory How-To, With Examples, of Docker Exec</title><link>https://lukehebert.com/post/an-introductory-how-to-of-docker-exec/</link><pubDate>Thu, 29 May 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/an-introductory-how-to-of-docker-exec/</guid><description>A practical guide to the docker exec command, covering background execution, environment variables, interactive sessions, and working directory control. Includes real-world examples to help you get the most out of running commands inside containers.</description></item><item><title>Kubernetes Cluster Components</title><link>https://lukehebert.com/post/kubernetes-cluster-components/</link><pubDate>Thu, 29 May 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kubernetes-cluster-components/</guid><description>An overview of the key components that make up a Kubernetes cluster, covering both the control plane and worker nodes. Understanding these pieces is essential for operating and troubleshooting a Kubernetes environment.</description></item><item><title>Kubernetes Deployment Scheduler Sequence</title><link>https://lukehebert.com/post/kubernetes-deployment-scheduler-sequence/</link><pubDate>Thu, 29 May 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kubernetes-deployment-scheduler-sequence/</guid><description>A time sequence diagram walks through the sequential steps of pod scheduling in Kubernetes, from the initial kubectl command to the kubelet reporting status back to the API server. The diagram simplifies concurrent control plane and worker node processes into a clear, ordered flow.</description></item><item><title>Java TLS Client Debugging</title><link>https://lukehebert.com/post/java-tls-client-debugging/</link><pubDate>Mon, 19 May 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/java-tls-client-debugging/</guid><description>A guide to inspecting SSL/TLS handshakes in Java applications when built-in debugging is unavailable. Includes a lightweight TLS client tool for testing certificate and handshake issues.</description></item><item><title>Graph Database White Papers</title><link>https://lukehebert.com/post/graph-database-white-papers/</link><pubDate>Mon, 14 Apr 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/graph-database-white-papers/</guid><description>An overview of graph databases, their structure, and advantages over relational models. Covers how nodes, relationships, and the Cypher query language work together to model complex data.</description></item><item><title>Udev Diagnostic Test for a Broken /dev/null Node</title><link>https://lukehebert.com/post/udev-diagnostic-test/</link><pubDate>Thu, 27 Feb 2025 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/udev-diagnostic-test/</guid><description>A walkthrough of using udevadm to diagnose and inspect udev rule application on a /dev/null device node. Covers the test command syntax and interprets the output for troubleshooting permission issues.</description></item><item><title>Postgres per-table autovacuum management</title><link>https://lukehebert.com/post/posgres-per-table-autovacuum-management/</link><pubDate>Mon, 28 Oct 2024 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/posgres-per-table-autovacuum-management/</guid><description>Tune Postgres per-table autovacuum settings and track them with a single SQL view. Covers global defaults, table-specific overrides, and a ready-to-use monitoring query.</description></item><item><title>Catching Packets: Tuning Linux Network Inbound</title><link>https://lukehebert.com/post/monitoring-and-tuning-the-linux-networking-stack-receiving-data/</link><pubDate>Fri, 11 Oct 2024 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/monitoring-and-tuning-the-linux-networking-stack-receiving-data/</guid><description>A deep dive into how the Linux kernel receives network packets, covering the full path from NIC hardware through NAPI, softirqs, GRO, RPS, and protocol layers. Includes practical monitoring commands and tuning knobs for each stage.</description></item><item><title>Linux Network Ring Buffers</title><link>https://lukehebert.com/post/linux-network-ring-buffers-trying-to-cover-what-i-dont-know-about/</link><pubDate>Fri, 11 Oct 2024 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/linux-network-ring-buffers-trying-to-cover-what-i-dont-know-about/</guid><description>A practical walkthrough of how Linux allocates and manages RX/TX ring buffers for network interfaces, covering DMA, softirq processing, and tuning knobs like netdev_budget.</description></item><item><title>Myths About /dev/urandom</title><link>https://lukehebert.com/post/myths-about-dev-urandom/</link><pubDate>Fri, 04 Oct 2024 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/myths-about-dev-urandom/</guid><description>A practical breakdown of the most common misconceptions about /dev/urandom and /dev/random on Linux, explaining why /dev/urandom is the correct choice for cryptographic randomness and why blocking on low entropy is a usability problem, not a security one.</description></item><item><title>Wireshark SSL Filters: Cutting Through the Crypto Noise</title><link>https://lukehebert.com/post/wireshark-filter-for-ssl-traffic/</link><pubDate>Fri, 30 Aug 2024 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/wireshark-filter-for-ssl-traffic/</guid><description>A collection of useful Wireshark display filters for analyzing SSL/TLS handshake traffic, including a reference table of handshake message types and notes on cipher suite considerations.</description></item><item><title>Docker/Kubernetes Network Diagnostic Tools</title><link>https://lukehebert.com/post/docker-kubernetes-network-diagnostic-tools/</link><pubDate>Mon, 26 Aug 2024 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/docker-kubernetes-network-diagnostic-tools/</guid><description>A practical guide to using the netshoot container for Docker and Kubernetes network troubleshooting. Covers network namespaces, tcpdump examples, and real-world diagnostic workflows.</description></item><item><title>How to Get the Most Out of Postgres Memory Settings</title><link>https://lukehebert.com/post/how-to-get-the-most-out-of-postgres-memory-settings/</link><pubDate>Wed, 12 Jun 2024 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/how-to-get-the-most-out-of-postgres-memory-settings/</guid><description>A practical guide to tuning Postgres memory parameters including shared_buffers, work_mem, and maintenance_work_mem. Learn how to measure actual usage, avoid out-of-memory crashes, and balance allocations for optimal performance.</description></item><item><title>LDAP OID Reference Guide</title><link>https://lukehebert.com/post/ldap-oid-reference-guide/</link><pubDate>Wed, 12 Jun 2024 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/ldap-oid-reference-guide/</guid><description>A comprehensive reference table of common LDAP object identifiers (OIDs) used in schema elements, controls, and extended operations. Each entry includes the OID, its purpose, and a link to the relevant RFC or specification.</description></item><item><title>How to Clean Up pg_wal If the Disk Is Full</title><link>https://lukehebert.com/post/how-to-clean-up-pg-wal-if-the-disk-is-full/</link><pubDate>Mon, 04 Dec 2023 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/how-to-clean-up-pg-wal-if-the-disk-is-full/</guid><description>A practical guide to resolving PostgreSQL pg_wal disk-full issues, covering both reactive recovery steps and proactive measures to prevent recurrence. Learn how to free space, move the WAL directory, and configure archiving correctly.</description></item><item><title>Analyzing Large Java Heap Dumps Using Memory Analyzer CLI</title><link>https://lukehebert.com/post/analyzing-large-java-heap-dumps-using-memory-analyzer-cli-in-linux/</link><pubDate>Fri, 17 Nov 2023 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/analyzing-large-java-heap-dumps-using-memory-analyzer-cli-in-linux/</guid><description>When MAT UI fails to handle very large heap dumps, the Memory Analyzer CLI provides a reliable alternative on Linux. This post walks through the setup and commands needed to parse multi-gigabyte dumps and generate shareable HTML reports.</description></item><item><title>Demystifying Docker DNS: How Containers Talk</title><link>https://lukehebert.com/post/understanding-docker-dns/</link><pubDate>Wed, 15 Nov 2023 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/understanding-docker-dns/</guid><description>An overview of how Docker&amp;rsquo;s built-in DNS resolver enables container-to-container communication and service discovery. Covers default configurations, custom DNS setups, and practical use cases.</description></item><item><title>The Beer Drinker's Guide to SAML Duo Security</title><link>https://lukehebert.com/post/the-beer-drinkers-guide-to-saml-duo-security/</link><pubDate>Mon, 11 Sep 2023 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/the-beer-drinkers-guide-to-saml-duo-security/</guid><description>A plain-English walkthrough of how SAML authentication works, using the analogy of buying a beer at a concert. Covers IdP and SP configuration, IdP-initiated vs SP-initiated flows, and practical troubleshooting steps.</description></item><item><title>Override systemd unit files</title><link>https://lukehebert.com/post/override-systemd-unit-files/</link><pubDate>Tue, 27 Jun 2023 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/override-systemd-unit-files/</guid><description>Learn how to safely override systemd unit and timer files using systemctl edit, avoiding the pitfalls of editing package-managed files directly. Covers creating drop-in overrides, full replacements, and reverting changes.</description></item><item><title>How to Change Docker Root Data Directory</title><link>https://lukehebert.com/post/how-to-change-docker-root-data-directory/</link><pubDate>Fri, 02 Jun 2023 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/how-to-change-docker-root-data-directory/</guid><description>A step-by-step guide to relocating the Docker data directory to a new path. Covers daemon configuration, data migration, and cleanup for both older and newer Docker versions.</description></item><item><title>Which Container Ate All Your Storage?</title><link>https://lukehebert.com/post/docker-determining-container-responsible-for-largest-overlay-directories/</link><pubDate>Thu, 18 May 2023 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/docker-determining-container-responsible-for-largest-overlay-directories/</guid><description>A practical guide to identifying which Docker containers occupy the largest overlay2 directories. Uses docker inspect, jq, and xargs to map cryptic layer hashes back to human-readable container names.</description></item><item><title>A Walkthrough of a TLS 1.3 Handshake</title><link>https://lukehebert.com/post/a-walkthrough-of-a-tls-1.3-handshake/</link><pubDate>Wed, 10 May 2023 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/a-walkthrough-of-a-tls-1.3-handshake/</guid><description>A byte-by-byte walkthrough of a TLS 1.3 handshake using OpenSSL&amp;rsquo;s s_client, comparing each message to its TLS 1.2 counterpart. Highlights how encryption, key exchange, and extensions differ in the latest revision.</description></item><item><title>Palo Alto Networks - Define Traffic to Decrypt</title><link>https://lukehebert.com/post/palo-alto-networks-define-traffic-to-decrypt/</link><pubDate>Mon, 08 May 2023 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/palo-alto-networks-define-traffic-to-decrypt/</guid><description>Learn how to use Decryption Policy rules in Palo Alto Networks to define which traffic to decrypt and which to exclude. This guide also covers best practices for blocking QUIC and applying strict security profiles to sensitive traffic categories.</description></item><item><title>Introduction to Virtual LANs (VLANs) and Tagging</title><link>https://lukehebert.com/post/intro-to-networking-introduction-to-virtual-lans-vlans-and-tagging/</link><pubDate>Fri, 05 May 2023 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/intro-to-networking-introduction-to-virtual-lans-vlans-and-tagging/</guid><description>A beginner-friendly overview of Virtual LANs, covering their benefits, typical usage scenarios, and the fundamentals of 802.1Q VLAN tagging.</description></item><item><title>Optimize PostgreSQL Server Performance Through Configuration</title><link>https://lukehebert.com/post/optimize-postgresql-server-performance-through-configuration/</link><pubDate>Thu, 27 Apr 2023 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/optimize-postgresql-server-performance-through-configuration/</guid><description>This guide walks through four key PostgreSQL configuration settings that significantly impact server performance. Learn how to tune shared_buffers, wal_buffers, effective_cache_size, and work_mem for your specific workload.</description></item><item><title>PostgreSQL Shared Memory (Huge Pages)</title><link>https://lukehebert.com/post/postgresql-shared-memory-huge-pages/</link><pubDate>Wed, 26 Apr 2023 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/postgresql-shared-memory-huge-pages/</guid><description>Calculating the right number of Linux huge pages for PostgreSQL is trickier than just dividing shared_buffers by the page size. This walkthrough shows how to use tuned to manage allocation and why you need to round up based on actual memory usage.</description></item><item><title>PostgreSQL WAL Retention and Clean Up pg_archivecleanup</title><link>https://lukehebert.com/post/postgresql-wal-retention-and-clean-up-pg-archivecleanup/</link><pubDate>Fri, 21 Apr 2023 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/postgresql-wal-retention-and-clean-up-pg-archivecleanup/</guid><description>A practical guide to managing PostgreSQL WAL retention using the pg_archivecleanup utility, covering dry-run and delete modes, retention criteria, and a code walkthrough for novice users.</description></item><item><title>Using SQLline to Test JDBC Connectors</title><link>https://lukehebert.com/post/using-sqlline-to-test-jdbc-connectors/</link><pubDate>Thu, 15 Dec 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/using-sqlline-to-test-jdbc-connectors/</guid><description>A practical guide to using SQLline to replicate SQL client behavior when testing JDBC connectors. Covers downloading the tool, setting up the classpath, and connecting to an Azure MySQL instance.</description></item><item><title>Kerberos Code 41: Someone’s Tweaking the Stream!</title><link>https://lukehebert.com/post/kerberos-message-stream-modified-41/</link><pubDate>Fri, 18 Feb 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kerberos-message-stream-modified-41/</guid><description>JDK 1.8.0u242 and later introduced Kerberos referral handling per RFC 6806, which can break Active Directory name canonicalization and produce a KRB_AP_ERR_MODIFIED error. This post walks through the two configuration fixes that resolve the issue.</description></item><item><title>Additional Kernel Tweaks for IPv4 Broadband</title><link>https://lukehebert.com/post/additional-kernel-tweaks-for-ipv4-boradband/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/additional-kernel-tweaks-for-ipv4-boradband/</guid><description>A practical guide to tuning Linux TCP/IP kernel parameters for high-speed, high-latency broadband connections, covering buffer sizing, timeout adjustments, SYN flood protection, and congestion control selection.</description></item><item><title>Apache Tuner</title><link>https://lukehebert.com/post/apache-tuner/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/apache-tuner/</guid><description>Apache Tuner is a Perl script that analyzes your Apache configuration and system resources to surface quick performance wins. Run it, read the suggestions, and tune your MPM, KeepAlive, and worker settings with confidence.</description></item><item><title>AWS EIP (Elastic IP Assignment Script)</title><link>https://lukehebert.com/post/aws-eip-elastic-ip-assignment-script/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/aws-eip-elastic-ip-assignment-script/</guid><description>A lightweight bash script that automatically allocates and assigns an Elastic IP to an EC2 instance at launch using User Data, eliminating the need for manual IP management.</description></item><item><title>Bash Piped Logging</title><link>https://lukehebert.com/post/bash-piped-logging/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/bash-piped-logging/</guid><description>A quick bash logging setup that uses a named pipe and tee to capture stdout and stderr to a file while keeping the terminal interactive. Five lines of shell code, zero external dependencies.</description></item><item><title>Bash Shell Redirects</title><link>https://lukehebert.com/post/bash-shell-redirects/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/bash-shell-redirects/</guid><description>A quick reference for the most common bash shell redirect operators, with examples showing how to send stdout and stderr to files or swap them.</description></item><item><title>Check and Backup Databases</title><link>https://lukehebert.com/post/check-and-backup-databases/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/check-and-backup-databases/</guid><description>A quick bash workflow for running integrity checks and generating SQL dumps across a set of user databases in MySQL.</description></item><item><title>Check Disk State</title><link>https://lukehebert.com/post/check-disk-state/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/check-disk-state/</guid><description>A quick one-liner to list every mounted ext3 or ext4 partition along with its label and filesystem state, useful for spotting unclean shutdowns or journal issues at a glance.</description></item><item><title>Check MySQL User Permissions</title><link>https://lukehebert.com/post/check-mysql-user-permissions/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/check-mysql-user-permissions/</guid><description>A quick way to inspect what SELECT and UPDATE privileges a MySQL user actually holds, straight from the mysql.user table. Useful when an application is throwing permission errors and you need to confirm what the account can and cannot do.</description></item><item><title>Chroot Suggested Mounts for Rescue</title><link>https://lukehebert.com/post/chroot-suggested-monts-for-rescue/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/chroot-suggested-monts-for-rescue/</guid><description>A quick walkthrough of using virt-rescue to generate the correct mount commands for a chroot rescue session on a libvirt guest.</description></item><item><title>Create Symbols and Resolve Stack (MySQL)</title><link>https://lukehebert.com/post/create-symbols-and-resolve-stack-mysql/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/create-symbols-and-resolve-stack-mysql/</guid><description>Learn how to extract dynamic symbols from the mysqld binary and use them to resolve a crash stack dump into readable function names.</description></item><item><title>Fixing MySQL Invalid Keys</title><link>https://lukehebert.com/post/fix-mysql-invalid-keys/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/fix-mysql-invalid-keys/</guid><description>A quick bash script to identify and repair MySQL tables with invalid or corrupted MYI key files, then force a rebuild using USE_FRM.</description></item><item><title>Forceing MySQL Logs to File</title><link>https://lukehebert.com/post/force-mysql-logs-to-file/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/force-mysql-logs-to-file/</guid><description>Learn how to configure MySQL&amp;rsquo;s log_output variable to write slow query and general logs to files instead of tables, and why that matters for performance and log management.</description></item><item><title>Generate Random Passwords with Perl</title><link>https://lukehebert.com/post/generate-random-passwords-with-perl/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/generate-random-passwords-with-perl/</guid><description>A compact Perl one-liner that produces cryptographically random passwords of a specified length. Perfect for quickly generating strong credentials without reaching for a dedicated tool.</description></item><item><title>InnoDB Corruption and Recovery Guide</title><link>https://lukehebert.com/post/innodb-corruption-and-recovery-guide/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/innodb-corruption-and-recovery-guide/</guid><description>A practical, step-by-step guide for diagnosing and recovering from common InnoDB corruption issues, covering first response, log analysis, checksum verification, and data restoration techniques.</description></item><item><title>Locate Files Based on Time Modified with find</title><link>https://lukehebert.com/post/locate-files-based-on-time-modified-how-many-days-since-it-has-been-modified/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/locate-files-based-on-time-modified-how-many-days-since-it-has-been-modified/</guid><description>A quick reference for using find with -mtime and -mmin to locate files by how long ago they were last modified, including the common off-by-one confusion around the +1 flag.</description></item><item><title>MySQL General Log</title><link>https://lukehebert.com/post/mysql-general-log/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/mysql-general-log/</guid><description>A quick walkthrough of enabling, configuring, and querying the MySQL general log to capture every statement that hits your server.</description></item><item><title>MySQL Grants</title><link>https://lukehebert.com/post/mysql-grants/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/mysql-grants/</guid><description>A quick reference for viewing and applying MySQL GRANT statements, including the specific privileges needed for routine and view management.</description></item><item><title>MySQL Joins</title><link>https://lukehebert.com/post/mysql-joins/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/mysql-joins/</guid><description>A quick reference for the four types of SQL JOIN operations in MySQL, with plain-language explanations and a simple example for each.</description></item><item><title>Nginx Flood Protection with limit_req</title><link>https://lukehebert.com/post/ngins-flood-protection-with-limit-req/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/ngins-flood-protection-with-limit-req/</guid><description>A practical walkthrough of Nginx&amp;rsquo;s limit_req module, showing how to cap request rates and protect PHP endpoints from HTTP-based denial-of-service attacks.</description></item><item><title>Nginx Load Balancing</title><link>https://lukehebert.com/post/nginx-load-balancing/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/nginx-load-balancing/</guid><description>A practical walkthrough of setting up Nginx round-robin load balancing, including upstream configuration, weighted distribution, IP hashing, and failover directives.</description></item><item><title>Nginx Multiple Conditional Test</title><link>https://lukehebert.com/post/nginx-multiple-conditional-test/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/nginx-multiple-conditional-test/</guid><description>Learn how to chain multiple if conditions in Nginx to build a composite variable and route traffic based on the combined result.</description></item><item><title>Nginx ngx_http_rewrite_module</title><link>https://lukehebert.com/post/nginx-mod-rewrite-module/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/nginx-mod-rewrite-module/</guid><description>A practical reference for Nginx&amp;rsquo;s ngx_http_rewrite_module, covering the break, if, return, rewrite, set, and related directives with working examples and processing-order details.</description></item><item><title>Noapic</title><link>https://lukehebert.com/post/noapic/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/noapic/</guid><description>The noapic kernel parameter disables the Advanced Programmable Interrupt Controller, a useful workaround for interrupt routing issues on older or misconfigured systems.</description></item><item><title>NUMA and MySQL Swap Insanity</title><link>https://lukehebert.com/post/numa-mysql-swap-insanity/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/numa-mysql-swap-insanity/</guid><description>A deep dive into why MySQL on NUMA systems suffers from unpredictable swapping, and how a single numactl interleave fix eliminates the problem entirely.</description></item><item><title>NUMA: An Update to the MySQL Swap Insanity</title><link>https://lukehebert.com/post/numa-update-to-mysql-swap-insanity/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/numa-update-to-mysql-swap-insanity/</guid><description>A follow-up to the original MySQL NUMA swap post, explaining why the real issue is memory pressure on a single NUMA node rather than swap itself, and outlining a three-part solution for balanced allocation in production.</description></item><item><title>Percona Xtradb Recovery</title><link>https://lukehebert.com/post/percona-xtradb-recovery/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/percona-xtradb-recovery/</guid><description>Percona XtraDB Cluster can recover a crashed node and rejoin it to the cluster using an incremental state transfer. This post walks through how GTID-based position recovery works under the hood and what you will see in the error log during the process.</description></item><item><title>Permission Rescue: getfacl to Save Your Future Self</title><link>https://lukehebert.com/post/restore-permissions-on-or-get-permissions-on-all-files-and-folder-in/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/restore-permissions-on-or-get-permissions-on-all-files-and-folder-in/</guid><description>A quick reference for backing up and restoring full ACL permissions across an entire directory tree using getfacl and setfacl.</description></item><item><title>RAID Error Code Key Qualifiers</title><link>https://lukehebert.com/post/raid-error-code-key-qualifers/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/raid-error-code-key-qualifers/</guid><description>A quick reference for understanding the key qualifiers that appear in RAID controller error codes, so you can pinpoint the exact failure condition instead of guessing from a generic error message.</description></item><item><title>Regex Quick Reference</title><link>https://lukehebert.com/post/regex/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/regex/</guid><description>A practical cheat sheet covering common regex patterns, Perl-compatible lookarounds, and character classes for everyday text processing in bash and grep.</description></item><item><title>Understanding Load Averages</title><link>https://lukehebert.com/post/understanding-load-averages/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/understanding-load-averages/</guid><description>A practical guide to reading Linux load averages, with a traffic analogy that makes the numbers click. Learn the thresholds that matter, how multi-core systems change the math, and which of the three averages to watch.</description></item><item><title>User Performance Data on MySQL</title><link>https://lukehebert.com/post/user-performance-data-on-mysql/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/user-performance-data-on-mysql/</guid><description>A quick bash one-liner that pulls per-user CPU time, connection counts, and active session details from MySQL&amp;rsquo;s INFORMATION_SCHEMA and processlist tables.</description></item><item><title>Using an htaccess file to rewrite a block page with Apache</title><link>https://lukehebert.com/post/rewrite-block-page-check-for-patterns-check-google/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/rewrite-block-page-check-for-patterns-check-google/</guid><description>Use Apache mod_rewrite to return a 400 error for a specific URI and optionally block hotlinking from other domains. A quick .htaccess snippet that keeps unwanted traffic off a single page.</description></item><item><title>AWS VPC Overview &amp; Component Breakdown</title><link>https://lukehebert.com/post/aws-vpc-structure/</link><pubDate>Tue, 18 Jan 2022 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/aws-vpc-structure/</guid><description>A visual walkthrough of the core networking components that make up an Amazon VPC, from subnets and gateways to security groups and route tables. Understanding how these pieces interact is essential for designing secure, well-segmented cloud networks.</description></item><item><title>The Golden Ticket: Kerberos’ Forbidden Pass</title><link>https://lukehebert.com/post/golden-ticket-attack/</link><pubDate>Mon, 15 Nov 2021 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/golden-ticket-attack/</guid><description>A Golden Ticket attack lets an attacker forge Kerberos tickets and impersonate any user in an Active Directory domain. Learn how the attack works and the concrete steps you can take to defend against it.</description></item><item><title>IPv4 Kernel Stack Optimizations</title><link>https://lukehebert.com/post/ipv4-kernel-stack-optimizations/</link><pubDate>Tue, 07 Sep 2021 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/ipv4-kernel-stack-optimizations/</guid><description>A practical walkthrough for tuning Linux TCP/IP stack parameters, from selecting a congestion control algorithm to applying sysctl settings for high-throughput workloads.</description></item><item><title>Kafka Dump</title><link>https://lukehebert.com/post/kafka-dump/</link><pubDate>Wed, 25 Aug 2021 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kafka-dump/</guid><description>A practical walkthrough for dumping Kafka topic data, including a generic consumer approach and a full Atlas-specific workflow covering JAAS configuration, Kerberos authentication, and log extraction.</description></item><item><title>Deploy CFSSL CA Server</title><link>https://lukehebert.com/post/deploy-cfssl-ca-server/</link><pubDate>Mon, 02 Aug 2021 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/deploy-cfssl-ca-server/</guid><description>A step-by-step guide to deploying a CFSSL-backed certificate authority with PostgreSQL storage, OCSP responder, and CRL distribution. Covers installation, CA initialization, service configuration, and Nginx reverse proxy setup.</description></item><item><title>Delete Existing Users From Ranger</title><link>https://lukehebert.com/post/delete-existing-users-from-ranger/</link><pubDate>Tue, 06 Jul 2021 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/delete-existing-users-from-ranger/</guid><description>A quick walkthrough of using the Ranger REST API to bulk-delete existing users, including how to capture an auth cookie and loop through a user list with curl.</description></item><item><title>Spark Token Debug</title><link>https://lukehebert.com/post/spark-token-debug/</link><pubDate>Thu, 04 Feb 2021 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/spark-token-debug/</guid><description>Enable verbose Kerberos and token logging on Spark driver and executor nodes to capture the diagnostic data you need when authentication is failing. Covers log4j configuration files and the exact spark-submit flags to wire them in.</description></item><item><title>Is Unlimited JCE Working? How to Actually Test It</title><link>https://lukehebert.com/post/unlimited-strength-jce-availability/</link><pubDate>Tue, 07 Jul 2020 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/unlimited-strength-jce-availability/</guid><description>A quick reference for which JDK releases ship with Unlimited Strength JCE enabled by default, plus a small test program to verify your environment.</description></item><item><title>Why You Can't Afford to Ignore the TLS Version Field</title><link>https://lukehebert.com/post/what-is-the-significance-of-the-version-field-in-a-tls-1-1-clienthello-message/</link><pubDate>Tue, 04 Dec 2018 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/what-is-the-significance-of-the-version-field-in-a-tls-1-1-clienthello-message/</guid><description>The version field in a TLS ClientHello message tells the server the highest protocol version the client supports, but it appears in three distinct places with different roles. Understanding where and how each version field is used helps troubleshoot handshake failures and interoperability issues with legacy implementations.</description></item><item><title>Checking Hole Punching</title><link>https://lukehebert.com/post/checking-hole-punching/</link><pubDate>Tue, 06 Feb 2018 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/checking-hole-punching/</guid><description>Learn how to verify that your file system supports hole punching by creating a test file, punching a hole with fallocate, and confirming the space savings with du.</description></item><item><title>Match a TLS Certificate with Its Private Key</title><link>https://lukehebert.com/post/match-a-tls-certificate-with-its-private-key/</link><pubDate>Tue, 21 Nov 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/match-a-tls-certificate-with-its-private-key/</guid><description>Lose track of which private key pairs with which certificate? Use OpenSSL to compare public key hashes and confirm the match in seconds.</description></item><item><title>LDAP Server-Side and Client-Side Result-Error Codes</title><link>https://lukehebert.com/post/ldap-server-side-and-client-side-result-error-codes/</link><pubDate>Tue, 17 Oct 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/ldap-server-side-and-client-side-result-error-codes/</guid><description>A quick reference for LDAP result and error codes, covering both server-side responses and client-side indicators, including Active Directory-specific sub-codes under error 49.</description></item><item><title>Kerberos Encryption Type By Number (enctype)</title><link>https://lukehebert.com/post/kerberos-encryption-type-by-number-enctype/</link><pubDate>Thu, 07 Sep 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kerberos-encryption-type-by-number-enctype/</guid><description>A quick reference for Kerberos enctype numbers and what they map to, so you can stop guessing which cipher a ticket is actually using.</description></item><item><title>Realm Detection and Pathing in the JSSE (Java)</title><link>https://lukehebert.com/post/crealm-and-srealm-for-java-sun-security-krb5-realm.java-realm-detection-and-pathing/</link><pubDate>Tue, 22 Aug 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/crealm-and-srealm-for-java-sun-security-krb5-realm.java-realm-detection-and-pathing/</guid><description>A look at how Java&amp;rsquo;s built-in Kerberos implementation uses cRealm and sRealm to determine the path between client and service realms, including hierarchical traversal and capaths configuration.</description></item><item><title>Java SSLHandshakeException: No Cipher Suites in Common</title><link>https://lukehebert.com/post/java-sslhandshakeexception-no-cipher-suites-in-common/</link><pubDate>Mon, 21 Aug 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/java-sslhandshakeexception-no-cipher-suites-in-common/</guid><description>A common Java SSL handshake failure stems from passing a null KeyManager array when initializing the SSLContext, which silently disables all certificate-based cipher suites. This post walks through the root cause and the four most frequent triggers behind the error.</description></item><item><title>Lost in the Realm: Kerberos Dropped the Map Again</title><link>https://lukehebert.com/post/server-not-found-kerberos/</link><pubDate>Wed, 16 Aug 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/server-not-found-kerberos/</guid><description>A quick troubleshooting guide for the &amp;lsquo;Server not found in Kerberos database&amp;rsquo; error, covering the four most common root causes and how to verify each one.</description></item><item><title>Check Hue Credentials and Flags (Kerberos)</title><link>https://lukehebert.com/post/check-hue-credentials-or-keytab-credentials-and-credential-flags-kerberos/</link><pubDate>Fri, 04 Aug 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/check-hue-credentials-or-keytab-credentials-and-credential-flags-kerberos/</guid><description>Walk through inspecting a Hue keytab file, verifying its principals with klist, and confirming that the resulting ticket carries the Renewable flag Hue requires for long-running service operations.</description></item><item><title>SAML Custom Attributes in Hue</title><link>https://lukehebert.com/post/saml-custom-attributes-in-hue/</link><pubDate>Fri, 21 Jul 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/saml-custom-attributes-in-hue/</guid><description>Hue returns a Permission Denied error when the IDP sends custom SAML attributes that pysaml2 cannot map. This guide walks through creating an attribute mapping file and configuring Hue to resolve the issue.</description></item><item><title>Trace Kerberos in the CLI</title><link>https://lukehebert.com/post/trace-kerberos-in-the-cli/</link><pubDate>Thu, 29 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/trace-kerberos-in-the-cli/</guid><description>Kerberos authentication failures can be frustrating to debug. Setting the KRB5_TRACE environment variable gives you detailed library-level logging that pinpoints exactly where the exchange breaks down.</description></item><item><title>Active Directory Error Types: Kerberos Client Credentials Revoked</title><link>https://lukehebert.com/post/active-directory-error-types-ad_mit-client-credentials-revoked/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/active-directory-error-types-ad_mit-client-credentials-revoked/</guid><description>A quick reference for diagnosing Kerberos authentication failures in Active Directory, covering the lockout state machine and the specific error codes (5be, 775, 18) that indicate revoked credentials or a locked account.</description></item><item><title>AES-NI Encryption in Flight for HDFS</title><link>https://lukehebert.com/post/aes-ni-encryption-in-flight-for-hdfs/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/aes-ni-encryption-in-flight-for-hdfs/</guid><description>Configure AES-NI accelerated encryption in transit for HDFS by setting the cipher suite and key length in hdfs-site.xml on both the NameNode/DataNode and client sides.</description></item><item><title>Cleanup Alternatives</title><link>https://lukehebert.com/post/cleanup-alternatives/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/cleanup-alternatives/</guid><description>A quick procedure for resolving Cloudera Manager agent failures caused by corrupted system alternatives entries, including the exact commands to stop the agent, purge stale alternatives, and restart cleanly.</description></item><item><title>Java (JVM) Debugging Tools</title><link>https://lukehebert.com/post/java-jvm-debugging-tools/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/java-jvm-debugging-tools/</guid><description>A quick reference for the most useful JVM debugging commands, including heap inspection, environment introspection, and enabling GC logging on a running Java process.</description></item><item><title>JVM SSL Debugging in Hadoop</title><link>https://lukehebert.com/post/jvm-ssl-debug/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/jvm-ssl-debug/</guid><description>Enable verbose SSL/TLS handshake logging in a JVM running Hadoop or Cloudera services to diagnose certificate and protocol issues.</description></item><item><title>Kerberos CLI Debug Tracing &amp; Hadoop</title><link>https://lukehebert.com/post/kerberos-cli-debug-trace-hadoop/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kerberos-cli-debug-trace-hadoop/</guid><description>A quick reference for enabling verbose Kerberos and Hadoop debug output on the command line, so you can see exactly where authentication is failing.</description></item><item><title>Kerberos Cross-Realm Trust</title><link>https://lukehebert.com/post/kerberos-cross-realm-trust/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kerberos-cross-realm-trust/</guid><description>Kerberos cross-realm authentication relies entirely on TGS exchanges between KDCs. Understanding the three-step ticket flow makes it easier to troubleshoot trust relationships between domains.</description></item><item><title>Kerberos Debug Mode for the JVM, Spark, and SPNEGO</title><link>https://lukehebert.com/post/kerberos-debug-mode-for-the-jvmsparkspnego/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kerberos-debug-mode-for-the-jvmsparkspnego/</guid><description>Enable Kerberos debug logging in a JVM, Spark driver, and Spark executors to troubleshoot SPNEGO and authentication issues. Covers the exact Java system properties, Spark configuration keys, and how to redirect Spark logs to stdout so Kerberos output interleaves with application logs.</description></item><item><title>Kerberos Shortname Mapping (Auth_to_Local)</title><link>https://lukehebert.com/post/kerberos-shortname-mapping-auth-to-local/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kerberos-shortname-mapping-auth-to-local/</guid><description>A practical walkthrough of how Hadoop maps Kerberos principals to short names via the auth_to_local property, including rule syntax, acceptance filters, and common troubleshooting patterns.</description></item><item><title>MySQL Key Constraints (FK) by Database</title><link>https://lukehebert.com/post/mysql-key-constraints-fk-by-db/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/mysql-key-constraints-fk-by-db/</guid><description>A quick reference for querying MySQL information_schema to list all foreign key constraints in a given database, including the referencing and referenced columns.</description></item><item><title>namei: Checking Path Traversal and Permissions</title><link>https://lukehebert.com/post/namei-checking-path-traversal-and-permissions/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/namei-checking-path-traversal-and-permissions/</guid><description>The namei command walks a full path and prints ownership, permissions, and symbolic link resolution for every component. It is a quick way to spot where a permission chain breaks or a symlink redirects unexpectedly.</description></item><item><title>NTP Errors</title><link>https://lukehebert.com/post/ntp-errors/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/ntp-errors/</guid><description>A host health test flags NTP clock drift when the system clock falls out of sync with its NTP servers. This guide walks through diagnosing and resolving common NTP synchronization failures.</description></item><item><title>SSL Certificate Debugging with openssl s_client</title><link>https://lukehebert.com/post/ssl-certificate-debugging-openssl-s-client/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/ssl-certificate-debugging-openssl-s-client/</guid><description>A practical cheat sheet of openssl s_client commands for inspecting, verifying, and troubleshooting SSL certificates in production environments.</description></item><item><title>Wrong Number! Taming the Kerberos Identity Crisis</title><link>https://lukehebert.com/post/kerberos-krb-ap-err-not-us-or-bad-tgs-server-name/</link><pubDate>Tue, 27 Jun 2017 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/kerberos-krb-ap-err-not-us-or-bad-tgs-server-name/</guid><description>A practical look at why the MIT krb5 KDC rejects a TGS-REQ with KRB_AP_ERR_NOT_US, including the exact validation logic and the most common root causes behind the error.</description></item><item><title>A guide to Mod_Rewrite</title><link>https://lukehebert.com/post/a-guide-to-mod_rewrite/</link><pubDate>Sun, 22 Feb 2015 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/a-guide-to-mod_rewrite/</guid><description>Mod_rewrite is a rule-based rewriting engine (based on a regular-expression parser) to rewrite requested URLs on the fly.</description></item><item><title>Fixing Udev 70-persistent-net.rules</title><link>https://lukehebert.com/post/fixing-udev-70-persistent-net-rules/</link><pubDate>Wed, 13 Aug 2014 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/fixing-udev-70-persistent-net-rules/</guid><description>Have you ever replaced a network interface (NIC) or performed a chassis swap? If you are an administrator or IT professional the chances are good that at some point or another you have had to deal with sticky udev rules.</description></item><item><title>Postfix, Message Flows, and Common Issues</title><link>https://lukehebert.com/post/postfix-message-flows-and-common-issues/</link><pubDate>Sun, 18 May 2014 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/postfix-message-flows-and-common-issues/</guid><description>Postfix is a free and open-source mail transfer agent (MTA) that routes and delivers electronic mail. This post covers core system concepts.</description></item><item><title>Postfix Command Reference</title><link>https://lukehebert.com/post/postfix-command-reference/</link><pubDate>Sun, 04 May 2014 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/postfix-command-reference/</guid><description>A quick Postfix Command Reference</description></item><item><title>Hypervisor Classifications</title><link>https://lukehebert.com/post/hypervisor-classifications/</link><pubDate>Sat, 05 Apr 2014 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/hypervisor-classifications/</guid><description>There are a variety of Hypervisors out in the in the hosting space. Here is a list of the current classifications.</description></item><item><title>Xen Vitualization with Bridged Networking</title><link>https://lukehebert.com/post/xen-vitualization-with-bridged-networking/</link><pubDate>Sat, 05 Apr 2014 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/xen-vitualization-with-bridged-networking/</guid><description>Xen is an open-source type-1 or bare metal hypervisor, which makes it possible to run many instances of an operating system or entirely different operating systems in parallel on a single machine (or host).</description></item><item><title>Where's all my RAM?</title><link>https://lukehebert.com/post/wheres-all-my-ram/</link><pubDate>Fri, 21 Mar 2014 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/wheres-all-my-ram/</guid><description>Ever wonder why the output of free -m seems to make it look like your system is out of memory?</description></item><item><title>Calculating Downtime On a Linux System</title><link>https://lukehebert.com/post/calculating-downtime-on-a-linux-system/</link><pubDate>Sat, 15 Mar 2014 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/calculating-downtime-on-a-linux-system/</guid><description>Whether you are an engineer or an end user, most of us who work on critical systems find ourselves concerned with the availability of services those systems provide every day.</description></item><item><title>Exim Cheatsheet</title><link>https://lukehebert.com/post/exim-cheatsheet/</link><pubDate>Mon, 25 Jul 2011 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/exim-cheatsheet/</guid><description>A set of useful commands for administrators working with Exim 4.</description></item><item><title>Snappy on the Prowl at SoftLayer Dallas</title><link>https://lukehebert.com/post/snappy-on-the-prowl-at-softlayer-dallas/</link><pubDate>Wed, 20 Jul 2011 00:00:00 +0000</pubDate><guid>https://lukehebert.com/post/snappy-on-the-prowl-at-softlayer-dallas/</guid><description>With over 6,000 servers in the SoftLayer DataCenter (Formely &amp;ldquo;The Planet&amp;rdquo;) its no surprise to find &amp;lsquo;Snappy&amp;rsquo;, HostGator&amp;rsquo;s Mascot on the prowl.</description></item></channel></rss>