Skip to content

zachibs/ClientServerProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClientServerProject

Introduction

A project to demonstrate knowledge regrading the client-server architecture, implemented DHCP, DNS and TCP servers and clients.

prerequisites:

  • docker

Setup:

Commands to run for a docker container:

  1. git clone https://github.com/zachibs/ClientServerProject.git
  2. cd ClientServerProject
  3. docker build -t "latestnetworksserver" .
  4. docker run -it --name latestnetworksserver -p 3300:22 -d latestnetworksserver
  5. ssh admin@localhost -p 3300
  6. password is 1234
  7. cd ClientServerProject/src
  8. sudo python3 client_side.py

Commands to run in local machine:

  1. git clone https://github.com/zachibs/ClientServerProject.git
  2. cd ClientServerProject
  • run the python files in different terminals
  1. sudo pip install -r requirements.txt.
  2. sudo python3 src/servers/dhcp_server.py
  3. sudo python3 src/servers/dns_server.py
  4. sudo python3 src/servers/app_server.py
  5. sudo python3 src/client_side.py

About

This codebase is for a client-server demo app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published