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. General Programming
  3. C / C++ / MFC
  4. user-mode, kernel-mode and firewalls

user-mode, kernel-mode and firewalls

Scheduled Pinned Locked Moved C / C++ / MFC
jsonhelp
3 Posts 2 Posters 0 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.
  • D Offline
    D Offline
    darcome
    wrote on last edited by
    #1

    I'm writing some sort of firewall, using the hook driver from microsoft. I want to take the packet received up to the user mode ap to make the filtering there, cause that way, using user mode api i can know which process is holding a connection. I know this method will slow down the connection... but it's just an experiment :) Then... I'd like to know if for every packet there's a new instance of the driver, or they're queued. cause if they are queued the method above, would be slow AND i'll miss some packets :( Thank you in advance for your help

    B 1 Reply Last reply
    0
    • D darcome

      I'm writing some sort of firewall, using the hook driver from microsoft. I want to take the packet received up to the user mode ap to make the filtering there, cause that way, using user mode api i can know which process is holding a connection. I know this method will slow down the connection... but it's just an experiment :) Then... I'd like to know if for every packet there's a new instance of the driver, or they're queued. cause if they are queued the method above, would be slow AND i'll miss some packets :( Thank you in advance for your help

      B Offline
      B Offline
      Bash
      wrote on last edited by
      #2

      It depends on the type of your driver... Yours sincerely, Alex Bash

      D 1 Reply Last reply
      0
      • B Bash

        It depends on the type of your driver... Yours sincerely, Alex Bash

        D Offline
        D Offline
        darcome
        wrote on last edited by
        #3

        I wrote it... I'm using hook driver avalaible on win2k and above however... here is a link on what I mean :) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/network/hh/network/firewall_5932d4d9-b61d-472d-8f27-c6a1d26ddc36.xml.asp[^]

        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