CPUG

The Check Point User Group

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

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 Platforms > Check Point SecurePlatform (SPLAT)
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2008-05-25
Senior Member
 
Join Date: 2005-10-12
Posts: 322
Rep Power: 4
sebastan_bach has an average reputation (10+)
Send a message via Yahoo to sebastan_bach
Default command for seeing all the folders in SPLAT

hi all can someone pls tell me the command in splat to see all the folders in the firewall gateway.

regards

sebastan
Reply With Quote
  #2 (permalink)  
Old 2008-05-25
Senior Member
 
Join Date: 2006-04-30
Location: Europe, Germany
Posts: 159
Rep Power: 3
dsb.nepo has an average reputation (10+)
Default Re: command for seeing all the folders in SPLAT

Hi Sebastian,

if im right you are not logged in as expert, then you have only the default admin menu.
If so try the command expert in the menu and use the expert password you choose at install time.
If you get the expert prompt you have nearly every unix/linux command and then you can also browse the filesystem.

commands:
cd => same as in windows (change directory)
ls => equivalent to dir
Reply With Quote
  #3 (permalink)  
Old 2008-05-26
Senior Member
 
Join Date: 2005-10-12
Posts: 322
Rep Power: 4
sebastan_bach has an average reputation (10+)
Send a message via Yahoo to sebastan_bach
Default Re: command for seeing all the folders in SPLAT

hi mate thanks for ur reply but i am in expert mode.

i tried executing ls -all command but i can see 2 hidden directories and some bash files. but i cannot see the fwdir.

can u help me in getting there.
waiting for ur reply mate.

regards

sebastan
Reply With Quote
  #4 (permalink)  
Old 2008-05-26
Junior Member
 
Join Date: 2008-05-11
Posts: 28
Rep Power: 0
jaskaran224 has an average reputation (10+)
Default Re: command for seeing all the folders in SPLAT

find / -name fwdir

see if it works...
Reply With Quote
  #5 (permalink)  
Old 2008-05-26
Member
 
Join Date: 2007-08-04
Posts: 72
Rep Power: 2
eduardw has an average reputation (10+)
Default Re: command for seeing all the folders in SPLAT

Use the command pwd to see the name of the current dir
Reply With Quote
  #6 (permalink)  
Old 2008-05-26
Senior Member
 
Join Date: 2005-10-12
Posts: 322
Rep Power: 4
sebastan_bach has an average reputation (10+)
Send a message via Yahoo to sebastan_bach
Default Re: command for seeing all the folders in SPLAT

hi all thanks for all ur help.

this is the result of the things u all suggested.

when i did pwd in expert mode it shows home/cisco

when i did the find / name fwdir it showed it almost all the files on the splat and the linux system. thanks jaskaran224 .

can u pls tell me how to navigate to the fwdir directory. when i do cd/fwdir it says no such directory.

can u pls tell me how to navigate through different directories in the file system.

thanks

waiting for ur reply mate.

regards

sebastan
Reply With Quote
  #7 (permalink)  
Old 2008-05-26
Junior Member
 
Join Date: 2008-05-11
Posts: 28
Rep Power: 0
jaskaran224 has an average reputation (10+)
Default Re: command for seeing all the folders in SPLAT

On Solaris and Linux computers, the default location of the $FWDIR directory
is /opt/CPfw1-50, which can be accessed within /etc/fw.

if this the case with ur setup then go to /etc/fw by writing the command

cd /etc/fw

and then to the fwdir directory.....
Reply With Quote
  #8 (permalink)  
Old 2008-05-26
Senior Member
 
Join Date: 2005-10-12
Posts: 322
Rep Power: 4
sebastan_bach has an average reputation (10+)
Send a message via Yahoo to sebastan_bach
Default Re: command for seeing all the folders in SPLAT

hi mate thanks a lot for ur help. i went in to the cd /etc/fw directory and did a dir but couldn;t find the fwdir directory.i saw many conf files out there.

if fwdir directory is not created should i create it.

will there be a problem if the fwdir is not created on it;s own.
thanks a lot once again

regards
sebastan
Reply With Quote
  #9 (permalink)  
Old 2008-05-26
Senior Member
 
Join Date: 2006-09-26
Posts: 856
Rep Power: 3
cciesec2006 has an average reputation (10+)
Default Re: command for seeing all the folders in SPLAT

Quote:
Originally Posted by sebastan_bach View Post
hi mate thanks a lot for ur help. i went in to the cd /etc/fw directory and did a dir but couldn;t find the fwdir directory.i saw many conf files out there.

if fwdir directory is not created should i create it.

will there be a problem if the fwdir is not created on it;s own.
thanks a lot once again

regards
sebastan

Hi my friend,

What are you trying to achieve? You need to learn how to navigate the
Checkpoint directory? If so,

