How to Log Dropped Packets from the Linux IPTables Firewall to a Log File

How to Log Dropped Packets from the Linux IPTables Firewall to a Log File

Abstract: This article explains how to log incoming and outgoing dropped firewall packets. When your IPTables rules are not working as expected, you may need to log the dropped packets for troubleshooting. This article describes how to log incoming and outgoing dropped firewall packets. Logging All Dropped Incoming Packets First, we need to understand how … Read more

Linux Network Namespaces

Linux Network Namespaces

Linux Network Namespaces 1. What are Linux Network Namespaces? A Network Namespace is a virtualization technology provided by Linux that allows the creation of multiple independent network environments, each with its own network interfaces, routing tables, iptables rules, etc. This is similar to network isolation in virtual machines or containers, but is more lightweight. Features … Read more

Setting Up a Linux Firewall for Uncompromised Security

Setting Up a Linux Firewall for Uncompromised Security

In the battlefield of network security, firewalls act as vigilant sentinels, weaving rules with code to protect the borders of the digital world. When you hold a Linux system in your hands, this operating system, inherently equipped with “security genes,” has already prepared various firewall tools for you. Let us break down the core value … Read more

An Overview of TC Traffic Control in Linux Kernel Networking

An Overview of TC Traffic Control in Linux Kernel Networking

“Last night, I dreamt of falling flowers by a quiet pond, how pitiful that spring is halfway gone and I haven’t returned home“ Linux kernel Traffic Control (TC) refers to the queuing and scheduling mechanism for receiving and sending data packets by network devices. It can implement basic functions such as Shaping, Scheduling, Policing ingress, … Read more