ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maxim <max_conf@e-foto.ru>
To: Sodom <community@altlinux.ru>
Subject: Re[4]: [Comm] Billing
Date: Wed, 31 Mar 2004 13:35:24 +0400
Message-ID: <529489182.20040331133524@e-foto.ru> (raw)
In-Reply-To: <1744054128.20040331112618@sodom.ru>

Здравствуйте, Sodom.

Вы писали 31 марта 2004 г., 11:26:18:

S> Здравствуйте, Alexey.

S> Вы писали 31 марта 2004 г., 9:15:07:

AAS>> Здравствуйте!

EP>>> Sodom пишет:
>>> Приветствую уважаемое сообщество!
>>> Не подскажете простейший биллинг.
>>> Требуется: ПРОСТО снятие статистики по ВСЕМ внутренним айпишникам в
>>> базу MySQL и вывод этого всего хозявства в html виде. Ничего
>>> прописывать не нужно, добавлять, удалять, закрывать инет по истечении
>>> определенного трафика тоже. Простейшее действие.

AAS>> Я месяц искал такую систему - оказалось она есть в дистрибутиве ALT-а.
AAS>> Называется net-acct-mysql. Инфу по настройке нашел здесь:
AAS>> http://www.opennet.ru/base/net/net_acct.txt.html

S> Огромное, конечно, спасибо, но...
S> У меня на роутере в основном все ходят через сквид, и только немногие
S> через маскарад... А со сквидом эта штука не работает...
S> Надо искать что-нибудь, снимающее статистику с iptables, а не в
S> promiscous mode...
S> Но все равно спасибо!

Я написал скрипт который за определенное время ходит по логам сквида и записывает
их в postgres, а там уже через sql все что надо выбираю.

-- 
С уважением,
 Maxim                          mailto:max_conf@e-foto.ru







  parent reply	other threads:[~2004-03-31  9:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-30 14:42 Sodom
2004-03-31  5:02 ` Eugene Prokopiev
2004-03-31  5:12   ` Re[2]: " Sodom
2004-03-31  5:15   ` Alexey A. Sidorov
2004-03-31  5:56     ` Eugene Prokopiev
2004-03-31  7:26     ` Re[3]: " Sodom
2004-03-31  7:42       ` Mike Lykov
2004-03-31  7:49         ` Re[5]: " Sodom
2004-03-31  8:16           ` Eugene Prokopiev
2004-03-31 10:13             ` Re[2]: " Sodom
2004-03-31 13:01               ` Eugene Prokopiev
2004-03-31  7:55       ` Re[4]: " Alexey A. Sidorov
2004-03-31  9:35       ` Maxim [this message]
2004-03-31  9:34   ` Re[2]: " Maxim

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=529489182.20040331133524@e-foto.ru \
    --to=max_conf@e-foto.ru \
    --cc=community@altlinux.ru \
    /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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git