Project 1. Goals  Write a simple TCP/IP client that supports a specific protocol  The server is running right now on login.ccs.neu.edu:27993  If your.

Slides:



Advertisements
Similar presentations
Secure Socket Layer.
Advertisements

COEN 445 Communication Networks and Protocols Lab 4
System Security Scanning and Discovery Chapter 14.
FONG CHAN SING (143334) WONG YEW JOON (143388). JAVA RMI is a distributive system programming interface introduced in JDK 1.1. A library that allows an.
Speak A Simple VoIP Application CS529 Multimedia Networking Due date: October 21 st by 11:59pm Project 2.
CS201 - Laboratory Submittal Using the submit command.
Technologies For use on different layers. Technologies Client tier Client tier to middle tier protocols Middle tier technologies Middle tier to data tier.
Project 1CS-3013 A-term Programming Project #1 Forking Processes Due Tuesday, September 8, 11:59 PM.
Programming project #4 1 CS502 Spring 2006 Programming Project #4 Web Server CS-502 Operating Systems Spring 2006.
Online Chess Project 3 Due date: April 17 th. Introduction Third in series of three projects This project focuses on adding online support –2 players.
Security SIG: Introduction to Tripwire Chris Harwood John Ives.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Christo Wilson Project 3: Virtual Memory in Pintos
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
CS-3103 & CS-502, Summer 2006 Programming Project #31 Programming Project #3 Web Server CS-3103 & CS-502 Operating Systems.
Christo Wilson Project 4: File System in Pintos
HTTP Overview Vijayan Sugumaran School of Business Administration Oakland University.
1 Network File System. 2 Network Services A Linux system starts some services at boot time and allow other services to be started up when necessary. These.
Chapter 22 Web Hosting and Internet Servers Xuanxuan Su.
Free Powerpoint Templates Working on remote computers by Pedro Henriques June 1, 2012.
Telnet/SSH: Connecting to Hosts Internet Technology1.
Speak A Simple VoIP Application Project 2 Due date: March 3 rd by 11:59pm.
Web server and web browser It’s a take and give policy in between client and server through HTTP(Hyper Text Transport Protocol) Server takes a request.
FORESEC Academy FORESEC Academy Security Essentials (II)
12 Copyright © 2004, Oracle. All rights reserved. Oracle Net Services.
FTP (File Transfer Protocol) & Telnet
Socket Lab Info. Computer Network. Requirement Use TCP socket to implement a pair of programs, containing a server and a client. The server program shall.
An program As a simple example of socket programming we can implement a program that sends to a remote site As a simple example of socket.
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
1 CSC111H Client-Server: An Introduction Dennis Burford
Process Management Working Group Process Management “Meatball” Dallas November 28, 2001.
FTP Client Application CSC 8560 Brian Jorgage 4/27/2004.
Toward the Next Generation of Ingres Administration Tools UKIUA 2010 June 8, 2010.
.Net and Web Services Security CS795. Web Services A web application Does not have a user interface (as a traditional web application); instead, it exposes.
Python From the book “Think Python”
1 CHAPTER 2 LAWS OF SECURITY. 2 What Are the Laws of Security Client side security doesn’t work Client side security doesn’t work You can’t exchange encryption.
Topics Sending an Multipart message Storing images Getting confirmation Session tracking using PHP Graphics Input Validators Cookies.
Oracle Data Integrator Agents. 8-2 Understanding Agents.
Track Short Course: TrackRT Installation Thomas Herring, MIT Room A
1 Securing Network Services. 2 How TCP Works Set up connection between port on source host to port on destination host Each connection consists of sequence.
Protocols COM211 Communications and Networks CDA College Olga Pelekanou
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Advanced Sendmail Part 1
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
CPS120: Introduction to Computer Science Compiling a C++ Program From The Command Line.
Simple Socket Server m Yumiko Kimezawa September 19, 20121RPS.
Don’t Duck Metadata March 2005 Introducing Setting Up a Clearinghouse Node Topic: Introduction to Setting Up a Clearinghouse Node Objective: By.
Assignment 1 tutorial. Assignment 1 Programming part: – Socket programming: a chat room application – Individual assignment – Deadline 20 th Oct 2015.
Plug-In Architecture Pattern. Problem The functionality of a system needs to be extended after the software is shipped The set of possible post-shipment.
Tivoli Provisioning Manager V5.1 FP1 © 2006 IBM Corporation L2 GO Training Local TCA Install Przemyslaw Maciolek
Your First Step of Programming 魏士貴. This Lab talk about… Where we can get C and C++ software? Where we can get help? How to be a good programmer?
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Communication protocols 2. HTTP Hypertext Transfer Protocol, is the protocol of World Wide Web (www) Client web browser Web server Request files Respond.
Troubleshooting Directories and Files Debugging
Building Bridges CS 3700 Project 2.
Connect:Direct for UNIX v4.2.x Silent Installation
Project 1 Simple Socket Client.
Data Virtualization Demoette… ADO.NET Client
Building Bridges CS 3700 Project 2.
Simple Socket Client Project 1.
Reliable Transport CS 3700 Project 3.
Telnet/SSH Connecting to Hosts Internet Technology.
What is Cookie? Cookie is small information stored in text file on user’s hard drive by web server. This information is later used by web browser to retrieve.
Simple Socket Client Project 1.
Reliable Transport CS 3700 Project 3.
Lab 4: Introduction to Scripting
Snippet Engine as a Database Server
Information Retrieval and Web Design
Presentation transcript:

