Instructor | Announcements | Course Info | Class Material | Schedule | Project | Grade | General Policy | Related Links


CmpE 208
Network Architecture and Protocols
Fall 2007
College of Engineering




Richard Sinn
Office Hours: After class, by appointment or email only

Richard Sinn has been teaching in the Computer Engineering and Computer Science departments at San Jose State University since 1998. He also served as Adjunct Professor at University of Minnesota. In addition to his teaching career, Richard is the Security Architect at the Real Time Communication group at Yahoo! Inc. Prior to this he held various senior positions at IBM, Oracle and different Silicon Valley startup companies. Richard is an inventor and has filed over ten invention disclosures (patents). He is also a frequent writer for various magazines and journals, and a frequent speaker at regional and national technology conferences.



No Class today, Instructor sicks and cannot really speak well: Oct 29, 2007.

Add code:

Available when someone drops.

Class time:

Every Monday 7:00pm

Class room:



Initial creation.


Please consider how you set up your evaluation environments - be it homework, on-campus quizzes and exams, to minimize chances of (temptations to) cheating.

In particular:

During tests:

- Make sure there is plenty of space between students.

- Always proctor exams and tests, and preferably by sitting at the back of the room rather than at the front. Do not leave the testing room during the test. If you cannot proctor the class yourself, contact me and I will endeavor to find a proctor for you.

- If the test is closed-book, require all backpacks to be zipped shut, all PDAs, computers and phones to be handed in, and any access to either without explicit proctor permission should be an immediate F in the class.

For homework: We have started using on-line support systems to catch cheaters. So I would very strongly urge you:

- For code assignments: Run them all through MOSS

- For essays etc: Run them all through (SJSU has a site subscription, I have been told.)

- Make sure individual contributions are ensured in team projects. This can be done through various means: Sign-offs, quizzes on the content of common work, etc.

Remember: A grade reflects an evaluation of the individual student's achievements. Your evaluation system has to reflect that objective.


Course Information


Implementation of protocols in current practice. TCP/IP, domain name systems, interactive data flow and network management protocols. Topics will cover FTP as well as NFS protocols. Prerequisite: CMPE 206 or instructor consent. Misc/Lab: Lecture 2 hours/lab 3 hours. This semester is an advanced survey class with network protocols. If you are into learning new things quickly, and have a sense of adventure, this class is for you. Topics could include:



Lab will be provided in the same room as the lecture. Various materials will be used. Group discussion, presentation, tools demo, protocol demo, etc. Detail of the lab will be presented in each class.



Apart from big term project(s) and presentation, there are homework assignments, a mid-term exam and a final exam. Some exams might be take-home. The weightings for grading are: Term Project(s) 40%, Homework/Lab 20%, Midterm 10%, Final Exam 10%, and Team Presentation 20%.

No Late Assignment Submission


Policy Info

University, College, or Department Policy Information

a. Academic integrity statement (from Office of Judicial Affairs): “Your own commitment to learning, as evidenced by your enrollment at San José State University, and the University’s Academic Integrity Policy requires you to be honest in all your academic course work. Faculty members are required to report all infractions to the Office of Judicial Affairs.

b. Campus policy in compliance with the Americans with Disabilities Act: “If you need course adaptations or accommodations because of a disability, or if you need special arrangements in case the building must be evacuated, please make an appointment with me as soon as possible, or see me during office hours. Presidential Directive 97-03 requires that students with disabilities requesting accommodations must register with DRC to establish a record of their disability.”

c. Policies or information required by the department, or college with which the class is associated.



Class Material

Lecture Notes



Non-Textbook: Reading material will be online on this web site before every lecture. Please email if you experience any download problem. Reading this semester:



Pick one of the references for term paper. Please spend the time to read and actually reseach (program) into the topics. The class expects a high quality research paper, not some collection of combined internet web pages ...


Full Reference List is here



Aug 27, 2007-Mon


Sept 3, 2007-Mon:
  • No class, Labor Day

