terrafrost
ce0aeec402
SFTP: backport statvfs() and posix_rename() from master branch
2024-08-25 20:10:38 -05:00
Robert
c9eb03423f
Correct unit test failures
2024-06-28 10:25:07 -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
Robert
962cfa607d
Make data provider static
2024-05-28 12:08:32 -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
46602823cc
CS adjustment
2023-10-21 07:21:42 -05:00
terrafrost
967210fb46
CS adjustment
2023-10-07 18:25:46 -05:00
terrafrost
aeac69b846
Merge branch '2.0' into 3.0
2023-08-28 08:51:10 -05:00
terrafrost
bc62673fdd
Merge branch '1.0' into 2.0
2023-08-28 08:51:02 -05:00
terrafrost
320c43a4a0
SFTP: fix issue with get() downloading to files / streams
...
the code that's being removed has its origins in 65193d9a25
. in that commit the packet length is set outside of the while loop. this would continue to be the case until https://github.com/phpseclib/phpseclib/pull/945 .
2023-08-28 08:47:30 -05:00
terrafrost
06f45881f9
Tests/SSH2: add more expansive unit test
2023-04-15 08:07:18 -05:00
terrafrost
184a984e97
SSH2: updates to openchannel refactoring
2023-04-14 18:01:20 -05:00
Robert
7ec36fb5d5
Exposed publically open shell method as well as methods to query interactive channel open statuses.
...
Removed in_request_pty_exec and in_subsystem flags, and removed uses of MASK_SHELL in bitmap, replacing with open channel status queries.
Adding channel argument to read, write, and reset allowing callers to select among multiple open interactive channels.
Adding interactive channel identifier interface as sanctioned path for users to obtain channels ids instead of using channel constants.
Deprecating get_interactive_channel helper and documenting its "legacy" behavior in read, write, and reset doc blocks.
Removing disconnect on timeout in channel close for lack of clarity around timeout origin.
Check for open channel prior to closing in stopSubsystem and reset.
2023-03-16 10:18:03 -05:00
terrafrost
508eaa7197
Tests: PHPUnit 10 updates
2023-02-05 17:33:16 -06:00
terrafrost
a10a3b8e5b
Merge branch '2.0' into 3.0
2022-10-04 21:02:49 -05:00
terrafrost
2ed74533f4
Merge branch '1.0' into 2.0
2022-10-04 18:11:49 -05:00
Phil Davis
24845ccbcc
delete of non-existent folder returns true when it used to ret
2022-10-04 17:56:23 -05:00
Jack Worman
746e9eef57
Clean Up Tests
2022-04-22 18:41:59 -05:00
Jack Worman
0a69972571
Clean Up Tests
2022-03-15 18:49:38 -05:00
Jack Worman
574953061a
PSR4 for tests and added fall-through for switches
...
PSR4 for tests and added fall-through for switches
2022-02-27 01:26:31 -06:00
Jack Worman
ea9f6540f3
PSR12 fixes
...
PSR12 fixes
2022-02-19 17:06:13 -06:00
Jack Worman
ef66d9f7dd
php-cs-fixer ci
...
php-cs-fixer ci
2022-02-01 20:29:48 -06:00
terrafrost
ddfb217855
Merge branch '1.0' into 3.0
2022-01-08 19:51:35 -06:00
terrafrost
676b099789
Merge branch '1.0' into 2.0
2022-01-08 19:50:36 -06:00
PetrP
888867e7b6
SFTP: fix chgrp() for version < 4
...
$uid and $gid were flipped with dbfc762257
2022-01-08 19:50:22 -06:00
terrafrost
796270a254
Tests: update for 3.0 branch
2022-01-08 16:49:43 -06:00
terrafrost
2aa8072410
Merge branch '1.0' into 3.0
2022-01-08 16:49:00 -06:00
terrafrost
bc457521f1
Tests: update for 2.0 branch
2022-01-08 16:36:47 -06:00
terrafrost
d2994dafe1
Merge branch '1.0' into 2.0
2022-01-08 16:36:21 -06:00
terrafrost
9b587a87c0
Tests: add test for connecting to non-existant host
2022-01-08 16:35:57 -06:00
terrafrost
dc3e7bda71
Tests/SFTP: PHP 8.1 error message changed
2021-11-29 07:23:49 -06:00
terrafrost
01cdf396b2
Merge branch '2.0' into 3.0
2021-10-13 22:00:32 -05:00
terrafrost
3da069570c
Merge branch '1.0' into 2.0
2021-10-13 22:00:20 -05:00
terrafrost
30a9a1541c
Tests/SSH2: fix intermittently failing unit test
2021-10-13 21:03:54 -05:00
terrafrost
2ec8356121
Merge branch '2.0' into 3.0
2021-10-12 20:37:34 -05:00
terrafrost
a684f12065
Merge branch '1.0' into 2.0
2021-10-12 20:37:27 -05:00
terrafrost
6f8d12ffc7
Tests: tests were being skipped because their deps had no asserts
2021-10-12 20:35:38 -05:00
terrafrost
5e1c890ac6
Tests: fix bad unit test
2020-12-19 01:14:06 -06:00
terrafrost
9637e25bf7
add unit test for resuming uploads
2020-12-18 21:34:21 -06:00
terrafrost
df22fa0487
add unit test for stream_select addition
2020-12-18 21:29:09 -06:00
terrafrost
c25dff2ef0
Merge branch '2.0-class-rename' into 3.0-class-rename
2020-12-12 22:26:03 -06:00
terrafrost
0676524dfd
Merge branch '1.0-class-rename' into 2.0-class-rename
2020-12-12 21:41:10 -06:00
terrafrost
e6abc61f45
rm adding of dupe classes (they break annotations)
2020-12-12 21:39:58 -06:00
terrafrost
7237c0f803
fix bad merge
2020-12-12 19:34:38 -06:00
terrafrost
e4bf7b111a
Merge branch '2.0' into 3.0
2020-12-12 19:22:36 -06:00
terrafrost
185139f5c8
Merge branch '1.0' into 2.0
2020-12-12 17:39:38 -06:00
terrafrost
95432478c0
fix bad merge
2020-12-12 17:39:32 -06:00
terrafrost
245a84b57f
make unit tests pass without gnu parallel
2020-12-12 17:26:44 -06:00
terrafrost
5701295017
Merge branch '1.0' into 2.0
2020-12-12 17:13:41 -06:00
terrafrost
266f16816a
enable unit tests for PHP 8 / PHPUnit 9
2020-12-12 15:11:04 -06:00