All of lore.kernel.org
 help / color / mirror / Atom feed
* ipt_time time match invalid size
@ 2006-08-10  0:02 Joe Giles
  2006-08-10  5:09 ` Rob Sterenborg
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Giles @ 2006-08-10  0:02 UTC (permalink / raw)
  To: netfilter

Hello again,

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?

Thanks!!!

Joe



^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: ipt_time time match invalid size
  2006-08-10  0:02 ipt_time time match invalid size Joe Giles
@ 2006-08-10  5:09 ` Rob Sterenborg
  2006-08-10  6:30   ` Joe Giles
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Sterenborg @ 2006-08-10  5:09 UTC (permalink / raw)
  To: netfilter

> 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ipt_time time match invalid size
  2006-08-10  5:09 ` Rob Sterenborg
@ 2006-08-10  6:30   ` Joe Giles
  0 siblings, 0 replies; 3+ messages in thread
From: Joe Giles @ 2006-08-10  6:30 UTC (permalink / raw)
  To: netfilter

On Wednesday 09 August 2006 11:09 pm, Rob Sterenborg wrote:
> > 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

Thanks for the reply...

I found out that there was some API changes in the 2.6.17 kernel that prevent 
it from working properly. I downgraded to a 2.6.15 kernel and it is working 
as planned.

Thanks for the reply... I will wait for the maintainers to update via p-o-m at 
a later date...

Joe


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-10  6:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-10  0:02 ipt_time time match invalid size Joe Giles
2006-08-10  5:09 ` Rob Sterenborg
2006-08-10  6:30   ` Joe Giles

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.