Hi,
I’ve got to redirect the file operation on files in the specialized
directory( e.g C:\src ) to files of another directory( e.g D:\dest) using
filter
driver, and the driver works well when I perform any read/write operation
on the files of the specialized dir.
However, when I use a client PC to access the files on the server with my
filter driver installed through CIFS/SMB share folder, it works
well at the beginning.However, after about one or half a hour, the
connection is lost and I can’t connect to the server any more(I can
get to the server by pinging it), until the server is rebooted.
In my filter driver, I use IoCreateFileSpecify*** function to get the handle
of a file in dispatch create, and then use ZwReadFile to read
the contents of the file. I’m wondering if these operations might be the
cause of the problem above, would anybody please help me
to solve this emergency!
Thanks to all!