Changesets: bareos

dev 7a8e86ad

2018-11-02 19:35

franku

Ported: N/A

Details Diff
socket_server: send a TERMINATE signal on handshake error

- in order to know if tcp socket is closed from server side after
a handshake error (i.e. cleartext configuration mismatch) the
BNET_TERMINATE signal is used to flag this to the client
mod - core/src/dird/socket_server.cc Diff File
mod - core/src/filed/socket_server.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/bsock_tcp.h Diff File
mod - core/src/stored/socket_server.cc Diff File

dev a1176265

2018-11-02 19:35

franku

Ported: N/A

Details Diff
socket_server: send a TERMINATE signal on handshake error

- in order to know if tcp socket is closed from server side after
a handshake error (i.e. cleartext configuration mismatch) the
BNET_TERMINATE signal is used to flag this to the client
mod - core/src/dird/socket_server.cc Diff File
mod - core/src/filed/socket_server.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/bsock_tcp.h Diff File
mod - core/src/stored/socket_server.cc Diff File

dev ad9e747c

2018-11-02 19:33

franku

Ported: N/A

Details Diff
tls: enable cleartext connection if no tls is configured

- omit calls to DoTlsHandshake if no tls is configured
mod - core/src/console/console.cc Diff File
mod - core/src/dird/authenticate.cc Diff File
mod - core/src/dird/sd_cmds.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/filed/socket_server.cc Diff File
mod - core/src/lib/bnet.cc Diff File
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/qt-tray-monitor/authenticate.cc Diff File
mod - core/src/stored/dir_cmd.cc Diff File

dev 5b3fecaa

2018-11-02 19:33

franku

Ported: N/A

Details Diff
tls: enable cleartext connection if no tls is configured

- omit calls to DoTlsHandshake if no tls is configured
mod - core/src/console/console.cc Diff File
mod - core/src/dird/authenticate.cc Diff File
mod - core/src/dird/sd_cmds.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/filed/socket_server.cc Diff File
mod - core/src/lib/bnet.cc Diff File
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/qt-tray-monitor/authenticate.cc Diff File
mod - core/src/stored/dir_cmd.cc Diff File

dev 6ebb41e4

2018-11-02 16:33

franku

Ported: N/A

Details Diff
tls: check for nullpointer and corrected a typo
mod - core/src/lib/bnet.cc Diff File
mod - core/src/lib/bsock.cc Diff File

dev 19337063

2018-11-02 16:33

franku

Ported: N/A

Details Diff
tls: check for nullpointer and corrected a typo
mod - core/src/lib/bnet.cc Diff File
mod - core/src/lib/bsock.cc Diff File

dev f22aa216

2018-11-02 16:18

franku

Ported: N/A

Details Diff
pam: disable code if HAVE_PAM is not defined

- when building without pam disable the appropriate function calls
and variables also in the console
mod - core/src/console/console.cc Diff File

dev 346532f6

2018-11-02 16:18

franku

Ported: N/A

Details Diff
pam: disable code if HAVE_PAM is not defined

- when building without pam disable the appropriate function calls
and variables also in the console
mod - core/src/console/console.cc Diff File

dev 1e8d391c

2018-11-02 16:18

franku

Ported: N/A

Details Diff
pam: disable code if HAVE_PAM is not defined

- when building without pam disable the appropriate function calls
and variables also in the console
mod - core/src/console/console.cc Diff File

dev 3cfffde8

2018-11-02 14:49

franku

Ported: N/A

Details Diff
dird: renamed console authentication functions
mod - core/src/dird/authenticate.h Diff File
mod - core/src/dird/authenticate_console.cc Diff File
mod - core/src/dird/authenticate_console.h Diff File
mod - core/src/dird/ua_server.cc Diff File

dev 004f121a

2018-11-02 14:49

franku

Ported: N/A

Details Diff
dird: renamed console authentication functions
mod - core/src/dird/authenticate.h Diff File
mod - core/src/dird/authenticate_console.cc Diff File
mod - core/src/dird/authenticate_console.h Diff File
mod - core/src/dird/ua_server.cc Diff File

dev 6812e6a5

2018-11-02 14:49

franku

Ported: N/A

Details Diff
dird: renamed console authentication functions
mod - core/src/dird/authenticate.h Diff File
mod - core/src/dird/authenticate_console.cc Diff File
mod - core/src/dird/authenticate_console.h Diff File
mod - core/src/dird/ua_server.cc Diff File

dev c29e7f74

2018-11-02 14:26

franku

Ported: N/A

Details Diff
tls: check for cleartext handshake on server and client side

- do not establish connection when Tls is disabled only on one side
- fixed a crash that is caused by a tls configuration mismatch
mod - core/src/dird/socket_server.cc Diff File
mod - core/src/filed/socket_server.cc Diff File
mod - core/src/lib/CMakeLists.txt 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/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
add - core/src/lib/try_tls_handshake_as_a_server.cc Diff File
add - core/src/lib/try_tls_handshake_as_a_server.h Diff File
mod - core/src/stored/socket_server.cc Diff File

dev dab44b6e

2018-11-02 14:26

franku

Ported: N/A

Details Diff
tls: check for cleartext handshake on server and client side

- do not establish connection when Tls is disabled only on one side
- fixed a crash that is caused by a tls configuration mismatch
mod - core/src/dird/socket_server.cc Diff File
mod - core/src/filed/socket_server.cc Diff File
mod - core/src/lib/CMakeLists.txt 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/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
add - core/src/lib/try_tls_handshake_as_a_server.cc Diff File
add - core/src/lib/try_tls_handshake_as_a_server.h Diff File
mod - core/src/stored/socket_server.cc Diff File

