Changesets: bareos

dev 7504588c

2018-11-16 16:56

franku

Ported: N/A

Details Diff
config: pass C-String to Dmsg, not std::string
mod - core/src/lib/parse_conf.cc Diff File

dev de0e002e

2018-11-16 16:47

franku

Ported: N/A

Details Diff
bnet: added missing header file
mod - core/src/lib/bnet_server_tcp.h Diff File

dev e7dc5d5e

2018-11-16 16:30

franku

Ported: N/A

Details Diff
tests: set DirPort to 58881 for console_director_connection_test

- test source: tests/bsock_test_connection_setup.cc
- changed director in director config, director in bconsole config
mod - core/src/tests/configs/bareos-dir.d/director/bareos-dir.conf Diff File
mod - core/src/tests/configs/bconsole.conf Diff File

dev cdd6d90a

2018-11-16 16:30

franku

Ported: N/A

Details Diff
tests: set DirPort to 58881 for console_director_connection_test

- test source: tests/bsock_test_connection_setup.cc
- changed director in director config, director in bconsole config
mod - core/src/tests/configs/bareos-dir.d/director/bareos-dir.conf Diff File
mod - core/src/tests/configs/bconsole.conf Diff File

dev 0eaaf494

2018-11-16 16:30

franku

Ported: N/A

Details Diff
tests: set DirPort to 58881 for console_director_connection_test

- test source: tests/bsock_test_connection_setup.cc
- changed director in director config, director in bconsole config
mod - core/src/tests/configs/bareos-dir.d/director/bareos-dir.conf Diff File
mod - core/src/tests/configs/bconsole.conf Diff File

dev f054c95e

2018-11-16 12:51

franku

Ported: N/A

Details Diff
BnetThreadServer: reworked shutdown

- if bind fails retry 3 times every 5 seconds
- when workq is not initialized upon shutdown just send error message,
not abort the process
mod - core/src/dird/dird.cc Diff File
mod - core/src/dird/socket_server.cc Diff File
mod - core/src/dird/socket_server.h Diff File
mod - core/src/lib/bnet_server_tcp.cc Diff File
mod - core/src/lib/bnet_server_tcp.h Diff File
mod - core/src/lib/workq.cc Diff File
mod - core/src/tests/bsock_test_connection_setup.cc Diff File

dev ff319e04

2018-11-16 12:51

franku

Ported: N/A

Details Diff
BnetThreadServer: reworked shutdown

- if bind fails retry 3 times every 5 seconds
- when workq is not initialized upon shutdown just send error message,
not abort the process
mod - core/src/dird/dird.cc Diff File
mod - core/src/dird/socket_server.cc Diff File
mod - core/src/dird/socket_server.h Diff File
mod - core/src/lib/bnet_server_tcp.cc Diff File
mod - core/src/lib/bnet_server_tcp.h Diff File
mod - core/src/lib/workq.cc Diff File
mod - core/src/tests/bsock_test_connection_setup.cc Diff File

dev 835e476e

2018-11-16 12:51

franku

Ported: N/A

Details Diff
BnetThreadServer: reworked shutdown

- if bind fails retry 3 times every 5 seconds
- when workq is not initialized upon shutdown just send error message,
not abort the process
mod - core/src/dird/dird.cc Diff File
mod - core/src/dird/socket_server.cc Diff File
mod - core/src/dird/socket_server.h Diff File
mod - core/src/lib/bnet_server_tcp.cc Diff File
mod - core/src/lib/bnet_server_tcp.h Diff File
mod - core/src/lib/workq.cc Diff File
mod - core/src/tests/bsock_test_connection_setup.cc Diff File

dev 88e7eeaa

2018-11-16 10:03

pstorz


Committer: franku

Ported: N/A

Details Diff
Fix memory leak in output formatter

OutputFormatter::JsonFinalizeResult now calls json_decref after
the output was generated to free json memory, and creates new
json objects for the next run.
mod - core/src/lib/output_formatter.cc Diff File

dev 408236e5

2018-11-16 10:03

pstorz


Committer: franku

Ported: N/A

Details Diff
Fix memory leak in output formatter

OutputFormatter::JsonFinalizeResult now calls json_decref after
the output was generated to free json memory, and creates new
json objects for the next run.
mod - core/src/lib/output_formatter.cc Diff File

dev 7d7e50fe

2018-11-16 10:03

pstorz


Committer: franku

Ported: N/A

Details Diff
Fix memory leak in output formatter

OutputFormatter::JsonFinalizeResult now calls json_decref after
the output was generated to free json memory, and creates new
json objects for the next run.
mod - core/src/lib/output_formatter.cc Diff File

dev 1d0595c5

2018-11-16 08:29

franku

Ported: N/A

Details Diff
bnet: corrected cleartext methods

