Changesets: bareos

dev 3c2592fa

2018-09-02 20:19

franku

Ported: N/A

Details Diff
config: added unique_ptr to QualifiedResourceNameTypeConverter

- added unique_ptr to the ConfigurationParser class
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/qualified_resource_name_type_converter.cc Diff File

dev 112d6e63

2018-09-02 20:19

franku

Ported: N/A

Details Diff
config: added unique_ptr to QualifiedResourceNameTypeConverter

- added unique_ptr to the ConfigurationParser class
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/qualified_resource_name_type_converter.cc Diff File

dev fb36ca52

2018-09-02 20:16

franku

Ported: N/A

Details Diff
config: changed callback name to ConfigReadyCallback
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev ad7a0b33

2018-09-02 20:16

franku

Ported: N/A

Details Diff
config: changed callback name to ConfigReadyCallback
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev 5c1735fb

2018-09-02 20:13

franku

Ported: N/A

Details Diff
tests/tools: added subdirectories to build again
mod - core/src/CMakeLists.txt Diff File

dev 8ae2db2c

2018-09-02 20:13

franku

Ported: N/A

Details Diff
tests/tools: added subdirectories to build again
mod - core/src/CMakeLists.txt Diff File

master 4d36c7b3

2018-09-02 17:18

Juraj Mlich ml

Ported: N/A

Details Diff
webui: disable verify_peer_name if verify_peer disabled

This causes problems when I do not have trusted certificate. Turning
it off shall not cause any side-effects and is secure.
mod - webui/vendor/Bareos/library/Bareos/BSock/BareosBSock.php Diff File

bareos-18.2 c19eca79

2018-09-02 17:18

Juraj Mlich ml


Committer: franku

Ported: N/A

Details Diff
webui: disable verify_peer_name if verify_peer disabled

This causes problems when I do not have trusted certificate. Turning
it off shall not cause any side-effects and is secure.
mod - webui/vendor/Bareos/library/Bareos/BSock/BareosBSock.php Diff File

dev 39667be8

2018-09-01 23:28

pstorz

Ported: N/A

Details Diff
build: readded tools and tests directories

and set required LD_LIBRARY_PATH of unit tests
mod - core/src/CMakeLists.txt Diff File
mod - core/src/lib/unittests/CMakeLists.txt Diff File

dev 76fedfc7

2018-08-31 17:13

franku

Ported: N/A

Details Diff
resource: added class qualified_resource_name_type_converter
mod - core/src/lib/CMakeLists.txt Diff File
add - core/src/lib/qualified_resource_name_type_converter.cc Diff File
add - core/src/lib/qualified_resource_name_type_converter.h Diff File

dev 9b055b84

2018-08-31 17:13

franku

Ported: N/A

Details Diff
resource: added class qualified_resource_name_type_converter
mod - core/src/lib/CMakeLists.txt Diff File
add - core/src/lib/qualified_resource_name_type_converter.cc Diff File
add - core/src/lib/qualified_resource_name_type_converter.h Diff File

dev 26f38a79

2018-08-31 16:48

joergs

Ported: N/A

Details Diff
droplet: improves handling when truncating volumes

Without this change, errors when truncating a droplet volume are silently ignored.
This has resulted in errors afterwards
(After truncating done by automatic recycling, some of the chunks did still exist.
When using the volume afterwards, Bareos complains about not matching volume sizes.)

Now, if truncating fails,
the job fails and the volume state is set to Error.
mod - src/stored/backends/droplet_device.c Diff File
mod - src/stored/backends/droplet_device.h Diff File

bareos-16.2-droplet b1a7e785

2018-08-31 16:48

joergs

Ported: N/A

Details Diff
droplet: improves handling when truncating volumes

Without this change, errors when truncating a droplet volume are silently ignored.
This has resulted in errors afterwards
(After truncating done by automatic recycling, some of the chunks did still exist.
When using the volume afterwards, Bareos complains about not matching volume sizes.)

Now, if truncating fails,
the job fails and the volume state is set to Error.

Accessing the chunks of a volume have been done by dpl_opendir before.
Unfortenatly, this function has a bug and returns only the first 1000 entries.

As we know, that chunks are always named as 4 digit numbers from 0000 to 9999
we now iterate through them.

