Problem with Socket

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mdg

    Problem with Socket

    i'm trying to write a firewall with packet filtering capability and I'm Using
    Socket to Sniff Raw IP Packets from my NIC.
    is it possible to Block the packet after sniffing?
  • Willy Denoyette [MVP]

    #2
    Re: Problem with Socket


    "Mdg" <Mdg@discussion s.microsoft.com > wrote in message
    news:5D5E248A-B865-486B-BF94-7D3C9EFD2DE8@mi crosoft.com...[color=blue]
    > i'm trying to write a firewall with packet filtering capability and I'm
    > Using
    > Socket to Sniff Raw IP Packets from my NIC.
    > is it possible to Block the packet after sniffing?[/color]

    Not sure this is supposed to be C# question?
    Anyway, you can't write a firewall using C# or any other managed code
    language, firewalls are running deep in the network stack as a filter driver
    in kernel space not in user space, managed code cannot run in kernel space.

    Willy.




    Comment

    Working...