mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-02 12:33:17 +01:00
Merge branch '4.5.4'
This commit is contained in:
commit
8a9427ebff
@ -707,7 +707,9 @@ sub macro_comment( $ ) {
|
|||||||
# Functions to manipulate cmdlevel
|
# Functions to manipulate cmdlevel
|
||||||
#
|
#
|
||||||
sub incr_cmd_level( $ ) {
|
sub incr_cmd_level( $ ) {
|
||||||
$_[0]->{cmdlevel}++;
|
my $chain = $_[0];
|
||||||
|
$chain->{cmdlevel}++;
|
||||||
|
$chain->{optflags} |= ( DONT_OPTIMIZE | DONT_MOVE );
|
||||||
}
|
}
|
||||||
|
|
||||||
sub decr_cmd_level( $ ) {
|
sub decr_cmd_level( $ ) {
|
||||||
@ -1021,6 +1023,7 @@ sub add_commands ( $$;@ ) {
|
|||||||
} for @_;
|
} for @_;
|
||||||
|
|
||||||
$chainref->{referenced} = 1;
|
$chainref->{referenced} = 1;
|
||||||
|
$chainref->{optflags} |= ( DONT_OPTIMIZE | DONT_MOVE );
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
FORMAT 2
|
FORMAT 2
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#ZONE INTERFACE OPTIONS
|
#ZONE INTERFACE OPTIONS
|
||||||
net eth0 dhcp,tcpflags,logmartians,nosmurfs
|
net eth0 dhcp,tcpflags,logmartians,nosmurfs,sourceroute=0
|
||||||
|
@ -14,6 +14,6 @@
|
|||||||
FORMAT 2
|
FORMAT 2
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#ZONE INTERFACE OPTIONS
|
#ZONE INTERFACE OPTIONS
|
||||||
net eth0 tcpflags,dhcp,nosmurfs,routefilter,logmartians
|
net eth0 tcpflags,dhcp,nosmurfs,routefilter,logmartians,sourceroute=0
|
||||||
loc eth1 tcpflags,nosmurfs,routefilter,logmartians
|
loc eth1 tcpflags,nosmurfs,routefilter,logmartians
|
||||||
dmz eth2 tcpflags,nosmurfs,routefilter,logmartians
|
dmz eth2 tcpflags,nosmurfs,routefilter,logmartians
|
||||||
|
@ -14,5 +14,5 @@
|
|||||||
FORMAT 2
|
FORMAT 2
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#ZONE INTERFACE OPTIONS
|
#ZONE INTERFACE OPTIONS
|
||||||
net eth0 dhcp,tcpflags,nosmurfs,routefilter,logmartians
|
net eth0 dhcp,tcpflags,nosmurfs,routefilter,logmartians,sourceroute=0
|
||||||
loc eth1 tcpflags,nosmurfs,routefilter,logmartians
|
loc eth1 tcpflags,nosmurfs,routefilter,logmartians
|
||||||
|
@ -11,5 +11,5 @@ FORMAT 2
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
#ZONE INTERFACE OPTIONS
|
#ZONE INTERFACE OPTIONS
|
||||||
- lo ignore
|
- lo ignore
|
||||||
net all dhcp,physical=+,routeback
|
net all dhcp,physical=+,routeback,sourceroute=0
|
||||||
|
|
||||||
|
@ -14,6 +14,6 @@
|
|||||||
FORMAT 2
|
FORMAT 2
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#ZONE INTERFACE OPTIONS
|
#ZONE INTERFACE OPTIONS
|
||||||
net eth0 tcpflags,forward=1
|
net eth0 tcpflags,forward=1,sourceroute=0
|
||||||
loc eth1 tcpflags,forward=1
|
loc eth1 tcpflags,forward=1
|
||||||
dmz eth2 tcpflags,forward=1
|
dmz eth2 tcpflags,forward=1
|
||||||
|
@ -14,5 +14,5 @@
|
|||||||
FORMAT 2
|
FORMAT 2
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#ZONE INTERFACE OPTIONS
|
#ZONE INTERFACE OPTIONS
|
||||||
net eth0 tcpflags,forward=1
|
net eth0 tcpflags,forward=1,sourceroute=0
|
||||||
loc eth1 tcpflags,forward=1
|
loc eth1 tcpflags,forward=1
|
||||||
|
Loading…
Reference in New Issue
Block a user