Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-19-2009, 01:58 PM   #1
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38 Error for time matching in iptable rules


While I was appending a new chain rule using time match as following,

[root@Wazirkutz ~]# iptables -A FORWARD -p tcp -m multiport --dport http,https -o eth0 -i eth1 -m time --timestart 03:30 --timestop 04:30 --days Mon,Wed -j REJECT
I got the following error:
iptables v1.3.5: Couldn't load match `time':/lib64/iptables/ cannot open shared object file: No such file or directory

How do I load this module?

Thanks in advance.

Old 04-19-2009, 03:03 PM   #2
Registered: Feb 2008
Location: Rome, Italy
Distribution: OpenSuSE 11.x, vectorlinux, slax, Sabayon
Posts: 206
Blog Entries: 2

Rep: Reputation: 44
My guess is that this depends on your kernel. I think that the option CONFIG_NETFILTER_XT_MATCH_TIME should be active in the kernel config, otherwise this functionality can't be used.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple iptable rules lorga Linux - Newbie 3 12-17-2007 01:30 PM
IPTable rules RecoilUK Linux - Security 1 05-27-2005 08:25 PM
Remove iptable rules greenthing Linux - Networking 11 03-03-2005 09:15 AM
Help with IPtable Rules aqoliveira Linux - Security 3 12-10-2003 11:00 AM
Iptable rules for Gnutella al_erola Linux - Security 5 03-06-2002 04:21 AM

All times are GMT -5. The time now is 03:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration