Labels
- Cheat Sheets (7)
- Checkpoint (159)
- Cisco (24)
- Commands (5)
- Fortigate (2)
- Frame-Relay (9)
- Linux (3)
- Netscaler (29)
- Netscreen (2)
- Nokia (7)
- UNIX (2)
Live Traffic
Advanced migration of Provider-1 R7x
It became quite hot when decent SPLAT was out. Once upon a time it was only possible with CMA migration. It was a painful and long procedure. And you could not do this if you had VSX managed.
This is not the case anymore. With new Multi-domain systems of R7x you can do it fast and easy.
First, insert Provider-1 target version installation CD to your MDS. Mount cdrom and go to linux folder on it. Run the usual mds_setup script from there.
You will have 4 options, and the last one is to export your existing MDS configuration. Choose it and continue. As a result you will get MDS export file.
On the target machine install the desired version from the CD. Pre-configure it as required (Primary MDS, etc).
Copy the export file to it.
To import go to $MDSDIR/system/install and run mds_import script from there pointing to your export file.
Say, your export file is placed in /var/tmp and called export_mds_12345.tgz..Then your import command will look ./mds_import /var/tmp/export_mds_12345.tgz.
The script will re-build your MDS on the new machine and will upgrade database, if necessary.
In about ten to twenty minutes you will have new migrated and upgraded system. No more mds_backup and mds_restore hassle, no more upgrade in place and disk space wasted by old versions. You can easily use it with VSX, you can finally change your old Solaris MDS to a shiny new SPLAT box without spending 10 days migrating CMAs with stopped production management operations.
6/08/2011 07:16:00 PM
Posted by MK | Filed Under Checkpoint | 0 Comments
Check Point R70, R71 and R75 Release Ma

Very nice to have a graphical overview how the version are connected and following each other.
3/02/2011 08:11:00 PM
Posted by MK | Filed Under Checkpoint | 0 Comments
OpenSSL Commands to Convert SSL Certificates
2/20/2011 03:50:00 AM
Posted by MK | Filed Under Netscaler | 0 Comments
ERROR: Certificate and private key do not match

openssl x509 -in certfile_name -noout –modulus
openssl rsa -in key_file_name -noout -modulus
openssl req -in csr_file_name -noout -modulus
5A12544AABD74DE7B56E28727009B1539C5E597AA2EB3BE3ED33705166CF5CF463EF2
62C7AD114297300FD3E12803AFB11798C2191E17E7E65F7F53C68C9DC9B267688F36B2
72B5B26C30C212A0A87AF2C036EBA3C658114E787DAB6DC421DB5327
5A12544AABD74DE7B56E28727009B1539C5E597AA2EB3BE3ED33705166CF5CF463EF2
62C7AD114297300FD3E12803AFB11798C2191E17E7E65F7F53C68C9DC9B267688F36B2
72B5B26C30C212A0A87AF2C036EBA3C658114E787DAB6DC421DB5327
5A12544AABD74DE7B56E28727009B1539C5E597AA2EB3BE3ED33705166CF5CF463EF2
62C7AD114297300FD3E12803AFB11798C2191E17E7E65F7F53C68C9DC9B267688F36B2
72B5B26C30C212A0A87AF2C036EBA3C658114E787DAB6DC421DB5327

