Commit Graph
74 Commits
Author SHA1 Message Date
kenneth@hexad.dk d3d1362d5b Improved error messages from the SharpSSH library
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.1@1178 59da171f-624f-0410-aa54-27559c288bec
2012-03-21 19:40:47 +00:00
birunthan.mohanathas 38f29f3877 Minor changes.
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.1@1149 59da171f-624f-0410-aa54-27559c288bec
2012-02-24 13:44:54 +00:00
rstach@gmail.com 3bf5a74a76 Set max port to 65535
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.1@1131 59da171f-624f-0410-aa54-27559c288bec
2012-02-12 10:27:45 +00:00
birunthan.mohanathas 4a5e66bb1b [1.3.1] Fixed Options dialog tab order.
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.1@1082 59da171f-624f-0410-aa54-27559c288bec
2012-01-07 16:18:02 +00:00
birunthan.mohanathas b72721569c [1.3.1] Updated Options dialog UI.
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.1@1081 59da171f-624f-0410-aa54-27559c288bec
2012-01-07 16:03:28 +00:00
kenneth@hexad.dk 0f597aa5c2 Fixed a bug with SSH hanging and preventing shutdown
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1062 59da171f-624f-0410-aa54-27559c288bec
2011-12-13 20:41:51 +00:00
kenneth@hexad.dk da9cb8f62c Update issue #517
Status: Fixed

Applied patch

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1060 59da171f-624f-0410-aa54-27559c288bec
2011-12-13 19:20:55 +00:00
kenneth@hexad.dk 8c4d02f043 Update issue #504
Status: Fixed

The mkdir command is now executed without a trailing slash.
Since this is too close to the release of 1.3, there is a fallback that will try with a trailing slash as well, to catch the odd case where a SSH server has the opposite problem.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1052 59da171f-624f-0410-aa54-27559c288bec
2011-12-05 17:16:08 +00:00
kenneth.skovhede@gmail.com 8b7d8c0270 Update issue #500
Status: Fixed
The user is no longer asked to verify the password for the connection

git-svn-id: https://duplicati.googlecode.com/svn/trunk@973 59da171f-624f-0410-aa54-27559c288bec
2011-11-05 14:52:18 +00:00
kenneth.skovhede@gmail.com fb7e36636b Update issue #490
Status: Fixed
The UI will now validate the servername to avoid problems with incorrect hostnames.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@956 59da171f-624f-0410-aa54-27559c288bec
2011-10-30 08:49:15 +00:00
kenneth.skovhede@gmail.com 91c4af1400 The UI now sends a special flag to the backend GUI that tells the current mode of operation.
This flag allows the backends to provide better testing and warning messages.

Update issue #407
Status: Fixed

The backends now check for existing files in the target directory,
and specially looks for any "duplicati-*" files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@922 59da171f-624f-0410-aa54-27559c288bec
2011-10-01 14:55:38 +00:00
kenneth.skovhede@gmail.com 0b8b0d44ea Update issue #392
Status: Fixed

There is now a more consistent parsing of boolean commandline parameters.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@918 59da171f-624f-0410-aa54-27559c288bec
2011-09-27 05:35:49 +00:00
kenneth.skovhede@gmail.com ac508367b4 The persistent connections were disposing their data.
Update issue #478
Status: Fixed
This is now fixed and will be part of the next preview release.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@917 59da171f-624f-0410-aa54-27559c288bec
2011-09-27 05:12:22 +00:00
kenneth.skovhede@gmail.com 7ef7a98918 Update issue #251
Status: Fixed

The backend connections are now re-used.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@913 59da171f-624f-0410-aa54-27559c288bec
2011-09-24 11:39:50 +00:00
kenneth.skovhede@gmail.com c85deda4c4 Updated project files to VS2010 instead of the rather outdated VS2008, this should make things easier for new people joining in.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@874 59da171f-624f-0410-aa54-27559c288bec
2011-09-09 17:10:35 +00:00
kenneth.skovhede@gmail.com aa63769bce Update issue #150
Status: Fixed

