Michael Jumper
|
7ee813bbfd
|
Allocate buffer to allow large reads, rather than force all reads down to 4K.
|
2013-12-17 14:17:56 -08:00 |
|
Michael Jumper
|
c38b687ab6
|
Add namespace to DEBUG variable, add missing UINT64 type to compat.
|
2013-12-11 22:27:35 -08:00 |
|
Michael Jumper
|
478235be70
|
Check path lengths.
|
2013-12-11 15:00:00 -08:00 |
|
Michael Jumper
|
89b55ecab5
|
Explicitly do not support locks or setting label.
|
2013-12-11 14:40:08 -08:00 |
|
Michael Jumper
|
866ba2a7b9
|
Handle device info.
|
2013-12-11 14:21:59 -08:00 |
|
Michael Jumper
|
5e87949e31
|
Implement rest of dir info.
|
2013-12-11 14:11:16 -08:00 |
|
Michael Jumper
|
672e20c051
|
Add HIDDEN and ARCHIVE attributes.
|
2013-12-11 13:49:02 -08:00 |
|
Michael Jumper
|
e0450d0dc5
|
Remove unnecessary alloc.
|
2013-12-11 13:48:41 -08:00 |
|
Michael Jumper
|
56bb0b3740
|
Fix size and full size info.
|
2013-12-11 01:25:54 -08:00 |
|
Michael Jumper
|
338b83a3a7
|
Ignore write access request if file is a directory.
|
2013-12-11 01:25:40 -08:00 |
|
Michael Jumper
|
6d88bec136
|
Implement directory deletion.
|
2013-12-10 23:12:13 -08:00 |
|
Michael Jumper
|
647850c8ce
|
Tighten scope, fix initialization.
|
2013-12-10 23:12:01 -08:00 |
|
Michael Jumper
|
7d0e8093eb
|
Improve logging.
|
2013-12-09 00:41:27 -08:00 |
|
Michael Jumper
|
f17cd33aa4
|
Implement size info.
|
2013-12-09 00:41:27 -08:00 |
|
Michael Jumper
|
efc7477ef5
|
Free stream data. Delete file after opening for download.
|
2013-12-09 00:41:27 -08:00 |
|
Michael Jumper
|
ee20114c67
|
Ignore acks for non-download streams.
|
2013-12-09 00:41:27 -08:00 |
|
Michael Jumper
|
d30ade6bef
|
Implement file download.
|
2013-12-09 00:41:27 -08:00 |
|
Michael Jumper
|
b262440ba5
|
Move download-specific logic to rdpdr.
|
2013-12-09 00:41:27 -08:00 |
|
Michael Jumper
|
f4ff04ab30
|
Initiate download whenever file written within Download folder.
|
2013-12-09 00:41:27 -08:00 |
|
Michael Jumper
|
ef8d8e3bc1
|
Remove check for download from open. Add tracking of file writes.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
847f9451c1
|
RemoveSent and Outbox special dirs - use only Download.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
3a7c9bbc5d
|
Add flag and stub for download.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
1570072b46
|
Only complain about EEXIST for mkdir() if O_EXCL is set. Directory creation open should use ACCESS_GENERIC_READ (anything with WRITE will fail).
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
96637b5d19
|
Create Sent as necessary.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
e5f919f75c
|
Reroute files from Outbox to Sent.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
296836f65d
|
Implement file truncation.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
3ebed6a85c
|
Fix handling of append.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
52e65e043a
|
Implement deletion.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
9d85704f03
|
Additional debugging. Advertise case sensitivity in vol info.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
742452b1d4
|
IMPLEMENT UPLOAD!!!
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
aacb726b66
|
Separate RDP filesystem operations from RDPDR.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
28c3c7d926
|
Move read/write to rdpdr_fs.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
77db391a12
|
Implement rename.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
a72fbe5745
|
Add debug messages, stub basic info set, implement attribute tag query.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
b5af07aee2
|
Fix directory creation.
|
2013-12-09 00:41:26 -08:00 |
|
Michael Jumper
|
dfd55f0ba4
|
Add debug/trace logging.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
caea2d4acd
|
Add debug header.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
70b361b8b6
|
Handle mkdir() return code.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
39c31faa9b
|
Add error codes and better handling.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
3400e9b122
|
Create directory if necessary.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
655cb8e9f2
|
Implement attribute info query.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
22d0e496f5
|
Move to IOCOMPLETION function rather that duplicating header everywhere.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
911746ae24
|
Add options for file attributes and create options to open. Fix create disposition of files in directory list.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
67c461be40
|
Use constants for file mode.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
da7168e161
|
Correct (theoretically) semantics of open create disposition.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
f9cf524993
|
Ignore set end-of-file and set allocation.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
683e8c24c0
|
Add stubs for file information set operations.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
f7acfbb1a0
|
Fix use of mode within open().
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
c07d8dd950
|
Only register drive if enabled.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
a41752aead
|
Remove stub logging of bytes received.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
5004986563
|
Add file upload stubs.
|
2013-12-09 00:41:25 -08:00 |
|
Michael Jumper
|
c70efcea4d
|
Handle other write flags, log and handler read/write errors.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
582e1a60b3
|
Implement write.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
7a1b76881f
|
Implement pattern matching in dir search.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
c2e1065ea2
|
Remove STATUS_NO_MORE_FILES log message.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
d0ee38f7c6
|
Remove and cleanup logging.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
f50529dac0
|
Fix buffer size.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
65c5ed379e
|
Implement read.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
3217b97f26
|
Add ffunction for retrieving a file by file ID safely. Migrate to new function.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
dd1761790a
|
Fix query directory response (missing final null byte).
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
98a1a494cd
|
Modify output to match rdesktop packets more closely. Still doesn't work.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
aec6c167e3
|
Do not send information for open.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
1c3d0ba741
|
Add missing length to dir query response.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
dfa30fbef6
|
Fill output with zeroes for short name.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
353b6316ac
|
Stub device control (always succeed).
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
b6fb2b850b
|
Implement standard info.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
634eb17b20
|
Remove reserved fields, fix packet lengths.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
95230ae901
|
Use generic access, default to read-only.
|
2013-12-09 00:41:24 -08:00 |
|
Michael Jumper
|
cf3196d8ca
|
Properly calculate remaining length of path.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
34586265da
|
Stubbed dir info. Remove name from file struct. Fix read_dir.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
f00cb33619
|
Implement UTF-8 to UTF-16 conversion function.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
94888d1f47
|
Move to libguac unicode functions in RDP.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
439cd7c903
|
Move to attributes rather than type.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
32fdcdc660
|
Fix path conversion. Convert path in dir info.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
69d636860d
|
Add path normalization.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
52f9bac805
|
Add guac_rdpdr_fs_read_dir(). Bump _POSIX_C_SOURCE value as necessary for fdopendir().
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
9773f348e2
|
Actually close in close.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
06c2dfd8d2
|
Add file_id to volume queries, send real times and attributes back.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
117e9053f4
|
Pull file type during open.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
06a18f6766
|
Pull info from stat() during file open.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
2f662257d9
|
Remove unused header. Fix header file macros. Add comments.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
1263d261f4
|
Add stubs for dir information handlers
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
e238df9581
|
Comply with naming convention of message processors.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
d877e1f236
|
Add stubs for FS message functions.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
85b754f2b7
|
Fix path translation function.
|
2013-12-09 00:41:23 -08:00 |
|
Michael Jumper
|
9fcb3e3678
|
Actually resolve and open files.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
f24d4b58fa
|
Add error codes for open.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
f3ef451527
|
Add stubs for minor functions.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
4bdbaceccc
|
Fix logic in file open (should NOT allocate new ID if open fails.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
c31e3b38ad
|
Add drive-path parameter.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
7b843a806f
|
Split rdpdr_fs up into logical files.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
bc662975ce
|
For now, return no-such-file for the '' file... will migrate to actual file path parsing.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
adf45ab79e
|
Add file time macros and more attribute constants. Stub volume and basic file info.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
2e4a67200c
|
Add constants. More open() implementation. Handle case where no file IDs are available.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
d9cae3d361
|
Add unicode conversion functions. Partially handle incoming parameters for open.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
8731f282cc
|
Initial stubs for open/close.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
061de84422
|
Add 64-bit operations to stream.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
5efda4d328
|
Send drive capability.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
f07cd58707
|
Add drive-enabled option.
|
2013-12-09 00:41:22 -08:00 |
|
Michael Jumper
|
08eb5625fc
|
Add filesystem device.
|
2013-12-09 00:41:22 -08:00 |
|