Solved

Windows firewall packet filtering

Posted on 2009-04-06
5
350 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Users of Windows 10 Professional can disable automatic reboots using the policy editor. This tool is not included in the Windows home edition. But don't worry! Follow the instructions below to install (a Win7) policy editor on your Windows 10 Home e…
Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

828 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