Links to directories holding course material
| Date | Lecture Topic | Reading (to be done by class time) | Assignment / Quiz / Exams | Helpful Links / Optional Reading |
|---|---|---|---|---|
| Week 1 | ||||
| 8/23 |
Go over the syllabus..... |
|
||
| 8/25 |
For class today, read chapter 1 through section 1.3 (Kurose) |
|||
| Week 2 | Part 1 class - intro, apps, sockets I | |||
| 8/28 | For class today, finish chapter 1 (Kurose)
|
|||
| 8/30 | Donahoo- intro to sockets |
For class today, read chapter 1(Donahoo) Bring your laptop to class today... |
HW1 - solution(PDF), solution(code) |
|
| 9/1 |
setting up our VM | For class today, read chapter 2 (Donahoo) |
Quiz 1 (take home- turn in a hardcopy in class on Monday) (Quiz1 solution) |
|
| Week 3 | (9/5 last day to drop without a W on record) |
|||
| 9/4 | Paper "Reincarnation of Virtual Machines" | |||
| 9/6 | Paper "The Unix Time-Sharing System"" | |||
| 9/8 |
Into to Linux (slides 1-34, 58-end) Bash Introduction- quite a bit of material.I'll point out the subset of Bash material to pay attention to. |
For class, read (kurose) chapter2 section 2.1 | ||
| Week 4 | ||||
| 9/11 | No class- | |||
| 9/13 |
Sockets and UDPEcho starting code | |||
| 9/15 |
|
quiz2 - this will be a take home quiz due by class time Wed 9/20. Submit the writeup for the quiz using canvas. Submit a modified sessionMgr.tar.gz using http://handin.cs.clemson.edu |
||
| Week 5 | ||||
| 9/18 | Error Detection:
Error Recovery -
|
Read (Kurose) Chapter 3 up through 3.3, and section 3.4 up through the discussion of rdt 1.0, 2.0, and 3.0.
|
||
| 9/20 |
|
Read the following from this text excerpt: first section (2.1.3), sections 2.2.1-2.2.3, the first 2 pages of sectoin 2.2.5, and section 2.3. Read (Kurose) Section 2.7
|
|
|
| 9/22 |
Application level protocols- from Kurose Ch 2 |
|
HW1 (updated, V3) due by 11:59pm . This is a bash script file that you can use for the second problem. The script reduces an input file containing ping output to a simple one or two column data file. The plotDataPDF.m was updated to clearly show how to work with single or double columns of data. HW1 - solution(PDF), solution(code) Submission instructions: Unless otherwise told, for homework submissions, you will submit code in a tar.gz using handin.cs.clemson.edu. And then you are to submit your written answers as a PDF (assume a file name of HW*.pdf, so HW1.pdf for HW1) to canvas.
|
|
| Week 6 | Part 2: protocols , sockets II | |||
| 9/25 | Application level protocols Three handwritten pdfs-Focused primarily on topics related to UDPEcho: |
Read (Kurose) Chapter 2, sections 2.1--2.4, 2.6, 2.7 | Quiz 3 Solution - in class, closed book. Topic: Error detection, error recovery Exercise 2 - we'll go over it on Friday (no submission ). Please review this page on Linux Networking., also make sure to read the material on HTTP in Chapter 2 of our text. HW2 out please use the solution from HW1 (UDPEcho.tar.gz) (directory of code) for starting code for the programming problem in HW2. |
|
| 9/27 |
Please do Exercise 3 - bring your written solution to class on Friday. |
|||
| 9/29 |
We will go over the Linux netem tool (see the tc/netem links here). No submission. And I'll go over Exercise 2 on Friday. The objective is to make sure we can run UDPEcho in an environment with artificial loss and latency. | |||
| Week 7 | ||||
| 10/2 | ||||
| 10/4 |
Intro to HTTP (ch 2) | |||
| 10/6 |
Exercise 2 | Quiz4-solution - this was due using canvas by midnight on Monday) |
||
| Week 8 | ||||
| 10/9 | Review for exam , Intro to HTTP (ch 2) Finish Exercise 2 (bring your laptops) |
You should be caught up in the reading!! |
|
|
| 10/11 |
Review for exam , Intro to HTTP (ch 2),DNS Overview Finish Exercise 2 (bring your laptops) |
HW2 due by class time. Submit pdf using canvas and your updated UDPEcho.tar.gz using handin. |
||
| 10/13 |
Exam 1 |
|||
| Week 9 | ||||
| 10/16 | Fall Break | |||
| 10/18 | In class exercise.... | |||
| 10/20 |
John Hoyt's slides | |||
| Week 10 | ||||
| 10/23 |
Finish Exercise 2 (bring your laptops) |
Read: "You Don't know Jack About Network Performance" |
|
Info on HTTP |
| 10/25 |
Internet Video Applications (bring your laptops), we'll call this Exercise 5 | Read Kurose Section 2.6 | HW3 | |
| 10/27 |
Project description out |
|||
| Week 11 | Last day to drop: 10/31
|
|||
| 10/30 | Transport Protocols - Sliding Window Internet Video Applications (bring your laptops), we'll call this Exercise 5 |
Donahoo Ch2, Kurose Ch3 sections 3.5, 3.6,3.7 |
|
|
| 11/1 |
Finished Exercise 5- turn in a hardcopy (one per group) at the beginning of friday's class We also had a pop quiz (created the assignment in canvas called pop quiz) today (and I asked you to turn in your hardcopy solution at the beginning of next class. The questions were directly from these slides- fill in the three curves on the second page and then answer two questions related to finding the optimal window on page 4.
|
|
||
| 11/3 |
tcp- introduction | HW3 solution - due by midnight - use canvas to submit. (Extension - can submit by Monday class time. Those that submitted by the original due date will get 5 extra credit points) quiz 5 solution - DNS, HTTP, Internet Video. based on lecture notes |
||
| Week 12 | Registration for next semester | |||
| 11/6 |
|
Extra Credit #1 solution - due by class time (canvas), HW3-due by class time. Modified HW4 description (to be done with your project group) , starting code for HW4 (HW4.tar.gz) |
||
| 11/8 |
In class (with your groups) complete exercise 6 (due by end of class time, or if not possible, by midnight tonight) |
|||
| 11/10 |
Extra Credit 2 will be posted shortly,This is the starting code | |||
| Week 13 | ||||
| 11/13 | Discuss the project, Xcredit2, HW4 |
Read Ch3 kurose, Ch2 of Donahoo | ||
| 11/15 |
Extra Credit 2 due by end of today. Please submit your updated messages.tar.gz using handin, no late submissions accepted! | |||
| 11/17 | Byte Ordering Notes- illustrating the concept of an 'internal' representation of a message (e.g., DataMsg structure) and the representation of the message that will be sent over the wire (i.e., after the pack operation copies the internal representation in a continguous buffer we call the network buffer) | Donahoo Ch 5 | MS1 due - turn in a hardcopy at the beginning of class. Also submit your PDF on canvas. Late submissions NOT accepted!! |
|
| Week 14 | ||||
| 11/20 | Iterative server- Our UDPEcho Server is an iterative server. It processes one message at a time and then loops around to recv the next message. If there are 1000 clients that instantaneously sent a message our server (all with the same UDP server port number like 5000), all 1000 packets are queued in the server's socket Rx Buffer queue. If no other client messages arrive, the server would iterate 1000 times before processing all of the client messages. Since the time to process a UDP message is usually small, this model works well. For TCP, usually connections last for seconds or hours. Further, the client and server might do quite a bit of work. Therefore, an iterative TCP server might not make sense. What if 1000 IP hosts issue a new connection with a TCP server (all clients are using the same destination IP and port number)? And....what if the average time for the server to process a client is 60 seconds. The poor 1000'th client that arrives at the server will have to wait 999 * 60 seconds before it gets serviced. A better way is for the TCP server to hand the new connnection to a child process for handling. The main TCP server loop can loop back and process the next client. A server generally will better support many concurrent clients (each with its own child process) rather than processing each TCP client one at a time, each to completion.
|
Donahoo Ch 6, esp 6.5 that describes the select call | Solution to Extra Credit 2 (messages.tar.gz) (this link to see code files) Reminder....the easiest way to download a tar.gz to your VM, from a term session on your VM: (sometimes the no-check-cert is required depending on your machine and the server) . wget --no-check-certificate https://people.cs.clemson.edu/~jmarty/courses/Fall-2017/CPSC360/code/messages.tar.gz HW4 due by Tuesday 11/21 noon (10pts extra credit to HW4 for those that turn it in by this due date). You can still turn in HW4 through Monday 11/27 end of the day with no deduction. For the 11/27 submission, please use the HW4ExtendedSubmission on handin. Quiz 6 solution , and the go.sh to compile, run, and use od to see the buffer data Project description (extended discussion on several project ideas) (template project writeup) |
|
| 11/22 | Thanksgiving | |||
| 11/24 | ------ | |||
| Week 15
|
||||
| 11/27 | Look over the Extra Credit 2 solution, and look at the messages.c code. Make sure you understand the design of the messages code - to be able to easily create messages, to pack the internal program representation of a message into a format that is easily sent over a network, and then to unpack a network buffer just received over a network back into a message. Look at the quiz6 solution. You should understand the use of pointers to copy integers and short integers into a network buffer that is in network byte order. You should be familiar with all of the following PDF (although don't worry about side 14, we will cover that next week). We familiar with slide 15 - shows it is OK is a TCP ACK is dropped (this is because TCP ACKs are cumulative.....the RxSequenceNumber effectively acknowledges all data that up to RxSequenceNumber. TCP congestion control Also, understand the main idea behind TCPs slow start, congestion avoidcance, and fast retransmit algo (slides 16 and 17, as well as Ch 3 of kurose, and the "Congestion Avoidance and Control" paper.TCP congestion control From this pdf, we talked about processes, process creation (with a fork), and the parent's job of issueing a waitpid to fully clean up after a child process has terminated (the parent is issued a sigchild signal when one of its child processes terminates).TCP/UDP sockets - select statement and TCP concurrent servers At the end of that pdf, we briefly mentioned the select() system call. This is not covered on exam2, but this will be very useful to some of you on your projects. Slide 20 shows code for how a server might handle both a TCP AND a UDP socket. |
Kurose text - chapter 3. Read all sections!!!! Read this paper "Congestion Avoidance and Control" Donahoo ch 6 , esp. 6.4 and the TCPEchoServer-Fork.c example |
HW4 extension....due by 11:59 pm (No late submissions accepted!!!) |
|
| 11/29 |
|
Updated/Extended Extra Credit 2 solution, updated messages code | ||
| 12/1 | Exam 2 | Exam 2 - in class. Can use 2 cheat sheets, bring a calculator. |
||
| Week 16 | ||||
| 12/4 | Network layer concepter: Kurose chapter 4 sections 4.1-4.3 |
|
||
| 12/6 | Go over HW4 solutions to questions 4, 5 Network layer, IP protocol.
|
Text material related to IP addressing:
Text material related to the concept of unicast, broadcast, multicast:
|
HW4 program , and the code can be seen here Note...this likely still has some errors related to error recovery. But the basic slow start and support for maxW works. example code tcp/udp sockets (warning: this has not been tested...it is meant to be an example of how to send over a TCP socket and how to use select) : : tcpudp-echo.tar.gz ,source dir |
|
| 12/8 | Review and discuss the final exam - info on what is covered is here. |
MS2 (project completion) due by 11:59pm Sunday 12/10. Please submit a hardcopy of your writeup to Dr Martin (slide it under my door), submit a PDF of your writeup on canvas, and submit a tar.gz to handin containing all code/scripts. | ||
| Week 17 | Finals | |||
| 12/11 | ||||
| 12/13 | Review session Tonight - 6:00pm-8:00pm (114 McAdams) Top level transport protocol page
|
|||
| 12/15 |
Final Exam 3:00-5:30pm | |||
| Week 18 | ||||
| 12/18 | ||||
| 12/20 | ||||
| 12/22 |