[Csync2] ipv6 problems

Aristedes Maniatis ari at ish.com.au
Mon Apr 18 11:16:31 CEST 2016


I have a server where I upgraded csync2 to version 2.0 by mistake. Unfortunately I cannot find any changelogs or documentation for the new version. I started reading commit messages, but its pretty slow going.

Unfortunately csync now binds only to the ipv6 address and ignores all the ipv4 addresses. Running csync like this:

    csync2 -ii -v

gives me only

    # netstat -na | grep 30865
    tcp6       0      0 *.30865                *.*                    LISTEN


Although I don't have ipv6 specifically configured, it is enabled in the kernel and present on localhost. It appears that ipv6 prevents csync listening on ipv4 at all.


# ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
	ether 00:30:48:7d:26:50
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
	ether 00:30:48:7d:26:50
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
	inet 127.0.0.1 netmask 0xff000000
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
	ether 00:30:48:7d:26:50
	inet 10.100.2.1 netmask 0xffff0000 broadcast 10.100.255.255
	inet 10.100.53.1 netmask 0xffffffff broadcast 10.100.53.1
	inet 10.100.80.1 netmask 0xffffffff broadcast 10.100.80.1
	inet 10.100.48.1 netmask 0xffffffff broadcast 10.100.48.1
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet autoselect
	status: active
	laggproto failover lagghash l2,l3,l4
	laggport: em0 flags=5<MASTER,ACTIVE>
	laggport: em1 flags=0<>



Is there a way to force csync to bind to a specific IP address? Or compile out ipv6 support completely?


This is FreeBSD 10.2.

Thanks
Ari



-- 
-------------------------->
Aristedes Maniatis
CEO, ish
https://www.ish.com.au
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20160418/0b45e536/attachment.pgp>


More information about the Csync2 mailing list