CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9

Threaded View

  1. #3
    Join Date
    Jul 2012
    Posts
    25

    Re: How to drop packet Using C++?

    Quote Originally Posted by VictorN View Post
    Are you planning a Packet drop attack?
    Hi Sir .
    Not so
    I will have a list of banned IP, In my LAN, the packet if the same destination IP in banned list, drop the packet
    For example :
    List IP : 8.8.8.8
    123.456.789.123
    9.9.9.9

    Packet have IP destination 8.8.8.8 will drop
    Packet have IP destination 7.7.7.7 will not drop

    Currently, I have captured packet network card using C++ . Now, I need to find some C ++ code how to drop packets with IP destination
    I have read http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx . I think we dropped packet using based on Filter Hook Driver
    Thank sir .
    Last edited by headshot; September 7th, 2012 at 04:36 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured