Name | Modified | Size | Downloads / Week |
---|---|---|---|
COPYRIGHT | 2015-01-23 | 1.4 kB | |
README | 2015-01-23 | 2.1 kB | |
chatclient.SHA256 | 2015-01-23 | 81 Bytes | |
chatd_linux_64bit.SHA256 | 2015-01-23 | 108 Bytes | |
chatd_linux_64bit | 2015-01-23 | 854.5 kB | |
chatclient.jar | 2015-01-23 | 15.5 kB | |
chatroom_source_v3.SHA256 | 2015-01-22 | 92 Bytes | |
chatroom_source_v3.tar.gz | 2015-01-22 | 9.7 kB | |
Totals: 8 Items | 883.5 kB | 0 |
README FILE: CHATROOM SERVER DAEMON AND CLIENT (Optional AES 128 bit Encryption) Programming Languages: C and Java Description: This is a chat system composed of a TCP/IP server daemon and its corresponding java client. You can chat with other peers in clear text or AES password-based encryption on your own computer network. The AES encryption and decryption is based on 128 bit key which is reached by padding the resulting SHA256 from your provided password. Simply put, SHA is a checksum that change when a single bit change. When you send a message with a password field, the resulting password checksum is cut at 128 bit which means 16 characters bytes KEY is entered into AES 128 bit encryption and decryption scheme. The resulting ciphertext is sent to the server while the server relay it to the connected peers. Those connected peers need to have the same password in order to read the message. The server is a multiplex and stand alone detached (no controlling terminal) process on the background that does nothing but to relay messages. -----PROCEDURE----- REQUIREMENT: Java Development Kit (JDK) at least version 8 GCC (GNU C Compiler with standard libraries) Make utility (For Compilation of both java and c program) Operating System of Server: Unix / Linux Operating System of client-user: ANY OS that has at least Java Runtime 8 (JRE 8) or JDK 8 installed. INSTALL: To install javac,java and jar on Unix / Linux: Download jdk, extract jdk and issue the following commands as root on your shell: ln -s /path/to/jdk/bin/java /usr/bin/java ln -s /path/to/jdk/bin/jar /usr/bin/jar ln -s /path/to/jdk/bin/javac /usr/bin/javac Install "gcc" and "make" tool using your package manager. Compile and run Server and Client: make #To compile both client and server ./chatd #To run server as non-root. java -jar chatclient.jar #To run client Send chatclient.jar to anyone who have at least JRE 8 installed and tell them to connect to your IP or URL. You have to make sure TCP port 6660 (by default) is reachable (open). -----END OF PROCEDURE-----