Commit Graph

4858 Commits

Author SHA1 Message Date
terrafrost
70416554a4 Merge branch '2.0' into 3.0 2024-08-25 14:11:04 -05:00
terrafrost
778035aa71 SSH2: identification strings > 255 bytes didnt get parsed correctly 2024-08-25 14:08:42 -05:00
terrafrost
7e699fb725 Hash: significantly speedup umac algorithms on 64-bit PHP installs
the same technique should be able to be used to speed up SHA512
on PHP < 7.1.0. PHP >= 7.1.0 doesn't benefit from the change
as there's no need for any pure PHP SHA512 implementation on those
versions
2024-08-25 05:30:29 -05:00
terrafrost
e13a2628c5 Hash: umac's require a key; give a better error when one is missing 2024-08-22 08:47:36 -05:00
terrafrost
6897b947ea SSH2: priotize the umac algorithms down due to their slow speed
PHP's hash() method doesn't support them so they receive no
acceleration whereas the other algorithms can and do
2024-08-20 08:38:38 -05:00
terrafrost
dd2d8665f9
Merge pull request #2031 from rposky/ssh-disconnect-loop
Prevent loops during disconnect
2024-08-19 06:06:49 -05:00
terrafrost
d5931858b6 CHANGELOG: IEEEE -> IEEE 2024-08-16 08:01:09 -05:00
terrafrost
94bd3ad078 SSH2: CS adjustments 2024-08-15 23:38:47 -05:00
terrafrost
e2488749ae SFTP: add getSupportedExtensions() method 2024-08-15 23:32:10 -05:00
terrafrost
25761222fe SSH2: enhance logging
log the time it took for fsockopen to connect and the time it took
for the SSH identification strings to be sent
2024-08-15 08:55:05 -05:00
Robert
c82594e222 Add DISCONNECT bitmap mask and use to prevent looping potential while disconnecting. Do not attempt disconnect packet send on closed socket. 2024-08-14 10:32:36 -04:00
terrafrost
621c73f7dc CHANGELOG: add 3.0.41 release 2024-08-11 19:13:54 -05:00
terrafrost
9e399cf21a
Merge pull request #2027 from buismaarten/3.0
Fix deprecation warning
2024-08-11 19:11:45 -05:00
Maarten Buis
fb3d6bd713
Fix deprecation warning 2024-08-11 23:17:31 +02:00
terrafrost
3dd2561d14 add 3.0.40 release 2024-08-11 11:34:00 -05:00
terrafrost
36d2092a81 BigInteger/BCMath engine's bitwise_or() was doing XOR 2024-08-11 11:02:56 -05:00
terrafrost
67f87dd1e2 Tests/BigInteger: update bitwise_OR test 2024-08-11 10:47:47 -05:00
terrafrost
05f45f0337 Merge branch '2.0' into 3.0 2024-08-10 20:00:48 -05:00
terrafrost
43af71e538 Merge branch '1.0' into 2.0 2024-08-10 19:59:45 -05:00
terrafrost
90eb0220af SSH2: fix possible infinite loop on packet timeout
get_channel_packet() could call close_channel() which would call
get_channel_packet(), again, repeat ad nauseam
2024-08-10 19:55:03 -05:00
terrafrost
47895e2851
Merge pull request #2023 from rposky/ssh-default-socket-timeout
SSH2: Defer to default socket timeout in absence of more specific value
2024-08-05 10:59:09 -05:00
terrafrost
42ecb34430 CS adjustments 2024-08-03 11:47:18 -05:00
terrafrost
10075ea57e SSH/Agent: make it so identities include key comments and add new
findIdentityByPublicKey() method
2024-08-03 09:47:18 -05:00
terrafrost
45b98d8cb3 fix IEEE length calculations
secp521r1 has length of 521 so we want 66 to cover that last extra bit
- not 65
2024-08-02 09:04:47 -05:00
Robert
b94d55a734 Use the default socket timeout in absence of more specific user-defined value 2024-08-01 12:14:33 -04:00
terrafrost
2276cf51c0 Strings: make it so base64url_encode() does not do padding
base64url_decode() already doesn't do padding
2024-08-01 09:54:53 -05:00
terrafrost
6ad7c53bbf CS adjustments 2024-07-31 18:28:22 -05:00
terrafrost
a015cded00 fix issue creating IEEE signatures 2024-07-31 09:02:31 -05:00
terrafrost
04a559debb EC/Formats/Signature/IEEE: make key length more consistent 2024-07-31 07:27:15 -05:00
terrafrost
38b617210d
Merge pull request #2017 from rposky/ssh-binary-packet-uniform-retval
SSH2: Consolidate get_binary_packet error handling
2024-07-24 20:06:20 -05:00
Robert
e5d94c817c Remove trailing commas in modified method calls 2024-07-24 09:27:44 -04:00
Robert
cc7fdd59e0 Improve get binary packet helper with variadic argument 2024-07-24 09:25:45 -04:00
Robert
c1e69ddb79 Remove use of master MessageType 2024-07-12 17:14:54 -04:00
Robert
e401ee05f5 Introduce buffering to send channel packet for capability to resume across timeout 2024-07-12 17:09:21 -04:00
Robert
18d4c79bd4 Revert risky while-loop change, too fancy 2024-07-12 15:30:43 -04:00
Robert
d9d2ba59cd Reset is_timeout when sending and receiving SFTP packets 2024-07-12 15:01:35 -04:00
Robert
35fcd1984b Remove yet another remaining boolean retval, relocating window adjust recv packet handling to get_channel_packet. Ensuring window is adjusted for empty channel prior to send. 2024-07-12 15:00:22 -04:00
Robert
51a3c5f050 Remove remaining boolean retval and runtime exception handling in filter() 2024-07-09 15:56:49 -04:00
Robert
1617746239 Check packet size before extracting channel 2024-07-09 15:04:40 -04:00
Robert
d5bb57ecca Refactor to added helper enforcing message type expectation on retrieved packets, connection close on timeout 2024-07-09 14:09:17 -04:00
terrafrost
d8e3448584
Merge pull request #2012 from rposky/ssh-keepalive-timeout
Correction to stream timeout for keep alive
2024-06-30 07:09:49 -05:00
Robert
c9eb03423f Correct unit test failures 2024-06-28 10:25:07 -04:00
Robert
89e07e811a Restore property annotation 2024-06-28 09:52:57 -04:00
Robert
71a9fc7915 Correction to stream timeout for keep alive, wait for time remaining in interval. Reflect total wait time on packet in logging. 2024-06-28 09:39:06 -04:00
terrafrost
211ebc399c CHANGELOG: add 3.0.39 release 2024-06-24 01:27:33 -05:00
terrafrost
cde532435e SSH2: fix when keep alive packets are sent 2024-06-22 13:41:35 -05:00
terrafrost
76e81b5348
Merge pull request #2010 from timmit-nl/bugfix-undefined-variable-stop
instead of $stop - $start use the defined $elapsed var
2024-06-22 13:30:03 -05:00
Tim Schoondergang
049601353c instead of $stop - $start use the defined $elapsed var as the var $stop isn't set. 2024-06-21 11:44:13 +02:00
terrafrost
a3ca80c433 Blowfish: use little endian byte order vs machine byte order 2024-06-18 21:39:44 -05:00
terrafrost
b18b8788e5 CHANGELOG: add 3.0.38 release 2024-06-17 05:11:32 -05:00