Solved

Implemting a packet filter for WinXP

Posted on 2004-08-31
2
212 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 500 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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 …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

691 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