On 02/04/2012 09:02 AM, Steven Jan Springl wrote:
> Tcrules entry:
>
> &1 192.168.0.1/24 eth0
>
> generates the following iptables rule:
> for dest in $SW_ETH0_NETWORKS; do
echo "-A tcpre -s 192.168.0.1/24 -d $dest -j MARK --and-mark 1" >&3
done
> -A PREROUTING -s 192.168.0.1/24 -d 192.168.0.254/128 -j MARK --and-mark 1
>
> which produces the following error message:
>
> iptables-restore v1.4.12.2: invalid mask `128' specified
Steven,
Do you see something like this in the generated script?
for dest in $SW_ETH0_NETWORKS; do
echo "-A tcpre -s 192.168.0.1/24 -d $dest -j MARK --and-mark 1" >&3
done
Thanks,
-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 \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
