Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 157895

Summary: bug from netfilter time match (ipt_time)
Product: Gentoo Linux Reporter: Juan J. Prieto <jjprieto>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED NEEDINFO    
Severity: normal CC: bass
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to adapt time match to new API

Description Juan J. Prieto 2006-12-12 00:44:55 UTC
time match from netfilter doesn't work properly.
Module loads fine and iptable cannot execute any rules relative to time module:

# iptables -A INPUT -m time --timestart 8:00 --timestop 18:00
iptables: Invalid argument

And from dmesg:

ip_tables: time match: invalid size 0 != 16

This is by the new netfilter API at 2.6.17 kernel series?

I have attached a patch for ipt_time.c file to adapt it to new API. Please, review and feel free to modify it if it is necessary.
Comment 1 Juan J. Prieto 2006-12-12 00:46:34 UTC
Created attachment 103848 [details, diff]
patch to adapt time match to new API
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2007-01-01 20:23:10 UTC
misfiled
Comment 3 SpanKY gentoo-dev 2007-01-01 20:32:17 UTC
there is no ipt_time.c in the iptables package