Clemson
                University
                                                                                           Computer Science

CPSC 424/624 Systems Administration and Security  Course Schedule

School of Computing's handin tool - blackboard - Piazzo course page (for Q&A)-

Ubuntu's Help - VirtualBox Help -

Course Syllabus- Piazzo course page (for Q&A)-

Linux Info Page - Unix (and Sockets) Programming Page - Probability/stats Review- Matlab Tutorial-

Please refer to this page for a recap, clarification, or updates on material presented or worked on during class.


Date Lecture Topic Work Items Scheduled - Due the next class period unless otherwise stated Key items discused, list of optional Reading
Week 1      


 
 
1/11
Discussion of course
specifics

Read the course syllabus.

 

1/13
What is system administration?

Fill out this survey and turn in at the beginning of class on Monday

Get familiar with Vi/Vim (or equivalent), refer to our Linux Help page for tutorials

Read the paper "The Reincarnation of Virtual Machines"

CPSC322 review
Week 2      
1/16

Refer to these instructions for setting up our VM environment SetupVMs

Piazza course page: https://piazza.com/clemson/spring2017/cpsc4240/home

Exercise 1: Solution


Links Supportive of the class (VMs and Virtual Box)

Links Supportive of Intro to OS and early Unix


1/18
This page holds/lists the lecture material related to the fundamentals of Unix (we'll refer to this as the Top Level Linux Admin Page)

Read Ch 1 of text, Review CPSC3220 slides chapters 1-3, Appendix A



Links Supportive of Linux Admin specific items:: Bash, configuring/admin, ...


1/20

quiz 1 today (On Intro to VMs, Reincarnation paper, Intro to Unix)


HW1 The HW will include the following material:

Supportive of the class (TCP/IP and networking related):

Week 3 1/25 - last day to drop without  a 'W '

Goals:

 
1/23

Complete the discussion of the networks as related to our VM environment.

From CPSC3220 online site


 

Refresh on CPSC3220 - ch's 1, ch3 (processes), ch6 (CPU scheduling)

Read slides CPSC3220 on VMs (ch 16) And on Linux (ch18)

Supportive of the class (Linux specific: bash, configuring/admin, ...) (will add to this as we proceed)

1/25

Unix programming (including sockets)

Intro to sockets code examples (directory)

Read Chapter 2 up to Section 2.4 AND read Section 2.6

Review Unix programming (including sockets)


Unix concepts: processes, signals, interprocess communication,

Sockets: unix sockets, address abstraction, basic send/rx primitives, iterative/concurrent servers, data representation (network byte order)

1/27

Intro to sockets code examples (directory)

For Monday, go through chapters 1-4 of the online Bash Guide for Beginners (a PDF of this book).

Quiz 2 take home


Week 4 Seniors- apply for commencement!!!

Goals:

  • OS focus: shells/pipes/filters/Bash
  • OS scheduling concepts
  • System monitoring, performance evaluation
  • Review of prob/stats

 
1/30

Prob/stats -review : summary statistics, historgrams, probability distributions

Quiz 2 due - handin (extended to class time Friday)

Review material from Top Level Linux Admin Page.

ex2 -We'll go through a solution on Friday (there is no submission - nothing to turn in !!)

For next class, read chapters 1-4 of the PDF version of the Bash Guide for Beginners.



Supportive of the class (Probality/stats AND matlab related):

2/1
Bash Shells and Scripts

 

Bash related Guides and Tutorials are listed in the references section of Bash Shells and Scripts
2/3
Bash Shells and Scripts -

Quiz2 due (Solution)

For Monday read chapters 5-9 of the PDF version of the Bash Guide for Beginners. And supplement with other materials as needed. You should become familiar with the example Bash scripts. In class, I am providing a structure to learn Bash but I'm leaving it to you to become familiar with the basics. Note- hw2 will have a number of Bash related exercises that should help you.

 
Week 5

Goals for week 5::

  • finish Bash material
  • present scheduling concepts and the Linux scheduler
  • review prob/stats concepts: random variables (RVs), well known RVs : uniform, exponential, normal, expected value
  • Introduce system monitoring,

 
2/6

HW1 due by class time , two script solutions

Updated HW2 out , and the Bash questions for HW2.

 

Very nice online book about nmap

Information on netcat

2/8

probability and stats: review random variables

Linux process scheduling

Quiz 3- take home quiz. Submit by class Friday.

2/10
System monitoring


 
Week 6

Goals for week 6:

  • Networking Concepts :
  • Networking - extend VM environment
  • Networking configuration on Ubuntu


 
2/13

Networking roadmap

Read chapters, 9, 29


2/15

System/network monitoring

Read chapters 3, 6

Exercise 3 (Solution)- nothing to handin....will use this to hold examples related to Bash.


2/17

Catch up on sys admin topics... Top level lecture -

System/network monitoring

Quiz 4 This will be a take home quiz. Handed out in class and turned in via turnitin by class on Monday.

For Monday, make sure you have read the following chapters in our text : 2-7, 9, 11, 14, 29.


Week 7

Goals for week 7:

  • Networking Concepts
  • Networking analysis
  • Firewalls/port forwarding/nmap

 
2/20
System/network monitoring

Read ch 14


2/22
guest instructor- John Hoyt
 
2/24

System/network monitoring

nmap/ncat



Week 8
Networking concepts, Admin topics, System monitoring

Network Resources (referred to as network resources 1 , 2 and 3:

 
2/27

Networking roadmap -IP, UDP, ICMP

Discuss Exam 1

HW2 due, Bash Solutions

     
3/1

 
3/3

 



Week 9
Networking Concepts  
3/6

Exam 1 - covers OS, Networking, Linux admin, Bash


 

3/8

Networking roadmap

  1. Data communications review
  2. Protocol layering
  3. IP Addressing, Subnets, Arp, DHCP, DNS
  4. IP
  5. ICMP and UDP
  6. TCP

We've gone over at a high level most topics in this material. We want to spend the next week going through particular topics in more details.

topic today: roadmap items 1, 2, and start 3

 

Make sure that you have gone over chapters 1-11 .... as we move forward I am assuming you have gone through these chapters as well as the html pages that covers this material : https://people.cs.clemson.edu/~jmarty/courses/Spring-2017/CPSC424/lectures/BasicSysAdminMaterial.html

For Monday, read chapters 14-17 , and these two brief tutorials (the second one has a bit more details on IP addressing)


3/10

topics: roadmap items 3




Week 10 Last day to drop is March 17
Networking Concepts  
3/13

topics : Arp, DHCP, DNS


Items to work on:

 

Exercise 4 - setting up our VMs


 

3/15

topics: roadmap items : 4 and 5 (IP, ICMP/UDP)


quiz5 - covers topics 1,2,3

project description- find a partner and select project direction by Friday!!!!

 

 
3/17

Class is optional today....I will be there if anyone would like to discuss projects or the homework.

Exercise 4 - due by Friday 3/24 using handin

Project MS1 due by Friday 3/24 using handin

Read the chapters 1,2,4, and then the section on UDP in ch. 11, and on DNS in ch.12. from the IBM book : TCP Tutorial and Technical Overview. You will need information from Chapter 4 and chapter 12 to complete the homework.


Week 11

 
3/20
Spring Break
  • HW3 out
  • tc script (to set rates)
    • To use the script for the homework, run the script two times (assume eth0 is VM1's interface to the outside world, eth1 is VM1's interface to VM2:
      • sudo ./setupVMRouter.sh NAT eth0
      • sudo ./setupVMRouter.sh start eth1
      • This latter invocation sets tc at a rate of 2 Mbps - adjust the internal variable myRate as needed.
  • iperf cheat sheet
  • Info on ipfilter and tc
 
3/22
Spring Break
 
3/24
Spring Break

Week 12
Goals: Security Concepts

Supportive of the class (Security Concepts)

3/27
IP options (try ping -R 8.8.8.8), ICMP error messages, traceroute

Solutions to Exam 1

Read for Wed.:

 
3/29

Intro to TCP

Security Roadmap

 

 


For Friday, read:

 

3/31
John Hoyt's bash/security slides

HW3 due by midnight (use turnitin)

For Monday Read:

  • Ch 22 Class text book



Week 13

 
4/3

project MS2 due by midnight (use handin)
4/5
raspberry pi talk

 

 

4/7

Security Roadmap

secure network interconnection, border security, Firewalls, NAT


HW4 out,paper: Seven Deadly Sins of Linux Security

For Monday, go over lectures notes on CIA


Week 14 Registration for Fall....

 
4/10

CIA building blocks 

For next time,

 
4/12

Random Number Generators

 


 
4/14

RC4 and PRNG notes

Project MS3 due by midnight (use handin)

Exercise 5 out (no submission with this!!)



Week 15

 
4/17

Finish discussion on RC4 and PRNG notes

 


Take home quiz 6 out.Please submit using turnitin by end of the day wednesday (11:59pm)..... quiz6 solution

Project MS4 due by end of the day (use handin)

 

4/19

Public key encryption , Authentication from CIA building blocks 


 
4/21
John Hoyt's bash/security slides (updated)

Exercise 6


 

Week 16
4/24

Internet PKI, User authentication

HW4 due by Midnight tonight (submit using turnitin)

Exam2 (and this is the Word Source for Exam2 ) will be a take home exam. Open book, open notes, you can use the Internet. But please work on your own. This will be due Friday by midnight (submit using turnitin)

 
4/26

User authentication

Access Control

Chapters 4, 22

extra credit quiz 7, submit using handin (up to 5 points, due by midnight wed 5/3 NO LATE SUBMISSIONS !!)

 
4/28

Summary of Final Exam

Exam2(solution) due by midnight (submit a pdf to turnitin) - see update to summary of final exam for what to pay attention to in Exam2 for the final.


Week 
17
   FINAL EXAMS (schedule)
 
5/1

Project MS5 - final deliverables by midnight. Submit a tar.gz using handin.Read the updated project description for some details of what I am after for MS5. Also, please slide a hard copy of your MS5 project report under my office door.

We won't be doing demos, although we might reach out to your group and ask you to come in and either demo or explain some aspect of your project. This would only be if we are unable to grade your project without your input.

 
5/3



5/5
Final Exam 3:00pm-5:30pm