Changesets: bareos

dev 6ff6fc4d

2018-09-18 20:58

franku

Ported: N/A

Details Diff
dird: corrected error messages
mod - core/src/dird/authenticate.cc Diff File

dev 98884f27

2018-09-18 20:58

franku

Ported: N/A

Details Diff
fixes during testing of tls:

dird: corrected error messages
bnet: corrected swapped resource pointers

bsock: added an extra unique pointer for tls initialization
- added unique_ptr tls_conn_init that is used during tls initialization and handshake
to hold the pointer to the Tls implementation
- upen successful initialization this pointer will be moved to the shared_ptr tls_conn
- tls_conn is used from the send and receive routines
- BareosSocket::mutex_ is used for thread safeness

fd-commands: ConnectToFileDaemon - reset job status to running
- after an unsuccessful TLS without cleartext handshake the jobstatus
will be reset to "running"

jcr: moved ConnectionHandshakeMode variables to the general public area
- gefore this change these variables were located in the director
public area of the class

passive-backup: wait 2 seconds before continuing with the job
passive-verify: wait 2 seconds before continuing with the job

passive-restore: wait 2 seconds before continuing with the job
- after sending the bootstrap file to the sd wait for 2 seconds with response

tls: replaced a wrong variable name
- crlfile_ instead of certfile_
mod - core/src/dird/authenticate.cc Diff File
mod - core/src/dird/backup.cc Diff File
mod - core/src/dird/fd_cmds.cc Diff File
mod - core/src/dird/restore.cc Diff File
mod - core/src/dird/verify.cc Diff File
mod - core/src/include/jcr.h Diff File
mod - core/src/lib/bnet.cc Diff File
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/bsock.h Diff File
mod - core/src/lib/bsock_tcp.cc Diff File
mod - core/src/lib/tls_openssl.cc Diff File

dev 100d2f8e

2018-09-18 20:58

franku

Ported: N/A

Details Diff
fixes during testing of tls:

dird: corrected error messages
bnet: corrected swapped resource pointers

bsock: added an extra unique pointer for tls initialization
- added unique_ptr tls_conn_init that is used during tls initialization and handshake
to hold the pointer to the Tls implementation
- upen successful initialization this pointer will be moved to the shared_ptr tls_conn
- tls_conn is used from the send and receive routines
- BareosSocket::mutex_ is used for thread safeness

fd-commands: ConnectToFileDaemon - reset job status to running
- after an unsuccessful TLS without cleartext handshake the jobstatus
will be reset to "running"

jcr: moved ConnectionHandshakeMode variables to the general public area
- gefore this change these variables were located in the director
public area of the class

passive-backup: wait 2 seconds before continuing with the job
passive-verify: wait 2 seconds before continuing with the job

passive-restore: wait 2 seconds before continuing with the job
- after sending the bootstrap file to the sd wait for 2 seconds with response

tls: replaced a wrong variable name
- crlfile_ instead of certfile_
mod - core/src/dird/authenticate.cc Diff File
mod - core/src/dird/backup.cc Diff File
mod - core/src/dird/fd_cmds.cc Diff File
mod - core/src/dird/restore.cc Diff File
mod - core/src/dird/verify.cc Diff File
mod - core/src/include/jcr.h Diff File
mod - core/src/lib/bnet.cc Diff File
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/bsock.h Diff File
mod - core/src/lib/bsock_tcp.cc Diff File
mod - core/src/lib/tls_openssl.cc Diff File

dev 589d4fae

2018-09-18 20:58

franku

Ported: N/A

Details Diff
fixes during testing of tls:

dird: corrected error messages
bnet: corrected swapped resource pointers

bsock: added an extra unique pointer for tls initialization
- added unique_ptr tls_conn_init that is used during tls initialization and handshake
to hold the pointer to the Tls implementation
- upen successful initialization this pointer will be moved to the shared_ptr tls_conn
- tls_conn is used from the send and receive routines
- BareosSocket::mutex_ is used for thread safeness

fd-commands: ConnectToFileDaemon - reset job status to running
- after an unsuccessful TLS without cleartext handshake the jobstatus
will be reset to "running"

jcr: moved ConnectionHandshakeMode variables to the general public area
- gefore this change these variables were located in the director
public area of the class

passive-backup: wait 2 seconds before continuing with the job
passive-verify: wait 2 seconds before continuing with the job

