On 05/01/2013 02:08 PM, Steven Jan Springl wrote: > In the attached config. tcrules entry: > > INLINE eth1 eth0 ; -m length --length 100 > > Generates the following iptables rules: > > -A tcpre -m length --length 100 -i eth1 -d 192.168.0.0/24 -j INLINE > -A tcpre -m length --length 100 -i eth1 -d 192.168.0.254/32 -j INLINE > > Which produces the following error message: > > iptables-restore v1.4.18: Couldn't load target `INLINE':No such file or > directory >
Here's a patch. Regrettably, I've already uploaded 4.5.16.1 so this fix will have to wait for .2. Thanks Steven, -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 \________________________________________________
diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm
index 65524bb..a44d0de 100644
--- a/Shorewall/Perl/Shorewall/Tc.pm
+++ b/Shorewall/Perl/Shorewall/Tc.pm
@@ -554,6 +554,8 @@ our %tccmd;
if ( $matches =~ /^(.*\s+)-j\s+(.+)$/ ) {
$matches = $1;
$target = $2;
+ } else {
+ $target = '';
}
$cmd = '';
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
