Changesets: bareos

master 6532614c

2017-03-23 17:46

Frank Bergkemper

Ported: N/A

Details Diff
Fix Update Check

To be able to compare architectures, we have to exchange arch keys parsed from clients uname string
to match arch keys retrieved from remote site via ajax call.

E.g. for Ubuntu/Debian, architecture x86_64, parsed from FD uname string, has to be replaced with amd64
to be able to compare versions by architecture.

Additionally, let the application determine protocol to use for update retrieval (ajax/jsonp) itself.
mod - module/Auth/src/Auth/Controller/AuthController.php Diff File
mod - module/Auth/view/auth/auth/login.phtml Diff File
mod - module/Client/src/Client/Controller/ClientController.php Diff File

master 46b3f002

2017-03-23 16:45

Stephan Duehr


Committer: Joerg Steffens

Ported: N/A

Details Diff
Added documentation for the LanAddress directive
mod - manuals/en/main/bareos-manual-main-reference.tex Diff File
mod - manuals/en/main/director-resource-client-definitions.tex Diff File
mod - manuals/en/main/director-resource-storage-definitions.tex Diff File
add - manuals/en/main/lanaddress.tex Diff File

master f813e8f1

2017-03-23 13:40

Philipp Storz

Ported: N/A

Details Diff
Automatically run the lan-addr tests
mod - DartTestfile.txt.in Diff File

master 7b1443a9

2017-03-23 13:30

pstorz

Ported: N/A

Details Diff
dirconfig: Added "LanAddress" directive to Client and Storage resources

We add the directive "LanAddress" to the Client and Storage Resources
of the director.

This parameter is needed to support a network topology where
client and storage are situated inside of a LAN, but
the Director is outside of that LAN in the internet and
accesses SD and FD via SNAT / port forwarding.

Consider the following scheme:

/-------------------\
| | LAN 10.0.0.1/24
| |
| FD_LAN SD_LAN |
| .10 .20 |
| |
\___________________/
|
NAT Firewall
FD: 8.8.8.10 -> 10.0.0.10
SD: 8.8.8.20 -> 10.0.0.20
|
/-------------------\
| |
| | WAN / Internet
| DIR |
| 8.8.8.100 |
| |
| FD_WAN SD_WAN |
| .30 .40 |
\___________________/

The director can access the FD_LAN via the IP 8.8.8.10, which is
forwarded to the IP 10.0.0.10 inside of the LAN.

The director can access the SD_LAN via the IP 8.8.8.20 which is
forwarded to the IP 10.0.0.20 inside of the LAN.

There is also a FD and a SD outside of the LAN, which have the IPs
8.8.8.30 and 8.8.8.40

All resources are configured so that the "Address" directive gets the
Address where the Director can reach the daemons.

Additionally, devices being in the LAN get the LAN address configured in
the "LanAddress" Directive:

The configuration looks as follows:

Client {
Name = FD_LAN
Address = 8.8.8.10
LanAddress = 10.0.0.10
...
}

Storage {
Name = SD_LAN
Address = 8.8.8.20
LanAddress = 10.0.0.20
...
}

Client {
Name = FD_WAN
Address = 8.8.8.30
...
}

Storage {
Name = SD_WAN
Address = 8.8.8.40
...
}

This way, backups and restores from each FD using each SD are possible
as long as the firewall allows the needed network connections.

The director simply checks if both the involved client and storage
both have a "LanAddress" configured.

In that case, the initiating daemon is ordered to connect to the "LanAddress"
instead of the "Address". (In active client mode, the FD connects to the SD, in
passive client mode the SD connects to the FD).

If only one or none of the involved client and storage have a LanAddress
configured, the "Address" is used as connection target for the
initiating daemon.
mod - src/dird/backup.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/restore.c Diff File

master 53691dee

2017-03-23 12:44

Stephan Duehr

Ported: N/A

Details Diff
Added test scripts for LAN Address feature
add - tests/lan-addr-test Diff File
add - tests/lan-addr-test-passive Diff File

master 251b7da8

2017-03-23 12:44

Stephan Duehr

Ported: N/A

Details Diff
Fix IP detection on RHEL/CentOS 7 and Fedora
mod - tests/source-addr-test Diff File

master cc5b39f7

2017-03-22 14:24

