From: "Marcin Zajączkowski" <mszpak@wp.pl>
To: netfilter@lists.netfilter.org
Subject: Problem with ipt_time after kernel upgrade
Date: Thu, 23 Jun 2005 13:02:00 +0200 [thread overview]
Message-ID: <42BA96A8.6080807@wp.pl> (raw)
Hi,
I had kernel 2.4.25 with patch-o-matic and ipt_time worked ok.
After upgrade it to 2.4.31-rc1 (with pom-ng-20050529 - latest available
then, but since then there weren't changes in "time") and patched
iptables-1.2.9 from Fedora3 (recompiled with the same pom).
Everything seemed ok, but recently I noticed that (after upgrade)
iptables stopped counting packets in rules with "time".
Sample rule (I haven't changed it in meantime):
$IPT -t mangle -A FORWARD -i $INTERNAL_ETH -s $SOME_INTERNAL_IP -m time
--timestart 8:49 \
--timestop 23:59 --days Mon,Tue,Wed,Thu,Fri,Sat,Sun -j MARK --set-mark 102
Module is loaded and used:
[root@koles rc.d]# lsmod | grep time
ipt_time 1976 2 (autoclean)
ip_tables 14784 11 [ipt_time ipt_MARK ipt_LOG ipt_limit
iptable_mangle iptable_nat ipt_REJECT ipt_state iptable_filter]
Rule is in mangle (but nothing catch with "time"):
[root@koles rc.d]# iptables -L -t mangle -v
(...)
0 0 MARK all -- eth0 any $SOME_IP anywhere
TIME from 8:49 to 23:59 on Sun,Mon,Tue,Wed,Thu,Fri,Sat MARK set 0x100
After remove "time" from rule everything is ok.
Do you have any idea what could be wrong?
Thanks for help
Marcin
reply other threads:[~2005-06-23 11:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42BA96A8.6080807@wp.pl \
--to=mszpak@wp.pl \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox