Hi,
i have a Problem using the Perl IPTables::IPv4 package with REDIRECTing.
The Problem is my script works fine on a debian woody systen, but not on my gentoo linux.
On gentoo i tried gentoo kernel 2.6.7 and 2.6.8 and a clean unpatched vanilla kernel from kernel.org version 2.6.8. With no success
Iptables is on both systems 1.2.9.
So i cant find any differenz.
Perhaps i have an error in my script:
my @match = ( "mac" );
$wrong_mac_to_destination = "1001";
%hashref = ( jump=>'REDIRECT', source=>$ip, protocol=>'tcp', 'matches'=>\@match, 'mac-source'=>"!".$mac, 'to-ports'=>$wrong_mac_to_destination );
if (! $nattable->insert_entry('macmatching', \%hashref, 1) ) {
LOG_util::UMlogerr("Failed to insert_entry into 'macmatching'");
}
that works fine. The error occurs when making commit.
Can anybody help me ?
mac matching alone works fine too, only redirecting makes problems
Many Thanks
Torsten
|