Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanorei32/timed-rs
It's a implementation of "TCP Based Time Service" Time Protocol [RFC868].
https://github.com/yanorei32/timed-rs
rfc-868 rfc868 rust
Last synced: 4 days ago
JSON representation
It's a implementation of "TCP Based Time Service" Time Protocol [RFC868].
- Host: GitHub
- URL: https://github.com/yanorei32/timed-rs
- Owner: yanorei32
- License: bsd-2-clause
- Created: 2023-11-09T09:08:17.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-04-11T09:38:03.000Z (7 months ago)
- Last Synced: 2024-04-11T10:45:38.996Z (7 months ago)
- Topics: rfc-868, rfc868, rust
- Language: Rust
- Homepage:
- Size: 126 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# timed-rs (time daemon rs)
It's a implementation of "TCP Based Time Service" [Time Protocol [RFC868]](https://datatracker.ietf.org/doc/html/rfc868).
> [!NOTE]
> For human readable time use the Time Protocol (RFC-867)
>
> for Japanese: [yanorei32/nichijid-rs](https://github.com/yanorei32/nichijid-rs).## Examples
### Server
```
./timed-rs # default port usage (0.0.0.0:37)
./timed-rs 0.0.0.0:3737 # specific port usage
```NOTE: 37 is a well-known port. It may require administrative permission.
### Client
```
$ nc 127.0.0.1 37 | xxd
00000000: e8f7 1e9a ....
$ rdate 127.0.0.1
rdate: [127.0.0.1] Thu Nov 9 18:02:18 2023
4
```