Welcome, Guest. Please login or register.
October 12, 2008, 10:35:57 AM

Login with username, password and session length

199621 Posts
22917 Topics
55000 Members

Latest Member: tfahey1298

Search:     Advanced search | Tag Cloud
+  Welcome to the Comodo Forum
|-+  Desktop Security Products
| |-+  Comodo Firewall
| | |-+  Frequently Asked Questions (FAQ) for Comodo firewall
| | | |-+  Replacing ZoneAlarm
« previous next »
Pages: [1] Go Down Print
Author Topic: Replacing ZoneAlarm  (Read 6312 times)
m0ng0d
I used to be indecisive, but now I'm not so sure.
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 787



« on: July 02, 2006, 05:36:12 PM »

I certainly see alot of power in the way CPF has structured it's rules ability.  But for a relative TCP/IP security noob, there was alot to be said for the seemingly "no-brainer" way of applying application rules in ZA.

So, I stand before you ready to learn the CPF way.

For example, in ZA I could set an application for:
Access Trusted Zone?  True
Act as Server on Trusted Zone? True
Access Internet Zone?  False
Act as Server on Internet Zone? False

The first issue (to my untrained eye) seems to be that their is no way to define the "Internet" zone.  Second, does "Act as Server" simply mean open for Inbound access?

So how would I go about setting up the rule(s) in CPF to enforce the behaviour outlined in my example for any application?  (Like wgatray.exe for example)


