Commit Graph

967 Commits

Author SHA1 Message Date
terrafrost
7e21068964 CS adjustments 2024-05-29 09:37:34 -05:00
terrafrost
b686baf782 fix bad merge 2024-05-29 09:30:32 -05:00
terrafrost
141e0c8c74 Merge branch '3.0' 2024-05-29 09:23:07 -05:00
Robert
69c70cfc03 Correct to PHP 5.6 syntax. Remove remaining reference to removed skip_channel_filter 2024-05-28 11:38:23 -04:00
Robert
6fc9a98d42 Reorganize get_binary_packet to fetch entire payload before decrypt processing, buffering for graceful handling across timeouts.
Remove skip filter parameter from method signatures, now technically defunct as all requests through get_binary_packet incorporate the same timeout during blocking IO calls.
Introduce InvalidPacketLength exception and employ to detect OpenSSL 0.9.8e flaw at higher logical level than binary packet processing.
Removing case logic in binary packet filtering for channel message types, made extraneous by use of get_channel_packet, and possibly leading to discarded data packets.
Reset connection properties during disconnect. Rework callers of reset_connection to use disconnect_helper.
Bugfix for no encyrption algorithms negotiated with server.
2024-05-28 11:23:48 -04:00
terrafrost
4cdcb74b8c CS adjustments 2024-05-25 15:20:57 -05:00
terrafrost
9ea1b59ab6 Merge branch '3.0' 2024-05-25 12:45:20 -05:00
terrafrost
da7b2398d6 SSH2: CS adjustments 2024-05-25 12:21:51 -05:00
terrafrost
8a79979641 Merge branch '2.0' into 3.0 2024-05-25 12:20:59 -05:00
terrafrost
94173258ac Merge branch '1.0' into 2.0 2024-05-25 11:54:04 -05:00
Tingsong Xu
39eddd174a SSH2: handle SSH2_MSG_EXT_INFO out of login. 2024-05-25 11:53:52 -05:00
terrafrost
02786d5f99 Merge branch '3.0' 2024-05-19 07:25:56 -05:00
terrafrost
3f921549f8 SSH2: fix bug that prevented RC4 and ChaCha20 from ever being used 2024-05-19 07:25:41 -05:00
terrafrost
60373f724c Merge branch '3.0' 2024-05-18 20:47:14 -05:00
terrafrost
787d0fdc1f Merge branch '2.0' into 3.0 2024-05-18 20:42:49 -05:00
terrafrost
a134f1c8d4 Merge branch '1.0' into 2.0 2024-05-18 20:25:32 -05:00
terrafrost
62352f43ef SSH2: eliminate some $this->retry_connect ambiguity 2024-05-18 20:16:02 -05:00
terrafrost
f5d02126e1 Merge branch '3.0' 2024-05-10 20:55:05 -05:00
terrafrost
81ba8f72c3 Merge branch '2.0' into 3.0 2024-05-10 20:44:54 -05:00
terrafrost
df9e8b328a Merge branch '1.0' into 2.0 2024-05-10 20:44:34 -05:00
Jakub Trmota
3b0fb1c05f Agent: reset supported_private_key_algorithms for every key 2024-05-10 20:38:46 -05:00
Ayesh Karunaratne
6931c96422
[PHP 8.4] Fixes for implicit nullability deprecation
Fixes all issues that emit deprecation notices on PHP 8.4 for implicit nullable parameter type declarations.

See:
 - [RFC](https://wiki.php.net/rfc/deprecate-implicitly-nullable-types)
 - [PHP 8.4: Implicitly nullable parameter declarations deprecated](https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated)
2024-03-16 02:33:11 +07:00
terrafrost
9a89226a33 Merge branch '3.0' 2024-02-28 22:40:33 -06:00
terrafrost
c20dd784f0 SSH2: don't set stream timeout if timeout is 0 2024-02-28 22:40:13 -06:00
terrafrost
f5a6d02217 Merge branch '3.0' 2024-02-26 07:55:13 -06:00
terrafrost
792314e851 SSH2: openChannel -> open_channel
makes openChannel snake case like close_channel already is. this is
not a BC break as openChannel is protected
2024-02-26 07:52:24 -06:00
terrafrost
be012e5578 SSH2: fix bad merge 2024-02-26 00:27:32 -06:00
terrafrost
2b3bf719cc Merge branch '3.0' 2024-02-25 23:20:04 -06:00
terrafrost
d27429a236 SSH2: tweaks to isConnected() 2024-02-20 08:53:22 -06:00
terrafrost
4427f40112 Merge branch '3.0' 2024-02-07 22:44:27 -06:00
terrafrost
8f3a66547a Merge branch '2.0' into 3.0 2024-02-07 22:43:03 -06:00
terrafrost
34ab00b27d Merge branch '1.0' into 2.0 2024-02-07 22:42:46 -06:00
terrafrost
a69364def9 SSH2/SFTP: tweak docblock comments for getLastError() / etc 2024-02-07 22:42:24 -06:00
terrafrost
414b0b0d3b Merge branch '3.0' 2024-02-07 21:17:27 -06:00
terrafrost
b0c0a82ae7 Merge branch '2.0' into 3.0 2024-02-07 20:14:32 -06:00
terrafrost
c948a9a407 SSH2: set stream timeout before calling stream_get_contents 2024-02-07 20:09:26 -06:00
terrafrost
57971458fa Merge branch '2.0' into 3.0 2024-02-06 19:42:18 -06:00
terrafrost
2fb6f317d6 SSH2: set stream timeout before calling stream_get_contents 2024-02-06 19:42:08 -06:00
terrafrost
cc2d773b7d Merge branch '3.0' 2023-12-28 07:55:37 -06:00
terrafrost
80bc33b741 Merge branch '2.0' into 3.0 2023-12-28 07:54:49 -06:00
terrafrost
542a044cf5 Merge branch '1.0' into 2.0 2023-12-28 07:52:46 -06:00
terrafrost
c8e3ab9317 SSH2: implement terrapin attack countermeasures 2023-12-28 07:44:51 -06:00
terrafrost
05414ffee8 Merge branch '3.0' 2023-12-18 22:55:29 -06:00
terrafrost
d2cd758ecb Merge branch '2.0' into 3.0 2023-12-18 22:55:17 -06:00
terrafrost
90de8f1255 Merge branch '1.0' into 2.0 2023-12-18 22:54:31 -06:00
terrafrost
23f117e32b SSH2: only capture login info once 2023-12-18 22:54:09 -06:00
terrafrost
ea50144e42 Merge branch '3.0' 2023-12-02 16:42:19 -06:00
terrafrost
9c0a004d01 SSH2: CS adjustment 2023-12-02 16:42:09 -06:00
terrafrost
e600b49c54 Merge branch '3.0' 2023-11-23 05:35:29 -06:00
Kevin Pfeifer
ad968b2f69 fix syntax error 2023-11-23 10:05:17 +01:00