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
Solved

Implemting a packet filter for WinXP

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

860 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