Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzOFT-0001Dd-8W for pgsql-bugs@arkaria.postgresql.org; Mon, 10 Sep 2018 15:37:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fzOFR-0001kD-6S for pgsql-bugs@arkaria.postgresql.org; Mon, 10 Sep 2018 15:37:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzN9q-0007l1-KZ for pgsql-bugs@lists.postgresql.org; Mon, 10 Sep 2018 14:27:18 +0000 Received: from 185-244-97-28-rev.logitus.pl ([185.244.97.28] helo=mother.pipebreaker.pl) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzN9n-0000ks-3h for pgsql-bugs@postgresql.org; Mon, 10 Sep 2018 14:27:18 +0000 Received: by mother.pipebreaker.pl (Postfix, from userid 1001) id 23EAC2FE1798; Mon, 10 Sep 2018 16:27:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mother.pipebreaker.pl 23EAC2FE1798 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pipebreaker.pl; s=default; t=1536589632; bh=+r7uEY0V+dwPwYbl2bvegr4oLU0MBBCLMoaNfDDj54A=; h=Date:From:To:Subject:References:In-Reply-To:From; b=vu8mar2X6qU9spyYr6Jwmq5QpkLNSRDfa3yaAP9MLNK5dtGFi3gpw/xOsnjg3wf+P j91f7bnsuVVx/EwWS/F+JizwTLCffWF/tUtFElBRfV/9DfGRWyhtxrNpHA+QZE7LR2 ccpe07KHwl+MAmHzsAf92pfuXbBnuJ+deKsbWc8U= Date: Mon, 10 Sep 2018 16:27:11 +0200 From: Tomasz Torcz To: Christoph Berg , Tom Lane , Sebastian Elisa Pfeifer , pgsql-bugs@postgresql.org Subject: Re: [BUGS] BUG #13793: Please implement IP_FREEBIND option Message-ID: <20180910142711.GA49510@mother.pipebreaker.pl> References: <20180910133309.GE20917@msg.df7cb.de> <9118.1536587267@sss.pgh.pa.us> <20180910140301.GF20917@msg.df7cb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180910140301.GF20917@msg.df7cb.de> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Sep 10, 2018 at 04:03:01PM +0200, Christoph Berg wrote: > > I'd opt to apply IP_FREEBIND (and hopefully the equivalent on other > kernels), and log a WARNING. Binding to a IP that is not assigned is > also an important use-case in HA setups that have a virtual (floating) > IP. Hey, BSDs have IP_BINDANY option, which seem to provide the same behaviour. -- Tomasz Torcz "God, root, what's the difference?" xmpp: zdzichubg@chrome.pl "God is more forgiving."