Basic Iptables Insert
Learn how to insert iptables rules at a specific position using the -I flag, with syntax breakdown and a practical SSH example.
read more
Add Hard and Soft Limits for Apache Stack
Configure the soft and hard stack limits for the Apache user in /etc/security/limits.conf to prevent segmentation faults caused by insufficient stack space.
read more
Additional Kernel Tweaks for IPv4 Broadband
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.
read more
Awk Apache Log Files By IP and Date
Filter Apache access logs by IP address and date using awk. A quick, practical approach to pulling specific entries without loading a full log viewer.
read more
Awk Scan for wp-login
A quick awk pipeline to pull wp-login.php access attempts from web server logs and flag IPs that exceed a threshold. Useful for spotting brute-force or scanning activity against WordPress sites.
read more
AWS EIP (Elastic IP Assignment Script)
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.
read more