cd $FWDIR/conf will take you to the conf directory
cd $CPDIR will take you to the cpshrd directory
cd $FWDIr/lib will take you to the *.def directory
cd $FWDIR/log will take you to the log directory
cd $FWDIR/boot/modules will take you to the directory that you will need
to create the fwkern.conf file, if necessary,
Reply With Quote
  #10 (permalink)  
Old 2008-05-26
Senior Member
 
Join Date: 2005-10-12
Posts: 322
Rep Power: 4
sebastan_bach has an average reputation (10+)
Send a message via Yahoo to sebastan_bach
Default Re: command for seeing all the folders in SPLAT

hi mate thanks a lot for the rescue.

mate can u tell me where have they posted this information as the contents of files in which directories they are.

hi mate i checked the directory u mentioned and fwkern.conf was not present there.

can u pls tell me when we need to create that file and for what purpose.

thanks once again.

waiting for ur reply mate.

regards

sebastan
Reply With Quote
  #11 (permalink)  
Old 2008-05-26
Senior Member
 
Join Date: 2006-09-26
Posts: 856
Rep Power: 3
cciesec2006 has an average reputation (10+)
Default Re: command for seeing all the folders in SPLAT

Quote:
Originally Posted by sebastan_bach View Post
hi mate thanks a lot for the rescue.

mate can u tell me where have they posted this information as the contents of files in which directories they are.

hi mate i checked the directory u mentioned and fwkern.conf was not present there.

can u pls tell me when we need to create that file and for what purpose.

thanks once again.

waiting for ur reply mate.

regards

sebastan
Hi mate,

I am sure most of the things I mentioned are in the documentation. However,
the fwkern.conf file is created/added/appended when you need to modify
things as recommended by checkpoint such as allowing PPTP through
the firewall with "hide" NAT, stuffs like that.

debug files are normally located in the $FWDIR/log under the *.elg file.

objects.C and 5_0.C files are normally located in the $FWDIR/conf directory.
you need this file when creating html rule for your security policy or object
dumper or object filler.

Beyond that, I don't know what else to say because I am used to checkpoint,
working with it for past 7+ years now so I guess I just know where things
are by now. If I do not, I just search the cpug forum. Either that or
I look it up in Checkpoint Secureknowledge base
Reply With Quote
  #12 (permalink)  
Old 2008-05-26
Senior Member
 
Join Date: 2005-10-12
Posts: 322
Rep Power: 4
sebastan_bach has an average reputation (10+)
Send a message via Yahoo to sebastan_bach
Default Re: command for seeing all the folders in SPLAT

hi mate thanks a lot for ur help . so in my case where the file is not created on it;s own i will have to create the file right.

can u help with the syntax for writing the parameters in the conf file.

thanks a lot once again.

regards

sebastan
Reply With Quote
  #13 (permalink)  
Old 2008-05-26
Senior Member
 
Join Date: 2006-04-30
Location: Europe, Germany
Posts: 159
Rep Power: 3
dsb.nepo has an average reputation (10+)
Default Re: command for seeing all the folders in SPLAT

I don't to make marketing, but there is a also a short thread located here.
https://forums.checkpoint.com/forums...essageID=10548

If you tell us which parameters you will add, we can check if they make sense and if the syntax is ok.
Reply With Quote
  #14 (permalink)  
Old 2008-05-26
Senior Member
 
Join Date: 2005-10-12
Posts: 322
Rep Power: 4
sebastan_bach has an average reputation (10+)
Send a message via Yahoo to sebastan_bach
Default Re: command for seeing all the folders in SPLAT

hi thanks for the link,

regards

sebastan
Reply With Quote
  #15 (permalink)  
Old 2008-05-27
Junior Member
 
Join Date: 2008-04-29
Posts: 12
Rep Power: 0
ccie16798 has an average reputation (10+)
Default Re: command for seeing all the folders in SPLAT

hello,

just use vi $FWDIR/boot/modules/fwkern.conf and add the parameter you want
if you dont know how to use vi just do a :
echo "myparameter=myvalue" >> $FWDIR/boot/modules/fwkern.conf
followed by cat $FWDIR/boot/modules/fwkern.conf to verify it's OK

regards
Etienne


Quote:
Originally Posted by sebastan_bach View Post
hi mate thanks a lot for ur help . so in my case where the file is not created on it;s own i will have to create the file right.

can u help with the syntax for writing the parameters in the conf file.

thanks a lot once again.

regards

sebastan
Reply With Quote
  #16 (permalink)  
Old 2008-05-27
Senior Member
 
Join Date: 2005-10-12
Posts: 322
Rep Power: 4
sebastan_bach has an average reputation (10+)
Send a message via Yahoo to sebastan_bach
Default Re: command for seeing all the folders in SPLAT

hi thanks a lot .

regards

sebastan
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 09:41.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0