Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Allen Bolderoff" <allen@gist.net.au>
To: netfilter@lists.netfilter.org
Subject: Question about --limit
Date: Mon, 3 Mar 2003 21:29:12 +1030	[thread overview]
Message-ID: <000801c2e173$ed386560$b16614cb@pblt> (raw)

[-- Attachment #1: Type: text/plain, Size: 1379 bytes --]

Hi there, and thanks for all the fish - I just love netfilter...

I have a quick question and would appreciate being cc'd in the reply if at all possible.

is it possible, with iptables to slow down traffic? - here is the scenario...

I have customer with an employee that is surfing certain websites (ie: zone.msn.com) and playing backgammon all day long. 

The problem is that he is valueble to the organisation for certain reasons, and as such the customer does not want to piss him off (political reasons), however I have been commisssioned to stop the backgammon games as they are a real timewaster.

They have a firewall, which allows NAT'd connections without a squid proxy, and I was wondering if the --limit stuff would work to maybe reduce the access to the website, and therefore make it all but useable...

for example, when he goes to the website, instead of timing out completely, it just slows down so much that it is impossible to play...

I know there are other ways of doing this, but I am looking for an IPTABLES method if at all possible.

So, to recap - Dont disable, just slow down to an impossible crawl... maybe even using the --limit-burst stuff.

Any examples?

I thought of doing:

iptables -I FORWARD -s 207.46.20.12/32 -m limit --limit 10/minute -j ACCEPT

however this does not seem to work - any other ideas?

TIA

Allen

[-- Attachment #2: Type: text/html, Size: 2991 bytes --]

                 reply	other threads:[~2003-03-03 10:59 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='000801c2e173$ed386560$b16614cb@pblt' \
    --to=allen@gist.net.au \
    --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