bareos: master c17a30e1

Author Committer Branch Timestamp Parent
mvwieringen adm mvwieringen adm master 2013-05-04 21:13 master 0582f4b8 Pending
Affected Issues  0000061: reverse data channel initialization
Changeset Reverse data channel initialization

It would be nice if the initialization of the data channel could be
reversed, so that the SD connects to the FD. This would make the
network setup and firewalling much easier in many cases, and make
tricks like ssh tunnels no longer necessary. For Example things like
SDs being situated behind a NAT gateway would be no problem anymore.

We can also tag this as the firewall friendly solution. The default
for all clients is still active mode e.g. FD contacts SD but when
the DIR and SD are within a firewalled site and the FD is in a DMZ
or out on the Internet you can define the client as a passive client
and the DIR and SD will contact the FD so you have only socket
connections being initiated from the secure site without the need for
special resolving tricks (like a split DNS) and/or portforwarders on the
firewall that tunnel the traffic from the DMZ or Internet to your SD.

This passive mode is implemented for Backups, Restores and Verifies
of Jobs. The Director checks the version of the client to make sure
it supports the new passive protocol features.

Fixes 0000061: reverse data channel initialization
mod - src/stored/stored_conf.h Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/sd_cmds.c Diff File
mod - src/stored/protos.h Diff File
mod - src/stored/fd_cmds.c Diff File
mod - src/stored/authenticate.c Diff File
mod - src/stored/ Diff File
mod - src/include/jcr.h Diff File
mod - src/filed/verify_vol.c Diff File
add - src/filed/sd_cmds.c Diff File
mod - src/filed/protos.h Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed.c Diff File
mod - src/filed/authenticate.c Diff File
mod - src/filed/ Diff File
mod - src/dird/verify.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/dird/sd_cmds.c Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird.h Diff File
mod - src/dird/bsr.c Diff File
mod - src/dird/backup.c Diff File