Project 1

Goals  Write a simple TCP/IP client that supports a specific protocol  The server is running right now on login.ccs.neu.edu:27993  If your program is correct, the server will send you a secret flag  Turn in your code and the secret flag in order to receive full credit  DUE: September 16, 11:59:59 PM

Your Program  Can be written in whatever language you want  Must compile on the CCIS Linux machines and run on the command line  Don’t use crazy libraries that aren’t installed by default  Don’t write a program with a GUI  If you use an IDE, make sure your code doesn’t have any hidden dependencies

Command Line Syntax $./client [hostname] [NEU ID]  Your client must follow this syntax exactly  Hostname – the name of the server  E.g. login.ccs.neu.edu  Port – Optional parameter, the port the server is listening on  By default, port is  Secure – Optional parameter, indicates that the client should use an SSL encrypted socket  NEU ID – your NEU ID

The Protocol (Part 1)  4 messages  HELLO, STATUS, SOLUTION, and BYE  Your client begins by sending HELLO cs3700fall2015 HELLO [your NEU ID]\n  The server will respond with a STATUS cs3700fall2015 STATUS [an equation]\n  The equation will be a simple math problem  E.g. “5 + 10” or “32 * 509” or “2391 / 93”

The Protocol (Part 2)  Your client returns a SOLUTION message cs3700fall2015 [the solution]\n  The server may respond with another STATUS, or it may respond with BYE cs3700fall2015 BYE [secret flag]\n  The secret flag is what you want :)

Turning In Your Project 1. Register your group  All group members must run the script! 2. Create a directory for your files  All of your (well documented) code  Makefile  README  secret_flags (a file with the secret flags of the group members, one per line) 3. Run the turn-in script

Grading  3% of your total grade  To receive full credit:  Turn in working code that compiles/runs successfully  Turn in the secret flags of all group members  If your code doesn’t compile or doesn’t run, you get zero credit  All code will be scanned by plagiarism detection software

Extra Credit  Possible to get 0.5% extra credit (3.5% total)  Augment your client to support SSL sockets  The protocol is exactly the same, its just encrypted with SSL  If your SSL client is successful, you will get another secret flag  Put these new keys in the secret_flags file  The SSL server is running on the same host, port 27994