- cannot figure out client name when no cleartext hello first
- special case for *UserAgent*
mod - core/src/dird/fd_cmds.cc 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/res.cc Diff File
mod - core/src/lib/try_tls_handshake_as_a_server.cc Diff File
mod - core/src/lib/util.cc Diff File
mod - core/src/lib/util.h Diff File
mod - core/src/tests/lib_tests.cc Diff File

dev d8747b5f

2018-11-15 23:56

franku

Ported: N/A

Details Diff
tls: changed tls-need initializers for sd-fd and sd-sd connections

- sd-fd: backup, restore, verify commands
- sd-sd: replicate (migrate) command
mod - core/src/dird/backup.cc Diff File
mod - core/src/dird/migrate.cc Diff File
mod - core/src/dird/restore.cc Diff File
mod - core/src/dird/verify.cc Diff File

dev 172d8102

2018-11-15 22:36

franku

Ported: N/A

Details Diff
filed: prevent fd from a crash

- filed crashed when the connection with a storage daemon could not
be established
mod - core/src/filed/dir_cmd.cc Diff File

dev 2467badf

2018-11-15 19:21

franku

Ported: N/A

Details Diff
tls: refactored EvaluateCleartextBareosHello

- read out the client name and resource type
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/bsock.h Diff File
mod - core/src/lib/try_tls_handshake_as_a_server.cc Diff File
mod - core/src/lib/util.cc Diff File
mod - core/src/lib/util.h Diff File
mod - core/src/tests/lib_tests.cc Diff File

dev f58de90f

2018-11-15 19:18

franku

Ported: N/A

Details Diff
tls: for active connection check the right tls configuaration for activation

- tls_cert::IsActivated() or tls_psk::IsActivated()
- removed calls of IsTlsConfigured()
mod - core/src/dird/authenticate.cc Diff File
mod - core/src/dird/fd_cmds.cc Diff File
mod - core/src/dird/sd_cmds.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/stored/dir_cmd.cc Diff File

dev ce02488d

2018-11-15 17:32

joergs

Ported: N/A

Details Diff
droplet: fixes and cleanup
mod - core/src/cats/cats.h Diff File
mod - core/src/stored/append.cc Diff File
mod - core/src/stored/backends/chunked_device.cc Diff File
mod - core/src/stored/dev.cc Diff File

master b840892b

2018-11-15 10:18

pstorz

Ported: N/A

Details Diff
Cleanup PR 119: Fix failure to send RestoreObjects for Jobs.

Fixes 0000805: can't restore vmware-plugin assisted backups via webui

Also updated AUTHORS file
Affected Issues
0000805
mod - AUTHORS Diff File
mod - core/src/dird/ua_restore.cc Diff File

bareos-18.2 2171b21d

2018-11-15 10:18

pstorz


Committer: franku

Ported: N/A

Details Diff
Cleanup PR 119: Fix failure to send RestoreObjects for Jobs.

Fixes 0000805: can't restore vmware-plugin assisted backups via webui

Also updated AUTHORS file
Affected Issues
0000805
mod - AUTHORS Diff File
mod - core/src/dird/ua_restore.cc Diff File

dev e85db457

2018-11-14 17:52

franku

Ported: N/A

Details Diff
tests: added test for class output formatter
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/lib_tests_output_formatter.cc Diff File

dev 226025cf

2018-11-14 13:58

franku

Ported: N/A

Details Diff
cleanup: replaced some debug messages

- psk server callback: removed output of the psk
- PskCredentials constructor/destructor set debuglevel to 1000
and removed output of the psk
mod - core/src/dird/authenticate_console.cc Diff File
mod - core/src/lib/tls_openssl_private.cc Diff File
mod - core/src/lib/tls_psk_credentials.h Diff File

dev 7aab1ddd

2018-11-14 13:35

frank

Ported: N/A

Details Diff
core: Fix failure to send RestoreObject for Jobs
mod - core/src/dird/ua_restore.cc Diff File

master 4f13b377

2018-11-14 11:29

franku

Ported: N/A

Details Diff
cleanup: initialized some variables less error-prone
mod - core/src/cats/dbi.cc Diff File
mod - core/src/dird/getmsg.cc Diff File
mod - core/src/ndmp/ndml_conn.c Diff File

bareos-18.2 d1a8abb9

2018-11-14 11:29

franku

Ported: N/A

Details Diff
cleanup: initialized some variables less error-prone
mod - core/src/cats/dbi.cc Diff File
mod - core/src/dird/getmsg.cc Diff File
mod - core/src/ndmp/ndml_conn.c Diff File

dev 844d9f63

2018-11-14 11:29

franku

Ported: N/A

Details Diff
cleanup: initialized some variables less error-prone
mod - core/src/cats/dbi.cc Diff File
mod - core/src/dird/getmsg.cc Diff File
mod - core/src/ndmp/ndml_conn.c Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 364 365 366 367 368 369 370 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last