Cassondra Foesch
|
61f5f29b25
|
Export a ReadFromWithConcurrency function that permits ensuring concurrency usage
|
2021-05-22 15:42:42 +00:00 |
Cassondra Foesch
|
ba123434b8
|
Merge pull request #437 from drakkan/realpath
request server: add an optional RealpathFileLister interface
|
2021-04-28 16:41:42 +00:00 |
Nicola Murino
|
0b43101c5b
|
fix as per review
|
2021-04-27 18:06:39 +02:00 |
Nicola Murino
|
db2d41339c
|
request server: add an optional RealpathFileLister interface
This allow to customize the responses for SSH_FXP_REALPATH requests
and so implementing features like a start directory
|
2021-04-27 11:08:29 +02:00 |
Nicola Murino
|
2b80967078
|
update deps and raise go version to 1.15
|
2021-04-24 10:34:37 +02:00 |
Nicola Murino
|
f8d38c99d3
|
server integration test: add Windows sftp server path
|
2021-04-24 10:27:59 +02:00 |
Nicola Murino
|
299240408d
|
Merge pull request #435 from pkg/bugfix/concurrency-overflow-on-32bit
bugfix: int64 math overflows possible on 32-bit architectures
|
2021-04-24 09:26:29 +02:00 |
Cassondra Foesch
|
6b08f4a44a
|
document why the cast to int can no longer overflow an int
|
2021-04-23 08:55:35 +00:00 |
Cassondra Foesch
|
b63107c68c
|
better safer maths
|
2021-04-22 23:46:11 +00:00 |
Cassondra Foesch
|
9a42bd2223
|
bugfix: int64 math overflows possible on 32-bit architectures
|
2021-04-22 23:26:15 +00:00 |
Nicola Murino
|
197384b8ce
|
Merge pull request #430 from pkg/refactor/encoding-ssh-filexfer
Encoding SSH filexfer
|
2021-04-20 13:57:06 +02:00 |
Cassondra Foesch
|
0e87b41d75
|
move to internal/ until we finalize the package
|
2021-04-20 08:37:33 +00:00 |
Cassondra Foesch
|
bc27e0c607
|
Merge pull request #425 from pkg/bug/write-to-unexpected-channel-closed
[Bugfix] WriteTo write work channel should never be closed…
|
2021-04-13 09:36:23 +00:00 |
Nicola Murino
|
16ca7e3032
|
Merge pull request #428 from drakkan/readfrom
ReadFrom: check also Size and Stat interfaces to calculate the size
|
2021-04-12 17:04:12 +02:00 |
Nicola Murino
|
6782c5448f
|
ReadFrom: check also Size and Stat interfaces to calculate the size
|
2021-04-11 18:14:59 +02:00 |
Cassondra Foesch
|
2c3f761948
|
bugfix: these channels should never be closed
|
2021-03-29 22:47:07 +00:00 |
Cassondra Foesch
|
dcebc58faf
|
encoding: use cap(b), only reallocate for cap(b) < 4, name magic constant
|
2021-03-25 14:14:53 +00:00 |
Cassondra Foesch
|
47ea397efe
|
encoding: address slice alias concerns with documentation, and/or cloning
|
2021-03-24 20:29:37 +00:00 |
Cassondra Foesch
|
c496ef994c
|
openssh extensions: do not auto-register extended packet types
|
2021-03-24 20:25:06 +00:00 |
Cassondra Foesch
|
443b3a1942
|
encoding: prevent duplicate extended packet type registrations
|
2021-03-24 20:24:30 +00:00 |
Nicola Murino
|
f5f52ff56b
|
Merge pull request #419 from greatroar/fix-recv-panic
Fix panic when connection dropped in the middle of the sid
|
2021-03-23 21:49:58 +01:00 |
Nicola Murino
|
c2220a69b3
|
really fix the fuzzer
|
2021-03-23 21:47:04 +01:00 |
Nicola Murino
|
ec19f0847c
|
fuzz: rename sink to sinkfuzz
sink is already defined in client_test
|
2021-03-23 08:20:45 +01:00 |
Cassondra Foesch
|
05ef673724
|
encoding: move length const to exported value, I don't expect many to use such low limits.
|
2021-03-22 16:21:58 +00:00 |
Cassondra Foesch
|
fcaacbb4ef
|
encoding: MarshalPacket shall take a buffer hint now
|
2021-03-22 16:12:42 +00:00 |
Cassondra Foesch
|
8b9e1515fa
|
encoding: prefer ReadDir-style names
|
2021-03-22 15:34:19 +00:00 |
Cassondra Foesch
|
3f02a54c00
|
encoding: Status should also implement Error
|
2021-03-22 15:34:19 +00:00 |
Cassondra Foesch
|
716c28cf5b
|
encoding: address further godoc concerns
|
2021-03-22 15:34:12 +00:00 |
Cassondra Foesch
|
caecc84def
|
encoding: it is no longer intended that Buffer/RawPacket would be pooled, the byte slices should be
|
2021-03-22 12:22:56 +00:00 |
Cassondra Foesch
|
ae26d72513
|
encoding: address documentation and minor gotchas in Buffer
|
2021-03-22 12:21:18 +00:00 |
Cassondra Foesch
|
e040f49a39
|
encoding: add openssh extended types
|
2021-03-21 18:23:46 +00:00 |
Cassondra Foesch
|
9019ffcb6d
|
encoding: golint
|
2021-03-21 18:18:37 +00:00 |
Cassondra Foesch
|
7e701b506d
|
encoding: define our own FileMode conforming to spec
|
2021-03-21 18:16:53 +00:00 |
Cassondra Foesch
|
4c0c5ec7d9
|
enocoding: refactor extended packets
|
2021-03-21 18:02:15 +00:00 |
Cassondra Foesch
|
963c7adde7
|
encoding: RequestPacket type to simplify server implementations
|
2021-03-21 15:34:35 +00:00 |
Cassondra Foesch
|
62a3f68737
|
encoding: move raw_packet to packets
|
2021-03-21 14:29:18 +00:00 |
Cassondra Foesch
|
43e9761996
|
encoding: refactor to remove common RequestID from packets
|
2021-03-21 14:11:23 +00:00 |
Cassondra Foesch
|
1d3c51617b
|
encoding: refactor buffer slightly
|
2021-03-21 14:07:30 +00:00 |
Cassondra Foesch
|
96bf4d30dc
|
Merge pull request #422 from greatroar/cleanup
Minor cleanup
|
2021-03-21 13:12:55 +00:00 |
greatroar
|
7a28771c60
|
Lowercase error messages
|
2021-03-20 20:35:04 +01:00 |
greatroar
|
32b9d99cf4
|
Fix typos in private identifiers
|
2021-03-20 20:35:04 +01:00 |
greatroar
|
95591b2015
|
Remove unnecessary TeeReader from readHash
|
2021-03-20 11:43:59 +01:00 |
Cassondra Foesch
|
d26c4bc2a7
|
Merge pull request #421 from pkg/benchmarks-and-errors
Improve benchmarks and errors
|
2021-03-20 03:11:49 +00:00 |
Cassondra Foesch
|
c92cedfa54
|
encoding: refactor and cleanup
|
2021-03-19 21:19:45 +00:00 |
Cassondra Foesch
|
91d29715b2
|
encoding: Extended ExtendedReply
|
2021-03-19 19:54:11 +00:00 |
Cassondra Foesch
|
d9b8552134
|
encoding: have Buffer implement BinaryMarshaler and BinaryUnmarshaler
|
2021-03-19 19:45:41 +00:00 |
Cassondra Foesch
|
7d03efe959
|
encoding: Status Handle Data Name Attrs
|
2021-03-19 18:29:35 +00:00 |
Cassondra Foesch
|
9fb09e2210
|
encoding: NameEntry for SSH_FXP_NAME
|
2021-03-19 18:28:19 +00:00 |
Cassondra Foesch
|
aee41c39a6
|
encoding: bool type is used in filexfer-06 and later but not explicitly stated as a type
|
2021-03-19 18:27:11 +00:00 |
Cassondra Foesch
|
9e7db2008e
|
encoding: fix unnecessary t.Fatal calls when t.Error is more appropriate
|
2021-03-19 16:04:32 +00:00 |