Tim's IT-Blog

Just a blog about IT and IT-Problems…

Searching for natted IP at Checkpoint FW1

by admin_import on 08/07/2008

There no way to search an defined object the NAT-IP by the Checkpoint GUI.

A easy way is:

$ #LOGIN AS root ON FW1 via SSH/TELNET
$ grep 181.76.6.7 /etc/fw/conf/objects_5_0.C

Another way is to define a new object with the NAT-IP. The GUI will warn you, that the object is already in use by Object “xy..”.

Search a Solaris Package by filename to install

by admin_import on 08/07/2008

If you are searching for a solaris package that containts a wanted to install file, there is no function for this task like dpkg in Debian. But can use grep on very easy way:

$ # MOUNT SOLARIS DVD/CD
$ mount /dev/... /mnt/Solaris_10

$ # NOW SEARCH for example a special german locate file
$ grep 'de_DE.ISO8859-1.so.3' /mnt/Solaris_10/Product/*/pkgmap

For ready installed packages

$ grep 'de_DE.ISO8859-1.so.3' /var/sadm/install/contents

That’s all 🙂