Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2025 01:37:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 291145] UDP connected sockets cannot be disconnected
Message-ID:  <bug-291145-7501-M7u9paJYVZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291145-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-291145-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291145-7501-M7u9paJYVZ>