There is now a check to see if there are any duplicati-* files on the remote backend.
This is not done for the file-based backend, because that backend does not have a Test button.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@828 59da171f-624f-0410-aa54-27559c288bec
2011-07-04 17:25:11 +00:00
kenneth.skovhede@gmail.com b0a359fd27 Updated license text
git-svn-id: https://duplicati.googlecode.com/svn/trunk@770 59da171f-624f-0410-aa54-27559c288bec
2011-05-09 19:52:28 +00:00
hugh@hugheaves.com bc00bf1fbe Backed out changes accidentally commited to trunk
git-svn-id: https://duplicati.googlecode.com/svn/trunk@759 59da171f-624f-0410-aa54-27559c288bec
2011-04-27 20:42:14 +00:00
hugh@hugheaves.com 2f8f0be0f1 git-svn-id: https://duplicati.googlecode.com/svn/trunk@758 59da171f-624f-0410-aa54-27559c288bec 2011-04-27 20:24:44 +00:00
kenneth.skovhede@gmail.com 4cb43e62f3 Added an option to the SSH module to allow working with SSH servers that have a broken cd command.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@684 59da171f-624f-0410-aa54-27559c288bec
2011-02-06 12:58:07 +00:00
kenneth.skovhede@gmail.com e2f7c2afac Update issue #346
Status: Fixed
I have now added password verification dialogs to all password fields.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@674 59da171f-624f-0410-aa54-27559c288bec
2011-01-15 15:40:33 +00:00
kenneth.skovhede@gmail.com 15635465cb Reverted the signing of SSH and TahoeLAFS because it caused load issues to have them signed.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@660 59da171f-624f-0410-aa54-27559c288bec
2010-12-30 14:02:05 +00:00
kenneth.skovhede@gmail.com 75000e64eb Update issue #321
Status: Fixed

There were some issues with namespaces and signing of the files,
which caused the translations to not load.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@649 59da171f-624f-0410-aa54-27559c288bec
2010-12-28 14:27:34 +00:00
kenneth.skovhede@gmail.com 8a0f95cc1d Fixed a problem with SSH backend requiring a keyfile.
Update issue #323
Status: Fixed

I see the problem, in SSHUI.cs line 107, the keyfile option is always set, even if it is empty.
I have added checks to detect the empty string in the UI and the backend itself.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@639 59da171f-624f-0410-aa54-27559c288bec
2010-12-18 11:20:59 +00:00
kenneth.skovhede@gmail.com 7270d2721c Fixed some strings for CloudFiles that mentioned AWS.
Fixed some strings for SSH help.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@627 59da171f-624f-0410-aa54-27559c288bec
2010-12-11 17:10:54 +00:00
kenneth.skovhede@gmail.com 1057424b0d Update issue #153
I have now added preliminary support for keyfiles under SSH.
For the time being it only supports OpenSSH private key files, and only unencrypted or tripple-DES encrypted ones.
This is a limitation of the SharpSSH library, which is based on an old JSCH implementation with this limitation.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@622 59da171f-624f-0410-aa54-27559c288bec
2010-12-07 21:13:51 +00:00
kenneth.skovhede@gmail.com e7dc268fad Renamed the Duplicati.Library.Core dll to Duplicati.Library.Utility as the "Core" name was misleading.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@591 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 11:08:15 +00:00
kenneth.skovhede@gmail.com 6cbe503d28 The logic for missing folders on the backends have changed.
Previously some backends autocreated a missing folder, and some threw an exception.

The new standard is that all backends throw the FolderMissingException on all access (except delete).
This means that the Test() and List() methods are now the same for all stock backends.
Third-party applications that use the backends should implement custom logic to auto-create the folders,
when the FolderMissingException is encountered.

Duplicati auto-creates missing folders, but this can be toggled through the new flag --disable-autocreate-folders.
In case the auto-create fails to detect a missing folder, there is now a "create-folder" action in the commandline version.

