Highlights
You are required to build a simple client-server application that can be used to monitor several characteristics of a set of systems. The client functions as an agent that collects data about the resources in the environment (system) that it is executing on. It stores the data locally and also sends it to a server application. Meanwhile, the server application receives collected data from agents over the network, securely stores a summary of them per client, and performs a basic analysis to determine whether a set of thresholds have been reached. More specifically, the client and server behaviour should be implemented, as follows:
Server
1. Open a TCP server socket locally on the port that was specified by the user.
2. Wait for a connection to be established on the server.
3. If a connection is made, establish a secure channel that includes using a SHA256 HMAC and AES256 CBC cryptography. For simplicity, any necessary key material can be hardcoded.
4. Receive a message from the client application - the message content is defined below - which involves decrypting the message and creating an instance of a class (that you should write) that represents a client record with the details received. .
5. If there is no existing record of the client: .
A) Display the formatted contents of the message to the command line. Note in the display this is a new client. .
B)Write the contents of the message to a file that has been created for that specific client using AES256 CBC encryption. Choose an appropriate file name format, e.g., based on a unique identifier of the client.
This IT and Computer Science has been solved by our PhD Experts at My Uni Paper.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.