You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

45 lines
1002 B

services:
dns-primary:
restart: always
image: hub.codefirst.iut.uca.fr/victor.soulier/pm2-tp-dns-poisoning:latest
ports:
- "7654:7654/udp"
- "6969:6969/udp"
volumes:
- ./config-spoofing/dns-primary/dnsmasq.conf:/etc/dnsmasq.conf
cap_add:
- NET_ADMIN
networks:
dns-network:
ipv4_address: 10.5.0.2
py-slower:
restart: always
image: python:3.13.0
volumes:
- ./scripts/slow.py:/slow.py
cap_add:
- NET_ADMIN
networks:
dns-network:
ipv4_address: 10.5.0.3
command: python slow.py
dns-cache:
restart: always
image: hub.codefirst.iut.uca.fr/victor.soulier/pm2-tp-dns-poisoning:latest
volumes:
- ./config-spoofing/dns-cache/dnsmasq.conf:/etc/dnsmasq.conf
cap_add:
- NET_ADMIN
networks:
dns-network:
ipv4_address: 10.5.0.4
networks:
dns-network:
driver: bridge
ipam:
config:
- subnet: 10.5.0.0/16
gateway: 10.5.0.1