Update issue #102
Status: Fixed
The IBackend_v2 interface has the CreateFolder and Test methods.
The CreateFolder is exposed to the commandline interface with the action create-folder.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@558 59da171f-624f-0410-aa54-27559c288bec
2010-10-23 11:40:43 +00:00
kenneth.skovhede@gmail.com 0da110ca99 Fixed a race-condition where an abort at a specific time would cause a thread to crash.
Only happens if the backend is unmanaged ssh, and is pretty hard to hit.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@547 59da171f-624f-0410-aa54-27559c288bec
2010-10-15 16:52:03 +00:00
kenneth.skovhede@gmail.com e23818903d Update issue #233
Status: Fixed
Removed the remaining warnings in the log

git-svn-id: https://duplicati.googlecode.com/svn/trunk@533 59da171f-624f-0410-aa54-27559c288bec
2010-10-03 12:20:04 +00:00
kenneth.skovhede@gmail.com effdba0558 Update issue #134
Status: Fixed

I have now implemented a password protection control.
You can now only view passwords when you enter them.
After this, you may reset the passwords, by entering a
new one, but you cannot read the existing passwords.

To protect against people reading the database,
which contains the passwords in clear text, the
database is now encrypted by using the standard 
SQLite encryption method. This is different
than what I proposed, but is a much stronger
protection than merely scrambling the passwords,
and also protects all information (servername, etc).

It works by setting an environment variable
called DUPLICATI_DB_KEY. When no password
is set, Duplicati will use the key "Duplicati_Key_42",
ensuring that all databases are encrypted by default.

Using a pre-defined publicly known key is obviously
not a strong protection, but it protects from casual
users attempting to browse the database, and it also
protects from string scanners that scan a harddisk
for possible passwords.

On the first startup, Duplicati will encrypt the database,
using the mentioned key. You may want to delete any backup
databases that are placed in the same folder as the database.

Should you wish to decrypt the database, you can start 
Duplicati.exe with the commandline option "--unencrypted-database".
This will use the current key to decrypt the database, and save it
without encryption.

Should you wish to change the database password, simply decrypt the
database, then change the password via the environment variable,
and start Duplicati.exe as normal.

The SQLite documentation for the feature is here:
http://www.hwaci.com/sw/sqlite/see.html

Unfortunately, it does not seem as if any
of the free SQLite tools supports this.

The SQLite library found on Ubuntu
does not support encryption, so I have disabled 
this feature by default on Linux.

If a user has a special compiled version
of SQLite, they may use the environment
variables as mentioned above.

I will write this information into a wiki
page as soon asap.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@498 59da171f-624f-0410-aa54-27559c288bec
2010-09-07 21:39:22 +00:00
kenneth.skovhede@gmail.com 9de3be0ddd Update issue #256
Status: Fixed

I have now fixed it so the UI sets the required option automatically.

I also fixed a minor typo "sfpt" -> "sftp".

git-svn-id: https://duplicati.googlecode.com/svn/trunk@486 59da171f-624f-0410-aa54-27559c288bec
2010-08-31 20:15:42 +00:00
kenneth.skovhede@gmail.com 92829fa393 Fixed issue #242.
Corrected a lot of avalible -> available and recieve -> receive spelling errors.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@462 59da171f-624f-0410-aa54-27559c288bec
2010-08-12 18:37:15 +00:00
kenneth.skovhede@gmail.com 1153d097fc Fixed various version information
git-svn-id: https://duplicati.googlecode.com/svn/trunk@460 59da171f-624f-0410-aa54-27559c288bec
2010-08-11 07:23:34 +00:00
kenneth.skovhede@gmail.com d46706337c Updated copyright headers.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@428 59da171f-624f-0410-aa54-27559c288bec
2010-06-19 21:17:33 +00:00
kenneth.skovhede@gmail.com a40f6acf37 A fairly large refactoring of the code.
This was based on the idea that the interfaces should remain static.
I hope this change is enough to ensure stable interfaces until release 1.2.

Overview of changes:
Moved all interfaces into the same dll.
Encryption and compression is now plugable modules, just as the backends.
Encryption/compression can now register an UI.
Encryption now uses AESCrypt as a default.
GPG does not default to using the --armor option.
Added support for generic modules, but none are written yet.
Added support for plugable settings pages in the "Options" dialog.

