Re: Discussion around a --bindtodev option for git-daemon
- From
Jan Engelhardt <jengelh@inai.de>
- Date
- Oct 9, 2012, 14:48 UTC
- Message-ID
- <alpine.LNX.2.01.1210091646430.7433@nerf07.vanv.qr>
- In-Reply-To
- <50632F15.1030908@scourge.biz>
On Wednesday 2012-09-26 18:36, Ronan Bignaux wrote:
Show 9 quoted lines
>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.