passive-restore: wait 2 seconds before continuing with the job
- after sending the bootstrap file to the sd wait for 2 seconds with response

tls: replaced a wrong variable name
- crlfile_ instead of certfile_
mod - core/src/dird/authenticate.cc Diff File
mod - core/src/dird/backup.cc Diff File
mod - core/src/dird/fd_cmds.cc Diff File
mod - core/src/dird/restore.cc Diff File
mod - core/src/dird/verify.cc Diff File
mod - core/src/include/jcr.h Diff File
mod - core/src/lib/bnet.cc Diff File
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/bsock.h Diff File
mod - core/src/lib/bsock_tcp.cc Diff File
mod - core/src/lib/tls_openssl.cc Diff File

dev 202d8249

2018-09-18 18:11

readonly

Ported: N/A

Details Diff
another try with batch-insert
mod - core/src/cats/postgresql.cc Diff File

dev 3b603632

2018-09-18 17:06

readonly

Ported: N/A

Details Diff
Try with insert into batch table
mod - core/src/cats/dbi.cc Diff File
mod - core/src/cats/sql_create.cc Diff File

dev ca3be49f

2018-09-18 16:34

readonly

Ported: N/A

Details Diff
another try with function for clientid
mod - core/src/cats/dbi.cc Diff File
mod - core/src/cats/sql_create.cc Diff File

dev 677ae3bd

2018-09-18 15:07

readonly

Ported: N/A

Details Diff
query fix
mod - core/src/cats/ddl/creates/postgresql.sql Diff File
mod - core/src/cats/sql_create.cc Diff File

dev 57b8fa49

2018-09-18 14:09

readonly

Ported: N/A

Details Diff
yet another create temporary table stmt adjusted
mod - core/src/cats/postgresql.cc Diff File

dev 35a08f4b

2018-09-18 13:45

readonly

Ported: N/A

Details Diff
Insert ClientId using batch table
mod - core/src/cats/dbi.cc Diff File
mod - core/src/cats/sql_create.cc Diff File

dev d6775636

2018-09-18 13:39

franku

Ported: N/A

Details Diff
Merge branch 'dev/franku/master/pam' into dev/franku/master/tls-pam-merged
mod - core/cmake/BareosFindAllLibraries.cmake Diff File
mod - core/src/console/CMakeLists.txt Diff File
add - core/src/console/auth_pam.cc Diff File
mod - core/src/console/bconsole.conf.in Diff File
rm - core/src/console/conio.cc Diff File
mod - core/src/console/console.cc Diff File
mod - core/src/console/console_conf.cc Diff File
mod - core/src/console/console_conf.h Diff File
add - core/src/console/console_output.cc Diff File
add - core/src/console/console_output.h Diff File
mod - core/src/dird/CMakeLists.txt Diff File
add - core/src/dird/auth_pam.cc Diff File
add - core/src/dird/auth_pam.h Diff File
mod - core/src/dird/job.h Diff File
add - core/src/dird/ua.cc Diff File
mod - core/src/dird/ua.h Diff File
mod - core/src/dird/ua_cmds.cc Diff File
add - core/src/dird/ua_cmdstruct.h Diff File
mod - core/src/dird/ua_output.cc Diff File
mod - core/src/dird/ua_server.cc Diff File
mod - core/src/dird/ua_server.h Diff File
mod - core/src/include/baconfig.h Diff File
mod - core/src/lib/alist.h Diff File
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/bsock.h Diff File
mod - core/src/lib/bsock_tcp.h Diff File
mod - core/src/lib/unittests/CMakeLists.txt Diff File

dev 06374718

2018-09-18 12:47

readonly

Ported: N/A

Details Diff
insert clientid into filetable and prepare for additional client parameter in bvfs_lsfiles and bvfs_lsdirs
mod - core/src/cats/bdb_query_enum_class.h Diff File
mod - core/src/cats/bdb_query_names.inc Diff File
mod - core/src/cats/bvfs.cc Diff File
mod - core/src/cats/bvfs.h Diff File
mod - core/src/cats/dml/create_queryfiles.sh Diff File
mod - core/src/cats/mysql_queries.inc Diff File
mod - core/src/cats/postgresql_queries.inc Diff File
mod - core/src/cats/sql_create.cc Diff File
mod - core/src/cats/sqlite_queries.inc Diff File
mod - core/src/dird/ua_dotcmds.cc Diff File

