- Requirements: chromium-browser This script generate a number of virtual client using Network Namespaces: one client is identified by a source IP address. The input of the script must be:
- The name of the list containing only websites without comments or special characters (e.g. https://www.ubuntu.com )
- Number of desired clients
- Number of website request per second
- The address of the real subnet the host machine uses to go on internet (e.g. XXX.XXX.XXX do not include last point)
- Subnet mask relative to the subnet declared in [4]
- The name of the interface that face on the subnet declared in [4]
- Starting IP address to assign (this script will add multiple IP addresses to the interface. Take in account all reserved addresses and all assigned addresses).
- Use this script in a virtual environment
- The limit for the number of clients is 252 - starting IP (considering 3 reserved IP addresses and the already assigned addresses)
- Assign to the host machine a low ip address so the script can create more clients
This script will start an headless version of chromium-browser in order to emulate the browsing of a webpage without graphics.