Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

PIX configuration into graphical mode

Posted on 2008-10-16
7
829 Views
Last Modified: 2008-10-23
Hi,
I would like to convert my PIX firewall rule base into graphical view.  I found zoompix perl script from internet  - www.TECHZOOM.net but I don't know how to add my configuration of PIX into that perl script and also no idea how to view that perl script file into graphical mode.

Thanks,
 
0
Comment
Question by:prashndip
  • 3
  • 3
7 Comments
 
LVL 17

Expert Comment

by:Andres Perales
ID: 22734581
Not exactly sure what you are trying to do, but PIX firewalls have a web interface that allow you to configure them,
in your web browser type in https://ipaddress
0
 

Author Comment

by:prashndip
ID: 22734680
Hi Thanks for quick reply,

Actually, I would like to see rulebase ( access-list ) in graphical mode which I obtain from PIX..
and I can use perl script for that, but I don't know how to use it.
0
 
LVL 39

Expert Comment

by:Adam314
ID: 22735421
According to the documentation, call like this:
  zoompix.pl -if <infile> -od <outdir>

So, if your configuration is in mypix.conf, and you want to save the results to the report directory:
    zoompix.pl -if mypix.conf -od report
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:prashndip
ID: 22735718
Thanks for reply adam,
But couldn't get it properly, could you please explain me it step by step how I can use my pix config.txt file to make perl script by using that zoompix.pl file ? And how can I  use that perl script to see in graphical mode ? is there any tool ?
0
 
LVL 39

Accepted Solution

by:
Adam314 earned 350 total points
ID: 22735919
The perl script will read your PIX config and generate a set of HTML files.  You would then use whatever web browser you wanted to view the results.

I'm not familiar with the cisco firewall, so I don't know how to get the PIX config from that... but once you have that:

Install perl, if not already installed.
    If on unix, use your distros package manager.
    If on windows, download from www.ActiveState.com
Install zoompix:
    download from http://www.techzoom.net/download/zoompix-download.en
    unzip, and save the only file to somwhere on your path
        on windows, a good spot would be c:\windows
        on unix, a good spot would be /usr/local/bin
Save your PIX config to your computer, remember the name
    I'm using mypix.conf in the example below, use whatever name you want (no spaces in name)
Go to a command prompt
Change to the directory where you saved your PIX config
Create a directory to save the report, if one doesn't already exist
    I'm using report in my example, use whatever name you want (no spaces in name)
    Type:  mkdir report
Run the zoompix program:
    If you named your PIX config something different, or you named your report directory
    something different, use those names instead
    Type:  zoompix.pl -if mypix.conf -od report
Start your favorite web browse
Open the .html (or .htm) file in the report sub-directory of the directory you saved your mypix.conf file
0
 

Author Comment

by:prashndip
ID: 22750636
Hi Adam,

Really thts great, but the thing is I couldn't get proper output in explorer......as may b i couldn't understand perl file so thts why.!
 
If anyone can explain that zoompix perl file with meaning then I can edit pix conf file  and then I would get proper output file. If anyone can help me on this topic, I think this one can help to a lot people..

Anyway, up to here, solution is fine from Adam but still waiting for more explanation, if anyone can...
Thanks,
0
 
LVL 39

Expert Comment

by:Adam314
ID: 22758193
The zoompix.pl file is 1500 lines long, and has comments.  There won't be a simple explanation of what is wrong with it, or what it is doing.

Have you also tried looking at the output in another browser?  Internet Explorer does not follow the standard HTML, but follows it's own version of it, so what doesn't look right in IE might look normal in FireFox (or some other standards HTML browser).

If you have questions about a particular command, you can look that command up with perldoc or at perldoc.perl.org.  Or you could post a question about a particular section...
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco switch suggestion 5 65
Cisco 3560 Switch with Multiple Gateways 10 74
Creating a new VRF on Cisco Nexus 5596UP 8 38
NTP configuration on Cisco switch 3 13
If you have an ASA5510 then this sort of thing would be better handled with a CSC Module, however on an ASA5505 thats not an option, and if you want to throw in a quick solution to stop your staff going to facebook during work time, then this is the…
Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question