ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry <rapaman@ukr.net>
To: "Alexey S. Kuznetsov" <buster@kuznetsov.org.ua>,
	ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] pppd accounting
Date: Mon, 17 Oct 2005 21:17:09 +0300
Message-ID: <200510172117.10010.rapaman@ukr.net> (raw)
In-Reply-To: <61421101.20051017091240@kuznetsov.org.ua>

В сообщении от Monday 17 October 2005 19:12 Alexey S. Kuznetsov написал(a):
> Привет всем!
>    Ситуация: Емею pppd, pptpd. Использую VPN, авторизация не через
>    радиус, чисто chap-secrets.
>    Проблема: Небходимо получить и записать колличество байт за vpn
>    сессию.
>    Вопрос: Каким образом её получить. Я, наверное, не успею через этот
>    скрипт пропарсить ifconfig, потому что интерфейс уже отпадёт. Ккие
>    есть варианты? ipchains/iptables?
>    Радиус не хочу. Не так много пользователей.

Лог надо парсить, туда после окончания сессии ппп пишет инфу всю, сколько и 
т.п.

обычно пишет все он в syslog, т.е. попадает это в /var/log/messages

      parent reply	other threads:[~2005-10-17 18:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-17  6:12 Alexey S. Kuznetsov
2005-10-17  7:56 ` [Comm] " Michael Shigorin
2005-10-17 18:10   ` Alexey S. Kuznetsov
2005-10-17  8:14     ` Michael Shigorin
2005-10-17  8:19         ` Michael Shigorin
2005-10-17 18:17 ` Dmitry [this message]

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=200510172117.10010.rapaman@ukr.net \
    --to=rapaman@ukr.net \
    --cc=buster@kuznetsov.org.ua \
    --cc=community@lists.altlinux.org \
    /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