This page supplement material covered in class. I'll summarize what we discussed, possibly add further information, and if applicable, correct or better explain specific items stated in lecture.
4/17/2017
4/7/2017
Terms/Concepts
Readings
Wed 3/29/2017
-Be familiar with the following concepts related to TCP (following the material in the class notes TCP and section 4.3 TCP Tutorial and Technical Overview.
- Connection Oriented
- reliable startup, graceful teardown
- Stream oriented vs Datagram oriented (latter is UDP)
- Reliability - windowed, sequence and ack numbers,
- Congestion control
- Implicit feedback: packet loss is treated as a congestion indication
- Future:
-
Monday 3/27/2017
-You need to review the material in the network resources as needed for the following topics
- IP layer
- IP frame header
- Fragmentation
- Forwarding (direct, indirect) and the use of arp
- IP options
- ICMP
- message formats -
- Pay attention to error messages Dest. Network Unreachable and TTL exceeded
- UDP
- DHCP - general concepts
- DNS - details to the level of the HW3 question
Resources:
Monday 2/20/17 -
Introduced system monitoring ....
Applications tend to be of a particular class (wrt to workloads)
- CPU intensive
- cat /proc/loadavg
- 0.00 0.09 0.13 6/400 2519
- Disk I/O intensive
- Network I/O intensive
- simple summary info: nload, bmon, netload, speedometer
- iftop, pktstat,trafshow, nethogs
- Memory intensive
System monitoring deals gathering information to make periodic decisions on if the system is overloaded in any way (CPU, Memory, I/O).
Fri 2/17/17
Released quiz4 - wget https://people.cs.clemson.edu/~jmarty/courses/Spring-2017/CPSC424/quizzes/quiz4.pdf
Wed 2/15/2017
Monday 2/13 -
- re-introduced the course web pages, but this time by looking at the directories...
- we worked on the following regex.... find the regex that:
- Begins with a "T"
- Matches anchored at the beginning of a line
- The next letter must be lower case (not a number)
- The 3rd letter can be any of these lower case volves a,e,i,o,u
- Answer: /^T[a-z][aeiou]/
- It was pointed out that the python regex would be slightly different.
- At one time, Perl was widely used. And naturally, it has its own variant for regex.
Friday 2/3/17- Wed 2/8 (Friday 2/10 I was out sick)
Walked us through the Bash scripting material - top level page is here : https://people.cs.clemson.edu/~jmarty/courses/Spring-2017/CPSC424/lectures/BashScriptingTopLevelGuide.html
Qui3 - take home quiz.... solution : wget https://people.cs.clemson.edu/~jmarty/courses/Spring-2017/CPSC424/quizzes/quiz3-sol.tar.gz
Wed 2/1/17
We reviewed what is due when....
- Quiz2 due friday 2/3 class time - submit tar.gz to handin and a pdf with two plots (PDFs or histogram) to handin
- ex2 - there is no submission you need to worry about. We will go over this in class friday
- hw1 is due Monday by class. Submit a PDF with all answers including a listing of your Bash script along with the plot of a log-log histogram or distribution
Monday 1/30/17
The readme.txt for UDPEcho2.tar.gz package is here. Also, I corrected an incorrect client invocation in the quiz2 description.
Main topic is shells/pipelines and we will begin our study of Bash scripting
Friday 1/27/2017 .
Students should become familiar with :
- TCP/IP transport protocols : TCP/UDP/ICMP. The standard Ping program uses the TCP/IP transport protocol ICMP (Internet Control and Messaging Protocol). UDPEcho2 sends messages using the UDP transport protocol.
- The UDPEcho2 code : it illustrates a simple sockets client server program, it also illustrates the use of SIGALRM, SIGINT signals.
Wed 1/25/17:
You should make sure that you are familiar with the concepts covered in these slides
And from the sockets slides - be familiar with:
- Slides 1-14: sockets overview
- Slides 15-29 - client/server and iterative vs concurrent (but can ignore TCP specific sockets information for now)
- Slides 30-37 - basic idea is different machine architectures (big/lil endian) and compiler details might pack network buffers differently (when communicationating with a host of a different type). TCP/IP is big endian!!
- Slides 38 -48 : UDP code details - WARNING: THe example UDPEcho is very different from our starting code UDPEcho2.tar.gz.
- UDPEcho.tar.gz: client sends one message and then terminates
- UDPEch2.tar.gz (not mentioned in the sockets1.pdf): much more like a ping program....
- Slides 49-54 - socket select- allows a single server to deal with any number of sockets - Also, it provides an accurate timeout.
- Slides 55-70 - relooks at TCP sockets (some material similar to slides 15-29)
Prior to 1/25/17 We coveredInformation related to OS, VMs and Unix :