1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/tcp
Ronnie sahlberg a25554be50 When we create a tcp connection to a remote ctdb node do an explicit bind() to set our source side to the same ip address as we use to listen to ctdb traffic.
We need this since there is no guarantee that INADDR_ANY (which would be defaulted to if we dont bind) would be routable from the remote host.
This is entirely possible to happen since CTDB traffic is likely to be isolated to a private non-routable network.

(This used to be ctdb commit e0743d2f84ca0088734c912e210deb93a6b78860)
2007-04-06 09:08:41 +10:00
..
ctdb_tcp.h enforce the tcp memory alignment in packet queue 2006-12-19 12:07:07 +11:00
tcp_connect.c When we create a tcp connection to a remote ctdb node do an explicit bind() to set our source side to the same ip address as we use to listen to ctdb traffic. 2007-04-06 09:08:41 +10:00
tcp_init.c merge fixes from samba4 2007-01-23 11:38:45 +11:00
tcp_io.c merged from samba4 ctdb 2007-02-07 13:26:07 +11:00