Skip to contentSkip to conversation

git-daemon in IPv4 and IPv6 mode

DISCUSSION Sebastian Pipping 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

hello!

it seems like the git daemon cannot bind to both IPv4 and IPv6 at the same time, yet. if that's true either ipv4 or ipv6 people are standing in the rain unless i run two instances of the daemon in parallel.

is supporting both in a single instance planned or possible already? if
so: how?

thanks in advance,

sebastian

#1 lore raw
Quoted 2 lines · Sebastian Pipping

it seems like the git daemon cannot bind to both IPv4 and IPv6 at the same time, yet.

It doesn't seem that way here. I just tried to run a git-daemon and it listened by default on 0.0.0.0:9418 (v4) and :::9418 (v6). I could connect using either v4 or v6. Is yours behaving differently?

Have a look at the output from "strace -ebind,socket,listen ./git-daemon".

Vineet