Initial commit
Some checks failed
Cargo test & clippy / build (push) Has been cancelled
Cargo test & clippy / rust-clippy-analyze (push) Has been cancelled
Cargo security audit / audit (push) Failing after 4s

This commit is contained in:
2024-03-02 16:04:35 +01:00
commit 16dd18b400
21 changed files with 3179 additions and 0 deletions

32
README.md Normal file
View File

@@ -0,0 +1,32 @@
# telnet_server
_...because nothing beats the charm of the seventies!_
## Goals
This lib should provide everything to build a service (based on TELNET) without
having to touch any TELNET or tcp specifics. Message communication should only
happen between this lib and the code providing the service.
See [src/bin/main.rs](src/bin/main.rs#l23) on how I think this should work.
## Status
Non functional and heavily WIP. **DO NOT USE!**
## Running TELNET
As TELNET is not anymore part of modern operating systems (thank god), I've
created a minimal Dockerfile that let's me use TELNET on CLI. TELNET starts via
this command:
```sh
./telnet/run_telnet.sh HOST PORT
```
For development, _HOST_ is "host.docker.internal" and _PORT_ is 9000.
## For f*cks sake, why TELNET???
Because it looked interesting. Honestly, even if I get it finished, the library
likely won't be used _at all_.
## License
The code is licensed under the [MIT License](LICENSE). The RFCs in the
[resources](resources) folder have a different copyright but are allowed (and
encouraged) to be copied and redistributed if unchanged.