Skip to content
Back to CV

SAE 2.03 · Network infrastructure deployment and security audit

Four Debian 12 machines running a web server, mail and two DNS servers, followed by an audit to find and fix weak spots.

Context
SAE 2.03 · BUT Informatique (DACS)
Year
2026

Debian 12 · Apache · Postfix · Dovecot · BIND9 · Wireshark · hping3 · dig

We started from four empty Debian 12 virtual machines. The job was to set up the services of a small company network, then look for what was wrong with the default configuration.

Setup

The web server runs Apache with several VirtualHosts. For mail, Postfix sends over SMTP and Dovecot serves mailboxes over IMAP between local accounts. DNS uses two BIND9 servers, a primary and a secondary that pulls the zone from it. We checked everything from the other machines with dig and host.

Audit

First we simulated a SYN flood with hping3 and looked at the capture in Wireshark: the server gets a SYN, replies, but the final ACK never comes, and half-open connections pile up.

The clearest problem was in DNS. Out of the box, the primary answered dig axfr from any machine, so anyone could download the whole zone. We restricted allow-transfer to the secondary’s address and checked that the same query was refused from another host.