Skip to contentSkip to conversation

ipt_time module doesn't work

DISCUSSION Fulvio Ricciardi 2 participants 2 messages Dec 2, 2006 netfilter

lore
Share & tools
lore
#0 lore raw
Quoted 27 lines · Fulvio Ricciardi
Quoted 5 lines

I noticed ipt_time doesn't work with the kernels
2.6.18.2 and 2.6.19.
The error messages is the following:

Quoted 8 lines

iptables -A INPUT -mtime
iptables: Unknown error 4294967295

Is it possible to solve the problem? will time extention be broken for ever?

Thanks you in advance for your replies.
Best Regards

Strange, it _should_ work, and it works for me:

root@fw1:~#  iptables -A INPUT -mtime
root@fw1:~# iptables -L INPUT
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
            0    --  anywhere             anywhere        
   TIME on all  days
root@fw1:~# uname -r
2.6.18.1
Quoted 1 line

Where did you get ipt_time from?

patch-o-matic-ng-20061129.tar.bz2 no longer contain ipt_time patch. The latest one that contain it is patch-o-matic-ng-20060706.tar.bz2.
I noticed iptables-1.3.6 already contains it but kernel has not ipt_time included.
Am I wrong?
Regards

--------------------------------------------------------------------
Fulvio Ricciardi
web: http://www.zeroshell.net/eng/
skype: zeroshellnet
Phone: +3908321835630

#1 lore raw
Quoted 27 lines · Fulvio Ricciardi
Quoted 27 lines · Fulvio Ricciardi
Quoted 5 lines

I noticed ipt_time doesn't work with the kernels
2.6.18.2 and 2.6.19.
The error messages is the following:

Quoted 8 lines

iptables -A INPUT -mtime
iptables: Unknown error 4294967295

Is it possible to solve the problem? will time extention be broken for ever?

Thanks you in advance for your replies.
Best Regards

Strange, it _should_ work, and it works for me:

root@fw1:~#  iptables -A INPUT -mtime
root@fw1:~# iptables -L INPUT
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
            0    --  anywhere             anywhere
   TIME on all  days
root@fw1:~# uname -r
2.6.18.1
Quoted 3 lines
Quoted 1 line

Where did you get ipt_time from?

patch-o-matic-ng-20061129.tar.bz2 no longer contain ipt_time patch.

Common mistake. Please use "./runme --download" and make sure you have curl installed.

Quoted 1 line

The latest one that contain it is patch-o-matic-ng-20060706.tar.bz2.

This version of ipt_time is old and not ready for recent kernels.

Best regards,

Krzysztof Olędzki