Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Can I trnsfer data to other computer in filter driver?

Can I trnsfer data to other computer in filter driver?

Scheduled Pinned Locked Moved System Admin
sysadminquestion
6 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tida
    wrote on last edited by
    #1

    Hi, I am new in driver writing. So I have many questions. Can I send data to another computeron the network(TCP/IP) in filter driver's routine? e.g., I write a block of data to a backup server when i detected that this block of data is writed to local disk. Thanks a lot. :-O

    M 1 Reply Last reply
    0
    • T Tida

      Hi, I am new in driver writing. So I have many questions. Can I send data to another computeron the network(TCP/IP) in filter driver's routine? e.g., I write a block of data to a backup server when i detected that this block of data is writed to local disk. Thanks a lot. :-O

      M Offline
      M Offline
      Mike Nordell
      wrote on last edited by
      #2

      I don't think you can, you don't have a socket library in kernel mode AFAIK. You (and most definitely the user of this) would probably be better of with pairing it with a service and sending the data from the service anyway.

      T 1 Reply Last reply
      0
      • M Mike Nordell

        I don't think you can, you don't have a socket library in kernel mode AFAIK. You (and most definitely the user of this) would probably be better of with pairing it with a service and sending the data from the service anyway.

        T Offline
        T Offline
        Tida
        wrote on last edited by
        #3

        Is that service runing in kernel mode, then it can expote it's functions to driver? or the driver triger the service as an interrupt service routine?

        M 1 Reply Last reply
        0
        • T Tida

          Is that service runing in kernel mode, then it can expote it's functions to driver? or the driver triger the service as an interrupt service routine?

          M Offline
          M Offline
          Mike Nordell
          wrote on last edited by
          #4

          Is that service runing in kernel mode Services are much like normal processes in that they run in user-mode, often under the System account. As for how you signal your service and move the data to be sent between the service and the driver... Well, something you'd have to do yoursel, no? :-) You might want to have a look at e.g. FileMon from sysinternals. IIRC there's already a functioning driver<->app communication set up there and you could probably "borrow" a few snippets.

          T 1 Reply Last reply
          0
          • M Mike Nordell

            Is that service runing in kernel mode Services are much like normal processes in that they run in user-mode, often under the System account. As for how you signal your service and move the data to be sent between the service and the driver... Well, something you'd have to do yoursel, no? :-) You might want to have a look at e.g. FileMon from sysinternals. IIRC there's already a functioning driver<->app communication set up there and you could probably "borrow" a few snippets.

            T Offline
            T Offline
            Tida
            wrote on last edited by
            #5

            The Filemon use a timer in user mode part, when it is the time then it get information from the output buffer. That not what i want, i need driver to triger some thing to do the data transfer not passive save it then wait :(( I donot know if there is one book on this topic?

            M 1 Reply Last reply
            0
            • T Tida

              The Filemon use a timer in user mode part, when it is the time then it get information from the output buffer. That not what i want, i need driver to triger some thing to do the data transfer not passive save it then wait :(( I donot know if there is one book on this topic?

              M Offline
              M Offline
              Mike Nordell
              wrote on last edited by
              #6

              The Filemon use a timer in user mode part Ouch, didn't know that. You should probably have a look at: www.ntfsd.org www.ntdev.org ++luck

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups