[Csync2] Dynamic master ip...

Marco Gaiarin gaio at sv.lnf.it
Wed Apr 1 12:06:17 CEST 2020


Mandi! Lars Ellenberg
  In chel di` si favelave...

> > There's some way to have a 'floating master host'? And this can be
> > achived NOT passing every 'slave' server to change local csync2 config
> > file?

> This is how csync2 "authenticates" a peer:
> it does a "forward lookup" (getaddrinfo) of the name the peer claims to be,
> and checks if the address as returned by getpeername() on the connected
> socket is listed in the results (and if that name is listed in the config).
> If that IP changes all the time, you probably have to use dynamic DNS.
> Or use some VPN, inside of which you then have your own, "static" IPs.
> You can try to add the "expected" (by you) info to /etc/hosts,
> if that makes sense in your context.

Effectvely i've 'registered' my VPN address, and added as a secondary
master host, so now i can update files correctly.

Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the Csync2 mailing list