Peter Jay Salzman wrote:
> 
> is the difference between EXTERN_TCP_PORTS and EXTERN_TCP_PORT[0-9]{1,}
> that it's more pleasing to the eye to look at
> 
>         EXTERN_TCP_PORT0="0/0 ssh"
>         EXTERN_TCP_PORT1="0/0 www"
>         EXTERN_TCP_PORT2="0/0 smtp"
>         EXTERN_TCP_PORT3="0/0 6346"
> 
> than
> 
>         EXTERN_TCP_PORTS="0/0_ssh 0/0_www 0/0_smtp 0/0_1023 0/0_6346"
>
> or is there a real difference other than aesthetics between these
> variables?

Actually, I prefer this:

        EXTERN_TCP_PORTS="
                        0/0_ssh
                        0/0_www
                        0/0_smtp
                        0/0_1023
                        0/0_6346
                        "

Except, when I need all of the features offered by this syntax:

        SrcAddr/Mask port [ DestAddr[/DestMask] ]

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to