LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   libipt_time.so Error for time matching in iptable rules (https://www.linuxquestions.org/questions/linux-networking-3/libipt_time-so-error-for-time-matching-in-iptable-rules-720227/)

baig 04-19-2009 12:58 PM

libipt_time.so Error for time matching in iptable rules
 
Hi,

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

Code:

[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/libipt_time.so: cannot open shared object file: No such file or directory


How do I load this module?

Thanks in advance.

Cheers!!

clvic 04-19-2009 02:03 PM

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.


All times are GMT -5. The time now is 06:20 PM.