Category: Linux

  • Running Cron as a Subprocess in C++ Application

    Implementing a Custom Cron Subprocess in an Application In the quest to integrate seamless scheduling into my application, I have explored the potential of using the cron syntax, a powerhouse for time-based job scheduling in Unix-like systems. The idea of spawning a separate cron daemon as a subprocess in my application not only pays homage…

  • Decoding eBPF Verifier Queries

    Recently, I delved into experimenting with eBPF, particularly in the context of XDP (eXpress Data Path). XDP is a powerful technology that hooks directly into the data path within the Linux kernel’s networking stack, enabling us to manipulate packets at a very low level. Here, I want to share an intriguing issue I encountered and…

  • Mastering Linux Scripting with Bash, AWK, and SED

    In the world of Linux, scripting is not just a routine task; it’s an art. Whether you’re automating system administration tasks, handling data manipulation, or simply trying to streamline your workflow, the power of scripting cannot be underestimated. Today, we’ll dive deep into the essentials of Bash scripting combined with two powerful text-processing tools, AWK…

  • Troubleshooting Connectivity Issues: Node’s Internal IP Not Pingable from Another LAN Machine

    Resolving Kubernetes Network Issues: A Personal Journey As I embarked on my latest Kubernetes project, I faced a peculiar connectivity challenge that seemed to stump even seasoned network engineers. The issue was simple yet perplexing: from a virtual machine, I needed to access a Kubernetes service hosted on Minikube. Despite various attempts, I encountered persistent…

  • Troubleshooting Linux Gateway Response Discrepancies

    Troubleshooting a Gateway NAT Issue on Ubuntu Linux Setting up a network is never without its quirks, and recently, I encountered a particularly tricky situation trying to establish a NAT (Network Address Translation) gateway on an Ubuntu Linux machine. The goal was straightforward: allow virtual machines on a private subnet to access the internet through…