1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00
Commit Graph

99 Commits

Author SHA1 Message Date
Martin Prikryl
f074f481bf Bug fix: Do not say "Terminated by user" when the session has actually timed out.
(cherry picked from commit 1dc5bc03c9)

Source commit: e12c9159b6f2caa209e3017a4f08b4772cdfb581
2021-11-23 15:28:36 +01:00
Martin Prikryl
79f7c90fef Logging SSH authentication prompts responding
(cherry picked from commit 7ec3560bb8)

Source commit: 7fd555c45c64cad7f3a6a5c557d09ee35a61b904
2021-11-23 14:18:12 +01:00
Martin Prikryl
fa7be585e6 Bug 1991: No error message is sometimes shown when SFTP server disconnects
https://winscp.net/tracker/1991
(cherry picked from commit d377990775)

Source commit: d86b154627e1fafc1ac6852b95df5b11ffc4a4ad
2021-06-10 10:38:23 +02:00
Martin Prikryl
9f7490ab08 Bug 1977: Ignore disconnect messages from the server while closing the connection
https://winscp.net/tracker/1977
(cherry picked from commit 556633c71f)

Source commit: 9cb2c134e3c41ba48968eeeb53c94fd172b37c9f
2021-04-20 00:57:13 +02:00
Martin Prikryl
5594768de0 Bug 1970: Problems with port forwarding are not detected
https://winscp.net/tracker/1970
(cherry picked from commit d3644dddd0)

Source commit: 4178eaab1408be001329bcff98dad7298a0c030d
2021-04-01 00:50:55 +02:00
Martin Prikryl
8645873789 Adjusting parameter names to PuTTY 0.74
(cherry picked from commit c91bc6945b)

Source commit: 06ba917f7d6e590acd1a5891cf9eadced389b996
2020-11-26 13:24:44 +01:00
Martin Prikryl
8185237b19 Bug 1863: Allow turning off GSSAPI key exchange
https://winscp.net/tracker/1863
(cherry picked from commit d8792e4806)

# Conflicts:
#	source/core/SecureShell.cpp

Source commit: f7068cb3aab6e7710553956191fe48f3f593b7f8
2020-11-26 11:44:55 +01:00
Martin Prikryl
21d47649f0 When connecting to new SSH host, its host key can be automatically accepted in scripting and .NET assembly
(cherry picked from commit b79f8c4789)

Source commit: 6e2e836240f48d226a2e0af5cd92fb96a5c897bd
2020-11-26 10:45:36 +01:00
Martin Prikryl
7cfdd39380 Factoring out VerifyCachedHostKey
(cherry picked from commit 723d7aa3e5)

Source commit: abb434d87fda9bed638dad93a2787350f4f2b1e3
2020-11-26 10:42:33 +01:00
Martin Prikryl
06fc587359 GSSAPI key exchange authentication disabled as it caused failures when old version of MIT Kerberos was installed on the machine
(master branch version of the change - different to the dev version in dceed175)

https://winscp.net/tracker/1874

Source commit: a3240866f68b4e053549cf1300e076ad3b99dcb4
2020-05-28 02:36:14 +02:00
Martin Prikryl
045d5261c0 Bug 1845: Failure when fallback SSH channel fails to open (reimplementation with a help of PuTTY fix)
https://git.tartarus.org/?p=simon/putty.git;a=commit;h=e4b6a7efd2cab27a681c9a832f6c650abf57c7be

https://winscp.net/tracker/1845

Source commit: 6a07974041c29f45e317657b2b62053d5a6009c5
2020-04-05 01:47:21 +02:00
Martin Prikryl
d8df949fd1 Bug 1845: Failure when fallback SSH channel fails to open
https://winscp.net/tracker/1845

Source commit: 1f5324917d99f20b9574d37cb47013d61a7430e4
2020-04-03 01:20:38 +02:00
Martin Prikryl
d400aabc94 Bug 1837: Failure when primary SSH channel fails to open
https://winscp.net/tracker/1837

Source commit: 960e31849005eccf2b81a39505a363fac0959513
2020-03-27 01:27:13 +01:00
Martin Prikryl
5a54aaf111 Bug 1833: Cannot connect to SSH-1 servers
https://winscp.net/tracker/1833

Source commit: ba032585e748ac2590bce428c1c74b0c76c9aeb9
2020-03-05 02:28:37 +01:00
Martin Prikryl
46a9c8fed9 Bug 1798: Allow configuring additional PuTTY settings (e.g. terminal settings) to be used when opening a session in PuTTY
https://winscp.net/tracker/1798

Also fixes a build broken by eef27ac3 (and still not fixed by 5d189553)

Source commit: 0bd13d447e6da8427be1506b7c561d74e83b1b85
2019-10-11 01:56:00 +02:00
Martin Prikryl
eef27ac32f Making use of do_defaults to setup defaults
(works even for settings types we otherwise did not support - such as font, what we need for upcoming putty terminal configuration feature)

