Posts
HTTP request tracing middleware
Request-based tracing provides a way to determine what exactly is happening with your requests and why.
It is handy when you want to reproduce and understand the problem that you are experiencing.
Static website hosting with NGINX and LetsEncrypt
Static site generators are a fantastic way to manage a website. Static sites are faster and safer than dynamic sites. Nginx is an ideal web server for serving these static files.
Install and configure a tftp server
TFTP (Trivial File Transfer Protocol) is a simplified version of FTP (File Transfer Protocol). It was designed to be easy and simple. TFTP leaves out many authentication features of FTP and it runs on UDP port 69. As it is very lightweight, it is still used for different purposes.
IP Based rate-limit middleware using go.uber.org/ratelimit
If you’re running a HTTP server and want to rate limit user requests, and most of the frameworks are providing their own middleware.
But if you want something simple and lightweight – or just want to learn – it’s not too difficult to roll your own middleware to handle rate limiting.
DHCP explained
DHCP stands for dynamic host configuration protocol and is a network protocol used on IP networks where a DHCP server automatically assigns an IP address and other information to each host on the network so they can communicate efficiently with other endpoints.
Enable DHCP snooping on SG3XX layer 3 switches
DHCP snooping is a security feature that acts as a firewall between untrusted hosts and trusted DHCP servers.
To protect your network against rogue DHCP servers and remove malicious or malformed DHCP traffic, the DHCP snooping needs to be configured on LAN switches to block the unwanted traffic.
Identify and Remove Rogue DHCP Server
A DHCP (Dynamic Host Configuration Protocol) server is a networking service that automatically assigns IP addresses to devices on a network. This is essential for modern networks to function efficiently without manual IP address configuration.
A “rogue” DHCP server is one that has been set up without the network administrator’s knowledge or permission, and can cause serious conflicts and connectivity problems on the network.
How to recover a deleted file when a process keeps it open.
We all make small mistakes every day. Unfortunately, some of these mistakes are unforgivable because we end up destroying or losing data for various reasons.
Using Terraform to host a Secure Static Website with AWS S3 and Cloudfront
By the time you finish reading this article, you will know how to get your static websites up and running securely on AWS using Terraform. This can be a very cost-effective way of hosting a website.