Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157895 - bug from netfilter time match (ipt_time)
Summary: bug from netfilter time match (ipt_time)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-12 00:44 UTC by Juan J. Prieto
Modified: 2007-01-01 20:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to adapt time match to new API (ipt_time-2.6.17.patch,735 bytes, patch)
2006-12-12 00:46 UTC, Juan J. Prieto
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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