Hi tom, thank you for your answer which cleared everything up!

I guess I was misinterpreting the following lines!
...
Except when all[+][-] or any[+][-] is specified, clients may be 
further restricted to a list of networks and/or hosts by appending 
":" and a comma-separated list of network and/or host addresses. 
Hosts may be specified by IP or MAC address; mac addresses must begin 
with "~" and must use "-" as a separator.
...

If I may suggest one little change on 
http://www.shorewall.net/manpages/shorewall-rules.html that will 
avoyed e-mail like this in the future!:

Changing the mac example from:
loc:~00-A0-C9-15-39-78
Host in the local zone with MAC address 00:A0:C9:15:39:78.
to:
loc:~00-A0-C9-15-39-78,~00-4F-12-C2-24-F8
Hosts in the local zone with MAC addresses 00:A0:C9:15:39:78 and 
00:4F:12:C2:24:F8

matt

On 9 Oct 2013 at 18:04, Tom Eastep wrote:

Date sent:      Wed, 09 Oct 2013 18:04:53 -0700
From:   Tom Eastep <[email protected]>
To:     [email protected]
Subject:        Re: [Shorewall-users] mac address separator
Send reply to:  Shorewall Users <[email protected]>
        
<mailto:[email protected]?subject=unsubscribe>
        <mailto:[email protected]?subject=subscribe>

> On 10/9/2013 11:03 AM, matt darfeuille wrote:
> > Hi,
> > 
> > while trying to use multiple mac addresses in the source column of
> > /etc/shorewall/rules the use of the suggested separator (-) triggers
> > an error when compiling:
> > 
> > root@old:~# shorewall check
> > ...
> > Checking /etc/shorewall/rules...
> >    ERROR: Invalid MAC address (30:46:9A:FC:06:2D:~00:22:FA:D8:B2:64)
> >    
> > /etc/shorewall/rules (line 32)
> > 
> > If instead the (,) separator is used shorewall will compile fine!
> > 
> 
> I have no idea what problem you are reporting.
> 
> -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 \________________________________________________
> 
> 



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to