From: Raymond Leach <raymondl@knowledgefactory.co.za>
To: Chris Poupart <chris.poupart@mcgill.ca>
Cc: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: Re: Time based rules ...
Date: 13 Nov 2002 18:00:46 +0200 [thread overview]
Message-ID: <1037203246.4557.39.camel@rayw.knowledgefactory.co.za> (raw)
In-Reply-To: <3DD27725.7030006@mcgill.ca>
[-- Attachment #1: Type: text/plain, Size: 574 bytes --]
On Wed, 2002-11-13 at 18:00, Chris Poupart wrote:
> Couldn't you just use a CRON job to add and remove that rule at the
> required times?
>
Well that's what I'm doing, but it gets cumbersome when you have
multiple timeslots for different days, e.g. Weekends.
> -- Chris
>
> Raymond Leach wrote:
> > Hi
> >
> > Is there a way to put time restrictions on rules?
> > For eaxmple, something like:
> >
> > iptables -A FORWARD -i eth0 -p tcp -sport 1024: -dport 1024: -time
> > 0700:1700 -j DROP
> >
> > It would be nice ...
> >
> > Ray
> > --
--
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2002-11-13 16:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-13 15:01 Time based rules Raymond Leach
2002-11-13 16:00 ` Chris Poupart
2002-11-13 16:00 ` Raymond Leach [this message]
2002-11-14 5:08 ` Dharmendra.T
2002-11-14 4:42 ` Raymond Leach
2002-11-14 6:14 ` Dharmendra.T
2002-11-14 6:54 ` Fabrice MARIE
2002-11-14 9:37 ` hare ram
[not found] <FD8F124A387AD6119F7900A0D218B321487E43@hslex01.hsl-brabantzuid.nl>
2002-11-13 15:50 ` Rob Sterenborg
2002-11-13 17:53 ` Raymond Leach
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=1037203246.4557.39.camel@rayw.knowledgefactory.co.za \
--to=raymondl@knowledgefactory.co.za \
--cc=chris.poupart@mcgill.ca \
--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