title: Is it possible to write simple Firewall with Python/Scapy for Windows?
body: <p>I'm looking to make a "small" firewall that can intercept HTTP traffic,  it should then modify or drop the packet according to its ip address and the content(text) of the packet.</p>
  
  <p>I googled several times before I created this question.
  Im afraid it'll take a long time, also, I do not have any experience in developing a <a href="http://en.wikipedia.org/wiki/Kernel-Mode_Driver_Framework" rel="nofollow">driver kernel-mode</a>.</p>
  
  <p>Recently though, I came across a library for python <a href="http://www.secdev.org/projects/scapy/" rel="nofollow">(scapy)</a>, and from the <a href="http://www.secdev.org/projects/scapy/doc/" rel="nofollow">documentation</a>, it is able to sniff as well as forge traffic. </p>
  
  <p>However I have a few questions about scapy:</p>
  
  <p>What does it mean to "forge network packets?" Does it forge a copy of the packets?</p>
  
  <p>Thanks in advance.</p>
  
  <p>PS: Also since I'm not experienced in developing drivers in kernel-mode, is there any alternative library in user-mode? The programming language used is not my goal, my goal is to accomplish this task in a short period of time and as simply as it can be done.</p>