[Bug 291145] UDP connected sockets cannot be disconnected
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Dec 2025 01:37:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291145 --- Comment #1 from John Studnicka <contact@zentec.dev> --- I tried this with the Rust socket2 crate for the following scenarios and neither of the sockets were able to reach a "disconnected" or unfiltered state after the initial connect to a client IP: socket2::Socket::new(Domain::IPV4, Type::DGRAM, Some(Protocol::UDP)) connect to AF_UNSPEC -> EAFNOSUPPORT connect to NULL -> EINVAL socket2::Socket::new(Domain::IPV6, Type::RAW, Some(Protocol::ICMPV6)) connect to AF_UNSPEC -> EINVAL connect to NULL -> EINVAL -- You are receiving this mail because: You are the assignee for the bug.