2/20/2011 03:30:00 AM
Posted by MK | Filed Under Netscaler | 0 Comments
NetScaler Password Recovery Procedure
- Attach a console cable to the Serial Console (9600 baud, 8 bits, 1 stop bit, No parity) of the NetScaler appliance.
- Restart the NetScaler appliance.
- Press any of the following keys, as prompted:
Press Spacebar when the following message is displayed:
- To start the appliance kernel on a single user mode, enter the following command:
- Press Enter when the following message is displayed:
- Run the following command to check the disk consistency:
- Run the following command to display the mounted partitions:
- Run the following command to mount the flash drive:
- Run the following command to change to the nsconfig directory:
- Run the following set of commands to rewrite the ns.conf file and remove the set of system commands defaulting to the nsroot user:
a. Run the following command to create a new configuration file that does not have commands defaulting to the nsroot user:
\u@\h\$ grep –v “set system user nsroot” ns.conf > new.conf
b. Run a command similar to the following command to make a backup of the existing configuration file:
\u@\h\$ mv ns.conf old.ns.conf
c. Run the following command to rename the new.conf file to ns.conf:
\u@\h\$ mv new.conf ns.conf - Run the following command to restart the appliance:
- Log in to the appliance by using the default nsroot user credentials.
- Run the following command to reset the nsroot user password of your choice:
Console: serial port
BIOS drive C: is disk0
BIOS drive D: is disk1
BIOS 637kB/1046500kB available memory
FreeBSD/i386 bootstrap loader, Revision 0.8
(murray@builder.FreeBSD.org, Tue Sep 18 10:05:43 PDT 2001)
Loading /boot/defaults/loader.conf
ns-6.1-86.1 text=0x4b6260 data=0x64908d0+0x5b50f4
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel] in 2 seconds...
Type '?' for a list of commands, 'help' for more detailed help.
ok boot –s
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.9-NETSCALER-6.1 #0: Tue Dec 6 00:52:06 PST 2005
build@amber.netscaler.com:/usr/obj/usr/home/build/rs_61/usr.src/sys/NETSCALER
Calibrating clock(s) ...
Mounting root from ufs:/dev/md0c
da0 at ahc0 bus 0 target 0 lun 0
da0:
da0: Serial Number 3JA9380Z00007453SCPE
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C)
md0: invalid primary partition table: no magic
start_init: trying /sbin/init
Enter full pathname of shell or RETURN for /bin/sh:
\u@\h\$
\u@\h\$ /sbin/fsck /dev/ad0s1a
ad0s1: type 0xa5, start 32, end = 500735, size 500704 : OK
** /dev/ad0s1a
** Last Mounted on /flash
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
7594 files, 178477 used, 64114 free (7250 frags, 7108 blocks, 3.0% fragmentation)
***** FILE SYSTEM MARKED CLEAN *****
\u@\h\$ /sbin/mount /dev/ad0s1a /flash
ad0s1: type 0xa5, start 32, end = 500735, size 500704 : OK
\u@\h\$ cd /flash/nsconfig
\u@\h\$ df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/md0c 100750 86088 12648 87% /
/dev/ad0s1a 242591 178477 44707 80% /flash
\u@\h\$ grep -v "set system user nsroot" ns.conf > new.conf
\u@\h\$ mv ns.conf old.ns.conf
\u@\h\$ mv new.conf ns.conf
\u@\h\$ reboot
Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped
syncing disks...
done
Uptime: 17m53s
Rebooting...
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel] in 2 seconds...
Booting [kernel] in 1 second...
Booting [kernel]...
Feb 28 20:15:40 10.178.35.81 02/28/2006:20:15:35 GMT ns : EVENT STATECHANGE : Device "self node 10.178.35.81" - State UP
nssyslog nsvpnlog daemon
nsconmsg:Netscaler Syslog Daemon Starting....
nsconmsg:Netscaler Syslog Daemon Starting....
Displaying accesslogs information
Performance Data Record Version 2.0
Started
Feb 28 20:15:52 ns netscaler: self node 10.178.35.81: UP
login: nsroot
Password:
Last login: Tue Feb 28 13:33:47 from 10.153.38.125
Done
2/20/2011 03:26:00 AM
Posted by MK | Filed Under Netscaler | 0 Comments
Generate and Install self signed SSL for New VIP on Netscaler
======================
1) create ssl rsakey /nsconfig/ssl/test-ca.key 1024
2) create ssl certreq /nsconfig/ssl/test-ca.csr ?keyFile /nsconfig/ssl/test-ca.key
Here we need to fill up the following details
Country Name (2 letter ISO code) ---XX
State or Province Name (full name) ----xxxxx
Locality Name (eg, city) -----xxxxx
Organization Name (eg, company)---- xxxxx
Organization Unit Name (eg, section) :
Common Name (eg, Domain Name) -----xxxxx
Email Address :----
Once we create the certificate signing request
3) create ssl cert /nsconfig/ssl/test-ca.cer /nsconfig/ssl/test-ca.csr ROOT_CERT -keyfile /nsconfig/ssl/test-ca.key
4) create ssl rsakey /nsconfig/ssl/test-server.key 1024
5) create ssl certreq /nsconfig/ssl/test-server.csr keyFile /nsconfig/ssl/test-server.key
Here we need to fill up the following details
Country Name (2 letter ISO code) ---XX
State or Province Name (full name) ----xxxxx
Locality Name (eg, city) -----xxxxx
Organization Name (eg, company)---- xxxxx
Organization Unit Name (eg, section) :
Common Name (eg, Domain Name) -----xxxxx
Email Address :----
Once we create the certificate signing request
6) shell
root@ns# echo '01' GT /nsconfig/ssl/serial.txt
root@ns# exit
logout
7) create ssl cert /nsconfig/ssl/test-server.cer /nsconfig/ssl/test-server.csr SRVR_CERT -CAcert /nsconfig/ssl/test-ca.cer -CAkey /nsconfig/ssl/test-ca.key -CAserial /nsconfig/ssl/serial.txt
8) add ssl certkey test-certkey -cert /nsconfig/ssl/test-server.cer -key /nsconfig/ssl/test-server.key
9) bind ssl vserver
2/20/2011 03:22:00 AM
Posted by MK | Filed Under Netscaler | 0 Comments
How to use ISO image on SPLAT instead of a CD for upgrade
Remember, you only need a CD for major upgrade, such as going from R65 to R70.
Let's see how it is done.
First, check if you have enough space on the hard drive. Use df -h command to see where you have enough space. Mind some extra for upgrade operations.
Then create a folder to put ISO file. The best place is /var partition. Run the mkdir /var/temp/"your ISO folder". Transfer your CD image there.
Now it is time to mount it. Run mount -t iso9660 -o loop /var/temp/"your ISO folder"/"your ISO file".iso /mnt/cdrom.
Check it is mounted OK with ls /mnt/cdrom.
Now you can run patch add cd and do the upgrade. Good luck.
Just one last note. You may not want to use snapshot during the upgrade procedure. If you absolutely need to make a snapshot, do it before transferring ISO and mounting it. Do not forget to save it on an external server.
2/20/2011 03:16:00 AM
Posted by MK | Filed Under Checkpoint | 0 Comments
Supported Upgrade Paths and Interoperability for R75
R75 supports upgrading from lower software versions and management of lower Security Gateway versions.
Supported Management and Gateway Upgrade Paths
You can upgrade these Security Management server and Security Gateway versions to R75:
• NGX R65
• NGX R65 for SecurePlatform 2.6
• NGX R65 for IPSO 6.2 (with HFA70 only)
• NGX R65 Connectra NGX R66 Plug-in
• NGX R65 with Messaging Security
• NGX R65 VSX NGX R65 Management Plug-in
• NGX R65.3
• NGX R65 UTM-1/Power-1
• R70, R70.1, R70.20, R70.30, R70.40
• R71, R71.10, R71.20, R71.30
Important
• Upgrading from NGX R65.4 to R75 or higher is not supported.
• To upgrade Check Point Suite Products lower than NGX R65 to R75, you must
first upgrade to NGX R65 and then to R75.
Upgrading from NGX R65
When you upgrade from NGX R65, only these plug-ins may be present: Connectra,
SmartProvisioning, VSX, and Messaging Security. The presence of any other plug-in
will cause the upgrade process to fail.
If you upgrade from NGX R65 with plug-ins to R75, and later want to uninstall R75
(rollback to NGX R65), follow the instructions in sk37252
(http://supportcontent.checkpoint.com/solutions?id=sk37252).
1/25/2011 12:18:00 AM
Posted by MK | Filed Under Checkpoint | 0 Comments
Checkpoint Try Our Products
1/21/2011 05:41:00 AM
Posted by MK | Filed Under Checkpoint | 0 Comments
Checkpoint - Log File Corrupted
When log files get corrupted and we get the following error in the SmartView Tracker : Failed to read record number …
To repare the log file we need to know the log file name and then from the CLI on the CLM/CMA or from the Smartcenter andn then use the following command :
[Expert@mlm]# fw repairlog
1/21/2011 05:36:00 AM
Posted by MK | Filed Under Checkpoint | 0 Comments
Search This Blog
Blog Archive
-
▼
2011
(107)
-
▼
July
(49)
- Clear Cisco Router Configuration Back to Factory D...
- Configuration Archiving on Cisco Routers
- Auto Tuning Buffers on Cisco Router
- Tuning Cisco Router Buffers
- Configure Layer 3 port-channel (EtherChannel) betw...
- IPv6 Quick Facts
- The "Do" Command on a Cisco Router
- Subnet Cheat Sheet
- Linux Cheat Sheet - Command Line
- ScreenOS Cheat Sheet
- Cisco IOS Cheat Sheet
- Network Cheatsheet
- digital signal X
- The speed of...
- frame-relay full mesh
- point-to-point vs. multipoint in frame-relay
- inverse-arp in frame-relay
- static and dynamic mappings in frame-relay
- frame-relay map ip dlci broadcast
- debugging frame-relay
- Frame-Relay and traffic shaping (FRTS)
- A simple explanation FECN / BECN
- different kinds of frame-relay connections, dynami...
- Set Cisco Stack Master Placement in Switch Stack
- Enable Stateful Switchover (SSO) on Cisco Switch S...
- Virtual Trunk Protocol (VTP) Cisco Switch Configur...
- Rapid Per-VLAN Spanning-Tree (PVST+) Cisco Switch ...
- Unidirectional Link Detection (UDLD) Cisco Switch ...
- Configuring Cisco EtherChannel Load Balancing Method
- Cisco Best Practice - Turn off http, telnet and en...
- You can't set duplex/speed settings of the Fortiga...
- Fortigate firewall demo free access. Also FortiMan...
- Visio stencils for Cisco, Juniper, Fortinet, Check...
- CheckPoint SecureClient Ports
- How to debug a CheckPoint VPN Connection
- Show the name of the installed CheckPoint Policy
- Checklist for adding new interface on a CheckPoint FW
- CheckPoint Failover Commands
- Command to list CheckPoint Installed Products
- How to run a CheckPoint Debug
- List the Top Connections on a CheckPoint Firewall
- Clear CheckPoint NAT and State Table
- CheckPoint Log Buffer Full
- IPSO CLISH Interface Examples
- How to deal with CheckPoint Certificate if it is E...
- How to delete manually a license for Checkpoint
- Troubleshooting Checkpoint VPNS with IKEVIEW
- Display top CPU processes on the router
- Quick tip: Display Interface bandwidth
-
▼
July
(49)