Date: Thu, 25 Mar 2004 22:53:28 -0800 (PST) From: David Muir Sharnoff <muir@idiom.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/64738: SO_REUSEADDR doesn't seem to work with AF_UNIX Message-ID: <200403260653.i2Q6rSR6001022@idiom.com> Resent-Message-ID: <200403260700.i2Q70V0T063241@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64738 >Category: kern >Synopsis: SO_REUSEADDR doesn't seem to work with AF_UNIX >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 25 23:00:31 PST 2004 >Closed-Date: >Last-Modified: >Originator: David Muir Sharnoff >Release: FreeBSD 4.9-RELEASE i386 >Organization: Idiom >Environment: System: FreeBSD idiom.com 4.9-RELEASE FreeBSD 4.9-RELEASE #23: Wed Nov 19 23:17:38 PST 2003 muir@staid.idiom.com:/build/obj/build/src/sys/IDIOM i386 >Description: I was working with milter (using perl Sendmail::Milter) and ran into trouble: my milter would not start up because it could not bind: Address In Use. This was highly repeatable. I look at the source (/usr/src/contrib/sendmail/libmilter/listener.c) and it clearly sets SO_REUSEADDR regardless of socket type. Eventually I gave up and switched to a AF_INET socket. That fixed the problem immediately. I would have preferred to keep with an AF_UNIX socket because it's easier to secure. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403260653.i2Q6rSR6001022>