Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Tim" <tim@optushome.com.au>
To: netfilter@lists.samba.org
Subject: download limit
Date: Sat, 15 Jun 2002 15:23:33 -0700	[thread overview]
Message-ID: <00ef01c214bb$4979e3c0$0b00a8c0@tims> (raw)

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

Hi im just wondering if you would be able to help me with the following.
Im trying to make a download limit on the forward chain so that when it has hit 100mg it will stop all my traffic on the lan... to stop getting internet access. But even when i try and use your rule below im getting cant load match.. 
Thanks for your help
Regards Tim

iptables -A INPUT -p tcp --dport 80 -m quota --quota 52428800 -j ACCEPT
iptables v1.2.5: Couldn't load match `quota':/lib/iptables/libipt_quota.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
[root@tb root]# quota quota
quota: User quota doesn't exist.

Or is they any other way i can make a rule so i cant download more than 100mg a day?

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

                 reply	other threads:[~2002-06-15 22:23 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='00ef01c214bb$4979e3c0$0b00a8c0@tims' \
    --to=tim@optushome.com.au \
    --cc=netfilter@lists.samba.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