On 10/04/2012 10:58 AM, I.S.C. William wrote: > Variable PARAMS file does not work. > > Within the file "params" > > *MAC_LAN*: ~00-1B-77-91-D5-5E,~00-13-21-FA-56-1B,~00-21-70-35-46-CE > > I have the variable: > > Within the file "rules" this rule. > > REJECT loc:*!MAC_LAN* net tcp 443 > > But it does not work, the parcer can not read the contents of the > variable. There's something enabled for this to work? > > I have Shorewall version 4.4.26.1 version
params is a shell source file. So it must contain valid shell syntax: MAC_LAN="~00-1B-77-91-D5-5E,~00-13-21-FA-56-1B,~00-21-70-35-46-CE" -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
