Changesets: bareos

master 4b2b7d73

2015-04-17 21:08

mvwieringen

Ported: N/A

Details Diff
Fileset encryption overhaul.

This patch adds the following changes:
- Add new fileset option that forces encryption.
This new fileset option will fail a backup when encryption is not
enabled at the client side for a backup.
- Implement the encryption=<cipher> fileset option which was as it
seems available but never implemented in the fileset exchange protocol
between the director and the filed.

In the new setup things work like this:
- When in compat mode we always fall back to CRYPTO_CIPHER_AES_128_CBC
- When the fileset has a crypto cipher set we use that one.
Only one cipher can be set for a backup so multiple ciphers in one
fileset will give a fatal error.
- When the fileset has no encryption cipher override the global configured
encryption cipher is used.
- When the encryption cipher is determined the force encryption fileset flag
is checked to see if encryption is enabled for the backup.
mod - src/dird/inc_conf.c Diff File
mod - src/dird/inc_conf.h Diff File
mod - src/filed/backup.c Diff File
mod - src/filed/crypto.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/fileset.c Diff File
mod - src/filed/protos.h Diff File
mod - src/findlib/find.h Diff File
mod - src/findlib/match.c Diff File
mod - src/include/fileopts.h Diff File
mod - src/lib/crypto.h Diff File
mod - src/lib/crypto_openssl.c Diff File

master ed0bfb45

2015-04-17 01:02

mvwieringen

Ported: N/A

Details Diff
Fix accurate mode when using strip path.

Fixes 0000366: Accurate Mode and strippath
Affected Issues
0000366
mod - src/filed/accurate.c Diff File

bareos-14.2 f0d33f86

2015-04-17 01:02

mvwieringen

Ported: N/A

Details Diff
Fix accurate mode when using strip path.

Fixes 0000366: Accurate Mode and strippath
Affected Issues
0000366
mod - src/filed/accurate.c Diff File

master 4c5c6d4e

2015-04-16 23:50

mvwieringen

Ported: N/A

Details Diff
Fix some problems in unsupported database pooling code.

Although the pooling code is unsupported it currently crashes if you run
reload twice. We should not use foreach_dlist() in a loop when we remove
and free members of that list in the loop. Now we use first() and lookup
the next element using get_next() and store things in a temp variable
which we use in the loop to switch to the next element.
mod - src/cats/sql_pooling.c Diff File

bareos-14.2 f38771b5

2015-04-16 23:50

mvwieringen

Ported: N/A

Details Diff
Fix some problems in unsupported database pooling code.

Although the pooling code is unsupported it currently crashes if you run
reload twice. We should not use foreach_dlist() in a loop when we remove
and free members of that list in the loop. Now we use first() and lookup
the next element using get_next() and store things in a temp variable
which we use in the loop to switch to the next element.
mod - src/cats/sql_pooling.c Diff File

bareos-13.2 55fbc8c1

2015-04-16 23:50

mvwieringen

Ported: N/A

Details Diff
Fix some problems in unsupported database pooling code.

Although the pooling code is unsupported it currently crashes if you run
reload twice. We should not use foreach_dlist() in a loop when we remove
and free members of that list in the loop. Now we use first() and lookup
the next element using get_next() and store things in a temp variable
which we use in the loop to switch to the next element.
mod - src/cats/sql_pooling.c Diff File

bareos-12.4 807efe62

2015-04-16 23:50

mvwieringen

Ported: N/A

Details Diff
Fix some problems in unsupported database pooling code.

Although the pooling code is unsupported it currently crashes if you run
reload twice. We should not use foreach_dlist() in a loop when we remove
and free members of that list in the loop. Now we use first() and lookup
the next element using get_next() and store things in a temp variable
which we use in the loop to switch to the next element.
mod - src/cats/sql_pooling.c Diff File

master 69aaf4d4

2015-04-12 19:13

mvwieringen

Ported: N/A

Details Diff
Tweak layout.
mod - src/lib/jcr.c Diff File

bareos-14.2 619c8ff5

2015-04-12 19:13

mvwieringen

Ported: N/A

Details Diff
Tweak layout.
mod - src/lib/jcr.c Diff File

master 6682949a

2015-04-12 00:03

mvwieringen

Ported: N/A

Details Diff
Make minimum/maximum blocksize writing a capability.

Instead of only allowing minumum/maximum blocksize writing a tape
specific operation make it generic by using a capability setting which
is enable by default on tape devices but also on elasto devices.
mod - src/stored/backends/elasto_device.c Diff File
mod - src/stored/backends/unix_tape_device.c Diff File
mod - src/stored/block.c Diff File
mod - src/stored/dev.h Diff File
mod - src/win32/stored/backends/win32_tape_device.c Diff File

master 2237247c

2015-04-11 00:23

mvwieringen

Ported: N/A

Details Diff
Updates needed for new libdroplet API.

This driver still doesn't work but at least it should compile again.
mod - src/stored/backends/object_store_device.c Diff File

master 974fdaac

2015-04-10 18:50

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Windows installer is code-signed

We now use osslsigncode to sign the windows binaries.

The Windows Installer as well as the dlls and exes are
being signed.

For now only with a dummy certificate.

Also refactored the specfile a bit
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File

bareos-14.2 3af0d895

2015-04-10 18:50

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Windows installer is code-signed

We now use osslsigncode to sign the windows binaries.

The Windows Installer as well as the dlls and exes are
being signed.

For now only with a dummy certificate.

Also refactored the specfile a bit
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File

master 4cdd92e8

2015-04-10 15:05

joergs

Ported: N/A

Details Diff
remove quotes to generate valid json output
mod - src/dird/dird_conf.c Diff File

master 894d61a1