Fixed issue #148.
Duplicati now uses AESCrypt as the default encryption format.

Fixed issue #199.
GPG now supports custom commandline options.

Fixed issue #207.
Encryption modules are now plugable.

Fixed issue #118.
S3 credentials are now stored.

Fixed issue #151.
Backends can now register system wide options.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@427 59da171f-624f-0410-aa54-27559c288bec
2010-06-19 21:08:21 +00:00
kenneth.skovhede@gmail.com 21f503318c Added option to compile as x86, to support 64bit debugging, see:
http://www.slickit.ca/2009/06/fixing-visual-studios-edit-and-continue.html

git-svn-id: https://duplicati.googlecode.com/svn/trunk@387 59da171f-624f-0410-aa54-27559c288bec
2010-03-30 15:09:28 +00:00
kenneth.skovhede@gmail.com 9e636f4cb1 Fixed issue #179.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@378 59da171f-624f-0410-aa54-27559c288bec
2010-03-04 21:52:53 +00:00
kenneth.skovhede@gmail.com c7f9668840 Fixed n issue with the unmanaged SSH backend (sftp/psftp based).
I belive this is the correct fix for issue #126.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@373 59da171f-624f-0410-aa54-27559c288bec
2010-02-15 19:47:42 +00:00
kenneth.skovhede@gmail.com c094073aa0 Fixed issue #166.
Fixed various items where ".Peek() < 0" was used instead of ".EndOfStream".
Added transfer time to the SSH List command, to support larger lists.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@372 59da171f-624f-0410-aa54-27559c288bec
2010-02-14 22:27:51 +00:00
kenneth.skovhede@gmail.com 1f87e01fc7 Fixed issue #129.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@337 59da171f-624f-0410-aa54-27559c288bec
2010-01-17 20:21:08 +00:00
kenneth.skovhede@gmail.com 2ef98b1806 Fixed a bug with a .Net 2.0 without service packs.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@315 59da171f-624f-0410-aa54-27559c288bec
2010-01-05 21:16:29 +00:00
kenneth.skovhede@gmail.com 05bfadbc41 Updated License notice to 2010
git-svn-id: https://duplicati.googlecode.com/svn/trunk@311 59da171f-624f-0410-aa54-27559c288bec
2010-01-03 22:57:13 +00:00
kenneth.skovhede@gmail.com edd1eb31c6 Fixes for issue #126, and a proposed workaround for issue #59.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@299 59da171f-624f-0410-aa54-27559c288bec
2009-11-01 21:14:52 +00:00
kenneth.skovhede@gmail.com 5010e4f094 Fixed issue #96.
Added a small application to fix future issues with embedded escape codes.
Also fixed some encoding issues with the pt-BR files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@298 59da171f-624f-0410-aa54-27559c288bec
2009-09-26 09:43:02 +00:00
kenneth.skovhede@gmail.com 293311b68f All backends are now ported, needs a lot of testing before it can go into trunk
git-svn-id: https://duplicati.googlecode.com/svn/branches/Issue77@286 59da171f-624f-0410-aa54-27559c288bec
2009-09-20 20:58:49 +00:00
kenneth.skovhede@gmail.com f64e7ad8d7 Build r276
git-svn-id: https://duplicati.googlecode.com/svn/trunk@276 59da171f-624f-0410-aa54-27559c288bec
2009-09-14 20:23:46 +00:00
kenneth.skovhede@gmail.com 205ccdbbb0 Work on for issue #59, the timeout should now be obeyed correctly.
Slight modification for the printout in the backend tester.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@275 59da171f-624f-0410-aa54-27559c288bec
2009-09-14 20:15:04 +00:00
kenneth.skovhede@gmail.com 0b82b67d38 Adjusted install build procedure to work with a clean checkout and a release build.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@272 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 21:18:18 +00:00
kenneth.skovhede@gmail.com 6167b04e75 Removed unused code, thanks to the warnings given by MonoDevelop.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@270 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 20:40:31 +00:00