Frank Bergkemper

Ported: N/A

Details Diff
Merge branch 'bareos-16.2'
mod - composer.phar Diff File
mod - module/Storage/view/storage/storage/details.phtml Diff File
mod - packaging/obs/bareos-webui.spec Diff File
add - public/css/buttons.dataTables.css Diff File
add - public/css/buttons.dataTables.min.css Diff File
rm - public/css/datatables-ext.css Diff File
rm - public/css/datatables-ext.min.css Diff File
mod - public/css/datatables.css Diff File
mod - public/css/datatables.min.css Diff File
mod - public/css/jstree.css Diff File
mod - public/css/jstree.min.css Diff File
add - public/js/dataTables.buttons.min.js Diff File
rm - public/js/datatables-ext.min.js Diff File
mod - public/js/datatables.js Diff File
mod - public/js/datatables.min.js Diff File
mod - public/js/jstree.js Diff File
mod - public/js/jstree.min.js Diff File
mod - public/js/jstreegrid.js Diff File
mod - vendor/composer/installed.json Diff File
mod - vendor/zendframework/zend-version/src/Version.php Diff File

master 8c4ecbc2

2017-03-21 13:12

Frank Bergkemper

Ported: N/A

Details Diff
Fix OBS Specfile

Sets suse version according to SLE 11 for the a2enmod conditions,
so a2enmod is executed automatically during post install
on SLE 11 as well.
mod - packaging/obs/bareos-webui.spec Diff File

master a93e7628

2017-03-20 16:50

Frank Bergkemper

Ported: N/A

Details Diff
Update jsTree jQuery tree plugin

Updates jsTree from version 3.3.1 to 3.3.3 and also updates
jstreegrid plugin from version 3.4.2 to 3.8.0.
mod - public/css/jstree.css Diff File
mod - public/css/jstree.min.css Diff File
mod - public/js/jstree.js Diff File
mod - public/js/jstree.min.js Diff File
mod - public/js/jstreegrid.js Diff File

master 2c864d9b

2017-03-20 16:31

pstorz

Ported: N/A

Details Diff
Tests: test_fstype: / is not always mounted in obs workers

It seems that only /proc is always mounted and testable in the
obs workers. So we removed the test for "/" so that the
builds don't fail anymore
mod - src/findlib/unittests/fstype_test.c Diff File

bareos-15.2 9e5d0f68

2017-03-20 16:31

pstorz

Ported: N/A

Details Diff
Tests: test_fstype: / is not always mounted in obs workers

It seems that only /proc is always mounted and testable in the
obs workers. So we removed the test for "/" so that the
builds don't fail anymore
mod - src/findlib/unittests/fstype_test.c Diff File

master b18d8845

2017-03-20 16:19

Frank Bergkemper

Ported: N/A

Details Diff
Update composer

Updates composer.phar from version 1.2.1 to 1.4.1.
mod - composer.phar Diff File

master 1dd2bd9b

2017-03-20 15:50

Frank Bergkemper

Ported: N/A

Details Diff
Update Zend Framework 2 components

Updates Zend Framework 2 components from version 2.4.10 to 2.4.11.
mod - vendor/composer/installed.json Diff File
mod - vendor/zendframework/zend-version/src/Version.php Diff File

master 680d296e

2017-03-20 15:17

Frank Bergkemper

Ported: N/A

Details Diff
Update DataTables jQuery plug-in and extensions

This updates DataTables plug-in for the jQuery Javascript library
from version 1.10.12 to version 1.10.13.

It removes the DataTables select extension as it is was only used
during development and updates the buttons extension from version
1.2.1 to version 1.2.4.
mod - module/Storage/view/storage/storage/details.phtml Diff File
add - public/css/buttons.dataTables.css Diff File
add - public/css/buttons.dataTables.min.css Diff File
rm - public/css/datatables-ext.css Diff File
rm - public/css/datatables-ext.min.css Diff File
mod - public/css/datatables.css Diff File
mod - public/css/datatables.min.css Diff File
add - public/js/dataTables.buttons.min.js Diff File
rm - public/js/datatables-ext.min.js Diff File
mod - public/js/datatables.js Diff File
mod - public/js/datatables.min.js Diff File

master ef9eb60f

2017-03-20 13:03

