On 12/01/2012 06:42 AM, Tom Eastep wrote:
> On 11/30/2012 08:34 PM, Mr Dash Four wrote:
>>
>>>>> If you don't and invoke mine instead then mine will raise an
>>>>> error.
>>>> Invoke how?
>>>
>>> Try to use it (Broadcast in the ACTION column). That's either
>>> directly or indirectly, and Broadcast is used by both Drop and
>>> Reject.
>> Which ACTION column - in my inline user-defined action, "rules",
>> "policy"? What should I expect to see happening if I do that (that's
>> not just for Broadcast, but all other built-ion actions on that list
>> as well)?
>
> You will not see anything when you in-line one of those functions in
> your actions file. But if you use the action in any context, or if you
> use any action or macro that invokes the in-lined action (either
> directly or indirectly), then you will see this sort of error:
>
> ...
> Checking /etc/shorewall/tunnels...
> Checking MAC Filtration -- Phase 2...
> Applying Policies...
> ERROR: The Broadcast Action may not be invoked in-line
> /usr/share/shorewall/action.Broadcast (line 76)
> from /etc/shorewall/action.Geo (line 46)
>
> In this case, my default net->all action 'Geo' invokes Broadcast.
To make this a bit more deterministic, I've added a warning and reset
the 'inline' attribute:
...
Checking /etc/shorewall/hosts...
Determining Hosts in Zones...
Locating Action Files...
WARNING: Resetting 'inline' option on action Broadcast -- that
action may not be in-lined
/usr/share/shorewall/actions.std (line 38)
Checking /usr/share/shorewall/action.Drop for chain Drop...
Checking /usr/share/shorewall/action.Broadcast for chain Broadcast...
...
-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 \________________________________________________
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel