From: "Rob Sterenborg" Subject: RE: ipt_time time match invalid size Date: Thu, 10 Aug 2006 07:09:13 +0200 Message-ID: <001201c6bc3b$1f60fca0$0101000a@tanjian> References: <200608091802.48638.jgiles@windowsproof.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200608091802.48638.jgiles@windowsproof.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org > I finally figured out what I was doing wrong with the P-O-M and the > time module. > > Now, after installing the proper modules and running the following > iptables command: > IPTABLES = path to iptables > $IPTABLES -A INPUT -s 192.168.15.131 -m time --timestart > 17:05 --timestop 17:20 --days Wed -j RULE_2 > $IPTABLES -A FORWARD -s 192.168.15.131 -m time --timestart > 17:05 --timestop 17:20 --days Wed -j RULE_2 > > (This was just a test script to see how it worked) > > It doesn't work and I get this error executing the command from > within my script: > > iptables: Unknown error 4294967295 > iptables: Unknown error 4294967295 > > And, I get this output in dmesg: > > ip_tables: time match: invalid size 0 != 16 > ip_tables: time match: invalid size 0 != 16 > > > I used the 20060706 of p-o-m-ng and am using the 2.6.17.8 > kernel. The 20060706 version of p-o-m is the latest with the > time module in it and it compiles just fine with the kernel. > > Does anyone know how I can resolve this issue? Did you also recompile iptables? Gr, Rob