GithubHelp home page GithubHelp logo

sims's Introduction

Secure Instant Messaging System
+++++++++++++++++++++++++++++++

Eric Chin ([email protected])
John McGuiness ([email protected])


The Server or KDC
=================

There is a similar README with more information in the ./server/ directory.

To compile the server, first `cd` into ./server and run 
  * "make build" or
  * "javac -cp ../libs/json-simple-1.1.1.jar:../libs/commons-io.jar: \
      ../libs/commons-codec.jar:../encrypt/ ./Server.java"

To run the server, `cd` into ./server and run 
  * "make server" or 
  * "java -cp ../libs/json-simple-1.1.1.jar:../libs/commons-io.jar: \
      ../libs/commons-codec.jar:../encrypt/: Server <port>"

  Note: "make server" will default to use port 9008.  This can be changed but must be 
  kept consistent between the server and the client.

  Note: to distribute the server alone, the three directories ./server/, ./encrypt, 
  and ./libs are required.



The Client
==========

There is a similar README in the ./client/ directory.

To compile the client, first `cd` into ./client and run 
  * "make build" or
  * "javac -cp ../libs/json-simple-1.1.1.jar:../libs/commons-io.jar: \
       ../libs/commons-codec.jar:../encrypt/ ./Client.java"

To run the client, `cd` into ./client and run 
  * "make client" or 
  * "java -cp ../libs/json-simple-1.1.1.jar:../libs/commons-io.jar: \
       ../libs/commons-codec.jar:../encrypt/: Client <server ip> <port>"

  Note: "make client" will default to use server ip `localhost` and port `9008`.  
  This is arbitrary and can be changed but must be kept consistent between the server 
  and the client.

  Note: to distribute the client alone, the three directories ./client/, ./encrypt, 
  and ./libs are required.



Dependencies
============

Developed and tested using Java version "1.6.0_27" and the OpenJDK Runtime 
Environment as currently installed in the CCIS Linux environment.

This program requires "json-simple" (http://code.google.com/p/json-simple/),
an open source Java library for JSON to encode and decode JSON text.

This program requires "commons-io" and "commons-codec", two libraries from
Apache's suite of Java libraries called Commons.  They are respectively
used for file/network input/output and encoding.



Implementation
==============

Please view the ./docs/ directory, and particularly ./docs/sims-design-document.pdf
for more information on this implementation of a Secure Instant Messaging
System

sims's People

Contributors

erictchin avatar

Stargazers

 avatar SSK avatar

Watchers

 avatar James Cloos avatar  avatar

sims's Issues

Logoff protocol

We should be able to log client off

  • Remove from client info table, usertable, clients
  • Client needs to be able to submit command, or ctrl-c/force quit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.