Source commit: 0e1b47ddb504c1fc739cde90bee71001543b875f
2019-10-10 01:12:32 +02:00
Martin Prikryl
9fcc1f7f4a cbcurr can be left behind when session is disconnected while a callback is called
Source commit: 555f30af4ec072eb3ebf40eaaa0f2b9492274b22
2019-08-22 00:43:19 +02:00
Martin Prikryl
22a9f710fc Bug 416: Selection of network interface
https://winscp.net/tracker/416

Source commit: 0f460ebfd82b35e2a577b53898db3e51efd03b74
2019-08-01 00:43:07 +02:00
Martin Prikryl
a6763f1077 Failure when failing to connect to non-existing host
Source commit: 3c5e69320322b87d14ea868679b8cee0e778cd10
2019-06-19 00:46:06 +02:00
Martin Prikryl
b98866adec Host key and certificate fingerprint verification improvements:
- When verifying a host key using an expected fingerprint, the expected fingerprint can contain only the checksum.
- When verifying a host key or a certificate using an expected fingerprint, the comparison is case-insensitive (with an exception of SHA-256 checksum).
- When verifying a host key using an expected fingerprint, a padding in SHA-256 checksum is not required
- TLS/SSL certificate fingerprints in generated URL use dashes (-) instead of colons (:)
- SHA-256 fingerprints in in generated URL use dashes (-) and underscores (_) instead of pluses (+) and slashes (/)

Source commit: 5d82e86b61ddce7d0b6b282764ca61764acf9b63
2019-06-14 02:05:26 +02:00
Martin Prikryl
0a584ec344 Do not wait for server to respond to EOF indefinitely (related to bdf994a7)
Source commit: 92761fe51d5cde0bfebe659d321a244cdb070fe8
2019-05-29 15:08:39 +02:00
Martin Prikryl
bdf994a731 Proper session cleanup after upgrade to PuTTY 0.71
(fixes the most prominent cleanup memory leaks)

Source commit: bc1f16cc89bb97e08790e9cd8c6aa91c40bfd339
2019-05-25 01:15:42 +02:00
Martin Prikryl
39f28507c2 Data transfers were not processed sometimes with local proxy command since update to PuTTY 0.71
Source commit: 45c97239ec3af058a613b5b2ac9eac8143d72e0e
2019-05-24 01:22:57 +02:00
Martin Prikryl
919cf6a535 Updating code to PuTTY 85550641
Source commit: a832bf8e6cf3697a073014ec6cf406224103eb04
2019-05-11 02:57:56 +02:00
Martin Prikryl
34f804bd0a Updating code to PuTTY 50877924
Source commit: eea16d3097e906355b509260bcd007d33c91a8e2
2019-05-10 01:57:20 +02:00
Martin Prikryl
8d01b42a6c Updating code to PuTTY c6a8731b
Source commit: ca8dce2e11950f5aea07d6594acb26852c30e8eb
2019-05-08 02:23:31 +02:00
Martin Prikryl
949fb00d5e Connection information is not displayed + It's logged with BOM
Source commit: 7c416bbf1e42b26db5b7fe7d2d1c7778dcc6f57d
2019-04-30 03:21:03 +02:00
Martin Prikryl
1736013ede Updating code to PuTTY 85770b20
Source commit: 0e857a27e6048eb749220759e5b7fafa75dc97fa
2019-04-25 01:00:38 +02:00
Martin Prikryl
1e599ffa91 Updating code to b4c8fd9d
Source commit: 9185b8e78c509be716a7a265aa5cc3a3870a6378
2019-04-16 02:47:39 +02:00
Martin Prikryl
e8993e53c9 Updating code to PuTTY 109df9f4
Source commit: 551deb1bf65b34cf4c505b174ad9cf8008e3b369
2019-04-13 01:55:52 +02:00
Martin Prikryl
d79d9f8922 Using backend_* API
Source commit: 3501b89ec2f2baadd49a7c58a4c34757877f5c9d
2019-04-11 01:34:37 +02:00
Martin Prikryl
a029c98fdf Updating code to PuTTY 2ca0070f (+ d624ae2a and fb07fccf)
Includes two additional later commits that are necessary for at least basic operation:
d624ae2a - Fix double-free bug in (non-EC) Diffie-Hellman
fb07fccf - Fix failure to handle SSH_MSG_EXTENDED_DATA

Source commit: 6713f7869e31b2cb3921400442300befebd3881a
2019-04-11 01:11:02 +02:00
Martin Prikryl
26237b4a04 Updating code to PuTTY 344ec3ae
Including part of 2e7ced64 (Give BPPs a Frontend, so they can do their own logging) - as it's useful for our thread-safe implementation of pktin_free_queue_callback

Source commit: f80dbdfd2041e079359ca77b1872e2d39eb47faf
2019-04-09 12:57:24 +02:00
Martin Prikryl
05f8d57ab8 Updating code to PuTTY f4fbaa1b
Source commit: 7beedaf29f986b1f363bf157f09153a9b56c6c33
2019-04-09 03:27:35 +02:00
Martin Prikryl
6dabeeb945 Updating code to PuTTY 242c0746
Source commit: 80c883fab996bc09c1c6c58943b9e80c7a936b95
2019-04-09 02:47:13 +02:00
Martin Prikryl
22dd9478aa Updating code to PuTTY 8001dd4c
Source commit: 72932a0b3f9b0a72abe62cbce5eee2f692127350
2019-04-06 03:15:17 +02:00
Martin Prikryl
7d69a757c7 Updating code to PuTTY 4f9a90fc + Session info now displays more verbose name of SSH cipher
Source commit: 2811aa215005f7ffdd03a4b8b06cde72be5137b9
2019-04-06 02:12:48 +02:00
Martin Prikryl
dd2c8f36cd Updating code to PuTTY 65b65bb
Also fixing apparent bug in chan_log_close_msg macro (which got reimplemented and consequently fixed in bit later PuTTY commit)

