NTP Client connection and send to commands to Server
Project description
# NTP Project
## About
In this project, we created a NTP Project and use Golang(Go) for NTP Server side and Python for NTP Client side.
This Project Client connect to the Server with Host and Port informations and get date and time from Server.
Also Client computer can sets the Date/Time from NTP Server date/time.
## Build-With
### Server * GOLANG (Go)
### Client * Python
## Installitation
### Clone repo
git clone https://github.com/yvsKaan/ntpserver.git
## Run
You need to start server side first.
go run server.go
When your server working, you can start your client.
python ntpclient.py
You need to enter host and port values.
You can use Localhost HOST : 127.0.0.1 PORT : 1234
Or you can change the server host and port address from server.go file
You Can See Your Ntp Servers
ss -tulpn | grep “:123”
Also you can enter your host and port value from console.
python ntpclient.py –host HOST_ADDRESS –port PORT_ADDRESS
- After That You need to enter your command and system will response.
##### Command Examples
time => Get the Server Time and Date
exit => Close the NTP Client
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ntpclient-0.1.0.tar.gz.
File metadata
- Download URL: ntpclient-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcdc3022f6f35410b9b8054531e076491170ba0818b7f8f7ad2694aad12825fc
|
|
| MD5 |
b872ccbd10d52e6add3c01445844d289
|
|
| BLAKE2b-256 |
62b5e6bbcc113e3af994243c8fe95e93e45a03bb86a5126aae3916ee9a0f7182
|