Thread: Dropping ICMP Requests?

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    8

    Dropping ICMP Requests?

    Greetings again!

    I am interested in dropping ICMP (ping) requests against my computer. Is this possible with Windows XP's raw sockets capabilities? And if so, does anyone have sample code?

    -IEatGreyFoxes

  2. #2
    sockets mad
    Join Date
    Mar 2002
    Posts
    126
    I'm not sure but I think Windows Internet COnnection Firewall can block ICMP
    C/C++ Support IRC Channel

    Server: irc.dal.net Channel: #csupport

    Come along and help make it a great resource for the community.

  3. #3
    Registered User
    Join Date
    Mar 2004
    Posts
    220
    Yes it is possible, but I really have no where near a good enough foundation on raw sockets to tell you what to do with that.

    Just for clarification(if you didn't know this already..as i'm sure you do), your interested in catching the icmp request and blocking your reply as well.

    This might help you a bit http://sudhirmangla.i6networks.com/p...l/Firewall.htm if your looking for some general examples on how to code the firewall..sadly windows doesn't have much of an open-source community..otherwise there would be a better link.
    OS: Windows XP Pro CE
    IDE: VS .NET 2002
    Preferred Language: C++.

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    8
    Oh well, thanks for the help anyway guys

    -IEatGreyFoxes

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Obtaining source & destination IP,details of ICMP Header & each of field of it ???
    By cromologic in forum Networking/Device Communication
    Replies: 1
    Last Post: 04-29-2006, 02:49 PM
  2. Question on ICMP echo request
    By kzfid in forum Networking/Device Communication
    Replies: 7
    Last Post: 11-02-2005, 06:16 PM
  3. Writing all HTTP requests from a website to a log file
    By goomyman in forum C# Programming
    Replies: 1
    Last Post: 07-29-2005, 09:18 AM
  4. Traceroute using UDP + ICMP
    By Unregistered in forum Windows Programming
    Replies: 0
    Last Post: 08-05-2002, 10:50 AM