All of lore.kernel.org
 help / color / mirror / Atom feed
* accounting
@ 2008-02-13  6:12 Brent Clark
  2008-02-13  7:34 ` accounting Rob Sterenborg
  0 siblings, 1 reply; 9+ messages in thread
From: Brent Clark @ 2008-02-13  6:12 UTC (permalink / raw)
  To: netfilter

Hi

What would be the correct method for like accounting programs for like a 'pay as you go' internet.

Basically keep track users bandwidth usage, time etc.

For the guys in the ISP market, what or how would you guys go about this, or am I doomed to use a commercial
product like Checkpoint or something.

Im hoping iptables has / can do something.

Regards
Brent Clark

P.s. Wonder if monowall does some type of accounting.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* accounting
@ 2003-10-09 13:44 Klaus Boehm
  2003-10-09 16:19 ` accounting Ralf Spenneberg
  0 siblings, 1 reply; 9+ messages in thread
From: Klaus Boehm @ 2003-10-09 13:44 UTC (permalink / raw)
  To: netfilter

Hi,

I want use the iptables for accounting.
1. How looks the iptable rules.
2. In which file under the proc filesystem I could read the counter values.

Thanks for any hints.


Klaus

-- 


ewt gmbh
data management group
tel: ++49 821 3106 319
fax: ++49 821 3106 399
url: www.ewt.de





^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: Incomming packets
@ 2003-03-11  6:03 Eugene Joubert
  2003-03-11  7:21 ` Accounting Andrew Barbara
  0 siblings, 1 reply; 9+ messages in thread
From: Eugene Joubert @ 2003-03-11  6:03 UTC (permalink / raw)
  To: 'serguey.forcade@emelytours.com.do', netfilter

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

It looks like a DNS problem. I am not to sure if iptables likes host names
it cannot resolve to an IP. Maybe try an IP or put the test.host in your
/etc/hosts directory.

Hope this helps

-----Original Message-----
From: serguey.forcade@emelytours.com.do
[mailto:serguey.forcade@emelytours.com.do] 
Sent: 11 03 2003 04:22 AM
To: netfilter@lists.netfilter.org
Subject: Incomming packets


Hello:

    I'm trying to set a rule in my iptables configuration to accept
incomming connections from an specific host, (ie. iptables -A input -i eth0
-p tcp --dport 21 -s test.host -j ACCEPT ) and I keep getting the error:

iptables v1.2.6a: host/network `test.host' not found
Try `iptables -h' or 'iptables --help' for more information.

Does anyone know about it?

Thanks

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

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: accounting
@ 2003-02-15  1:10 Andrej Ricnik
  0 siblings, 0 replies; 9+ messages in thread
From: Andrej Ricnik @ 2003-02-15  1:10 UTC (permalink / raw)
  To: netfilter-devel

>Hi,

>as for the logging of traffic, this is really easy. You could use an
>iptables rule, as DarKRaveR suggested, or just use snmp
>(interfaces.ifTable.ifEntry.ifInOctets*).

>But for the assurance of a given limit, you will need a lot more.
Well, I could insert the traffic details (source/dest, size, time)
in a postgres table and run a query from a cron-job every five
minutes which certainly would suffice my limits...


>Stop working, look here:
>https://rnvs.informatik.tu-chemnitz.de/Dynshaper/
>
>It is already up and running, doing everything you can dream of: shaping
>to a given limit, dynamic traffic adjustment based on long term traffic
>analysis, database backend, IP based class allocation, Web-Frontend,
>Database-Backend, ... and it's GPL!

>The only disadvantage: it seems there is only a German documentation.
Well, I downloaded it and read the docs... I don't think it
QUITE does what I want, because in this setup it will allow
the kids to hog the transfer as long as I'm not on, and only
pull the throttle once they used up all the transfer volume?
Maybe my German is a bit rusty, and I got it wrong, though ...



>Ciao!
>     Thomas


Cheers from windy Wellington,
Tink

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/IT/O d-(++)@ a C+(+++)@ UL++>+++ P+>+++ L++ E+@ W+@ N+ o? K? w---@(+) 
O+++(+)@ M-@ V? PS+ PE- Y+ PGP++ t- 5- X- R-(*) tv-@ b+ DI++ D-- G++ !e* 
h--- r++ z?
------END GEEK CODE BLOCK------


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

^ permalink raw reply	[flat|nested] 9+ messages in thread
* accounting
@ 2003-02-12 23:27 Andrej Ricnik
  2003-02-13  0:02 ` accounting DarKRaveR
  2003-02-13 16:46 ` accounting Thomas Poehnitzsch
  0 siblings, 2 replies; 9+ messages in thread
From: Andrej Ricnik @ 2003-02-12 23:27 UTC (permalink / raw)
  To: netfilter-devel




Hi Guys!

I've been searching for a decent Linux IP accounting
solution (I have a 5GB limit a month and don't want
to pay a penalty just because the kids are greedy :})
but couldn't find anything easy to use/decent that would
allow me to keep track of traffic per IP and/or user
and stop traffic from that IP/user once their "fair share"
is used up ...

So I was wondering how difficult it would be to intercept
logging information from userland, and where to find
info's on how to do it.



Cheers,
Tink

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/IT/O d-(++)@ a C+(+++)@ UL++>+++ P+>+++ L++ E+@ W+@ N+ o? K? w---@(+) 
O+++(+)@ M-@ V? PS+ PE- Y+ PGP++ t- 5- X- R-(*) tv-@ b+ DI++ D-- G++ !e* 
h--- r++ z?
------END GEEK CODE BLOCK------



_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-02-13  7:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-13  6:12 accounting Brent Clark
2008-02-13  7:34 ` accounting Rob Sterenborg
  -- strict thread matches above, loose matches on Subject: below --
2003-10-09 13:44 accounting Klaus Boehm
2003-10-09 16:19 ` accounting Ralf Spenneberg
2003-03-11  6:03 Incomming packets Eugene Joubert
2003-03-11  7:21 ` Accounting Andrew Barbara
2003-02-15  1:10 accounting Andrej Ricnik
2003-02-12 23:27 accounting Andrej Ricnik
2003-02-13  0:02 ` accounting DarKRaveR
2003-02-13 16:46 ` accounting Thomas Poehnitzsch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.