joergs

Ported: N/A

Details Diff
bareos-sd: close network connection if job isn't started

If the Director tries to start a new job on the SD, the SD checks,
if the MaximumConcurrentJobs criteria meet. If not, no new job is
started.
This fix will close the network connection.

Fixes 0000763: some Backups fail after 605 seconds in a schedule of 170 server
Affected Issues
0000763
mod - src/stored/dir_cmd.c Diff File

bareos-15.2 adfecb42

2017-03-20 13:03

joergs

Ported: N/A

Details Diff
bareos-sd: close network connection if job isn't started

If the Director tries to start a new job on the SD, the SD checks,
if the MaximumConcurrentJobs criteria meet. If not, no new job is
started.
This fix will close the network connection.

Fixes 0000763: some Backups fail after 605 seconds in a schedule of 170 server
Affected Issues
0000763
mod - src/stored/dir_cmd.c Diff File

master 875441f6

2017-03-17 18:19

Frank Bergkemper

Ported: N/A

Details Diff
Fix to bugreport 0000692

Fixes 0000692: Postin rpm script contain a2enmod calls, there's no a2enmod on RHEL system
mod - packaging/obs/bareos-webui.spec Diff File

master 3a252c0b

2017-03-16 17:29

Frank Bergkemper

Ported: N/A

Details Diff
Merge branch 'bareos-16.2'
mod - module/Auth/src/Auth/Controller/AuthController.php Diff File

master 455f6b5c

2017-03-16 17:10

Frank Bergkemper

Ported: N/A

Details Diff
Fix to bugreport 0000781

Check if request URI matches against registered Router
to prevent injected arbitrary uri redirects.

Fixes 0000781: Login will redirect to arbitrary urls from req parameter
mod - module/Auth/src/Auth/Controller/AuthController.php Diff File

master bca5a66a

2017-03-16 09:51

stephand


Committer: joergs

Ported: N/A

Details Diff
Fix director crash on incorrect .bvfs_* commands

Incorrect BVFS commands using parameters without equals character
were causing a segementation fault in Bareos director. For example
.bvfs_lsfiles jobid pathid=1234 caused a crash. This has been fixed.
mod - src/dird/ua_dotcmds.c Diff File

bareos-15.2 860863b5

2017-03-16 09:51

stephand


Committer: joergs

Ported: N/A

Details Diff
Fix director crash on incorrect .bvfs_* commands

Incorrect BVFS commands using parameters without equals character
were causing a segementation fault in Bareos director. For example
.bvfs_lsfiles jobid pathid=1234 caused a crash. This has been fixed.
mod - src/dird/ua_dotcmds.c Diff File

master ed63c7e0

2017-03-16 09:51

stephand

Ported: N/A

Details Diff
Fix director crash on incorrect .bvfs_* commands

Incorrect BVFS commands using parameters without equals character
were causing a segementation fault in Bareos director. For example
.bvfs_lsfiles jobid pathid=1234 caused a crash. This has been fixed.
mod - src/dird/ua_dotcmds.c Diff File

master 33727ccd

2017-03-15 18:04

Frank Bergkemper

Ported: N/A

Details Diff
Merge branch 'bareos-16.2'
mod - module/Job/src/Job/Controller/JobController.php Diff File

bareos-16.2 7c38c83c

2017-03-14 18:36

joergs


Committer: pstorz

Ported: N/A

Details Diff
Windows installer: workaround to keep config files

The Bareos Windows installer versions 16.2.4 and 16.2.5 remove legacy
configuration files (eg. bareos-fd.conf), even if "keep old
configuration" is selected. This bug has been fixed, however, when
upgrading from one of this versions, the uninstaller of this versions
still removes the legacy configuration files.
With this commit, the upgrade process backups of the existing configuration files before
calling the uninstaller. After the uninstaller, the configuration files
are copied back to their original location.
mod - platforms/win32/winbareos.nsi Diff File

master 0135c25d

2017-03-13 14:25

joergs

Ported: N/A

Details Diff
bareos-dir reload fix: close configuration files

Close all configuration files, if reloading failed.
mod - src/dird/dird.c Diff File
mod - src/lib/parse_conf.c Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 499 500 501 502 503 504 505 ... 560 ... 630 ... 675 676 677  Next  Last