Introduction Nikto is a powerful, open-source web server scanner designed to identify potential security issues and vulnerabilities in web servers. It plays a crucial role in assessing the security posture of web applications by detecting outdated software versions, misconfigurations, and dangerous ...
Understanding Docker Entrypoints, Dockerfiles, and Environment Variables with Node.js Docker has become an essential tool for developers looking to build, ship, and run applications consistently across different environments. In this article, we will explore how to use Dockerfiles, entrypoints, and ...
A deployment with CLI To deploy the WAF on the edge, you need to call the WAF API. The official Fastly documentation provides CURL commands that you can execute in your terminal. Instead of using CURL commands, I decided to create a small CLI program in Node.js. By the way it’s worth noting yo...
Signal Science Signal : A Signal is a descriptive tag about a request, a request gets one or multiple tags based on rules a request triggers. Defined Systems signals Attack Signal Triggered by malicious request attack payloads, to hack, destroy, disable, steal… Here’s an example of such ...
We’re exploring the Error, Restart, and Log subroutines, but a heads-up: Restart isn’t technically a subroutine in the usual sense. For our learning objectives, let’s focus on understanding these elements: Where they fit into the overall process What they’re supposed to do Ho...
How to install Terraform On a Mac : brew install hashicorp/tap/terraform Verify Terraform is set up : terraform -help Create a the main terraform file Let’s create our terraform project in his own folder : mkdir terraform-tutorial && cd terraform-tutorial Then let’s create our ma...
Diagram and project goal In this article, my goal is to use compute at edge from Faslty to protect my origin and cache my content. Instead of using Varnish Configuration Language (VCL) to set my caching rules I will use JavaScript with compute. To start a new compute project, you have two options. Y...
The idea behind autocomplete The main goal of this application was to help HubSpot users easily create companies in their CRM with auto-completion features. Currently, when you create a company in HubSpot or any other object like a contact, there’s no auto-completion available. For instance, y...
Create a Dockerfile Create a Dockerfile in your project : FROM arm64v8/node:14-alpine WORKDIR /app COPY . . # If you have native dependencies, you'll need extra tools # RUN apk add --no-cache make gcc g++ python RUN apk update && apk upgrade RUN apk add curl RUN npm install EXPOSE 8181 CMD [...
Docker-compose is a powerful tool for managing multi-container Docker applications. In this article, we’ll explore how to set up a MySQL database using Docker-compose and tackle common issues that may arise during setup. We’ll cover troubleshooting steps for errors such as « not allowe...
What’s docker-compose ? Docker Compose is a tool that simplifies the management of multi-container Docker applications. It allows users to define and run multiple Docker containers as a single application, making it easier to orchestrate and manage complex deployments. With Docker Compose, use...
Default DNS Management Simplified When you buy a domain from places like Google Domains, handling your DNS records is done right there. It’s easy for many folks, but it has its limits. For example, there’s no fancy tool like a REST API for managing your domains. This means you can’...
Create the docker container docker run --name varnish -p 3456:80 varnish This command runs a Docker container named « varnish » using the « varnish » image. It maps port 3456 on the host to port 80 in the container, allowing access to the containerized varnish service. Start the container do...
VCL_hash From this diagram we can see vcl_hash runs after receive and there is no way to avoid it. Indeed, just after hash the hash table look up takes place. As a reminder each node has a hash table. This hash table tracks what’s in cache on that specific node. Each request that comes through...
Varnish state machine flow When a request comes into Fastly, it’s assigned out from a load balancer to one of the nodes on the POP, and that will act as the delivery node. Then there is a domain lookup where the request host header, the value there, say example.com is looked up on a giant [&he...