Engineering
In-depth software engineering guides about networking, Linux, web security, cryptography, backend development, and infrastructure.
All Engineering Guides
Deep dives, examples, and production tips
How to Save iptables Rules Permanently After Reboot
Persist iptables rules after reboot on Ubuntu, Debian, RHEL, and CentOS using iptables-save, netfilter-persistent, or the system firewall service. Solutions for Docker, permission denied errors, and troubleshooting rules not persisting.
ICMP Explained: Ping, Traceroute, Message Types, and Security
Learn how ICMP supports ping, traceroute, errors, and network diagnostics; understand common message types, Linux commands, and safe firewall handling.
iptables dport vs sport: Which One to Use? (Fix Unknown Option)
Understand when to use --dport vs --sport in iptables, fix the "unknown option --dport" error with -p tcp/udp, and inspect port range rules with diagrams.
Network Security Components: Firewall, IDS, IPS, SIEM, and VPN
Understand the core components of network security, including firewalls, IDS, IPS, SIEM, VPNs, encryption, NAC, endpoint controls, and physical security.
AES-GCM vs AES-CBC vs AES-CTR: Differences and Which to Use
Compare AES-GCM, AES-CBC, and AES-CTR security, authentication, nonce requirements, and performance. Learn why AES-GCM is the safest default for new apps.
How to Configure NGINX and Next.js
Learn how to configure NGINX and Next.js step-by-step. This guide covers everything from basic setup to advanced optimizations for seamless deployment.
HTTP 1.x vs HTTP 2.x vs HTTP 3 vs gRPC: A Comparison
Discover the key differences between HTTP 1.1, HTTP 2.0, and HTTP 3.0. This comprehensive comparison table outlines the features, benefits, and advancements of each protocol.
Top Network Protocols You Need to Know with Python Examples
This informative guide provides a beginner-friendly introduction to the essential protocols that power the internet and enable network communication. Learn the basics of TCP/IP, HTTP, FTP, and other key protocols, and gain a deeper understanding of how the digital world works.
NGINX Rate Limiting: limit_req_zone, Burst & Nodelay Explained
Master NGINX rate limiting with limit_req_zone and limit_req. Understand burst, nodelay, two-stage rate limiting, and protect login APIs from DDoS attacks.
SipHash and Other Lightweight Hashing Algorithms: A Comparison
Discover the world of lightweight hashing algorithms, including SipHash, BLAKE2, Skein, Poly1305, and FarmHash. Compare their speed, security, simplicity, and footprint to find the best fit for your applications.
TEA: A Lightweight Encryption Option
Learn about TEA, a lightweight encryption algorithm, and compare it to other options like AES, DES, PRESENT, Blowfish, and Twofish. Discover its strengths, weaknesses, and when it's the best choice for your security needs.
Top 20 Git Commands with Examples
Master Git with the top 20 essential commands for version control and collaboration. Learn Git init, add, commit, branch, merge, rebase, stash, and more with practical examples. Boost your productivity as a developer!
Podman vs Docker: Which Container Engine Should You Choose?
Compare Podman vs Docker: architecture (daemonless vs dockerd), rootless security, Kubernetes pod support, Docker Compose compatibility, and CLI commands.
FFmpeg Tutorial: 10 Essential Commands with Code Examples
Master FFmpeg with practical examples: convert video formats (MP4 to WebM), extract MP3 audio, compress videos with H.264/CRF, resize dimensions, and batch process.
Nmap for Network Security Audits
Learn advanced Nmap techniques for network security audits, including basic scans, port scanning, OS detection, and more. Expert guide with actionable commands.
How to Edit, Replace, or Move an iptables Rule
Edit an iptables rule by listing line numbers, deleting the old rule, and inserting its replacement. Includes safe commands for replacing and moving rules.
iptables Port Redirection: Forward One Port to Another
Redirect ports with iptables REDIRECT or DNAT. See commands for forwarding port 80 to 8080 locally and sending traffic to another host safely.
Send HTTP Requests in Node.js Without Using an External Library
Learn how to send HTTP requests in Node.js without using external libraries like Axios. This guide covers GET, POST, and handling different content types using native http and https modules. Perfect for lightweight, dependency-free solutions.
Node.js REST API Implementation
Learn how to implement a simple REST API in Node.js without using external libraries or a database. Step-by-step guide for building efficient APIs with the built-in http module.
Node.js HTTP Server Implementation from Scratch
Learn how to implement an HTTP server from scratch in Node.js with step-by-step guidance. Enhance your skills with examples on routing, POST handling, and graceful shutdowns.
HTTP 1.1 vs HTTP 2 vs HTTP 3: Key Differences & Comparison Table
Compare HTTP 1.1, HTTP/2, and HTTP/3 (QUIC/UDP). Understand binary framing, multiplexing, head-of-line blocking, 0-RTT handshakes, and performance.
Handling Preflight Requests in Deno
Learn how to handle preflight requests in Deno applications using TypeScript. This guide explains CORS, preflight requests, and provides a step-by-step tutorial to set up a server that manages cross-origin interactions seamlessly.
Web Crypto API implement ECIES like in Javascript
Learn how to use the Web Crypto API to implement ECIES-like encryption and decryption in JavaScript. This article covers generating key pairs, deriving symmetric keys, and securely encrypting data using AES-GCM.
Top Asymmetric Encryption Algorithms Compared: RSA, ECC, Diffie-Hellman & NTRU
Compare asymmetric encryption algorithms: RSA vs ECC vs Diffie-Hellman vs NTRU. Analyze key sizes, quantum resistance, performance benchmarks, and best use cases.
Implementing AES-GCM Encryption in JavaScript
Learn how to implement AES-GCM encryption in JavaScript for secure data transmission. This comprehensive guide covers key generation, encryption, decryption, and verification.
Understanding and Implementing ECDSA in Javascript Cryptography
Cryptography ECDSA to create secure digital signatures in Javascript, Deno and Node.js. This comprehensive guide covers key generation, signing, and verification, providing practical examples and best practices.
JavaScript Cryptography using RSA-OAEP
Learn how to implement secure message encryption in JavaScript using the Web Cryptography API RSA-OAEP algorithm. This guide covers key generation, encryption, decryption, and validation processes for robust data protection.
Advanced Iptables Firewall rules
Discover the power of Advanced Iptables Firewall Rules for robust network security. Learn SSH brute-force protection, SYN flood mitigation, and more. Elevate your defense today!
Basic Iptables Firewall rules
Explore essential Iptables firewall rules and commands to secure your Linux system. Learn practical examples, installation steps, and best practices for robust network protection.
What is Protocol TCP? A Comprehensive Overview
Explore the significance of Protocol TCP in modern networking. Learn about its reliability, connection-oriented nature, and the three-way handshake process. Discover why TCP is essential for seamless data transmission.
10 Must-Know Bash Scripting Tips and Tricks for Beginners
Discover the top 10 must-know tips and tricks bash shell scripting: Shebang Line, Variables and Variable Expansion, Command Substitution, Conditional Statements, Loops, Functions, Input and Output Redirection, Command-Line Arguments, Exit Status and Error Handling and Debugging.
30 Bash Script Examples to Elevate Your Scripting Skills
Bash scripting with these 30 practical examples for beginner, you'll find valuable insights and ideas to enhance your productivity and streamline your workflow.
Top 35 Linux Tips and Tricks
In this article, we will explore 35 useful tips and tricks for the Linux console. These tips and tricks will cover various aspects of the Linux command line and will include code examples to demonstrate their usage.