Solved

Implemting a packet filter for WinXP

Posted on 2004-08-31
2
209 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

776 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