?
Solved

Implemting a packet filter for WinXP

Posted on 2004-08-31
2
Medium Priority
?
213 Views
Last Modified: 2010-04-24
I'd like to implement a packet filter for Windows XP.  I'd like my code to have access to both inbound and outbound traffic, including the ability to modify or drop packets.  For example, when a packet meeting certain criteria arrives, I'd like to be able to drop it, along with other packets from the same IP address.  I'd also like to be able to restrict outbound traffic through packet inspection.

I'm familiar with TPC/IP, how to decode packets, etc., so what I'm really looking for is a pointer to some sample code on how to hook into XP at a relatively low level.

Thanks,
Eric
0
Comment
Question by:ejacksch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
Svetlin_Panayotov earned 2000 total points
ID: 11949189
Take a look here
http://www.ndis.com/papers/winpktfilter.htm
There's good sample that works on Win2K - ftp://ftp.wdj.com/pub/webzip/1110/plooy.zip

Also if you're familiar with assembler - http://www.programmersheaven.com/zone5/cat1132/35503.htm

Svetlin
0
 

Author Comment

by:ejacksch
ID: 11962441
Thanks Svetlin, much appreciated!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question