Adding network filter extension "time" patch(iptables)
Hi everyone,
I want to use "time" module of "iptables".
So i tried adding the patch as follows and failed
-------------screen shot-------------------------------------------------------------------
[root@localhost patch-o-matic-20041009]# ./runme --batch base/time.patch
Hey! KERNEL_DIR is not set.
Where is your kernel? [/usr/src/linux] /usr/src/linux-2.6.23.1
Examining kernel in /usr/src/linux-2.6.23.1
-----------------------------------------------------------------
Welcome to Rusty's Patch-o-matic!
Kernel: /usr/src/linux-2.6.23.1
Userspace: /home/sandeep/Desktop
Each patch is a new feature: many have minimal impact, some do not.
Almost every one has bugs, so I don't recommend applying them all!
-------------------------------------------------------
Testing... time.patch NOT APPLIED (2 missing files)
The base/time patch:
Author: Fabrice MARIE <fabrice@netfilter.org>
Status: It Works For Me.
This option adds CONFIG_IP_NF_MATCH_TIME, which supplies a time match module.
This match allows you to filter based on the packet arrival time
(arrival time at the machine which the netfilter is running on) or
departure time (for locally generated packets).
Supported options are:
--timestart HH:MM
The starting point of the time match frame.
--timestop HH:MM
The stopping point of the time match frame
--days Tue,Mon...
Days of the week to match separated by a coma, no space
(one of Sun,Mon,Tue,Wed,Thu,Fri,Sat)
Example:
-A INPUT -m time --timestart 8:00 --timestop 18:00 --days Mon,Tue,Wed,Thu,Fri
will match packets that have an arrival timestamp in the range 8:00->18:00 from Monday
to Friday.
-A OUTPUT -m time --timestart 8:00 --timestop 18:00 --Days Mon
will match the packets (locally generated) that have a departure timestamp
in the range 8:00->18:00 on Monday only.
Testing patch base/time.patch...
Warning - no help text file could be found in either
/usr/src/linux-2.6.23.1/net/ipv4/netfilter/Config.help
or /usr/src/linux-2.6.23.1/Documentation/Configure.help
Could not find place to slot in Config.in line
TEST FAILED: patch NOT applied.
------------------------------------------------------------------------------------------------
my kernel version is 2.6.23.1
my iptables version is 1.3.8
the patch-o-matic which i downloaded was patch-o-matic-20041009.tar.bz2 from netfilter
================================================== ========
So can anyone help me in finding a solution to the above problem........
I am trying desperately for past 3-4 days
|