Source commit: db2b72f5c07836443b49455f7c829f8b0997986f
2019-04-05 08:24:51 +02:00
Martin Prikryl
fb68464892 Disconnect (at least during authentication) was not detected correctly with PuTTY 6c924ba code
Source commit: 521f8347185a16f438f4ee4048981820aa714d5e
2019-04-01 12:53:52 +02:00
Martin Prikryl
a1c81d248e Thread-safe implementation of PuTTY callbacks
See also the note in 8ce20a988 commit message.

Source commit: 9bed745884500e15a478e612b553fbaff6989c52
2019-03-30 01:19:30 +01:00
Martin Prikryl
8ce20a988b Merge branch 'thirdparty_dev' into dev + Plus minimal changes in code needed to make it compile and pass unit tests + Other changes are pending
What is pending:
- AES is now again compiled using Borland compiler (previously by VS)
- Add support for HW SHA

What is lost and needs to be re-implemented:
- Custom fixes for vulnerabilities fixed in PuTTY 0.71 (will be added implicitly, once merge of PuTTY 0.71 is complete)
- callback.c is now locked more heavily - should be optimized.

Note: Or would-be thread-safety changes to callback.c were obviously not thread safe as they would call callbacks for other sessions from thread for another session (as there's only one callback queue) - This needs to be solved

# Conflicts:
#	source/putty/WINDOWS/wingss.c
#	source/putty/WINDOWS/winhsock.c
#	source/putty/WINDOWS/winnet.c
#	source/putty/callback.c

#	source/putty/proxy.c
#	source/putty/putty.h
#	source/putty/ssh.c
#	source/putty/ssh.h
#	source/putty/sshaes.c
#	source/putty/sshdh.c
#	source/putty/sshpubk.c
#	source/putty/sshrsa.c
#	source/putty/sshsh256.c
#	source/putty/version.h
#	source/putty/x11fwd.c

Source commit: d7d9798d5b0c01f4a797d0a2ace8856e32909158
2019-03-25 17:04:46 +01:00
Martin Prikryl
64f634db37 Bug 386: Automatic upload of keys pairs + Public key can be displayed in Advanced Site Settings dialog
https://winscp.net/tracker/386

Source commit: 78d8baba92c09728ef3bccc9b49f1590a76d4ca5
2018-05-11 06:20:37 +02:00
Martin Prikryl
c7a55143cb Bug 1637: Low logging level
https://winscp.net/tracker/1637

Source commit: 77c4bd8361dc2604b244964b6b60240465ece323
2018-04-21 03:36:35 +02:00
Martin Prikryl
e29607679e Bug 1638: Allow authentication with empty passwords in scripting
https://winscp.net/tracker/1638

Source commit: 5b00160666c5a8153219d5f4ee48bff9a8760c97
2018-04-21 02:55:03 +02:00
Martin Prikryl
9d0b0e3fc6 Change: Session.ScanFingerprint has mandatory algorithm parameter. + Displaying both SHA-256 and MD5 fingerprint of SSH host key on Server and protocol information dialog
Source commit: 11b4510273b16007335d41eefede396e3ebf0d0f
2018-01-28 18:26:20 +01:00
Martin Prikryl
e3dc7f5d84 Commands to copy hostkey/certificate fingerprint to clipboard hs a form of a link, instead of a message button + Changed appearance of background confirmation options link
Source commit: f879203973f823de535a1b7f4ed3c30b79fc6f93
2018-01-28 17:29:01 +01:00
Martin Prikryl
8412053553 Bug 1589: Support SHA256 host key fingerprints + Fingerprint tests
https://winscp.net/tracker/1589

Source commit: e5115747f7ae8d1f1bcd15a5e039701ea2b2176b
2018-01-28 17:28:10 +01:00
Martin Prikryl
4060c7b495 Logging a complete host key only on Debug log level
Source commit: 11a479cbccfe8dc493b0230c1e318e433af03b16
2018-01-28 17:27:16 +01:00
Martin Prikryl
1abb0a80e4 Fix some warnings introduced by recent commits (pasting host key + configurable priority of host keys)
Source commit: b440d37ac2952c964601b22182a92c9a49ba15fe
2018-01-28 13:52:07 +01:00
Martin Prikryl
868ef381ee Bug 1563: Allow verifying SSH host key by pasting the expected key or its fingerprint from the clipboard
https://winscp.net/tracker/1563

Source commit: 3205dd4eb285e9cd5a7dbaaf9dc9f46dcd0e94dc
2018-01-28 13:49:52 +01:00