-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtls_server.log
More file actions
48 lines (42 loc) · 1.67 KB
/
tls_server.log
File metadata and controls
48 lines (42 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
warning: unused import: `tokio::io::AsyncReadExt`
--> src/server.rs:176:9
|
176 | use tokio::io::AsyncReadExt;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `std::path::Path`
--> src/tls.rs:3:5
|
3 | use std::path::Path;
| ^^^^^^^^^^^^^^^
warning: unused import: `debug`
--> src/tls.rs:6:11
|
6 | use log::{debug, error, info};
| ^^^^^
warning: unused imports: `AsyncReadExt` and `AsyncWriteExt`
--> src/tls.rs:9:17
|
9 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
| ^^^^^^^^^^^^ ^^^^^^^^^^^^^
warning: unused import: `std::net::ToSocketAddrs`
--> src/tls_client.rs:99:13
|
99 | use std::net::ToSocketAddrs;
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: `socks5-rs` (lib) generated 5 warnings (run `cargo fix --lib -p socks5-rs` to apply 4 suggestions)
warning: unused import: `std::error::Error`
--> examples/tls_server.rs:5:5
|
5 | use std::error::Error;
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: `socks5-rs` (example "tls_server") generated 1 warning (run `cargo fix --example "tls_server"` to apply 1 suggestion)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s
Running `target/debug/examples/tls_server`
[2025-06-21T14:10:57Z INFO tls_server] Starting SOCKS5 TLS server on 127.0.0.1:1081
[2025-06-21T14:10:57Z INFO socks5_rs::tls] SOCKS5 TLS server listening on 127.0.0.1:1081
[2025-06-21T14:11:11Z INFO socks5_rs::tls] Accepted connection from: 127.0.0.1:41158
[2025-06-21T14:11:11Z ERROR socks5_rs::tls] TLS handshake failed: received fatal alert: CertificateUnknown