Oops, my bad on the variable front - stuffed the quotes up.
Names with _ do work - also those with '-' if referenced with ${}

Thanks for the reference on using the file: URL form
for the contents of an IP address table, will give it a go.

Stuart.


(I guess this may be only in the non-Sun-supplied version,
as the Sun version in Solaris 10 u4 08/07 still claims 4.1.9,
although it has changes from the non-Sun one).


>>> On 19-Nov-07 at 11:53 pm, in message <[EMAIL PROTECTED]>,
Darren Reed <[EMAIL PROTECTED]> wrote:
> Stuart Remphrey wrote:
>> Hi Darren, David, et al,
>>
>> Very nifty idea -- would make related/complex
>> application port usage simpler & more efficient.
>>
>>
>> Somewhat vaguely related:
>>
>> Is there any interest out there in a nested "include"
>> facility for *.conf files?
>>
>> Would be useful for common variable definitions,
>> e.g. assuming file "our_ips.conf" contained:
>>   dbip=w.x.y.z/32;
>>   webfarmip=a.b.c.d/28;
>> then one could have organisation-wide or application
>> specific rule-sets in other include files, e.g. webapp.conf:
>>   include our_ips.conf;
>>   pass in on $int proto tcp from $webfarmip to any port 1521 flags S/SAFR 
> keep state keep frags
>>   pass out from $(dbip) to any
>> which would be included by the server-specific file:
>>   int=bge0;
>>   include webapp.conf;
>>   ...
>> or whatever.
>>   
> 
> For addresses, I think you want to do:
> table role = ipf type=tree number=100 {
> file:///etc/ipf/webapp-ipaddr.conf;};
> 
> ..but this was added in for 4.1.14.
> 
>> While off the topic and onto IPF variables/macros,
>> allowing underscores in the grammar for pool and
>> variable names would be a nice touch.
>>   
> 
> Hmm, that should be easy :)
> 
> Cheers,
> Darren

Reply via email to