WYAE - FWTOOLS Mailing List Archive


RE: [fwtools] re: rules string not accepting filename other than Standard.W
From:"WISNIEWSKI, DANIEL (SBCSI)"
Date: Fri, 5 Nov 2004 08:43:01 -0500

Don,
=20
 You may also want to take a look at CPRules ( the link is on
http://www.wyae.de/software/fw1rules/  or direct @
http://www.wormnet.nl/cprules/ .
=20
 The "biggest" problem with the script is that you don't seem to have
any control of the naming of rulebases. Ie: everything is dumped into a
"named" CMA and the rulebase is named rulebase.html
=20
=20
 I have approx 215 firewalls managed from 3 Provider-1 ( approx 23
CMA's) , and 3 "older firewall managers" .   I use both scripts. I have
been using the CPRules to generate HTML ( I secure copy & offload
processing to another box) and still use  fw1rules.pl to generate all my
"flat files" for database entry.
=20
fw1rules is the best!
=20
dan=20
=20
=20
=20
=20

	-----Original Message-----
	From: Don Wood [mailto:donald.j.wood@gmail.com]=20
	Sent: Thursday, November 04, 2004 2:21 PM
	To: fwtools@wyae.de
	Subject: [fwtools] re: rules string not accepting filename other
than Standard.W
=09
=09


	The format for the arguments to fw1rules is GNU style, meaning
that=20
	multi-character switches require two hyphens instead of one.  I
also=20
	suggest that you use the merge_SP3 option to include your=20
	rulebases_5_0.fws file.  So your command should be...=20

	fw1rules.pl \=20
	   --rules=3Da-cok-workremote-lexi-us-20041022-1va.W \=20
	   --merge_SP3=3Drulebases_5_0.fws \=20
	   --objects=3Dobjects_5_0.C  \=20
	   --output_html=3Dworkremote.html=20

	---------- Forwarded message ----------=20
	From: vincent.tan@ky.gov =20
	Date: Thu, 4 Nov 2004 12:25:45 -0500=20
	Subject: [fwtools] re: rules string not accepting filename other
than Standard.W=20
	To: fwtools@wyae.de=20



	I apologize in advance if this has been discussed in the past,
but could not=20
	find a resolution.  I have a single NG-AI mgmt console that
manages 10=20
	firewalls.  So I downloaded the 10 *.W files with the
objects_5_0.C files.=20
	When I ran the fw1rules.pl script with the original name of the
*.W, I did=20
	not get any errors, but I also did not get the HTML output.
Here is the=20
	command I use:=20

	fw1rules.pl -rules=3Da-cok-workremote-lexi-us-20041022-1va.W=20
	-objects=3Dobjects_5_0.C output_html=3Dworkremote.html=20

	 However, when I rename the rule above to Standard.W, I get the
HTML output.=20
	I want to automate the process via crontab, but having to change
all 10=20
	rulebase to Standard.W may get a little messy...=20

	Thanks for the help...=20

	Vincent=20

	--- StripMime Report --=20
	Plain text mail. Excellent! Won't be converted or stripped.=20
	---=20

	----------------------------------------------------------=20
	FireWallTOOLS-Mailinglist                  fwtools@wyae.de=20
	----------------------------------------------------------=20
	to unsubscribe send a mail to: minimalist@wyae.de with the=20
	subject: unsubscribe fwtools=20

	--- StripMime Report --=20
	Plain text mail. Excellent! Won't be converted or stripped.=20
	---=20

	----------------------------------------------------------=20
	FireWallTOOLS-Mailinglist                  fwtools@wyae.de=20
	----------------------------------------------------------=20
	to unsubscribe send a mail to: minimalist@wyae.de with the=20
	subject: unsubscribe fwtools =20



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---