Welcome, Guest. Please login or register.
October 08, 2008, 02:28:46 AM

Login with username, password and session length

198020 Posts
22790 Topics
54756 Members

Latest Member: Shoman

Search:     Advanced search | Tag Cloud
+  Welcome to the Comodo Forum
|-+  Desktop Security Products
| |-+  Comodo Firewall
| | |-+  Help for v2
| | | |-+  Script to Backup CPF v2.4 firewall settings
« previous next »
Pages: 1 ... 8 9 [10] 11 Go Down Print
Author Topic: Script to Backup CPF v2.4 firewall settings  (Read 54612 times)
AnotherOne
Computer Security Testing Group
Comodo's Hero
*****
Offline Offline

Posts: 665


« Reply #135 on: October 09, 2007, 01:06:49 PM »

Sorry if this is just ignorance speaking, but could you not just use either a Restore Point or a registry backup (ERUNT perhaps?) to do this?  Or is there more than the registry being backed up here? 
Logged

What do you mean, my shoes are on the wrong feet???  These are the only feet I've got!
Ed_P
Comodo Member
**
Offline Offline

Posts: 42


« Reply #136 on: October 09, 2007, 10:17:23 PM »

Possibly.  So long as loosing all other changes made to the Registry from the time of the System Restore or ERUNT backup to the present are insignificant.  New Favorites, new apps, changes to existing apps, etc.

The BAT/CMD approach deals only with the 255KB portion of the Registry used by COMODO for it's settings and restoring it doesn't impact anything other than COMODO.
Logged

Ed
comode
Newbie
*
Offline Offline

Posts: 21


« Reply #137 on: November 16, 2007, 09:47:08 AM »

Sorry if this has been asked (10 pages  Tongue ), if I use this and then install v3 later on, will all the settings be imported, or will this not work with the newer version (like rules, ports etc.)

Also which script to use, on page 1 it has 1.5 is best, on previous page(pg.9) it has v2.4cmd?

thanks.

(Im using firewall v2.4.18.184 - app dbase v3.0)
Logged
Ed_P
Comodo Member
**
Offline Offline

Posts: 42


« Reply #138 on: November 16, 2007, 01:00:40 PM »

Also which script to use, on page 1 it has 1.5 is best, on previous page(pg.9) it has v2.4cmd?
The script on pg 9 is the 1.5 version with a couple of enhancements. I renamed it to match the version of Comodo that it was designed to work with.  I thought it would be less confusing with that name.    Whether it will work with the new version is unknown.  It may, but the new 3.0 version of Comodo is suppose to have a backup and restore function built in so the need for the script is removed.

hth
Logged

Ed
Little Mac
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 6017



« Reply #139 on: November 16, 2007, 07:49:21 PM »

I don't think these scripts will work w/v3; the structure is too different, and the naming conventions as well.  At any rate, v3 does have built-in export features, and can utilize multiple profiles as well (such as for laptop users who use it at home, office, and on the road...

LM
Logged

date
dcfldd split=2G conv=noerror hashwindow=0 hash=md5 bs=32768 hashlog=/mnt/sda1/images/hash.log if=/dev/hda of=/mnt/sda1/images/LM.dd
date
cat LM.dd.* | md5sum > verify.log
date
comode
Newbie
*
Offline Offline

Posts: 21


« Reply #140 on: November 17, 2007, 07:37:17 AM »

Oh, ok, thanks for that.
 
So have to put all those rules back in from scratch in v3!

But Im assuming if 2.4 is updated to v3, the settings/rules will be automatically transferred?
Logged
gibran
Forum Member
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 3757


Sometimes words are meaningless indeed...


« Reply #141 on: November 17, 2007, 07:58:24 PM »

Oh, ok, thanks for that.
 
So have to put all those rules back in from scratch in v3!

But Im assuming if 2.4 is updated to v3, the settings/rules will be automatically transferred?
Nope. But you can define your firewall ruleset and assign them to any app you want.
Logged

Little Mac
Global Moderator
Comodo's Hero
*****
Offline Offline

Posts: 6017



« Reply #142 on: November 17, 2007, 10:47:37 PM »

Nope, 2.4 won't update; you will have to download v3, uninstall v2, and install v3.  They are way too different in architecture for it to be an automatic transition.  However, v3 will help you to create all the new rules, in a way that 2.4 never could, so it shouldn't be as bad as you think.

