Nasrin is a loan officer, working on Friday evening from a café in Sylhet. Her laptop joins the café's Wi-Fi, she signs in to the bank's website, logs in to a data-centre server to fetch a file, switches on the office VPN and mails a signed report to head office. It takes ten minutes, and every step looks as it would in the branch. Yet between her chair and the bank there are at least six places where a stranger could listen, change a message or pretend to be someone else: the radio link, the web connection, the identity of the website, the login to the server, the tunnel to the office, the e-mail.
Each of those places has a protocol that guards it. In Networking you met them working as designed. This chapter asks the harder question that bank papers love: what exactly is inside each one, and how has it failed in real life? We take the cipher suite apart, prove why a stolen key opens old recordings under one design and not another, and check a certificate the way a browser does. We watch Heartbleed, POODLE and SSL stripping happen on a toy, and see what fixed each. Then come SSH trust and tunnels, IPsec key agreement and replay defence, the Wi-Fi problems of WPS and KRACK, secure e-mail with PGP, DNSSEC, and the exam favourite: which protocol for which job.
By the end you will be able to decode a cipher suite, explain forward secrecy with a worked case, and say exactly why a browser rejects a certificate. You will explain each classic attack on TLS and its cure, set up SSH safely, describe IKE, PFS and the replay window, tell WEP, WPA, WPA2 and WPA3 apart by their attacks, and explain how PGP, S/MIME, STARTTLS and DNSSEC protect a message. And you will write the answer to “secure an e-banking web server and its database link” in layers.