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

14
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug",
"preLaunchTask": "rust: cargo build",
"program": "target/debug/telnet_server",
"args": [],
"cwd": "${workspaceFolder}"
}
]
}

30
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,30 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "telnet_server: Start TELNET Docker",
"type": "shell",
"command": "./telnet/run_telnet.sh",
"args": [
"${input:host}",
"${input:port}"
],
"detail": "Starts a Docker container (in interactive mode) that runs TELNET and connects to given host and port",
"problemMatcher": []
}
],
"inputs": [
{
"id": "host",
"type": "promptString",
"default": "host.docker.internal",
"description": "Which host should the TELNET client connect to?"
},
{
"id": "port",
"type": "promptString",
"default": "9000",
"description": "Which port should the TELNET client connect to?"
},
]
}