Another related question comes to mind here... depending on the application (usually games i think), some would require another "zone" to be setup... "255.255.255.255"...  is this broadcast?  Is it safe?  Or would a rule related to this address circumvent security in some way?  ( I can't help but to think of the subnet mask when I see an addresss like that... looks global)
« Last Edit: July 02, 2006, 05:37:44 PM by m0ng0d » Logged

OS: WinXP x64
Comodo Security: CIS 3.5 Beta3
Other Security: Mailwasher Pro 5.3 LFE
Wish: x64 iVault for FireFox, x64 Comodo Backup
Lauren
Newbie
*
Offline Offline

Posts: 6


« Reply #1 on: July 04, 2006, 07:49:50 AM »

Assuming you have a setup with more than one PC behind a router, it is fairly easy, though not as simple as ZA, to create the rules. Incidently, wgatray.exe has 'nothing to say' to the trusted zone.
Running Tasks/Wizards/Add A Trusted Zone on each of the PCs will find the
private IP address range (eg 192.168.1.0 to 192.168.1.255) associated with their respective ethernet
card, assign a name to the Zone, and create the default 'allow all traffic' rules for inbound and
outbound data. Knowing the trusted zone IP range, we can now add the rules for the application.
In our example, if there are any existing rules for wgatray.exe, remove them.
Select Application Monitor/Add and browse to C:\Windows\System32\WgaTray.exe.
Now click on the Skip Parent radio button. On the General tab below, make sure Allow/Tcp or UDP/In are the options. The Remote IP tab and Remote Port tab should both have the Any radio button checked. Click OK.
We have now added a rule to allow wgatray.exe to listen for connections from anywhere.
To block it from phoning home, add a new rule as above, but on the General tab, use Block/TCP or UDP/Out,
on the Remote tab, select the ZONE radio button, then check Exclude. Click OK.
At the next reboot, Activity/Logs will show that wgatray.exe was denied access to the internet.
 Comodo Rocks
Logged
m0ng0d
I used to be indecisive, but now I'm not so sure.
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 787



« Reply #2 on: July 04, 2006, 01:44:38 PM »

That's awesome Lauren, I will definitely be giving your steps a try.

Do you have any knowledge to share on the broadcast question?
Another related question comes to mind here... depending on the application (usually games i think), some would require another "zone" to be setup... "255.255.255.255"...  is this broadcast?  Is it safe?  Or would a rule related to this address circumvent security in some way?  ( I can't help but to think of the subnet mask when I see an addresss like that... looks global)

Many thanks! Love Comodo
Logged

OS: WinXP x64
Comodo Security: CIS 3.5 Beta3
Other Security: Mailwasher Pro 5.3 LFE
Wish: x64 iVault for FireFox, x64 Comodo Backup
panic
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 5477


... and I say to myself, "What a wonderful world"


« Reply #3 on: July 04, 2006, 04:21:31 PM »

That's awesome Lauren, I will definitely be giving your steps a try.

Do you have any knowledge to share on the broadcast question?
Many thanks! Love Comodo

Hmmmm ..... 255.255.255.255 smells like a subnet mask, which is conceivable for a game to want to reach other players on the LAN. If you've run through the trusted zone wizard, this should all be taken care of, as the wizard creates an allow rule for the local lan.

Action : ALLOW
Protocol :IP
Direction : In/Out
Source : ZONE
Remote : ZONE

Make sure you have a rule like this in network monitor. This rule should be at the top of the list to give it the highest priority.

Hope this helps,
Ewen :-)
Logged

As your mums would say, "If you can't play nice with all the other kiddies, go home".
All users are asked to please read and abide by the  Comodo Forum Policy.
If you don't like it, don't use the forum.
Lauren
Newbie
*
Offline Offline

Posts: 6


« Reply #4 on: July 04, 2006, 04:50:49 PM »

Sorry I didn't pick up on the second part of the query, m0ng0d Sad

255.255.255.255 as a subnet mask would be catered for exactly as Ewen outlines. Smiley

As an IP, it is reserved to broadcast to everywhere on your network and this can be fraught, leading to a possible
http://computer.howstuffworks.com/lan-switch13.htm broadcast storm. I can't think of a valid reason to try to
formulate a rule for that IP - Hint - try pinging 255.255.255.255  Wink
On a M$ O/S it will tell you it can't find that host; a Linux system will tell you if you want to ping broadcast....
Logged
m0ng0d
I used to be indecisive, but now I'm not so sure.
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 787



« Reply #5 on: July 04, 2006, 05:41:07 PM »

Ok, I think i have this nailed down...

I decided to test this with a LAN game, using another PC on my network as the competitor.  In order to connect successfully without receiving any additional popups, I needed 3 rules:

Application Rule #1
App/Parent: SKIP
Action : ALLOW
Protocol :TCP/UDP
Direction : Out
Remote : ZONE:[Home Network]
Remote Port: Any
Misc: ALLOW Invisible

Application Rule #2 (this one blocks the 255.255.255.255 broadcast I'm sure Smiley)
App/Parent: SKIP
Action : BLOCK
Protocol :TCP/UDP
Direction : Out
Remote : NOT IN ZONE:[Home Network]  <-- Exclude checked
Remote Port: Any
Misc: ALLOW Invisible

Application Rule #3
App/Parent: SKIP
Action : ALLOW
Protocol :TCP/UDP
Direction : In
Remote : Any
Remote Port: Any
Misc: ALLOW Invisible

Now Rules #2 & #3 are basically exactly what Lauren stated.  What was odd however is that it seems Rule #2 "Block non-[Home Network]" doesn't imply "Allow [Home Network]"... hence why I created Rule #1.  Does this seem odd?  Or did I expect too much?

In any event, unless someone can show me what I did "wrong" to make 2 Rules not enough, these 3 Rules are my new "Big Brother is watching, so seal off the exists" trilogy of goodness.  (I almost have a false sense of security that I can now "safely" use downloaded NOCD's and save my precious originals, without the imbedded trojans pulling down their payload... NOT!!!)

It was also important to understand where these Application rules fit into the CPF "Order of Rules" followed...
Incoming Connecions

1- Network monitor applies filtering if success it passes to application monitor
2- Application monitor checks the target application, if allowed passes to
3- Advanced security analysis monitor(component monitor + application behavior analysis)

if these 3 steps are passed, application receives the connection.


Outgoing connections

The order changes :

1- Application monitor
2- Advanced security monitor
3- Network monitor


Hope this helps,

Egemen

[ at ]Panic,
I did have a network rule as you suggested.

Thank you everybody! Saved My Life


Oh, wow... I just noticed I progressed from a Newbie to a Comodo Member... And just in time as I learned something "powerful" Jiggy
« Last Edit: July 04, 2006, 06:10:49 PM by m0ng0d » Logged

OS: WinXP x64
Comodo Security: CIS 3.5 Beta3
Other Security: Mailwasher Pro 5.3 LFE
Wish: x64 iVault for FireFox, x64 Comodo Backup
Tags:
Pages: [1] Go Up Print 
« previous next »
Jump to:  

SSL Firewall
Page created in 0.152 seconds with 19 queries.
Powered by SMF 1.1.5 | SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by 7dana.com