"Computer Network-Top-down Method" Notes
Solutions and codes for the programming assignment "Computer Networks - Top-Down Method", and translation of the official documentation of the Wireshark experiment.
socket programming homework
Chapter 2 - Application Layer
Assignment 1: Web Server (Page120)
- Official document: Socket1_WebServer.pdf
- Translation: Assignment 1-Web Server-Translation.md
- Answer: Assignment 1-Web Server-Answer.md
Assignment 2: UDPping program (Page121)
- Official document: Socket2_UDPpinger.pdf
- Translation: Assignment 2-UDPping program-translation.md
- Answer: Assignment 2-UDPping program-answer.md
Assignment 3: Email Client (Page121)
- Official document: Socket3_SMTP.pdf
- Translation: Assignment 3-Mail Client-Translation.md
- Answer: Assignment 3-Mail Client-Answer.md
Assignment 4: Multi-threaded Web proxy server (Page121)
- Official document: Socket4_ProxyServer.pdf
- Translation: Assignment 4-Multi-threaded Web Proxy Server-Translation.md
- Answer: Assignment 4-Multi-threaded Web Proxy Server-Answer.md
Chapter 4 - Network Layer
Assignment 5: ICMP ping (Page287)
- Official document: Socket5_ICMPpinger(chap4).pdf
- Translation: Assignment 5-ICMPping program-translation.md
- Answer: Assignment 5-ICMPping program-answer.md
Wireshark experiment
(Note: The ID in brackets is the translator/author of the corresponding content.)
(CHN-STUDENT note: The experimental results are only valid for the current packet capture result and are for reference only. If you have any questions, please feel free to discuss.)
Wireshark Experiment: Getting Started (Page52)
- Official document version 6: Wireshark_Intro_v6.0.pdf
- Official document version 7: Wireshark_Intro_v7.0.pdf
- Translation: Wireshark Experiment-Intro.md
- Answer: Computer Network Experiment-Introduction.pdf (CHN-STUDENT)
Wireshark Experiment: HTTP (Page121)
- Official document version 6: Wireshark_HTTP_v6.1.pdf
- Official document version 7: Wireshark_HTTP_v7.0.pdf
- Translation: Wireshark Experiment-HTTP.md
- Answer Part 1: Computer Network Experiment-HTTP1.pdf (CHN-STUDENT)
- Answer Part 2: Computer Network Experiment-HTTP2.pdf (CHN-STUDENT)
Wireshark Experiment: DNS (Page121)
- Official document version 6: Wireshark_DNS_v6.01.pdf
- Official document version 7: Wireshark_DNS_v7.0.pdf
- Translation: Wireshark Experiment-DNS.md
- Answer 1: DNS-reference answer.md (Ying)
- Answer 2: Computer Network Experiment-DNS.pdf (CHN-STUDENT)
(CHN-STUDENT note: One server in the DNS experiment is no longer in use, and some phenomena cannot be explained. It is for reference only.)
Wireshark Experiment: Exploring TCP (Page200)
- Official document version 6: Wireshark_TCP_v6.01.pdf
- Official document version 7: Wireshark_TCP_v7.0.pdf
- Translation: Wireshark_TCP_v7.0_Simplified_Chinese.pdf Contributor: Teacher of CHN-STUDENT
- Answer: Computer Network Experiment-TCP.pdf (CHN-STUDENT)
Wireshark Experiment: Exploring UDP (Page201)
- Official document version 6: Wireshark_UDP_v6.1.pdf
- Official document version 7: Wireshark_UDP_v7.0.pdf
- Translation: UDP(Simplied_Chinese).pdf (CHN-STUDENT)
- Answer: Computer Network Experiment-UDP.pdf (CHN-STUDENT)
(CHN-STUDENT note: Since the UDP experiment is relatively simple, the official results are analyzed directly. The experimental results are for reference only.)
Wireshark Experiment: Exploring IP (Page240)
- Official document version 6: Wireshark_IP_v6.0.pdf
- Official document version 7: Wireshark_IP_v7.0.pdf
- Translation: Wireshark_IP_v7.0_Simplified_Chinese.pdf Contributor: Teacher of CHN-STUDENT
- Answer: Computer Network Experiment-IP.pdf (CHN-STUDENT)
Wireshark Experiment: Exploring ICMP, Ping, and Traceroute (Page282)
- Official document version 6: Wireshark_ICMP_v6.0.pdf
- Official document version 7: Wireshark_ICMP_v7.0.pdf
- Translation: Wireshark_ICMP_v7.0_simpified_chinese.pdf (CHN-STUDENT)
- Answer: Computer Network Experiment-ICMP.pdf (CHN-STUDENT)
Wireshark Experiment: Exploring Ethernet and ARP (Page335)
- Official document version 6: Wireshark_Ethernet_ARP_v6.01.pdf
- Official document version 7: Wireshark_Ethernet_ARP_v7.0.pdf
- Translation: Wireshark_ARP_v7.0_Simplified_Chinese.pdf (CHN-STUDENT)
- Answer: Computer Network Experiment-Ethernet and ARP.pdf (CHN-STUDENT)
Wireshark Experiment: Exploring DHCP (Page240)
- Official document version 6: Wireshark_DHCP_v6.0.pdf
- Official document version 7: Wireshark_DHCP_v7.0.pdf
- Translation: Wireshark_DHCP_v7.0_Simplified_Chinese.pdf (CHN-STUDENT)
- Answer: Computer Network Experiment-DHCP.pdf (CHN-STUDENT)
Wireshark Experiment: Exploring NAT (Page240)
- Official document version 6: Wireshark_NAT_v6.0.pdf
- Official document version 7: Wireshark_NAT_v7.0.pdf
- Translation: Wireshark_NAT_v7.0_Simplified_Chinese.pdf (CHN-STUDENT)
- Answer: Computer Network Experiment-NAT.pdf (CHN-STUDENT)
Wireshark Experiment: Exploring 802.11 (Page383)
- Official document version 6: Wireshark_802.11_v6.0.pdf
- Official document version 7: Wireshark_802.11_v7.0.pdf
- Translation: Wireshark_802.11_v7.0_Simplified_Chinese.pdf (CHN-STUDENT)
- Answer: Computer Network Experiment-802.11.pdf (CHN-STUDENT)
(CHN-STUDENT note: Since we do not have the conditions to study the 802.11 wireless protocol, we directly analyze the official results. The experimental results are for reference only.)
Wireshark Experiment: Exploring SSL (Page437)
- Official document version 6: Wireshark_SSL_v6.0.pdf
- Official document version 7: Wireshark_SSL_v7.0.pdf
- Translation: Wireshark_SSL_v7.0_Simplified_Chinese.pdf (CHN-STUDENT)
- Answer: Computer Network Experiment-SSL.pdf (CHN-STUDENT)
Other notes
UDP socket programming
- Notes: UDP socket programming.md
- Code:
- UDPClient.py
- UDPServer.py
TCP socket programming
- Notes: TCP socket programming.md
- Code:
- TCPClient.py
- TCPServer.py
Other resources
- English version: http://uniteng.com/wiki/doku.php?id=classlog:computer_networks
- ppt courseware (seventh edition)
- Python Solutions (7th Edition)
- Java Solutions (7th Edition)
- Wireshark Solutions (7th Edition)
- Corrigenda (Seventh Edition)
- Solutions to Exercises (Seventh Edition)