dev bc0f7342

2018-09-18 12:46

pstorz

Ported: N/A

Details Diff
sqlqueries: fix core/src/cats/dml/create_queryfiles.sh

The name of the BareosDB class was changed but the query create
script was not adapted to that fact.

This is now fixed and the queries were created anew.

Also changed GetQuotaJobbytes and GetQuotaJobbytesNofailed back
to the old name because that is the same name as the query file has.
mod - core/src/cats/bdb_query_names.inc Diff File
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/dml/create_queryfiles.sh Diff File
mod - core/src/cats/mysql_queries.inc Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/quota.cc Diff File

dev 2ec4e06d

2018-09-17 23:31

pstorz

Ported: N/A

Details Diff
build: add pam devel packages to dsc and spec files
mod - core/platforms/packaging/bareos.dsc Diff File
mod - core/platforms/packaging/bareos.spec Diff File

dev c799fdf9

2018-09-17 23:31

pstorz


Committer: franku

Ported: N/A

Details Diff
build: add pam devel packages to dsc and spec files
mod - core/platforms/packaging/bareos.dsc Diff File
mod - core/platforms/packaging/bareos.spec Diff File

dev d5d4bd18

2018-09-17 23:31

pstorz


Committer: franku

Ported: N/A

Details Diff
build: add pam devel packages to dsc and spec files
mod - core/platforms/packaging/bareos.dsc Diff File
mod - core/platforms/packaging/bareos.spec Diff File

dev f145eb5f

2018-09-17 21:03

franku

Ported: N/A

Details Diff
pam: initialize pam_start with username as nullptr

- otherwise the pam module does not ask for a username
mod - core/src/dird/auth_pam.cc Diff File

dev 298701c2

2018-09-17 21:03

franku

Ported: N/A

Details Diff
pam: initialize pam_start with username as nullptr

- otherwise the pam module does not ask for a username
mod - core/src/dird/auth_pam.cc Diff File

dev 0d30779f

2018-09-17 21:03

franku

Ported: N/A

Details Diff
pam: initialize pam_start with username as nullptr

- otherwise the pam module does not ask for a username
mod - core/src/dird/auth_pam.cc Diff File

dev 84ca06cc

2018-09-17 19:54

franku

Ported: N/A

Details Diff
dird: fixes infinite loop if a tcp connection cannot be established
mod - core/src/dird/fd_cmds.cc Diff File

dev c57e850a

2018-09-17 19:54

franku

Ported: N/A

Details Diff
dird: fixes infinite loop if a tcp connection cannot be established
mod - core/src/dird/fd_cmds.cc Diff File

dev 5fe49ae7

2018-09-17 19:02

franku

Ported: N/A

Details Diff
tls config: removed unneeded variable
mod - core/src/lib/tls_conf_cert.h Diff File

dev 7a0c104a

2018-09-17 19:02

franku

Ported: N/A

Details Diff
tls config: removed unneeded variable
mod - core/src/lib/tls_conf_cert.h Diff File

dev 4467fc23

2018-09-17 18:49

franku

Ported: N/A

Details Diff
bsock/tls: partially reverted paramter TlsConfigCert back to TlsConfigBase

- verify_list and GetVerifyPeer() have to be used from TlsConfigBase class
if not derived in TlsConfigCert vs. TlsConfigPsk
- reverts commits aa375e91e5a2ab796b5d4e4588fac484e23f6767 and
a84472d0a46e5472f5b15d236435dc11d459a514
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/bsock.h Diff File
mod - core/src/lib/tls_conf_base.h Diff File
mod - core/src/lib/tls_conf_cert.h Diff File
mod - core/src/lib/tls_conf_none.h Diff File

dev b01c6c5e

2018-09-17 18:49

franku

Ported: N/A

Details Diff
bsock/tls: partially reverted paramter TlsConfigCert back to TlsConfigBase

- verify_list and GetVerifyPeer() have to be used from TlsConfigBase class
if not derived in TlsConfigCert vs. TlsConfigPsk
- reverts commits aa375e91e5a2ab796b5d4e4588fac484e23f6767 and
a84472d0a46e5472f5b15d236435dc11d459a514
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/bsock.h Diff File
mod - core/src/lib/tls_conf_base.h Diff File
mod - core/src/lib/tls_conf_cert.h Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 384 385 386 387 388 389 390 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last