ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexey S. Kuznetsov" <buster@vostok.net.ua>
To: Michael Varamashvili <community@altlinux.ru>
Subject: Re: [Comm] netacct-mysql
Date: Mon, 16 Aug 2004 13:34:26 +0300
Message-ID: <10210081056.20040816133426@vostok.net.ua> (raw)
In-Reply-To: <355019782.20040815211313@inbox.ru>

Hello Michael,

Sunday, August 15, 2004, 8:13:13 PM, you wrote:

MV> Hу здpаcте community,

MV>  хочу, чтобы он считал траффик на ppp интерфейсе (eth1 и eth0 смотрят в
MV>  локальные подсетки).

MV>  написал ему конфиг:

MV> ===
MV> mysql_user acct
MV> mysql_password ********
MV> mysql_host localhost
MV> mysql_database netacct
MV> mysql_table accounting

MV> pidfile /var/run/nacctd.pid
MV> flush 60
MV> fdelay 60
MV> file /var/log/net-acct
MV> dumpfile /var/log/net-acct-dump

MV> notdev eth0 eth1
MV> device ppp0
MV> iflimit ppp0

MV> ignoremask 255.255.255.0
MV> ignorenet 127.0.0.0 255.0.0.0
MV> debug 2
MV> debugfile /tmp/nacctd.debug

MV> headers lo 14 12
MV> headers eth 14 12

MV> hostlimit 192.168.1.2
MV> hostlimit 192.168.2.2
MV> hostlimit 192.168.1.1
MV> hostlimit 192.168.2.1
MV> ===

MV> запускаю (после подключений и создания ppp0). он включается:

MV> Aug 12 21:35:10 router nacctd: net accounting daemon started
MV> Aug 12 21:35:10 router nacctd: net accounting daemon forked

MV> но ничего не считает. все логи потрогал, и на всякий случай прописал все хосты в
MV> hostlimit. где грабли?

не не умеет он считать ppp трафик не знаю почему...я тожэе мучался с
этим... в итоге считаю ipchains-ом

-- 
Sincerely,
 Alexey S. Kuznetsov    
 AK2351-RIPE



  reply	other threads:[~2004-08-16 10:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-15 17:13 Michael Varamashvili
2004-08-16 10:34 ` Alexey S. Kuznetsov [this message]
2004-08-16 22:28   ` Re[2]: " Andrew

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=10210081056.20040816133426@vostok.net.ua \
    --to=buster@vostok.net.ua \
    --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