Martin
5b28aed036
Replace NULL with nullptr
2021-06-20 20:58:50 +02:00
Martin
bbb9dc66ff
Replace std::auto_ptr with std::unique_ptr
2021-06-20 17:56:33 +02:00
Martin
07b3a65cc7
Add generation number to share refcounting
2021-03-30 02:23:58 +02:00
Martin
bedbe0bde1
Don't delete old snapshots on Linux as long as they are still used
2021-03-26 00:23:39 +01:00
Martin
f6ee8008c6
Merge branch 'dev' of github.com:uroni/urbackup_backend into dev
...
# Conflicts:
# create_osx_installer.sh
# urbackupclient/ClientService.cpp
2021-03-14 17:27:55 +01:00
grumat
69e6dbd6cb
Code review for last commit
2021-03-13 20:51:32 +01:00
grumat
4f85eb596e
Fixed crash with nested popen() calls; pclose() was also missing.
2021-03-13 20:41:20 +01:00
Mathias Gruber
4096fd5a2a
Fixed Application bundle relative paths for OS build.
...
The use of absolute paths causes Exceptions, depending on Bundle install location.
2021-01-04 01:02:35 +01:00
Mathias Gruber
a58442df61
Review of OSX porting issues
...
Fixed general compile errors.
Fixed a bug in caused by different stavfs semantics between Linux and BSD. This caused the computing of invalid disk sizes. The use of 32-bit data-types on BSD were also causing truncation errors for a multiplication.
2020-12-29 17:06:31 +01:00
Martin
8324f9c3a1
Local file backup WIP
2020-12-17 21:25:56 +01:00
Martin
94aa8a243e
Wait a bit for server to start reading before removing parallel hash file again
2020-12-05 22:39:54 +01:00
Martin
0fa8b683f2
Fix ipv6 accept issue in filesrv that caused 100% CPU usage
2020-12-04 21:11:10 +01:00
Martin
9c088b9d9f
Handle unwritten extents in Linux CBT
2020-10-06 18:58:21 +02:00
Martin
b7badcc296
Only use CBT up to valid data length
...
(cherry picked from commit 0f0896244c )
# Conflicts:
# urbackupserver/dllmain.cpp
2020-10-06 18:30:00 +02:00
Martin
225ef5e0bf
Add local/passive connection encryption/compression
2020-08-11 00:11:18 +02:00
Martin
6572ca705b
Fix problem in fix for piped tar file hash issue after resume
2020-02-27 22:25:07 +01:00
Martin
6f0776ed21
Fix SOCK_CLOEXEC removal
...
(cherry picked from commit ad6ef2fb7a )
2020-02-04 23:21:35 +01:00
Martin
5503f8e793
Fix build issue
...
(cherry picked from commit 32a97b6bc4 )
2020-02-04 23:20:15 +01:00
Martin
9d311e9ec5
Work-around non-working SOCK_CLOEXEC
...
(cherry picked from commit 2a948af1780041af77386ec83865c30158dcda76)
# Conflicts:
# Server.cpp
# ServiceAcceptor.cpp
# fileservplugin/CTCPFileServ.cpp
# fileservplugin/CUDPThread.cpp
(cherry picked from commit 4722bc347d )
# Conflicts:
# fileservplugin/CTCPFileServ.cpp
2020-02-04 23:19:40 +01:00
Martin
306067864f
Upgrade to Visual Studio 2019
...
(cherry picked from commit d6df6377ef )
2020-02-04 23:15:26 +01:00
Martin
4e4f7b1b4c
Wait for stderr for 10s to prevent race where streamed piped file is missing hash
2019-11-11 21:13:30 +01:00
Martin
d0582908a5
More explicit setting configuration
2019-10-28 19:24:03 +01:00
Martin
7cea391e78
Handle error returned from listen()
2019-10-20 03:20:47 +02:00
Martin
99bff33cbc
Add tar file hashing debug logging
2019-09-18 23:17:59 +02:00
Martin
4fb649c4de
Add tar file hashing debug logging + fix issue
2019-09-18 19:12:11 +02:00
Martin
ef8acaabd0
Fix piped tar file hash issue after resume
2019-09-18 18:00:19 +02:00
Martin
5b318825fa
Wait for parallel hash thread to finish before deleting it
2019-08-24 15:37:55 +02:00
Martin
9f864b3b98
Improve error handling if e.g. bind() call fails
2019-08-15 20:26:15 +02:00
Martin
b9e220ef22
Obtain backup/restore privileges on Windows to read symlinks
2019-08-13 22:43:35 +02:00
Martin
f180fa97cd
Obtain backup/restore privileges on Windows to read symlinks
2019-08-13 22:36:48 +02:00
Martin
1ffefce796
Use more recent android sdk version to get posix_spawn support
2019-07-11 22:59:01 +02:00
Martin
c665c6ac4e
Build Linux binaries with Android NDK
2019-07-06 21:57:18 +02:00
Martin
73ccb02f2b
Close ipv6 udpsock
2019-07-05 15:42:43 +02:00
Martin Raiber
65e6a1d576
Make ipv6 optional per default
2019-06-24 14:05:17 +02:00
Martin
f1b3cf899f
Define IPV6_ADD_MEMBERSHIP
2019-05-22 18:36:19 +02:00
Martin
fec6f0afff
Set IPV6_V6ONLY on ipv6 sockets
2019-05-14 16:17:05 +02:00
Martin Raiber
2be94b8df2
Fix build on Linux
2019-05-13 22:34:20 +02:00
Martin
f68bf7386d
IPv6 support (mostly on Windows for now)
2019-05-13 17:57:44 +02:00
Martin
9f1971987f
Functionality to interrupt parallel hash loading threads on clients
2019-05-13 17:55:22 +02:00
Martin
b684cb485d
Set socket window size to 3MiB send buffer and 128KiB recv buffer for client on Windows
2019-04-19 17:08:35 +02:00
Martin
08947aa4ec
Correct flushing when sending full file
...
(cherry picked from commit 243ee5bad46c276b207e1d253898e60c97700916)
2019-03-30 00:25:34 +01:00
Martin
90845ccf85
Improve error message
...
(cherry picked from commit 9d01f8bec2fa0110bdf973d38354a22753e9b5bb)
2019-01-09 18:52:01 +01:00
Martin
ef7efc2cae
Change assert to log message and return
...
(cherry picked from commit 3b8808f82f88894e6cfc8549eed3b85af588b5de)
2018-12-16 03:55:37 +01:00
Martin
331562b249
Comment currently unused functionality
...
(cherry picked from commit 6b8465d0d01e3005b751b1e60110569976007b46)
2018-12-16 03:55:33 +01:00
Martin
af54a54bc5
Disable assertions
2018-11-27 01:58:46 +01:00
Martin
d984928b47
Do not use O_NOATIME/FILE_FLAG_BACKUP_SEMANTICS on server
2018-11-07 15:29:54 +01:00
Martin
56b888ae42
Retry llistxattr with a multiple of the required memory if it fails
2018-07-09 22:24:09 +02:00
Martin Raiber
9d8a84e66b
Merge remote-tracking branch 'origin/2.2.x' into dev
...
# Conflicts:
# urbackupserver/www/js/templates.js
2018-06-01 10:58:39 +02:00
Martin
858ef3048c
Add function to de-register script file mappings
2018-05-08 15:35:59 +02:00
Martin
adf6cf4a7f
Fix tar file large file size parsing
...
(cherry picked from commit 70825bf78f )
2018-05-04 01:30:37 +02:00