On Oct 1, 2011, at 9:18 AM, Ed W wrote:

> On 01/10/2011 15:21, Tom Eastep wrote:
>> 2)  With the preceding change, the rules file now has 14 columns. That
>>    makes it awkward to specify the last column as you have to insert
>>    the correct number of '-' to get the right column.
>> 
>>    To make that easier, it is now allowed to terminate the
>>    column-oriented format with a semicolon (";"), and then specify
>>    addition columns using a column-name=value format. See
>>    http://www.shorewall.net/configuration_file_basics.htm#Pairs for
>>    details.
>> 
> 
> Before this is released could I ask you to look over the JSON syntax? eg
>    http://en.wikipedia.org/wiki/JSON
> 
> 

Ed,

For the last time, I am NOT going to adopt a markup language for the Shorewall 
configuration. Get used to the idea.

What I have done for RC 1 is eliminate the need for the columnar format. Here 
is an example of a blacklist file:

;proto=udp port=1024:1033,1434,5948,23773
;proto=tcp 
port=57,1433,1434,2401,2745,3127,3306,3410,4899,5554,5948,6101,8081,9898,23773
;networks=221.192.199.48
;networks=61.158.162.9
;networks=81.21.54.100 proto=tcp port=25                
;networks=84.108.168.139
;networks=200.55.184.18
;networks=1.2.3.4 options=dst

-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 \________________________________________________



------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to