CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. Come to CPUG CON 2008 EUROPE in Switzerland on September 8th - 9th!
    Two days full of technical content for Check Point administrators in the beautiful Swiss Alps!
    We already have sign-ups from twelve different countries!
2. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 7/14, 8/25, 10/6, 11/3, 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3, 9/7.
3. Corrent S3500 SecureXL Turbocards For Sale - Last Six Remaining - Get Your Spares!
4. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > Disaster Recovery
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2007-11-13
IndyBoiler IndyBoiler is offline
Junior Member
 
Join Date: 2007-04-16
Posts: 9
Rep Power: 0
IndyBoiler has an average reputation (10+)
Default FTP backup script

Does anyone have a good FTP backup script that they can share? I currently run the cpbackup utility on my system but it is storing the file locally. I really want a cron job to ftp the files to another system for safe keeping. I'm looking for a good script.

Thank you,
Reply With Quote
  #2 (permalink)  
Old 2007-11-13
Thorpuse Thorpuse is offline
Senior Member
 
Join Date: 2007-07-16
Posts: 340
Rep Power: 2
Thorpuse has an average reputation (10+)
Default Re: FTP backup script

The backup command in SecurePlatform has options to send the file remotely via scp (a better choice than FTP anyway!).
Reply With Quote
  #3 (permalink)  
Old 2007-11-14
IndyBoiler IndyBoiler is offline
Junior Member
 
Join Date: 2007-04-16
Posts: 9
Rep Power: 0
IndyBoiler has an average reputation (10+)
Default Re: FTP backup script

Yes, but I'm not running any SCP servers right now.
Reply With Quote
  #4 (permalink)  
Old 2007-11-18
IndyBoiler IndyBoiler is offline
Junior Member
 
Join Date: 2007-04-16
Posts: 9
Rep Power: 0
IndyBoiler has an average reputation (10+)
Default Re: FTP backup script

I found a good script online on another site so this item can be closed now.
Reply With Quote
  #5 (permalink)  
Old 2007-11-21
psmvgr psmvgr is offline
Junior Member
 
Join Date: 2007-09-02
Posts: 14
Rep Power: 0
psmvgr has an average reputation (10+)
Default Re: FTP backup script

Can u share that link with us?

Tq
psmvgr
Reply With Quote
  #6 (permalink)  
Old 2007-11-22
fizzkakz fizzkakz is offline
Junior Member
 
Join Date: 2007-10-18
Location: Melbourne, Australia
Posts: 20
Rep Power: 0
fizzkakz has an average reputation (10+)
Default Re: FTP backup script

I have just configured a scheduled TFTP of backups via the SecurePlatform GUI. Obviously not as secure or robust as SCP or FTP but it does the trick.
Reply With Quote
  #7 (permalink)  
Old 2007-11-28
dsb.nepo dsb.nepo is offline
Senior Member
 
Join Date: 2006-04-30
Location: Europe, Germany
Posts: 132
Rep Power: 3
dsb.nepo has an average reputation (10+)
Default Re: FTP backup script

Quote:
I have just configured a scheduled TFTP of backups via the SecurePlatform GUI
Please keep an eye at the size of the backup, and test the extract of the files.
There are some TFTP servers around with an old size limit of ~32MB, sometimes they store a bigger size but corrupted file.

To setup a scp server on windows you can use for example this tool sshwindows.sf.net: OpenSSH for Windows.
and follow this thread Backup to SCP server
Reply With Quote
  #8 (permalink)  
Old 2007-11-28
RobertGraham RobertGraham is offline
Senior Member
 
Join Date: 2006-02-02
Posts: 204
Rep Power: 3
RobertGraham has an average reputation (10+)
Send a message via MSN to RobertGraham Send a message via Yahoo to RobertGraham
Default Re: FTP backup script

SSHD is installed by default on every linux flavor I've ever touched. The OS and software are both free of any licensing fees whatsoever. It's pretty easy to setup and get going and best of all it works.

While FTP isn't a great idea, TFTP approaches poor. I'm shocked that the organizations involved here don't have security policies strictly forbidding this. Think about it, you're transmitting highly sensitive security information via clear text.

I urge the people doing this to rethink this practice. Spending all the money that CheckPoint costs only to expose it like that can't be good security. Backup data(archived data at rest) is a huge vulnerability that have created exposures for many, many companies. Don't be the next one in the headlines.
Reply With Quote
  #9 (permalink)  
Old 2008-01-24
oboyle oboyle is offline
Junior Member
 
Join Date: 2007-09-26
Posts: 1
Rep Power: 0
oboyle has an average reputation (10+)
Default Re: FTP backup script

I am running SPLAT NGX R65 and had some troubles getting the above to work, so I thought I would update the above to reflect my experiences. I have not had experience with any earlier versions of SPLAT, so whether the following applies to earlier versions, I don't know.

In SPLAT, all SSH keys are located in the /etc/ssh directory:
ssh_host_key (private key for SSH v1)
ssh_host_dsa_key (private key for DSA encryption, SSH v2)
ssh_host_rsa_key (private key for RSA encryption, SSH v2)
and all three with the suffix .pub for the public key pair of the above keys.

I decided to use DSA encryption, but the following should apply to any of the others.
First, on the SPLAT box, the private key needs to be copied:
cp /etc/ssh/ssh_host_dsa_key /root/.ssh/id_dsa (id_rsa for RSA, don't recall the SSH v1 name)

Second, the public key file needs to be transferred to the system where the backup file will be transfered to and put in the user's ~/.ssh/authorized.keys or ~/.ssh/authorized_keys2 file. Note that authorized is spelled with a "z" not an "s". I lost a few hours tracking that error down.

Finally, if the SSL StrictMode is on (it is by default) then the ~/.ssh directory must be set so that only the owner has rwx permissions and group and world have no permissions at all. The authorized_keys(2) file must not have wx permissions for group or world either.

Hope this helps someone else out there.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 20:09.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0