dev 3af71107

2018-11-02 14:26

franku

Ported: N/A

Details Diff
tls: check for cleartext handshake on server and client side

- do not establish any connection if Tls is disabled only on one side
- enable cleartext connection only if no tls is configured on both sides
- fixed a crash that is caused by a tls configuration mismatch
mod - core/src/console/console.cc Diff File
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/dird/socket_server.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/filed/socket_server.cc Diff File
mod - core/src/lib/CMakeLists.txt 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/bsock_tcp.h 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
add - core/src/lib/try_tls_handshake_as_a_server.cc Diff File
add - core/src/lib/try_tls_handshake_as_a_server.h Diff File
mod - core/src/qt-tray-monitor/authenticate.cc Diff File
mod - core/src/stored/dir_cmd.cc Diff File
mod - core/src/stored/socket_server.cc Diff File
mod - core/src/tests/bsock_test.cc Diff File

dev 22973f62

2018-11-02 14:26

franku

Ported: N/A

Details Diff
tls: check for cleartext handshake on server and client side

- do not establish any connection if Tls is disabled only on one side
- enable cleartext connection only if no tls is configured on both sides
- fixed a crash that is caused by a tls configuration mismatch
mod - core/src/console/console.cc Diff File
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/sd_cmds.cc Diff File
mod - core/src/dird/socket_server.cc Diff File
mod - core/src/dird/verify.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/filed/socket_server.cc Diff File
mod - core/src/lib/CMakeLists.txt 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/bsock_tcp.h 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
add - core/src/lib/try_tls_handshake_as_a_server.cc Diff File
add - core/src/lib/try_tls_handshake_as_a_server.h Diff File
mod - core/src/qt-tray-monitor/authenticate.cc Diff File
mod - core/src/stored/dir_cmd.cc Diff File
mod - core/src/stored/socket_server.cc Diff File
mod - core/src/tests/bsock_test.cc Diff File

master 24b1e088

2018-11-01 16:29

Oleg Agafonov


Committer: pstorz

Ported: N/A

Details Diff
Fixed infinite intall dialog for VC 2012 checks on x86 windows

`Visual C++ Redistributable for Visual Studio 2012` checks in install
wizards iz wrong. It's broken on x86 windows (32 bit) -- users gets
infinite install dialog. It's work for x64 windows only.

That's PR will fix that error and x86 will works fine too. Info about
reg values can founded here:

https://stackoverflow.com/questions/12206314/detect-if-visual-c-redistributable-for-visual-studio-2012-is-installed
mod - core/platforms/win32/winbareos.nsi Diff File

bareos-18.2 2b387bca

2018-11-01 16:29

Oleg Agafonov


Committer: franku

Ported: N/A

Details Diff
Fixed infinite intall dialog for VC 2012 checks on x86 windows

`Visual C++ Redistributable for Visual Studio 2012` checks in install
wizards iz wrong. It's broken on x86 windows (32 bit) -- users gets
infinite install dialog. It's work for x64 windows only.

That's PR will fix that error and x86 will works fine too. Info about
reg values can founded here:

https://stackoverflow.com/questions/12206314/detect-if-visual-c-redistributable-for-visual-studio-2012-is-installed
mod - core/platforms/win32/winbareos.nsi Diff File

master 9b859f6a

2018-11-01 15:34

Oleg Agafonov

Ported: N/A

Details Diff
Fixed error installation on non standard postgres db port

Installation script was missing from `PGPORT` environment setup. That's
why it's can't install bareos on systems with non standard postgres
port. User gets error about connection problem and can't install. That's
PR will fix that error.
mod - core/platforms/win32/winbareos.nsi Diff File

dev 486b7dc2

2018-10-31 19:27

franku

Ported: N/A

Details Diff
console: added command "whoami"

- prints the name of the user associated with the console
mod - core/src/dird/ua_cmds.cc Diff File

dev 5cb005f6

2018-10-31 19:27

franku

Ported: N/A

Details Diff
console: added command "whoami"

- prints the name of the user associated with the console
mod - core/src/dird/ua_cmds.cc Diff File

bareos-18.2 aedbf006

2018-10-31 19:06

joergs


Committer: franku

Ported: N/A

Details Diff
python: implement usage of TLS-PSK and updated README
mod - python-bareos/README.rst Diff File
mod - python-bareos/bareos/bsock/directorconsole.py Diff File
mod - python-bareos/bareos/bsock/filedaemon.py Diff File
mod - python-bareos/bareos/bsock/lowlevel.py Diff File

dev e3c3146a

2018-10-31 19:05

franku

Ported: N/A

Details Diff
console: show the name of the logged in user after login
mod - core/src/console/console.cc Diff File
mod - core/src/dird/authenticate_console.cc Diff File
mod - core/src/lib/bnet.h Diff File
mod - core/src/lib/bstringlist.cc Diff File
mod - core/src/lib/bstringlist.h Diff File

dev 1aea7370

2018-10-31 19:05

franku

Ported: N/A

Details Diff
console: show the name of the logged in user after login
mod - core/src/console/console.cc Diff File
mod - core/src/dird/authenticate_console.cc Diff File
mod - core/src/lib/bnet.h Diff File
mod - core/src/lib/bstringlist.cc Diff File
mod - core/src/lib/bstringlist.h Diff File

dev 79485bef

2018-10-31 18:44

franku

Ported: N/A

Details Diff
console: abort program if password would be sent unencrypted

- override with program argument '-o'
mod - core/src/console/console.cc Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 367 368 369 370 371 372 373 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last