Solved

Windows firewall packet filtering

Posted on 2009-04-06
5
344 Views
Last Modified: 2013-12-04
I've been looking for ways to block a particular UDP packet on windows, but need to look into the payload. Something like if (udp[34]==0xaa and udp[45]==0xbb) then PF_DROP.

Are there firewalls/proxies that can do this? The ones I've come across only filter on IP/port. I can do this on linux with iptables but have yet to find a solution on Windows.

I'm open to writing my own app if someone can give me pointers to the windows kernel hooks for packet filtering. Thanks.
0
Comment
Question by:zyca
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
theoaks earned 250 total points
ID: 24086894
yes... ms isa server can do packet level filtering, not just port based.


0
 
LVL 86

Assisted Solution

by:jkr
jkr earned 250 total points
ID: 24088757
I am not aware of an existig FW for that purpose, but you could adapt the one presented in http://www.codeproject.com/KB/IP/FwHookDrv.aspx ("An Adventure: How to implement a Firewall-Hook Driver?") to suit your needs. This article comes with full source code.
0
 
LVL 86

Expert Comment

by:jkr
ID: 24711235
I'd object against a split, since 'yes [...] a server can do that' is too vague.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now