1 |
On Fri, 29 Jul 2005, Joe Rizzo wrote: |
2 |
|
3 |
> I believe you could accomplish what you want with iptables. IE Match |
4 |
> the IP address with an iptables rule. The rule has counters for the |
5 |
> packets and bytes. |
6 |
|
7 |
Yes that was the other route I was looking at. |
8 |
|
9 |
I will have to hack a script that grabs all the IP aliases and then |
10 |
creates a chain with a rule for each IP. (I was hoping someone had done |
11 |
this already :-) BTW, would those counters be accessible through SNMP |
12 |
then? (Would be nice to use cacti to graph it). |
13 |
|
14 |
> I believe there are tools / projects that provide iptables accounting. |
15 |
> |
16 |
> Hope that helps. |
17 |
> |
18 |
> Joe |
19 |
> |
20 |
> -----Original Message----- |
21 |
> From: A. Khattri [mailto:ajai@××××.net] |
22 |
> Sent: Thursday, July 28, 2005 9:10 PM |
23 |
> To: gentoo-server@l.g.o |
24 |
> Subject: Re: [gentoo-server] Tracking bandwidth usage |
25 |
> |
26 |
> On Thu, 28 Jul 2005, Wendall Cada wrote: |
27 |
> |
28 |
> > On Thu, 2005-07-28 at 17:38 -0500, kashani wrote: |
29 |
> > A. Khattri wrote: |
30 |
> > > I have a web server with 100 IP aliases on it. |
31 |
> > > |
32 |
> > > I want to be able to track bandwidth usage on each IP. |
33 |
> > > (Maybe MRTG graphs?) |
34 |
> > > |
35 |
> > > Anyone come up with an elegant solution? |
36 |
> > |
37 |
> > ntop works well. Graphing is a part of it's built in functionality. I |
38 |
> > have been using it on my primary router for over a year without |
39 |
> issues. |
40 |
> |
41 |
> The only problem being that last time I looked at ntop is does take away |
42 |
> a |
43 |
> chunk of CPU time from your server (unless you have it on a separate |
44 |
> box). |
45 |
> |
46 |
> |
47 |
> |
48 |
|
49 |
-- |
50 |
smoke and mirrors n. |
51 |
|
52 |
Marketing deceptions. The term is |
53 |
mainstream in this general sense. Among hackers it's strongly |
54 |
associated with bogus demos and crocked benchmarks (see also |
55 |
MIPS, machoflops). "They claim their new box cranks 50 |
56 |
MIPS for under $5000, but didn't specify the instruction mix -- |
57 |
sounds like smoke and mirrors to me." The phrase, popularized by |
58 |
newspaper columnist Jimmy Breslin c.1975, has been said to |
59 |
derive from carnie slang for magic acts and `freak show' displays |
60 |
that depend on `trompe l'oeil' effects, but also calls to mind |
61 |
the fierce Aztec god Tezcatlipoca (lit. "Smoking Mirror") for |
62 |
whom the hearts of huge numbers of human sacrificial victims were |
63 |
regularly cut out. Upon hearing about a rigged demo or yet another |
64 |
round of fantasy-based marketing promises, hackers often feel |
65 |
analogously disheartened. See also stealth manager. |
66 |
|
67 |
-- |
68 |
gentoo-server@g.o mailing list |