From: Jan Engelhardt Date: Tue, 09 Oct 2012 14:48:03 GMT Subject: Re: Discussion around a --bindtodev option for git-daemon Message-ID: In-Reply-To: <50632F15.1030908@scourge.biz> On Wednesday 2012-09-26 18:36, Ronan Bignaux wrote: >I wrote this little patch to add a restrict option to bind only to a >specific network interface. > >I'd not deal with --inetd since there are some bugs in xinetd with ipv6 >( and no more maintener ) , systemd/upstart are also Linux centric and >subject to controversy... > >"listen" option was not more useful in my case because it need ip as >parameter (you need fix ip or custom script for example). There is a reason --listen wants an address: because bind(2) binds to addresses, and in principle, that is really what is wanted, since you want to continue being able to connect to your service from-to localhost.