Be default, iterating the chunks of a volume stops if a chunk does not exist.

However, the truncate function iterate through all possible chunks, from 0000 to 9999
This should cover the case, that an old volume exists with gaps in the chunk list.

This commit also fixes the check_remote function.
Before, if droplet have already be initialized
but connection to backend stops operating,
check_remote still return true. This is now fixed.
mod - src/stored/backends/droplet_device.c Diff File
mod - src/stored/backends/droplet_device.h Diff File

dev 2e82d697

2018-08-31 15:47

franku

Ported: N/A

Details Diff
config: added global and static methods from res.cc to ConfigurationParser

- methods now working on the respective object instead of one global object
(that was at this point my_config)
- left methods from BareosResource untouched
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/include/baconfig.h Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/qt-tray-monitor/tray_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev 3238244b

2018-08-31 15:47

franku

Ported: N/A

Details Diff
config: added global and static methods from res.cc to ConfigurationParser

- methods now working on the respective object instead of one global object
(that was at this point my_config)
- left methods from BareosResource untouched
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/include/baconfig.h Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/qt-tray-monitor/tray_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev b53d741d

2018-08-31 12:45

franku

Ported: N/A

Details Diff
config: GetResWithName is now a member of ConfigurationParser

- access GetResWithName using my_config->GetResWithName at all daemons
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/authenticate.cc Diff File
mod - core/src/dird/bsr.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/fd_cmds.cc Diff File
mod - core/src/dird/getmsg.cc Diff File
mod - core/src/dird/migrate.cc Diff File
mod - core/src/dird/run_conf.cc Diff File
mod - core/src/dird/scheduler.cc Diff File
mod - core/src/dird/stats.cc Diff File
mod - core/src/dird/storage.cc Diff File
mod - core/src/dird/testfind.cc Diff File
mod - core/src/dird/ua_acl.cc Diff File
mod - core/src/dird/ua_configure.cc Diff File
mod - core/src/dird/ua_output.cc Diff File
mod - core/src/dird/ua_prune.cc Diff File
mod - core/src/filed/authenticate.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/lib/unittests/bsock_test.cc Diff File
mod - core/src/stored/authenticate.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev baede470

2018-08-31 12:45

franku

Ported: N/A

Details Diff
config: GetResWithName is now a member of ConfigurationParser

- access GetResWithName using my_config->GetResWithName at all daemons
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/authenticate.cc Diff File
mod - core/src/dird/bsr.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/fd_cmds.cc Diff File
mod - core/src/dird/getmsg.cc Diff File
mod - core/src/dird/migrate.cc Diff File
mod - core/src/dird/run_conf.cc Diff File
mod - core/src/dird/scheduler.cc Diff File
mod - core/src/dird/stats.cc Diff File
mod - core/src/dird/storage.cc Diff File
mod - core/src/dird/testfind.cc Diff File
mod - core/src/dird/ua_acl.cc Diff File
mod - core/src/dird/ua_configure.cc Diff File
mod - core/src/dird/ua_output.cc Diff File
mod - core/src/dird/ua_prune.cc Diff File
mod - core/src/filed/authenticate.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/lib/unittests/bsock_test.cc Diff File
mod - core/src/stored/authenticate.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev 7a5fb381

2018-08-30 19:09

franku

Ported: N/A

Details Diff
config: GetNextRes is now a member of ConfigurationParser

- access GetNextRes using my_config->GetNextRes at all daemons
mod - core/src/console/console.cc Diff File
mod - core/src/dird/consolidate.cc Diff File
mod - core/src/dird/dbcheck.cc Diff File
mod - core/src/dird/dird.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/expand.cc Diff File
mod - core/src/dird/job.cc Diff File
mod - core/src/dird/scheduler.cc Diff File
mod - core/src/dird/stats.cc Diff File
mod - core/src/dird/storage.cc Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/dird/ua_configure.cc Diff File
mod - core/src/dird/ua_dotcmds.cc Diff File
mod - core/src/dird/ua_select.cc Diff File
mod - core/src/dird/ua_server.cc Diff File
mod - core/src/filed/backup.cc Diff File
mod - core/src/filed/filed.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/filed/restore.cc Diff File
mod - core/src/filed/verify_vol.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/qt-tray-monitor/monitoritemthread.cc Diff File
mod - core/src/stored/stored.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev 9747774a

