Skip to contentSkip to conversation

how to install time patch

DISCUSSION manish popli 4 participants 5 messages Nov 17, 2005 1 message not in the archive netfilter

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

I am fail to install time patch for iptables.. i have visited at
http://www.lowth.com/howto/add-iptables-modules.php

but i m not able to doit successful..can any one guide me how to install "libipt_time.so" under Enterprise linux AS-3 (Linux version 2.4.21-4.ELsmp)..

Thanks
Manish Popli

Quoted 14 lines · --- Markus Stubbe

Hi!

The cvs-server is down since Octobre 2004. You will find the files you
need on the netfilter ftp-server: ftp.netfilter.org To install the timepatches you'll need the patch-o-matic-ng. After
umcompressing the archive you can follow the steps in the
netfilter.org-HowTo.

greetings, Markus

Quoted 25 lines
Quoted 3 lines

Hi Pablo,

Can you tell me how can i update my iptables for

time

Quoted 3 lines

patch..
i have visited google even but i din't find the
solution.I am not very much frendly with

linux..plz

Quoted 16 lines

tell me how to update my iptables for time patch..

Thanks
Manish Popli

Quoted 8 lines · --- Pablo Neira
Quoted 1 line · manish popli

I am using the Linux version 2.4.21-4.ELsmp..I

wand to

Quoted 4 lines

install time patch for IPtables for that i have
visited at

http://www.netfilter.org/documentation/HOWTO//netfilter-extensions-HOWTO-2.html#ss2.2

Quoted 21 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

Folloed the instructions and run the command

# cvs -d

:pserver:[email protected]:/cvspublic

Quoted 1 line

login

The netfilter project switched from CVS to SVN

time

Quoted 6 lines
Quoted 6 lines

ago. That doc needs
to be updated :(

Signature · 1 line
Pablo

__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

#2 lore raw
Quoted 6 lines · manish popli

I am fail to install time patch for iptables..
i have visited at http://www.lowth.com/howto/add-iptables-modules.php

but i m not able to doit successful..can any one guide me how to install "libipt_time.so" under Enterprise linux AS-3 (Linux version 2.4.21-4.ELsmp)..

I can not help you with the time patch, but maybe you could try something else instead to avoid having to patch your kernel. How about having two or more sets of firewall rules and using cron to load the appropriate firewall rules at the time of day you want the rules to change?

#4 lore raw
In reply to Krzysztof Oledzki

No it hasn't /proc/net/ip_tables_matches interface but there is /proc/net/ip_mr_cache & /proc/net/ip_mr_vif
can you tell me how to upgrade kernal ??

Quoted 22 lines · --- Krzysztof Oledzki
Quoted 3 lines · manish popli

I am fail to install time patch for iptables..
i have visited at

http://www.lowth.com/howto/add-iptables-modules.php

Quoted 2 lines

but i m not able to doit successful..can any one

guide

Quoted 1 line

me how to install "libipt_time.so" under

Enterprise

Quoted 1 line

linux AS-3 (Linux version 2.4.21-4.ELsmp)..

Hm... To use -m time you need to have ip_time enabled kernel. This
2.4.21-4.ELsmp smeems to be very old, I don't remember if it has /proc/net/ip_tables_matches interface, is so please try:

Quoted 8 lines

grep '^time$' /proc/net/ip_tables_matches|wc -l

BTW, any chances for upgrading kernel?

Best regards,

Krzysztof Olêdzki

__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs

#5 lore raw
Quoted 4 lines · manish popli

No it hasn't /proc/net/ip_tables_matches interface but there is /proc/net/ip_mr_cache & /proc/net/ip_mr_vif
can you tell me how to upgrade kernal ??

1) Checkout a working copy of pom-ng:

$ svn co https://svn.netfilter.org/netfilter/trunk/patch-o-matic-ng

2) cd trunk/patch-o-matic-ng and ./runme
Then apply the time patch, you need the kernel and iptables sources (Yes, you have to recompile your kernel and iptables) You'll have to set IPTABLES_DIR and KERNEL_DIR vars to whatever your sources are located.

I suggest you to post this kind of questions to [email protected] (users mailling list). Since this is no concerned with the netfilter development. Thanks!

Signature · 1 line
Pablo
#3 lore raw
In reply to manish popli
Quoted 7 lines · manish popli

I am fail to install time patch for iptables.. i have visited at
http://www.lowth.com/howto/add-iptables-modules.php

but i m not able to doit successful..can any one guide me how to install "libipt_time.so" under Enterprise linux AS-3 (Linux version 2.4.21-4.ELsmp)..

Hm... To use -m time you need to have ip_time enabled kernel. This 2.4.21-4.ELsmp smeems to be very old, I don't remember if it has /proc/net/ip_tables_matches interface, is so please try:

grep '^time$' /proc/net/ip_tables_matches|wc -l

BTW, any chances for upgrading kernel?

Best regards,

Krzysztof Olędzki