From nobody Sun Jan 19 07:27:10 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YbQ5q16Csz5kplH for ; Sun, 19 Jan 2025 07:27:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YbQ5q0Wpwz42GT for ; Sun, 19 Jan 2025 07:27:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737271631; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=padpOgetztZQ4bk5FJf3J4VvjjbvEVwAWyVI9dBGUgk=; b=peyTCZSof7BxcY6lLE1H2MumAnA/qLSz59u4b73WVjreIPVoI0InxwvNouvaJa/J7DJhUk xb2EawTxqFwOjXDxSOl7VZs9pGXtxv7LSsGVlZq51XSi5lJ0qaBs/dYfFNcth3Ao35Fg4U mgNRvWm9SNjvTQpWLTvX7xvGSIWEShdLhUM228xkpMtoYrKr9Cl2dS3sl/NsN5+p5r5V18 c4OZf/1CN9HlktveTTUP//a+ZDcO+eyhYz4VlGdrgotZjycOsVgyK67gbI0gP3Gh3yN6Kj lx2vY4ERILFQpuIYcL018gTMkpRVqWD0s20E65JXZyz/ESjy/T9p57zneaSJnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737271631; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=padpOgetztZQ4bk5FJf3J4VvjjbvEVwAWyVI9dBGUgk=; b=w1Hq8RtKTjqfBxg/cmbmzZbdlbPijfB6TlSbFm0xySuH1ZKDRQbB250gtrYf5GFW+p6EN7 GULLeoCyoRhfow7eVz66oc70BlAwDybqfapys6WNFm6vC/RH6fUeJ3NRTSebeYQtWZlSsV cKW0D346rBbhGM/nAmSvsRHHPyyjJ9QPnJNS9+1IY1vpvydyORpOApoANoM5fUsS1syabP gGox4J0a8vXcF79rmkiPYFt5EtlpAcNfXMcTnuOhhcyuvZM8JkOeA3JHpdPJW5s9NGfNFL 7kSCmlhIgZkCucJpxPFEKLnuxPfWnzbFBix8gnvdKuDHYUI1tAzQIxMWStHe/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737271631; a=rsa-sha256; cv=none; b=BIjoVqhTcg1wUEivp/aRzPqzn8mOS3dwxbPdyZwYRdT6+AjOTR6M2bd+LZOQq0/FIHp/rm uiHwX+DQBRGNps6KsjlSK7vNxnedngkvVZsyFHm5Z40UfGIT5q6Essm61FgTSe1Ntv5AAT CHFK3GWmE/Ji7xap75oHgjH4Mzem71qVFYO6hgHpsxEa2niUPWp96UcD/IKjnL7rkYcSpi mn6f++CmvgSC39dnkSabwHM9OgIYnBr8EvWqIYjykGBzYxJIM3fh+N68m3P8co8NyoRswB lT6vMrmLTM88w5DFEqF+BvSp1CcgcWsYOIalu20a9rqufcjmMPG79lG1/tNcmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YbQ5p72QNzgh4 for ; Sun, 19 Jan 2025 07:27:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50J7RANV029709 for ; Sun, 19 Jan 2025 07:27:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50J7RAV3029708 for bugs@FreeBSD.org; Sun, 19 Jan 2025 07:27:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 227888] random port selection for daemons causes other daemons to fail Date: Sun, 19 Jan 2025 07:27:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227888 --- Comment #4 from Martin Birgmeier --- Example of ypbind using the imap port, thereby blocking dovecot from starti= ng: [0]# lsof | grep imap ypbind 1457 root 5u IPv4 0xfffff8006d392000 0=20= =20=20=20 TCP *:imaps->*:* (LISTEN) [130]# service ypbind restart Stopping ypbind. Starting ypbind. [0]# service dovecot start Starting dovecot. [0]#=20 The standard services should use their standard ports from /etc/services, m= aybe trying a random port only if that should fail (which it should not, anyway). The randomization for security reasons is outdated, scanning 1022 (or all) ports of a host can be done in a few milliseconds nowadays. And the chances= of choosing some port which is not needed by any other program in a space of o= nly 1022 quickly go to zero the more often (for the various programs) this is needed. -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=