MCPcopy Create free account

hub / github.com/conradludgate/rustyguard / functions

Functions305 in github.com/conradludgate/rustyguard

↓ 1 callersMethoddecrypt_packet
( &self, socket: SocketAddr, msg: &'m mut [u8], )
rustyguard-core/src/lib.rs:633
↓ 1 callersMethodenabled
(&mut self, value: bool)
rustyguard-tun/src/tun/platform/macos/device.rs:200
↓ 1 callersMethodflush
(&mut self)
rustyguard-tun/src/tun/platform/posix/fd.rs:69
↓ 1 callersFunctionget_der_key
(key: &Key)
rustyguard-crypto/src/prim.rs:41
↓ 1 callersMethodget_peer_idx
(&self, pk: &PublicKey)
rustyguard-core/src/lib.rs:160
↓ 1 callersMethodhandle_cookie
(&self, msg: &mut [u8])
rustyguard-core/src/handshake.rs:233
↓ 1 callersMethodhandle_handshake_init
( &self, addr: SocketAddr, msg: &'m mut [u8], )
rustyguard-core/src/handshake.rs:36
↓ 1 callersMethodhandle_handshake_resp
( &self, addr: SocketAddr, msg: &'m mut [u8], )
rustyguard-core/src/handshake.rs:140
↓ 1 callersMethodhandle_packet
(&self, addr: SocketAddr, data: &mut [u8], internal: bool)
wg-proxy/src/main.rs:123
↓ 1 callersFunctionmain
(argv: list[str] | None = None)
tests/e2e/rustyguard_e2e/cli.py:46
↓ 1 callersFunctionroundtrip_impl
( mut buf: Box<AlignedPacket>, server_addr: SocketAddr, client_addr: SocketAddr, (mut sessions
rustyguard-core/benches/roundtrip.rs:60
↓ 1 callersMethodset_address
(&mut self, value: Ipv4Addr)
rustyguard-tun/src/tun/platform/macos/device.rs:218
↓ 1 callersMethodset_alias
Set the IPv4 alias of the device.
rustyguard-tun/src/tun/platform/macos/device.rs:128
↓ 1 callersMethodset_broadcast
(&mut self, value: Ipv4Addr)
rustyguard-tun/src/tun/platform/macos/device.rs:240
↓ 1 callersMethodset_destination
(&mut self, value: Ipv4Addr)
rustyguard-tun/src/tun/platform/macos/device.rs:229
↓ 1 callersMethodset_mtu
(&mut self, value: i32)
rustyguard-tun/src/tun/platform/macos/device.rs:262
↓ 1 callersMethodset_netmask
(&mut self, value: Ipv4Addr)
rustyguard-tun/src/tun/platform/macos/device.rs:251
↓ 1 callersMethodset_nonblock
Enable non-blocking mode
rustyguard-tun/src/tun/platform/posix/fd.rs:20
↓ 1 callersMethodshould_keepalive
(&self, now: Tai64N, _ts: &SessionTransport)
rustyguard-core/src/lib.rs:201
↓ 1 callersMethodshould_reinit
(&self, now: Tai64N, _hs: &SessionHandshake)
rustyguard-core/src/lib.rs:194
↓ 1 callersMethodshould_rekey
(&self, now: Tai64N, ts: &SessionTransport)
rustyguard-core/src/lib.rs:198
↓ 1 callersMethodstatic_key
(&self)
rustyguard-crypto/src/lib.rs:278
↓ 1 callersMethodsupported_guest_os
(self)
tests/e2e/rustyguard_e2e/providers/lima.py:47
↓ 1 callersMethodtarget_triple
Rust target triple for binaries that will run inside a `os` guest.
tests/e2e/rustyguard_e2e/provider.py:49
↓ 1 callersFunctiontick_timers
(sessions: &Sessions)
rustyguard-core/src/time.rs:42
↓ 1 callersMethodup
Set the interface to be enabled once created.
rustyguard-tun/src/tun/configuration.rs:39
↓ 1 callersMethodvm_os
Guest OS of a previously-created VM.
tests/e2e/rustyguard_e2e/provider.py:57
↓ 1 callersMethodvm_os
(self, vm: str)
tests/e2e/rustyguard_e2e/providers/lima.py:61
↓ 1 callersMethodwrite
(&mut self, buf: &[u8])
rustyguard-tun/src/tun/platform/macos/device.rs:164
↓ 1 callersMethodwrite
(&mut self, buf: &[u8])
rustyguard-tun/src/tun/platform/linux/device.rs:158
↓ 1 callersMethodwrite_vectored
(&mut self, bufs: &[io::IoSlice<'_>])
rustyguard-tun/src/tun/platform/posix/fd.rs:73
↓ 1 callersMethodwrite_vectored
(&mut self, bufs: &[io::IoSlice<'_>])
rustyguard-tun/src/tun/platform/linux/device.rs:166
Method__init__
(self)
tests/e2e/rustyguard_e2e/providers/lima.py:38
Function_cmd_clean
(args: argparse.Namespace)
tests/e2e/rustyguard_e2e/cli.py:21
Function_cmd_doctor
(args: argparse.Namespace)
tests/e2e/rustyguard_e2e/cli.py:33
Methodaddress
(self, vm: str)
tests/e2e/rustyguard_e2e/providers/multipass.py:92
Methodaddress
(self, vm: str)
tests/e2e/rustyguard_e2e/providers/orb.py:98
Methodaddress
(self, vm: str)
tests/e2e/rustyguard_e2e/providers/lima.py:183
Methodarbitrary
( u: &mut libfuzzer_sys::arbitrary::Unstructured<'a>, )
fuzz/fuzz_targets/recv_message.rs:27
Methodas_mut
(&mut self)
rustyguard-core/examples/server.rs:253
Methodas_raw_fd
(&self)
rustyguard-tun/src/tun/platform/posix/fd.rs:89
Functionavailable_backends
()
tests/e2e/rustyguard_e2e/registry.py:31
Methodblake2s_hash
(left: &[u8], right: &[u8])
rustyguard-crypto/src/prim.rs:116
Methodblake2s_mac
(key: &[u8], msg: &[u8])
rustyguard-crypto/src/prim.rs:123
Functionbuild
Build rustyguard-tun for `target_triple` and return the binary path.
tests/e2e/rustyguard_e2e/build.py:36
Methodchacha20poly1305_dec
( key: &Key, nonce: &[u8; 12], aad: &[u8], payload: &mut [u8], tag: &[
rustyguard-crypto/src/prim.rs:190
Methodchacha20poly1305_enc
( key: &Key, nonce: &[u8; 12], aad: &[u8], payload: &mut [u8], tag: &m
rustyguard-crypto/src/prim.rs:179
Functioncheck
(r: &mut AntiReplay, n: u64)
rustyguard-utils/src/anti_replay.rs:70
Functioncheck_accept_and_mark
()
rustyguard-utils/src/anti_replay.rs:79
Methodclear
(&mut self)
rustyguard-core/examples/server.rs:218
Functionconstruction_identifier
()
rustyguard-crypto/src/prim.rs:449
Methodcopy_in
(self, vm: str, src: pathlib.Path, dst: str)
tests/e2e/rustyguard_e2e/providers/multipass.py:86
Methodcopy_in
(self, vm: str, src: pathlib.Path, dst: str)
tests/e2e/rustyguard_e2e/providers/orb.py:83
Methodcopy_in
(self, vm: str, src: pathlib.Path, dst: str)
tests/e2e/rustyguard_e2e/providers/lima.py:177
Functioncreate
Create a TUN device with the given name.
rustyguard-tun/src/tun/platform/linux/mod.rs:12
Methodcreate
(self, vm: str, *, os: GuestOS = "linux")
tests/e2e/rustyguard_e2e/providers/multipass.py:56
Methodcreate
(self, vm: str, *, os: GuestOS = "linux")
tests/e2e/rustyguard_e2e/providers/orb.py:56
Methodcreate
(self, vm: str, *, os: GuestOS = "linux")
tests/e2e/rustyguard_e2e/providers/lima.py:90
Methoddefault
()
rustyguard-crypto/src/prim.rs:234
Methoddefault
()
wg-proxy/src/main.rs:309
Methoddelete
(self, vm: str)
tests/e2e/rustyguard_e2e/providers/multipass.py:101
Methoddelete
(self, vm: str)
tests/e2e/rustyguard_e2e/providers/orb.py:101
Methoddelete
(self, vm: str)
tests/e2e/rustyguard_e2e/providers/lima.py:227
Methodderef
(&self)
rustyguard-core/examples/server.rs:262
Methodderef_mut
(&mut self)
rustyguard-core/examples/server.rs:269
Methoddrop
(&mut self)
rustyguard-tun/src/tun/platform/posix/fd.rs:103
Methodenabled
(&mut self, value: bool)
rustyguard-tun/src/tun/platform/linux/device.rs:184
Methodencrypt_and_frame
Encrypts the payload and attaches the wireguard framing in-place. The payload is defined to be `buffer[16..buffer.len()-16]`, as first and last 16 by
rustyguard-core/src/lib.rs:332
Functionencrypt_cookie
()
rustyguard-crypto/benches/cookie.rs:10
Methodeq
(&self, other: &Self)
rustyguard-core/src/time.rs:17
Functioneval_cost
returns memory usage in bytes, and the time complexity per insert.
rustyguard-utils/src/rate_limiter.rs:179
Functioneval_precision
(n: usize, p: f64, q: f64)
rustyguard-utils/src/rate_limiter.rs:105
Methodexec
( self, vm: str, cmd: list[str], *, root: bool = False, check:
tests/e2e/rustyguard_e2e/providers/multipass.py:66
Methodexec
( self, vm: str, cmd: list[str], *, root: bool = False, check:
tests/e2e/rustyguard_e2e/providers/orb.py:63
Methodflush
(&mut self)
rustyguard-tun/src/tun/platform/macos/device.rs:168
Methodflush
(&mut self)
rustyguard-tun/src/tun/platform/linux/device.rs:162
Methodfmt
(&self, f: &mut core::fmt::Formatter<'_>)
rustyguard-core/src/lib.rs:76
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
fuzz/fuzz_targets/recv_message.rs:21
Functionforged_packet_does_not_update_peer_endpoint
()
rustyguard-core/src/lib.rs:788
Methodfrom
(value: CryptoError)
rustyguard-core/src/lib.rs:426
Methodfrom
(ip: Ipv4Addr)
rustyguard-tun/src/tun/platform/posix/sockaddr.rs:34
Functiongen_sk
(r: &mut StdRng)
fuzz/fuzz_targets/recv_message.rs:62
Methodget_header_for
macOS TUN requires prepending the returned header before sending the given packet. Panic if ip_pkt is not an IP packet.
rustyguard-tun/src/tun/platform/macos/device.rs:188
Methodget_header_for
(ip_pkt: &[u8])
rustyguard-tun/src/tun/platform/linux/device.rs:176
Functionhandle_extern
( sessions: &mut Sessions, peer_net: &Ipv4LCTrieMap<PeerId>, addr: SocketAddr, ep_buf: &'a mut
rustyguard-tun/src/lib.rs:159
Functionhandle_intern
( sessions: &mut Sessions, peer_net: &Ipv4LCTrieMap<PeerId>, reply_buf: &'a mut [u8], filled:
rustyguard-tun/src/lib.rs:214
Functionhandshake
(b: Bencher)
rustyguard-crypto/benches/handshake.rs:21
Functionhandshake
()
rustyguard-crypto/src/lib.rs:495
Functionhandshake_happy
()
rustyguard-core/src/lib.rs:723
Functionhash_snapshot
()
rustyguard-crypto/src/prim.rs:477
Methodhkdf_blake2s
Performs the operation ```ignore let tmp_output = HKDF_BLAKE2S(key, msg, N+1); key = tmp_output[0]; output.copy_from_slice(&tmp_output[1..]); ```
rustyguard-crypto/src/prim.rs:145
Functionhkdf_snapshot
()
rustyguard-crypto/src/prim.rs:463
Methodhmac_blake2s
(key: &Key, msg: &[u8])
rustyguard-crypto/src/prim.rs:133
Methodindex
(&self, index: PeerId)
rustyguard-core/src/lib.rs:107
Methodindex_mut
(&mut self, index: PeerId)
rustyguard-core/src/lib.rs:112
Methodinto_inner
(self)
rustyguard-core/examples/server.rs:181
Methodinto_raw_fd
(mut self)
rustyguard-tun/src/tun/platform/posix/fd.rs:95
Methodinto_raw_fd
(self)
rustyguard-tun/src/tun/platform/macos/device.rs:281
Methodinto_raw_fd
(mut self)
rustyguard-tun/src/tun/platform/linux/device.rs:265
Methodis_available
(cls)
tests/e2e/rustyguard_e2e/providers/multipass.py:31
← previousnext →101–200 of 305, ranked by callers