‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On April 16, 2018 10:42 AM, Tom Eastep <teas...@shorewall.net> wrote:

> ​​
> 
> On 04/16/2018 10:24 AM, colony.three--- via Shorewall-users wrote:
> 
> > Anyone seen this?
> > 
> > Nov 29 01:42:29 Compiling MAC Filtration -- Phase 2...
> > 
> > Nov 29 01:42:29 Applying Policies...
> > 
> > Nov 29 01:42:29 Compiling /usr/share/shorewall/action.Broadcast for
> > 
> > chain Broadcast...
> > 
> > Nov 29 01:42:29    ERROR: Invalid parameter (DROP),Multicast(DROP)
> > 
> > /usr/share/shorewall/action.Broadcast (line 1)
> > 
> >       from  (line EOF)
> > 
> > shorewall version
> > =================
> > 
> > 5.0.15.6
> 
> Don't see why you would be getting that message on 5.0.15.6. What does
> 
> your /usr/share/shorewall/action.Broadcast look like?
> 
> -Tom

Hi Tom,

I should have mentioned that this is on the most current Raspbian, and an 
install of Shorewall I did yesterday.


DEFAULTS DROP,-

?if __ADDRTYPE
@1      -       -       -       ;; -m addrtype --dst-type BROADCAST
@1      -       -       -       ;; -m addrtype --dst-type MULTICAST
@1      -       -       -       ;; -m addrtype --dst-type ANYCAST
?else
?begin perl;

use Shorewall::IPAddrs;
use Shorewall::Config;
use Shorewall::Chains;

my ( $action )         = get_action_params( 1 );
my $chainref           = get_action_chain;
my ( $level, $tag )    = get_action_logging;

add_commands $chainref, 'for address in $ALL_BCASTS; do';
incr_cmd_level $chainref;
log_rule_limit $level, $chainref, 'Broadcast' , $action, '', $tag, 'add', ' -d 
$address ' if $level$
add_jump $chainref, $action, 0, "-d \$address ";
decr_cmd_level $chainref;
add_commands $chainref, 'done';

log_rule_limit $level, $chainref, 'Broadcast' , $action, '', $tag, 'add', ' -d 
224.0.0.0/4 ' if $le$
add_jump $chainref, $action, 0, '-d 224.0.0.0/4 ';

1;

?end perl;
?endif




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to