Sept 5 Last Day to Drop Courses Without an Entry on Student's Permanent Record


Sept 10, 2007-Mon:

Sept 12 Last Day to Add Courses & Register Late


Sept 17, 2007-Mon:

  • DNS:,
  • DNS Notes
  • Homework 1
  • Project Description


Sept 24, 2007-Mon:

  • Web Cookie
  • DNSSec
  • TSIG
  • HTTP:,
  • HTTP Notes
  • Cookie Notes (in lecture)
  • Homework 1 Due


Oct 1, 2007-Mon:


Oct 8, 2007-Mon:


Oct 15, 2007-Mon:

  • LDAP Protocol (,
  • LDAP preso, Ch 10 of SST
  • Mid-term Info
  • Team Presentation Path Finders: WTP Report, ppt


Oct 22, 2007-Mon:

  • Mid-term
  • Homework 2 Due


Oct 29, 2007-Mon:

  • Join up the group to keep in touch for jobs, info, etc.
  • Project Part I Due
  • SSL / IPSec
  • Tunneling (ATMP, L2F, L2TP, PPTP)
  • Wireless Authentication Protocols
  • Attendance will provide you extra credit!
  • Homework 3


Nov 5, 2007-Mon:

  • Class start at 7:00pm starting this week until the end of the semester.
  • ARP / AH / ESP / Routing
  • SSL
  • IP / Routing
  • Kerberos
  • Team Presentation VeriSecure: ICE Report, Preso
  • Team Presentation XIAN: SNMP Report, Preso
  • Team Presentation Unison: Socks Report, Preso


Nov 12, 2007-Mon:

  • Veteran's Day - Campus Closed


Nov 19, 2007-Mon:


Final and Presentation

Nov 26, 2007-Mon:


Dec 3, 2007-Mon
  • Group Presentation
  • Bubble Evaulation
  • Project Presentation Schedule (Posted!)
  • Project Final Part Due
  • EMAIL ME for Master Project 295A - We can talk during the break.


DUE end of day - Dec 6, 2007-Thursday

  • Download final here

  • Final - Take home - No Class - Instructor in Hong Kong :)
  • EMAIL ME for Master Project 295A - We can talk during the break.



Term Project

Background Info

Java security technology provides the developer with a comprehensive security framework for writing applications, and also provides the user or administrator with a set of tools to securely manage applications. For authentication and authorization, Java Authentication and Authorization Service (JAAS) is the core of the framework. JAAS can be used for two purposes:

JAAS implements a Java version of the standard Pluggable Authentication Module (PAM) framework. JAAS authentication is performed in a pluggable fashion. This permits applications to remain independent from underlying authentication technologies. New or updated authentication technologies can be plugged under an application without requiring modifications to the application itself.

Read chapter 1, 5, 6, 7 of the textbook. Read them in order to obtain the full picture.


As a network protocol expert, your team is hired to implement the next generation authentication and authorization framework for the company. JAAS is the nature choice. As a team, you have to decide the following:


Project team has to decide on various issues such as:

As the whole class will be working on similar projects, relative grading will be used. In other words, all the projects will be ranked within the class and points will be assigned accordingly. There are two parts in the project:


Project Part I consists of a document includes the following:

Project Final Part will be covered later in class


Final Word of Warning

This is not an "easy" class and the project is an essential part of the overall grade. People who did not deliver the project well enough could really hurt their grade as the project contains more than 40% of the overall grade.







Team Research Presentation (Lab)

Each team will be given one topic to research and present during the semester. Mid-term and final will contain some questions related to the topics presented. The team needs to prepare the following:

Data Link Layer
ARP/RARP Address Resolution Protocol/Reverse Address
DCAP Data Link Switching Client Access Protocol

Network Layer
DHCP Dynamic Host Configuration Protocol
DVMRP Distance Vector Multicast Routing Protocol
ICMP/ICMPv6 Internet Control Message Protocol
IGMP Internet Group Management Protocol
IP Internet Protocol version 4
IPv6 Internet Protocol version 6
MARS Multicast Address Resolution Server
PIM Protocol Independent Multicast-Sparse Mode (PIM-SM)
RIP2 Routing Information Protocol
RIPng for IPv6 Routing Information Protocol for IPv6
RSVP Resource ReSerVation setup Protocol
VRRP Virtual Router Redundancy Protocol

Transport Layer
Mobile IP Mobile IP Protocol
RUDP Reliable UDP
TALI Transport Adapter Layer Interface
TCP Transmission Control Protocol
UDP User Datagram Protocol
Van Jacobson compressed TCP
XOT X.25 over TCP

Session Layer
BGMP Border Gateway Multicast Protocol
DIS Distributed Interactive Simulation
DNS Domain Name Service
ISAKMP/IKE Internet Security Association and Key Management Protocol and Internet Key Exchange Protocol
iSCSI Small Computer Systems Interface
LDAP Lightweight Directory Access Protocol
MZAP Multicast-Scope Zone Announcement Protocol
NetBIOS/IP NetBIOS/IP for TCP/IP Environment

Application Layer
COPS Common Open Policy Service
FANP Flow Attribute Notification Protocol
Finger User Information Protocol
FTP File Transfer Protocol
HTTP Hypertext Transfer Protocol
IMAP4 Internet Message Access Protocol rev 4
IMPPpre/IMPPmes Instant Messaging and Presence Protocols
IPDC IP Device Control
IRC ·Internet Relay Chat Protocol
ISAKMP Internet Message Access Protocol version 4rev1
NTP Network Time Protocol
POP3 Post Office Protocol version 3
Radius Remote Authentication Dial In User Service
RLOGIN Remote Login
RTSP Real-time Streaming Protocol
SCTP Stream Control Transmision Protocol
S-HTTP Secure Hypertext Transfer Protocol
SLP Service Location Protocol
SMTP Simple Mail Transfer Protocol
SNMP Simple Network Management Protocol
SOCKS Socket Secure (Server)
TACACS+ Terminal Access Controller Access Control System
TELNET TCP/IP Terminal Emulation Protocol
TFTP Trivial File Transfer Protocol
WCCP Web Cache Coordination Protocol
X-Window X Window

BGP-4 Border Gateway Protocol
EGP Exterior Gateway Protocol
EIGRP Enhanced Interior Gateway Routing Protocol
HSRP Cisco Hot Standby Router Protocol
IGRP Interior Gateway Routing
NARP NBMA Address Resolution Protocol
NHRP Next Hop Resolution Protocol
OSPF Open Shortest Path First
TRIP Telephony Routing over IP

ATMP Ascend Tunnel Management Protocol
L2F The Layer 2 Forwarding Protocol
L2TP Layer 2 Tunneling Protocol
PPTP Point to Point Tunneling Protocol

AH Authentication Header
ESP Encapsulating Security Payload
TLS Transport Layer Security Protocol




Email to check your grade if necessary.


General Policy

The university and departmental policies and deadlines for course drop will be applied. Makeup exams cannot be offered, except under exceptional conditions, such as documented serious illness/accident, etc., and only at the professor's discretion.

Each student is responsible for his/her individual assignment, and must not copy anyone else's work. Students who borrow solutions from others will find themselves unable to pass the course. The minimum penalty for every student involved in the duplication of individual assignments or exams will be receiving a zero score on the submitted work.

For group project, all the work has to be done by your OWN group. Do not try to download "free code" from the Internet and hand in as a project. WE WILL FIND OUT. Do not share your work with others. So DO YOUR OWN WORK and EARN your grade.


Related Links

  • Past Class Grading and Info
  • Software Engineering Institute
  • Special Interest Group on Software Engineering (SIGSOFT)
  • IBM San Francisco Project
  • Object Management Group
  • Rational Software Corporation
Richard's Recent Articles



Instructor | Announcements | Course Info | Class Material | Schedule | Project | Grade | General Policy | Related Links