Lab

In order to deploy the blockchain-based DDoS protection platform, we must prepare the test environment with Node.js and Truffle with Ethereum blockchain. We will be using an existing blockchain project to defend a network from a DDoS attack. The project link can be found at https://github.com/gladiusio/gladius-contracts.

We need to follow these steps to prepare the infrastructure for the Gladius project:

  1. First, we will install Node.js in our environment at https://nodejs.org/uk/download/package-manager/#arch-linux.
  2. We need to install truffle in test the environment:
npm install -g truffle
  1. Run the following command in the Terminal:
npm install -g ganache-cli
  1. Now, we can start the test network with this command in the Terminal:

Get Hands-On Cybersecurity with Blockchain now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.