Thread: programming a firewall...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    319

    programming a firewall...

    i was wondering how you make a firewall in windows , do you enumrate all the process's in the task manager for winsock connect?, i know how to get a function pointer to connect inside ws2_32.dll but i dont know how to say when its being used , thanks if you can help

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    I'm pretty sure that it doesn't use that method. I do not know what method it DOES use, but I'm expecting it works sort of like a filter layer on the TCP/IP stack system.

    This says article that it describes how it may work in several different layers - I only read the first half-page, and it seems to confirm my original answer.
    NT Kernel Resources: Firewall For Windows

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,058
    Quote Originally Posted by Anddos View Post
    i was wondering how you make a firewall in windows , do you enumrate all the process's in the task manager for winsock connect?, i know how to get a function pointer to connect inside ws2_32.dll but i dont know how to say when its being used , thanks if you can help
    Building Internet firewalls

  4. #4
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,058
    I saw your firewall info request on the newsgroups. Check it. You'll find complete Windows firewall source code for your review.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Win Xp firewall detection
    By wind_addict in forum Windows Programming
    Replies: 1
    Last Post: 04-30-2008, 12:13 PM
  2. Firewall Conflict
    By Davros in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 05-22-2004, 03:17 PM
  3. building a basic firewall
    By threahdead in forum Linux Programming
    Replies: 2
    Last Post: 06-30-2003, 09:19 AM
  4. Norton Firewall
    By MethodMan in forum Tech Board
    Replies: 4
    Last Post: 02-14-2003, 06:46 PM
  5. Firewall
    By Generator in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 09-22-2001, 12:28 AM