2018-08-30 19:09

franku

Ported: N/A

Details Diff
config: GetNextRes is now a member of ConfigurationParser

- access GetNextRes using my_config->GetNextRes at all daemons
mod - core/src/console/console.cc Diff File
mod - core/src/dird/consolidate.cc Diff File
mod - core/src/dird/dbcheck.cc Diff File
mod - core/src/dird/dird.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/expand.cc Diff File
mod - core/src/dird/job.cc Diff File
mod - core/src/dird/scheduler.cc Diff File
mod - core/src/dird/stats.cc Diff File
mod - core/src/dird/storage.cc Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/dird/ua_configure.cc Diff File
mod - core/src/dird/ua_dotcmds.cc Diff File
mod - core/src/dird/ua_select.cc Diff File
mod - core/src/dird/ua_server.cc Diff File
mod - core/src/filed/backup.cc Diff File
mod - core/src/filed/filed.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/filed/restore.cc Diff File
mod - core/src/filed/verify_vol.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/qt-tray-monitor/monitoritemthread.cc Diff File
mod - core/src/stored/stored.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev e92f463a

2018-08-30 18:52

franku

Ported: N/A

Details Diff
config: added GetTlsPskByFullyQualifiedResourceName-callbacks for stored and filed
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev 132056a2

2018-08-30 18:52

franku

Ported: N/A

Details Diff
config: added GetTlsPskByFullyQualifiedResourceName-callbacks for stored and filed
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev 304df42d

2018-08-30 16:50

franku

Ported: N/A

Details Diff
tlsopenssl: for psk added a dynamic callback

- GetTlsPskByFullyQualifiedResourceNameCb should give back the psk
for a given identity based on the appropriate config-resource
- first implementation in director
- unittest covers console-director connection
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/dird_conf.h Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/filed/filed_conf.h Diff File
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/tls.h Diff File
mod - core/src/lib/tls_conf_psk.h Diff File
add - core/src/lib/tls_conf_psk_callback.h Diff File
mod - core/src/lib/tls_gnutls.cc Diff File
mod - core/src/lib/tls_gnutls.h Diff File
mod - core/src/lib/tls_openssl.cc Diff File
mod - core/src/lib/tls_openssl.h Diff File
mod - core/src/lib/tls_openssl_private.cc Diff File
mod - core/src/lib/tls_openssl_private.h Diff File
mod - core/src/lib/unittests/create_resource.cc Diff File
mod - core/src/qt-tray-monitor/tray_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File
mod - core/src/stored/stored_conf.h Diff File

dev 23b0064d

2018-08-30 16:50

franku

Ported: N/A

Details Diff
tlsopenssl: for psk added a dynamic callback

- GetTlsPskByFullyQualifiedResourceNameCb should give back the psk
for a given identity based on the appropriate config-resource
- first implementation in director
- unittest covers console-director connection
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/dird_conf.h Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/filed/filed_conf.h Diff File
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/tls.h Diff File
mod - core/src/lib/tls_conf_psk.h Diff File
add - core/src/lib/tls_conf_psk_callback.h Diff File
mod - core/src/lib/tls_gnutls.cc Diff File
mod - core/src/lib/tls_gnutls.h Diff File
mod - core/src/lib/tls_openssl.cc Diff File
mod - core/src/lib/tls_openssl.h Diff File
mod - core/src/lib/tls_openssl_private.cc Diff File
mod - core/src/lib/tls_openssl_private.h Diff File
mod - core/src/lib/unittests/create_resource.cc Diff File
mod - core/src/qt-tray-monitor/tray_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File
mod - core/src/stored/stored_conf.h Diff File

dev 85bd139d

2018-08-30 12:33

franku

Ported: N/A

Details Diff
tlsopenssl: deleted an unused map for psk server context
mod - core/src/lib/tls_openssl_private.cc Diff File
mod - core/src/lib/tls_openssl_private.h Diff File

dev 41cc5686

2018-08-30 12:33

franku

Ported: N/A

Details Diff
tlsopenssl: deleted an unused map for psk server context
mod - core/src/lib/tls_openssl_private.cc Diff File
mod - core/src/lib/tls_openssl_private.h Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 397 398 399 400 401 402 403 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last