2015-04-07 22:20

mvwieringen

Ported: N/A

Details Diff
First attempt at more robust database connectivity.

- Allow reconnect of database connection when no transaction is pending.
- Allow setting of database connection failure to be fatal e.g. end
program.
Affected Issues
0000426
mod - src/cats/bdb_dbi.h Diff File
mod - src/cats/bdb_ingres.h Diff File
mod - src/cats/bdb_mysql.h Diff File
mod - src/cats/bdb_postgresql.h Diff File
mod - src/cats/bdb_priv.h Diff File
mod - src/cats/bdb_sqlite.h Diff File
mod - src/cats/cats_backends.c Diff File
mod - src/cats/cats_backends.h Diff File
mod - src/cats/dbi.c Diff File
mod - src/cats/ingres.c Diff File
mod - src/cats/mysql.c Diff File
mod - src/cats/postgresql.c Diff File
mod - src/cats/protos.h Diff File
mod - src/cats/sql_glue.h Diff File
mod - src/cats/sql_pooling.c Diff File
mod - src/cats/sqlite.c Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File

master 9081d869

2015-04-07 14:59

pstorz

Ported: N/A

Details Diff
Also replace @bindir@ in windows config files
mod - platforms/win32/fillup.sed Diff File

bareos-14.2 eac795dd

2015-04-07 14:59

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Also replace @bindir@ in windows config files
mod - platforms/win32/fillup.sed Diff File

master be8a917f

2015-04-03 17:38

mvwieringen

Ported: N/A

Details Diff
Statistics thread should lock resources.

As the statistics thread runs as a JT_SYSTEM thread it needs to lock the
resource tree while traversing it as it could be reloaded. So we now
keep track of the current store we are processing and lock things as
short as possible. On determining the next store to use we have now the
name of the previous one we processed in the current_store variable.
When current_store is set we lookup that name and determine the next
store, if for whatever reason that gets removed (by the reload) we just
start from the beginning again collecting stats from each storage
daemon. We also cache the storageid after connecting to the daemon and
use that info in the actual statistics retrieval. Connecting to the SD
is also limited to 2 retries and 1 second wait time. We want to quickly
probe the SDs and when they are not available they will get polled in a
next run for their statistics.
mod - src/dird/stats.c Diff File

bareos-14.2 f99c722e

2015-04-03 17:38

mvwieringen

Ported: N/A

Details Diff
Statistics thread should lock resources.

As the statistics thread runs as a JT_SYSTEM thread it needs to lock the
resource tree while traversing it as it could be reloaded. So we now
keep track of the current store we are processing and lock things as
short as possible. On determining the next store to use we have now the
name of the previous one we processed in the current_store variable.
When current_store is set we lookup that name and determine the next
store, if for whatever reason that gets removed (by the reload) we just
start from the beginning again collecting stats from each storage
daemon. We also cache the storageid after connecting to the daemon and
use that info in the actual statistics retrieval. Connecting to the SD
is also limited to 2 retries and 1 second wait time. We want to quickly
probe the SDs and when they are not available they will get polled in a
next run for their statistics.
mod - src/dird/stats.c Diff File

master 666ffbe2

2015-04-02 12:44

mvwieringen

Ported: N/A

Details Diff
Add support for setting the dbg_timestamp flag via setdebug.

There was no way to enable the dbg_timestamp after starting the daemon
so added functionallity analog to setting the level and trace flag to
the generic set_debug cmd.
mod - src/dird/dird.h Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/filed/authenticate.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/lib/message.c Diff File
mod - src/lib/protos.h Diff File
mod - src/stored/dir_cmd.c Diff File

bareos-14.2 f16b6f5d

2015-04-02 12:44

mvwieringen

Ported: N/A

Details Diff
Add support for setting the dbg_timestamp flag via setdebug.

There was no way to enable the dbg_timestamp after starting the daemon
so added functionallity analog to setting the level and trace flag to
the generic set_debug cmd.
mod - src/dird/dird.h Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/filed/authenticate.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/lib/message.c Diff File
mod - src/lib/protos.h Diff File
mod - src/stored/dir_cmd.c Diff File

master ea3b114e

2015-03-31 16:11

mvwieringen

Ported: N/A

Details Diff
Use proper variable type for format attribute.

DeviceIoControl with flag FSCTL_SET_COMPRESSION expect the format to be
as unsigned short not integer which can be 32 or 64 bits depending on
the compile. Switched this variable to uint16_t which should be an
unsigned short.

Fixes 0000436: Restore crash file daemon
Affected Issues
0000436
mod - src/findlib/attribs.c Diff File

bareos-14.2 0cd4fe01

2015-03-31 16:11

mvwieringen

Ported: N/A

Details Diff
Use proper variable type for format attribute.

DeviceIoControl with flag FSCTL_SET_COMPRESSION expect the format to be
as unsigned short not integer which can be 32 or 64 bits depending on
the compile. Switched this variable to uint16_t which should be an
unsigned short.

Fixes 0000436: Restore crash file daemon
Affected Issues
0000436
mod - src/findlib/attribs.c Diff File

master 9f9a88d4

2015-03-30 13:56

frank


Committer: mvwieringen

Ported: N/A

Details Diff
Spelling error correction
mod - scripts/bareos-config-lib.sh.in Diff File
mod - src/cats/grant_bareos_privileges.in Diff File

bareos-14.2 19d075e9

2015-03-30 13:56

frank


Committer: mvwieringen

Ported: N/A

Details Diff
Spelling error correction
mod - scripts/bareos-config-lib.sh.in Diff File
mod - src/cats/grant_bareos_privileges.in Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 500 501 502 503 504 505 506 ... 540 ... 600 ... 612 613 614  Next  Last