Junipiper

by Philipp Schweizer

latest version: 1.33 (July 2010)


Introduction

Junipiper exports policies and zones from a ScreenOS (TM) configfile to a htmlpage. This is needed, if you want to document the configuration of your Juniper (TM) SSG firewall. Those documentation is often used for PCI- Certification or regulary audits of the firewall ruleset. Normally, you would get those informations directly from the WebUI of the firewall. But the WebUI is missing some things, like:

- a list of all policies at once and not just 100 per page (useful if you have lots of policies)

- display of the "name"-field for every policy. (helpful for explaining the reason of a policy )

To make reading the generated htmlpage as easy as possible, it is styled in a similar way like the original policy display of the firewall.

If you need the generated documentation in a spreadsheet-format like Excel (TM) or Open Office Calc (TM), than just drag the htmlfile into a new spreadsheet. This works very well with Excel 2007 (TM) and Open Office Calc 3.2 (TM).

This tool was developed just for fun in spare time, so dont expect too much. For feedback, improvements or other things about junipiper write to:

junipiper (at) sciencefrontiers (dot) org


How to use

A usage information will be shown, if you just start Junipiper without any commandline parameters.

Usage: junipiper [-v/-vv] configfile [htmlfile]

  -v                  Verbose output
  -vv                Very verbose output
  configfile       Name of the configfile (source)
  htmlfile          Optional: name of the htmlfile (target)


Examples

 Commandline example:

 j:\>junipiper -vv my_cfg.txt

 Checking configfile (my_cfg.txt)...
 Lines counted: 85
 Loading configfile (my_cfg.txt)...
 Checking policies...
 Policies counted: 9
 Loading policies...
 Sorting zones...
 Zones counted: 3
 Writing htmlfile (my_cfg.html)...
 Finished htmlfile (my_cfg.html).

(generates a htmlpage called: my_cfg.html)
Generated htmlpage example:

 Generated htmlpage example

License

As this program is free of charge, there is no warranty for the programm or it's functionality, use it a your own risk.

Selling or redistribution of this programm is not allowed without a written permission from the author.


Download

Windows: Junipiper 1.33 - junipiper.zip (10KB)

      Linux: Junipiper 1.33 - junipiper.tgz (13KB)


Back to top