Article View: bit.listserv.openbsd-pf
Article #183Re: throttle traffic by amount of time or amount of used traffic in GB?
From: Karl O. Pinc
Date: Sat, 13 Apr 2013 17:34
Date: Sat, 13 Apr 2013 17:34
18 lines
2002 bytes
2002 bytes
On 04/12/2013 04:11:47 PM, Sebastian Singer wrote:
> Hi Kirk,
> Hi Peter,
>
> Thank you both for your quick and inspiring answers. I think I will
> first try setting up a table and continue with scripting around pfctl
> -vt tablename -T show as proposed by both of you.If I run into
> problems I will have a go at the solution with labels.
For a completely general solution you could try logging with pf
and scripting something with, say, swatch/pfctl that either
changes tables or reloads anchors.
Regards,
Karl <kop@meme.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
Technical Details
Message-ID:
<1365861481.29190.0@mofo>Path:
arc1-ca.pugleaf.net!hg5ni15378wib.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!border2.nntp.ams2.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.nobody.at!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrnReferences:
<51684323.5090008@ismay.ca> <b97c2f4e5987738a50a6c13b13176248@www.kesslar.de>Show Full Headers
Complete Article Headers
X-Google-Thread: bffa70e3,a3cf27524871199c
X-Google-Attributes: gidbffa70e3,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.180.96.225 with SMTP id dv1mr3082150wib.6.1366252845609;
Wed, 17 Apr 2013 19:40:45 -0700 (PDT)
Path: arc1-ca.pugleaf.net!hg5ni15378wib.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!border2.nntp.ams2.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.nobody.at!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
From: kop@meme.com (Karl O. Pinc)
Newsgroups: bit.listserv.openbsd-pf
Subject: Re: throttle traffic by amount of time or amount of used traffic in
GB?
Date: 13 Apr 2013 10:34:32 -0700
Organization: None
Lines: 19
Message-ID: <1365861481.29190.0@mofo>
References: <51684323.5090008@ismay.ca>
<b97c2f4e5987738a50a6c13b13176248@www.kesslar.de>
NNTP-Posting-Host: mofo
Mime-Version: 1.0
NNTP-Posting-Date: 13 Apr 2013 17:34:32 GMT
X-Received-Bytes: 1279
Bytes: 1459
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit