sometimes ''fw'' is used and sometime''$FW''.. so why and what is the difference ? #ZONE TYPE OPTION $FW firewall or fw firewall mess-mate -- Q: How many DEC repairman does it take to fix a flat? A: Five; four to hold the car up and one to swap tires. Q: How long does it take? A: It''s indeterminate. It will depend upon how many flats they''ve brought with them. Q: What happens if you''ve got TWO flats? A: They replace your generator. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
mess-mate wrote:> sometimes ''fw'' is used and sometime''$FW''.. > so why and what is the difference ? > > #ZONE TYPE OPTION > $FW firewall > > or > > fw firewallThis is covered in the "Introduction to Shorewall" (http://www.shorewall.net/Introduction.html) which apparently few people read since this question comes up regularly. $FW is the shell variable that holds the name of the firewall zone as given in /etc/shorewall/zones. So the first entry above is not valid; the second is. Once you have the second entry, then anywhere else in the configuration, you can use $FW in place of fw. If your entry in /etc/shorewall/zones was: foo firewall then $FW is the same as foo in the rest of the configuration. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
sometimes ''fw'' is used and sometime''$FW''.. so why and what is the difference ? #ZONE TYPE OPTION $FW firewall or fw firewall And this: #ACTION SOURCE DEST PROTO DEST PORT(S) ACCEPT net fw:206.124.146.176 tcp 22 or ACCEPT $FW net tcp www mess-mate -- Q: How many DEC repairman does it take to fix a flat? A: Five; four to hold the car up and one to swap tires. Q: How long does it take? A: It''s indeterminate. It will depend upon how many flats they''ve brought with them. Q: What happens if you''ve got TWO flats? A: They replace your generator. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
Tom Eastep <teastep@shorewall.net> wrote: | mess-mate wrote: | > sometimes ''fw'' is used and sometime''$FW''.. | > so why and what is the difference ? | > | > #ZONE TYPE OPTION | > $FW firewall | > | > or | > | > fw firewall | | This is covered in the "Introduction to Shorewall" | (http://www.shorewall.net/Introduction.html) which apparently few people | read since this question comes up regularly. | | $FW is the shell variable that holds the name of the firewall zone as given | in /etc/shorewall/zones. So the first entry above is not valid; the second | is. Once you have the second entry, then anywhere else in the configuration, | you can use $FW in place of fw. | So is this a mistake : http://www.shorewall.net/Documentation.htm#Zones The CONTINUE policy ... /etc/shorewall/zones: #ZONE TYPE OPTION $FW firewall mess-mate -- A Tale of Two Cities LITE(tm) -- by Charles Dickens A man in love with a girl who loves another man who looks just like him has his head chopped off in France because of a mean lady who knits. Crime and Punishment LITE(tm) -- by Fyodor Dostoevski A man sends a nasty letter to a pawnbroker, but later feels guilty and apologizes. The Odyssey LITE(tm) -- by Homer After working late, a valiant warrior gets lost on his way home. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
mess-mate wrote:> Tom Eastep <teastep@shorewall.net> wrote: > | mess-mate wrote: > | > sometimes ''fw'' is used and sometime''$FW''.. > | > so why and what is the difference ? > | > > | > #ZONE TYPE OPTION > | > $FW firewall > | > > | > or > | > > | > fw firewall > | > | This is covered in the "Introduction to Shorewall" > | (http://www.shorewall.net/Introduction.html) which apparently few people > | read since this question comes up regularly. > | > | $FW is the shell variable that holds the name of the firewall zone as given > | in /etc/shorewall/zones. So the first entry above is not valid; the second > | is. Once you have the second entry, then anywhere else in the configuration, > | you can use $FW in place of fw. > | > So is this a mistake : > http://www.shorewall.net/Documentation.htm#Zones > The CONTINUE policy > ... > /etc/shorewall/zones: > > #ZONE TYPE OPTION > $FW firewallYes -- that is an error. Thanks, -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/