pub struct NetConnectProbe;Expand description
Stub network connect-attempt probe.
TODO syscall surface — choose one of:
- seccomp-notify with the listener fd held by
cellos-initparent (kernel-version gated; needs Linux ≥ 5.0 and BPF-friendly seccomp), - BPF tracepoint on
sys_enter_connect(BPF mount + CAP_BPF needed), - polling
/proc/net/tcp{,6}forSYN_SENTrows (cheap; loses already-completed connects between polls — false negatives thecell.observability.guest.declaration_unwitnessedcheck on the host will surface anyway).
Implementations§
Trait Implementations§
Source§impl Debug for NetConnectProbe
impl Debug for NetConnectProbe
Source§impl Default for NetConnectProbe
impl Default for NetConnectProbe
Source§fn default() -> NetConnectProbe
fn default() -> NetConnectProbe
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NetConnectProbe
impl RefUnwindSafe for NetConnectProbe
impl Send for NetConnectProbe
impl Sync for NetConnectProbe
impl Unpin for NetConnectProbe
impl UnsafeUnpin for NetConnectProbe
impl UnwindSafe for NetConnectProbe
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more