LM
Logged

date
dcfldd split=2G conv=noerror hashwindow=0 hash=md5 bs=32768 hashlog=/mnt/sda1/images/hash.log if=/dev/hda of=/mnt/sda1/images/LM.dd
date
cat LM.dd.* | md5sum > verify.log
date
Louisaz
Newbie
*
Offline Offline

Posts: 9


« Reply #143 on: January 25, 2008, 08:45:53 PM »

 Nerd

I for one am not interested in writing a script to backup my CPF settings.  Let me suggest that two (2) buttons be added to the next generation of CPF to do just that. 

It would be good to permit the user to backup current settings...and restore saved settings simply and quickly.

I'm confident that Comodo will have this option shortly.  No?

Louis
Logged
rip_pit
Newbie
*
Offline Offline

Posts: 8


« Reply #144 on: January 26, 2008, 10:32:28 AM »

What your are speaking about is already available in v3. of comodo firewall.
This script is for v2.4/2.x users only.
Switch to v3. (which is great & easiest to use) if you need 2 buttons to backup/restore the settings, it has full support in v3.
Logged
imagine
Newbie
*
Offline Offline

Posts: 17


« Reply #145 on: January 31, 2008, 11:16:20 PM »

Well the script works fine but on reinstall of the firewall the reg file deactivated the firewall and the ONLY way it would work was to restore the registry backup and go through the whole training procedure again.

Not only that, the uninstall didn't work and the uninstall script had to be run first. Cry

Logged
rip_pit
Newbie
*
Offline Offline

Posts: 8


« Reply #146 on: February 01, 2008, 11:18:27 AM »

Well the script works fine but on reinstall of the firewall the reg file deactivated the firewall and the ONLY way it would work was to restore the registry backup and go through the whole training procedure again.

Not only that, the uninstall didn't work and the uninstall script had to be run first. Cry


I had the same problem. Maybe you didn't uncheck the option "comodo protects his registry keys" before to backup/restore. look at the first post in this topic, it's written.
Logged
imagine
Newbie
*
Offline Offline

Posts: 17


« Reply #147 on: February 01, 2008, 03:10:00 PM »

Actually I did but  as other funny things started happening  I did an online scan with Bitdefender and lo! A virus. First I have ever had that I know of.

Cleared out the virus and it worked this time. Too bad CAVS didn't pick up the virus. Roll on V3 Smiley
Logged
Ed_P
Comodo Member
**
Offline Offline

Posts: 42


« Reply #148 on: April 29, 2008, 12:35:54 PM »

Please note, the restore instructions for this backup are flawed.  The restore does not remove rules that have been added since the backup was made. 

To do a proper restore after shutting down Comodo 2.4 one must DELETE the existing Comodo Registry key before doing the restore.

To correct this oversite one needs to either change the top two lines in the backup .reg file from

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\Software\Comodo\Personal Firewall]

to

Code:
Windows Registry Editor Version 5.00

-[HKEY_LOCAL_MACHINE\SYSTEM\Software\Comodo\Personal Firewall]
[HKEY_LOCAL_MACHINE\SYSTEM\Software\Comodo\Personal Firewall]

or to manually delete the key using RegEdit before doing the restore.

Sorry I didn't catch this sooner.
Logged

Ed
pnielsen
Newbie
*
Offline Offline

Posts: 1


« Reply #149 on: June 24, 2008, 09:47:06 AM »

This script appears to work well to back up my version 2.4.18.184 on Windows 2000.  (I say appears because I haven't tried to restore, but I have looked at the output with notepad, and it seems reasonable.) 

However, what I would really like is a script which would create an easily human readable listing of the rules, so that I could review what was setup, and be able to easily edit them to see which ones are really required for my VPN to work.  but so that I could recover my settings without having to record each.  I haven't seen such in the forums (but maybe I have overlooked it)  Does it already exist?

It would also be helpful if there was a standard format so that when people are posting rules they could post them in the standard format.

At present I can't even select and copy the Details of a rule as listed in the Details pane.

Thanks for any help or suggestions!

Paul
 
Logged
Tags:
Pages: 1 ... 8 9 [10] 11 Go Up Print 
« previous next »
Jump to:  

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