Dietmar Maurer
|
afb4cd28be
|
src/backup/fixed_index.rs: implement BufferedFixedReader
|
2019-07-05 09:19:56 +02:00 |
|
Christian Ebner
|
7dcbe051e9
|
pxar: Refactor SequentialDecoder to store the callback function within the struct
Reduces the number of arguments for the function calls within the decoder.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
|
2019-07-05 06:38:22 +02:00 |
|
Dietmar Maurer
|
86eda3eb0d
|
src/bin/proxmox-backup-client.rs: implement restore using BackupReader
|
2019-07-03 15:45:12 +02:00 |
|
Dietmar Maurer
|
6d1f61b208
|
use hyper/tokio-openssl instead of hyper/tokio-tls
This exposes the complete SSL setup. And download is much faster
now (600MB/s instead of 130MB/s)!
|
2019-07-02 13:36:28 +02:00 |
|
Dietmar Maurer
|
74d0a6bc23
|
src/bin/proxmox-backup-proxy.rs: set socket options for max. performance
|
2019-07-02 10:48:58 +02:00 |
|
Dietmar Maurer
|
93f8bb0445
|
src/bin/h2s-client.rs: avoid compiler warnings
|
2019-07-02 08:59:33 +02:00 |
|
Dietmar Maurer
|
dc9775d1b0
|
src/bin/h2s-client.rs: increase tokio tcp stream read buffer size
This improves download speed by factor 10.
|
2019-06-29 18:09:50 +02:00 |
|
Dietmar Maurer
|
34f7131160
|
src/bin/h2s-client.rs: avoid hyper, use h2 directly
But performance is still bad.
|
2019-06-29 15:58:18 +02:00 |
|
Dietmar Maurer
|
5ed2277f0e
|
src/bin/h2s-server.rs: test to reproduce slow h2 download
Simplified code, use with h2s-client.rs.
|
2019-06-29 14:57:54 +02:00 |
|
Dietmar Maurer
|
17243003b3
|
src/bin/download-speed.rs: h2 download speedtest for our server
I get about 30MB/s (much too slow)
|
2019-06-29 13:43:10 +02:00 |
|
Dietmar Maurer
|
872debdefa
|
src/bin/h2client.rs: tune h2 client parameters to get reasonable speed
We now get about 2.5GB/s (not really good, but better)
|
2019-06-29 10:41:24 +02:00 |
|
Dietmar Maurer
|
fded1f3154
|
add code to test H2 speed
I currently get about 1MB/s, which is ways too slow (must be a bug)?
|
2019-06-29 10:08:12 +02:00 |
|
Dietmar Maurer
|
b208da8393
|
src/backup/data_{chunk,blob}.rs: add verify_crc method
|
2019-06-26 09:54:25 +02:00 |
|
Dietmar Maurer
|
fef44d4f78
|
src/bin/proxmox-backup-client.rs: decode blobs on download
No more need for that clumsy blob cli (removed).
|
2019-06-26 09:18:59 +02:00 |
|
Dietmar Maurer
|
bb8231409e
|
src/backup/crypt_config.rs - generate_rsa_encoded_key: store as json
Use the KeyConfig serialization with kdf = None.
|
2019-06-26 07:32:34 +02:00 |
|
Dietmar Maurer
|
3031e44c58
|
src/bin/proxmox-backup-client.rs: remove stale download file, start blob cli
|
2019-06-25 13:00:37 +02:00 |
|
Dietmar Maurer
|
45db6f89e1
|
src/bin/proxmox-backup-client.rs: implement download command
|
2019-06-25 11:17:24 +02:00 |
|
Dietmar Maurer
|
6899dbfb47
|
src/bin/proxmox-backup-client.rs: strip .blob extension
|
2019-06-25 07:11:02 +02:00 |
|
Dietmar Maurer
|
045e8a568d
|
src/bin/proxmox-backup-client.rs: change key name to rsa-encrypted.key
|
2019-06-25 07:00:07 +02:00 |
|
Dietmar Maurer
|
9f46c7de4b
|
src/bin/proxmox-backup-client.rs: upload rsa encoded key after backup
|
2019-06-24 13:56:37 +02:00 |
|
Dietmar Maurer
|
cb08ac3efe
|
src/api2/backup.rs: replace upload_config with upload_blob
|
2019-06-23 11:44:30 +02:00 |
|
Dietmar Maurer
|
a7f67a9a9c
|
depend on crc32fast
We can use this to compute fast checksums to test file integrity (not crypto safe).
|
2019-06-21 15:58:00 +02:00 |
|
Dietmar Maurer
|
3ea8bfc9c0
|
src/bin/proxmox-backup-client.rs: add import-master-pubkey command
|
2019-06-21 07:34:17 +02:00 |
|
Dietmar Maurer
|
37c5a17505
|
src/bin/proxmox-backup-client.rs: helper to generate RSA master key
|
2019-06-21 07:12:19 +02:00 |
|
Dietmar Maurer
|
ab44acff57
|
src/backup/key_derivation.rs: add modified field to key file
|
2019-06-20 07:58:33 +02:00 |
|
Dietmar Maurer
|
6d0983dbe1
|
src/bin/proxmox-backup-client.rs: add keyfile parameter for backup
|
2019-06-19 17:16:41 +02:00 |
|
Dietmar Maurer
|
181f097af9
|
src/bin/proxmox-backup-client.rs - key API: pass kdf parameter
Allow to store keys without password.
|
2019-06-18 18:21:01 +02:00 |
|
Dietmar Maurer
|
9b06db4563
|
src/bin/proxmox-backup-client.rs: use file system path to reference keys
|
2019-06-18 17:38:50 +02:00 |
|
Dietmar Maurer
|
091540298e
|
src/bin/proxmox-backup-client.rs - create_key: always read password from tty
|
2019-06-18 17:27:52 +02:00 |
|
Dietmar Maurer
|
826f309bf5
|
src/backup/key_derivation.rs: move kdf code into separate file
|
2019-06-18 11:17:22 +02:00 |
|
Dietmar Maurer
|
ac71623483
|
src/bin/proxmox-backup-client.rs: implement "key change-passphrase"
|
2019-06-17 13:10:00 +02:00 |
|
Dietmar Maurer
|
f2401311b0
|
src/bin/proxmox-backup-client.rs: start key management
|
2019-06-17 10:33:24 +02:00 |
|
Dietmar Maurer
|
0f37577092
|
src/bin/cipherbench.rs: add test for zstd compression
|
2019-06-13 17:24:57 +02:00 |
|
Dietmar Maurer
|
9399c98f82
|
src/bin/cipherbench.rs: cipher speed test with large blocks
|
2019-06-13 17:16:43 +02:00 |
|
Dietmar Maurer
|
f98ac774ee
|
backup: Add support for client side encryption
first try ...
|
2019-06-13 11:47:23 +02:00 |
|
Wolfgang Bumiller
|
dd5495d6dc
|
tree-wide: use 'dyn' for all trait objects
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2019-06-07 13:13:48 +02:00 |
|
Dietmar Maurer
|
4247fccb0f
|
src/client/http_client.rs: automatically close connection in finish
|
2019-06-05 11:41:50 +02:00 |
|
Wolfgang Bumiller
|
cb4426b348
|
make h2 client connection cancellable
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2019-06-05 09:45:59 +02:00 |
|
Dietmar Maurer
|
7773ccc11f
|
src/api2.rs: move backup api to /backup
|
2019-06-05 07:23:21 +02:00 |
|
Christian Ebner
|
97eeea3b4a
|
src/bin/proxmox-backup-proxy.rs: fix typo in pkcs12 error message
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
|
2019-06-05 06:29:02 +02:00 |
|
Dietmar Maurer
|
22e5aa1d3e
|
src/bin/dump-backup-api.rs: helper to generate backup API docs
|
2019-06-04 13:12:42 +02:00 |
|
Dietmar Maurer
|
ec8a9bb953
|
src/bin/proxmox-backup-client.rs: implement upload_config
|
2019-06-03 10:39:44 +02:00 |
|
Dietmar Maurer
|
1c0472e88f
|
avoid compiler warnings
|
2019-06-03 06:43:47 +02:00 |
|
Dietmar Maurer
|
36898ffce6
|
src/backup/chunk_stream.rs: add optional chunk_size parameter
|
2019-05-30 13:28:24 +02:00 |
|
Dietmar Maurer
|
49ef316bcd
|
src/bin/proxmox-backup-client.rs: backup_image() - pass correct chunk size
|
2019-05-30 12:52:12 +02:00 |
|
Dietmar Maurer
|
202cadc29e
|
src/bin/proxmox-backup-client.rs: remove unused code
|
2019-05-30 12:47:35 +02:00 |
|
Dietmar Maurer
|
6af905c18f
|
src/bin/proxmox-backup-client.rs: implement image/block-device upload
|
2019-05-30 12:46:01 +02:00 |
|
Dietmar Maurer
|
eb1804c567
|
src/bin/proxmox-backup-client.rs: use std lib instead of nix
|
2019-05-30 12:19:23 +02:00 |
|
Dietmar Maurer
|
6e907505aa
|
src/bin/proxmox-backup-client.rs: fix file type test
|
2019-05-30 12:08:34 +02:00 |
|
Dietmar Maurer
|
39e60bd6fa
|
src/api2/admin/datastore/backup.rs: improve debug logging
|
2019-05-29 10:17:38 +02:00 |
|