MCPcopy Create free account

hub / github.com/EAimTY/socks5-server / functions

Functions109 in github.com/EAimTY/socks5-server

↓ 8 callersMethodwrite_to
(&self, w: &mut W)
socks5-proto/src/udp.rs:47
↓ 7 callersMethodserialized_len
(&self)
socks5-proto/src/udp.rs:64
↓ 4 callersMethodreply
Reply to the SOCKS5 client with the given reply and address. If encountered an error while writing the reply, the error alongside the original `TcpSt
socks5-server/src/connection/bind.rs:41
↓ 3 callersMethodwrite_to_buf
(&self, buf: &mut B)
socks5-proto/src/udp.rs:58
↓ 2 callersMethodclose
(&mut self)
socks5-server/src/connection/mod.rs:118
↓ 1 callersMethodaccept
(&self)
socks5-server/src/lib.rs:79
↓ 1 callersMethodas_handshake_method
(&self)
socks5-server/src/auth.rs:63
↓ 1 callersMethodauthenticate
Perform a SOCKS5 authentication handshake using the given [`Auth`](crate::Auth) adapter. If the handshake succeeds, an [`IncomingConnection<A, state:
socks5-server/src/connection/mod.rs:42
↓ 1 callersMethodexecute
(&self, _: &mut TcpStream)
socks5-server/src/auth.rs:67
↓ 1 callersFunctionhandle
(conn: IncomingConnection<(), NeedAuthenticate>)
socks5-server/examples/simple_socks5.rs:32
↓ 1 callersMethodserialized_len
(&self)
socks5-proto/src/request.rs:78
↓ 1 callersMethodserialized_len
(&self)
socks5-proto/src/response.rs:78
↓ 1 callersMethodserialized_len
(&self)
socks5-proto/src/handshake/request.rs:77
↓ 1 callersMethodserialized_len
(&self)
socks5-proto/src/handshake/response.rs:59
↓ 1 callersMethodserialized_len
(&self)
socks5-proto/src/handshake/password/request.rs:69
↓ 1 callersMethodserialized_len
(&self)
socks5-proto/src/handshake/password/response.rs:74
↓ 1 callersMethodwait
Waits the SOCKS5 client to send a request. This method will return a [`Command`] if the client sends a valid command. When encountering an error, th
socks5-server/src/connection/mod.rs:88
↓ 1 callersMethodwrite_to_buf
(&self, buf: &mut B)
socks5-proto/src/request.rs:71
↓ 1 callersMethodwrite_to_buf
(&self, buf: &mut B)
socks5-proto/src/response.rs:71
↓ 1 callersMethodwrite_to_buf
(&self, buf: &mut B)
socks5-proto/src/handshake/request.rs:69
↓ 1 callersMethodwrite_to_buf
(&self, buf: &mut B)
socks5-proto/src/handshake/response.rs:54
↓ 1 callersMethodwrite_to_buf
(&self, buf: &mut B)
socks5-proto/src/handshake/password/request.rs:59
↓ 1 callersMethodwrite_to_buf
(&self, buf: &mut B)
socks5-proto/src/handshake/password/response.rs:64
Methodclose
(&mut self)
socks5-server/src/connection/associate.rs:81
Methodclose
(&mut self)
socks5-server/src/connection/bind.rs:86
Methodclose
(&mut self)
socks5-server/src/connection/connect.rs:64
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
socks5-server/src/lib.rs:129
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
socks5-server/src/connection/mod.rs:158
Methodfmt
(&self, f: &mut Formatter<'_>)
socks5-proto/src/address.rs:111
Methodfrom
(cmd: Command)
socks5-proto/src/command.rs:29
Methodfrom
(reply: Reply)
socks5-proto/src/reply.rs:47
Methodfrom
(err: ProtocolError)
socks5-proto/src/error.rs:47
Methodfrom
(value: u8)
socks5-proto/src/handshake/method.rs:13
Methodfrom
(err: Error)
socks5-proto/src/handshake/password/error.rs:18
Methodget_max_pkt_size
(&self)
socks5-server/src/connection/associate.rs:219
Methodget_mut
(&mut self)
socks5-server/src/lib.rs:116
Methodget_mut
(&mut self)
socks5-server/src/connection/associate.rs:109
Methodget_mut
(&mut self)
socks5-server/src/connection/mod.rs:146
Methodget_mut
(&mut self)
socks5-server/src/connection/bind.rs:114
Methodget_mut
(&mut self)
socks5-server/src/connection/connect.rs:92
Methodget_ref
(&self)
socks5-server/src/lib.rs:108
Methodget_ref
(&self)
socks5-server/src/connection/associate.rs:101
Methodget_ref
(&self)
socks5-server/src/connection/mod.rs:138
Methodget_ref
(&self)
socks5-server/src/connection/bind.rs:106
Methodget_ref
(&self)
socks5-server/src/connection/connect.rs:84
Methodinto_inner
(self)
socks5-server/src/lib.rs:122
Methodinto_inner
(self)
socks5-server/src/connection/associate.rs:115
Methodinto_inner
(self)
socks5-server/src/connection/mod.rs:152
Methodinto_inner
(self)
socks5-server/src/connection/bind.rs:120
Methodinto_inner
(self)
socks5-server/src/connection/connect.rs:98
Methodlocal_addr
(&self)
socks5-server/src/lib.rs:100
Methodlocal_addr
(&self)
socks5-server/src/connection/associate.rs:87
Methodlocal_addr
(&self)
socks5-server/src/connection/mod.rs:124
Methodlocal_addr
(&self)
socks5-server/src/connection/bind.rs:92
Methodlocal_addr
(&self)
socks5-server/src/connection/connect.rs:70
Functionmain
()
socks5-server/examples/simple_socks5.rs:14
Methodnew
(listener: TcpListener, auth: AuthAdaptor<A>)
socks5-server/src/lib.rs:71
Methodnew
()
socks5-server/src/auth.rs:54
Methodnew
(stream: TcpStream)
socks5-server/src/connection/associate.rs:72
Methodnew
(stream: TcpStream, auth: AuthAdaptor<A>)
socks5-server/src/connection/mod.rs:108
Methodnew
(stream: TcpStream)
socks5-server/src/connection/bind.rs:77
Methodnew
(stream: TcpStream)
socks5-server/src/connection/connect.rs:55
Methodnew
(frag: u8, address: Address)
socks5-proto/src/udp.rs:22
Methodnew
(command: Command, address: Address)
socks5-proto/src/request.rs:22
Methodnew
(reply: Reply, address: Address)
socks5-proto/src/response.rs:22
Methodnew
(methods: Vec<Method>)
socks5-proto/src/handshake/request.rs:25
Methodnew
(method: Method)
socks5-proto/src/handshake/response.rs:22
Methodnew
(username: Vec<u8>, password: Vec<u8>)
socks5-proto/src/handshake/password/request.rs:23
Methodnew
(status: bool)
socks5-proto/src/handshake/password/response.rs:25
Methodpeer_addr
(&self)
socks5-server/src/connection/associate.rs:93
Methodpeer_addr
(&self)
socks5-server/src/connection/mod.rs:130
Methodpeer_addr
(&self)
socks5-server/src/connection/bind.rs:98
Methodpeer_addr
(&self)
socks5-server/src/connection/connect.rs:76
Methodpoll_accept
(&self, cx: &mut Context<'_>)
socks5-server/src/lib.rs:90
Methodpoll_flush
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
socks5-server/src/connection/bind.rs:147
Methodpoll_flush
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
socks5-server/src/connection/connect.rs:125
Methodpoll_read
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
socks5-server/src/connection/bind.rs:127
Methodpoll_read
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
socks5-server/src/connection/connect.rs:105
Methodpoll_shutdown
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
socks5-server/src/connection/bind.rs:152
Methodpoll_shutdown
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
socks5-server/src/connection/connect.rs:130
Methodpoll_write
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], )
socks5-server/src/connection/bind.rs:138
Methodpoll_write
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], )
socks5-server/src/connection/connect.rs:116
Methodread_from
(r: &mut R)
socks5-proto/src/udp.rs:26
Methodread_from
(r: &mut R)
socks5-proto/src/request.rs:26
Methodread_from
(stream: &mut R)
socks5-proto/src/address.rs:23
Methodread_from
(r: &mut R)
socks5-proto/src/response.rs:26
Methodread_from
(r: &mut R)
socks5-proto/src/handshake/request.rs:29
Methodread_from
(r: &mut R)
socks5-proto/src/handshake/response.rs:26
Methodread_from
(r: &mut R)
socks5-proto/src/handshake/password/request.rs:27
Methodread_from
(r: &mut R)
socks5-proto/src/handshake/password/response.rs:29
Methodrecv
Receives a SOCKS5 UDP packet on the socket from the remote address which it is connected. On success, it returns the packet payload and the SOCKS5 UD
socks5-server/src/connection/associate.rs:141
Methodrecv_from
Receives a SOCKS5 UDP packet on the socket from a remote address. On success, it returns the packet payload, the SOCKS5 UDP header and the source add
socks5-server/src/connection/associate.rs:165
Methodreply
Reply to the SOCKS5 client with the given reply and address. If encountered an error while writing the reply, the error alongside the original `TcpSt
socks5-server/src/connection/associate.rs:40
Methodreply
Reply to the SOCKS5 client with the given reply and address. If encountered an error while writing the reply, the error alongside the original `TcpSt
socks5-server/src/connection/connect.rs:38
Methodsend
Sends a UDP packet to the remote address which it is connected. The SOCKS5 UDP header will be added to the packet.
socks5-server/src/connection/associate.rs:189
Methodsend_to
Sends a UDP packet to a specified remote address. The SOCKS5 UDP header will be added to the packet.
socks5-server/src/connection/associate.rs:201
Methodserialized_len
(&self)
socks5-proto/src/address.rs:101
Methodset_max_pkt_size
(&self, size: usize)
socks5-server/src/connection/associate.rs:225
Methodtry_from
(code: u8)
socks5-proto/src/command.rs:18
Methodtry_from
(code: u8)
socks5-proto/src/reply.rs:30
next →1–100 of 109, ranked by callers