JC Janos wrote:

>>From the Docs, I know I can use comma-separated lists & ranges of IP 
>>addresses.
> 
> In the past, doing things by hand, I've kept a lot of my lists in
> one-per-line & commented files, e.g.
> 
>   1.1.1.1    # comment A
>   2.2.2.2/29 # comment B
>   !3.3.3.3   # comment C
> 
> Is it possible to use in Shorewall, maybe via an INCLUDE file, IP
> addresses in the following format?  I think blacklists can use
> something like it, but I'm not sure about just normal lists.
> 
> Or do I have to convert them to uncommented, comma-separated lists?

By the time you pass it to Shorewall, it must be in an uncommented
comma-separated list. But you have a number of scripting options with
Shorewall. Please see
http://www.shorewall.net/configuration_file_basics.htm.

-Tom
-- 
Tom Eastep        \ The ultimate result of shielding men from the
Shoreline,         \ effects of folly is to fill the world with fools.
Washington, USA     \                                 -Herbert Spencer
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to