zabbix
+ Reply to Thread
Results 1 to 15 of 15

Thread: Create A Custom Windows Firewall

  1. #1
    Join Date
    Jan 2005
    Posts
    623

    Create A Custom Windows Firewall

    I read an article in this months issue of [url=http://www.windowsitpro.com/Article/ArticleID/*2767/*2767.html?Ad=*]Windows IT Pro[/url] about using netsh and IPSec to control packets.

    I then went on to create a "build your own firewall" program for the average windows user. The script allows you to control the flow of packets (incoming and outgoing). The current firewall that is built into windows only blocks incoming packets. In Vista you will be able to control both but why wait... Like I said the program is very easy to use:

    *. Create A Policy (automatic)
    2. Create firewall rules

    Even if you totally screw things up... you have the option to "Delete Policy". This will delete all traces of everything you created.

    Because I will be submitting the script to Windows IT Pro for publication I would like to ask for you help to find a .bat to .exe converter.... Nooo not the freeware that leaves a message at the top of the file when you run it. A clean, .bat to .exe converter. I will post the script after my submission gets either laughed at or published...

    ~SyntaX
    Last edited by SyntaXmasteR; 09-13-2006 at 06:18 PM.
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  2. #2
    Join Date
    Sep 2005
    Posts
    2,053
    Quote Originally Posted by SyntaX******
    I read an article in this months issue of [url=http://www.windowsitpro.com/Article/ArticleID/*2767/*2767.html?Ad=*]Windows IT Pro[/url] about using netsh and IPSec to control packets.

    I then went on to create a "build your own firewall" program for the average windows user. The script allows you to control the flow of packets (incoming and outgoing). The current firewall that is built into windows only blocks incoming packets. In Vista you will be able to control both but why wait... Like I said the program is very easy to use:

    *. Create A Policy (automatic)
    2. Create firewall rules

    Even if you totally screw things up... you have the option to "Delete Policy". This will delete all traces of everything you created.

    Because I will be submitting the script to Windows IT Pro for publication I would like to ask for you help to find a .bat to .exe converter.... Nooo not the freeware that leaves a message at the top of the file when you run it. A clean, .bat to .exe converter. I will post the script after my submission gets either laughed at or published...

    ~SyntaX
    This thread seems to offer a batch file to exe converter:

    [url]http://www.rohitab.com/discuss/lofiversion/index.php/t*062*.html[/url]

    Also if you wanted an executable, you could simply make a c++ program with each batch command entered into the system() function.

  3. #3
    Join Date
    Jan 2005
    Posts
    623
    The link on that forum is 404 but here is the program compiled with a shareware version.

    Please take a look and let me know any recommendations before I submit it.

    [url=http://www.boninroad.com/syntax******/firewall.exe]Custom FireWall[/url]

    The options may be confusing:
    *. IP = An actual IP address
    2. me = The actual words me must be entered
    *. any= The actual words any must be entered
    4. Port# = Enter 0 for all ports, otherwise enter the port#

    NOTE: * file and * directory are created on your computer once you start creating firewall rules. This is only to keep ***** of the current rules so you can easily manipulate your firewall. The directory and file will be located here- %userprofile%\my documents\firewall\rules.txt The file and directory are both deleted once you delete the policy.
    Last edited by SyntaXmasteR; 09-15-2006 at 06:04 PM.
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  4. #4
    Join Date
    Jan 2005
    Posts
    623
    *2*456 - All your threads are now deleted. Stay on topic. The file is clean. If you need someone to preach to join a church. I would like opinions on the program. If anyone is worried about it containing a virus/trojan/spyware please scan the file using a reputable virus scanner.
    Last edited by SyntaXmasteR; 09-15-2006 at 01:18 PM.
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  5. #5
    Join Date
    Jan 2005
    Posts
    623
    Updated program to prevent user error. You can also type "MENU" at any time to return to menu screen.
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  6. #6
    Join Date
    Mar 2006
    Posts
    122
    Well, I tried it.
    And...
    .
    .
    .
    .
    .
    I like it.

    More opinions to come...

  7. #7
    Join Date
    Jan 2005
    Posts
    623
    What options did you have in mind?
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  8. #8
    Join Date
    Mar 2006
    Posts
    122
    Well, is there some way to make a er... like a list of what has been entered? To see what I've done so far. Kinda like output...

    But I like it, its easy to use.

    Toast

  9. #9
    Join Date
    Jan 2005
    Posts
    623
    Are you s***esting a "View Current Firewall Rules" option? That would be nice lol... thats why i always ask for s***estions, sometimes little IMPORTANT things slip by.
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  10. #10
    Join Date
    Mar 2006
    Posts
    122
    No problemo.


  11. #11
    Join Date
    Jan 2005
    Posts
    623
    Ok, you can view your current firewall rules now - [url=boninroad.com/syntax******/firewall.exe]Custom FireWall[/url]

    any more s***estions...
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  12. #12
    Join Date
    Mar 2006
    Posts
    122
    Everytime I create a new rule, it just exits. Wtf?!
    I have tried it three times...
    But number 5, is a good option. But I cant go any farther till it stops closing.

    Ill figure it out. Maybe the problem is between the key***rd and the c****...

    Toast

  13. #13
    Join Date
    Jan 2005
    Posts
    623
    what is your input? The only reason it should exit is if you input a NON inputtable (new word) value.

    I figured I should also mention this... yet another OOps

    This program will only run on:
    Windows Server 200*
    Windows XP 64-bit
    Last edited by SyntaXmasteR; 09-18-2006 at 09:45 PM.
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  14. #14
    Join Date
    Mar 2006
    Posts
    122
    I create a new firewall rule, and the program just quits.
    Im using XP. So its not the os
    Why isnt anyone else trying your program out?!
    ~T

  15. #15
    Join Date
    Jan 2005
    Posts
    623
    Make sure you have the latest download of program. There is nothing in the code that would make it exit after you enter the data.
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

+ Reply to Thread

Similar Threads

  1. Internet Connection Firewall and Basic Firewall Do Not Block
    By DATA in forum Proxies and Firewalls
    Replies: 0
    Last Post: 06-03-2003, 05:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts