ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Pavel Usischev <usischev@gmail.com>
To: ALT Linux Community <community@altlinux.ru>
Cc: isp-list@altlinux.org.ua
Subject: Re: [Comm] logs iptables
Date: Thu, 15 Sep 2005 23:23:36 +0400
Message-ID: <4329CA38.6030000@gmail.com> (raw)
In-Reply-To: <200509152031.41192.Odergimiy@mail.ru>

Odergimiy пишет:
>> обычный анализатор логов
> А имя есть у обычного анализатора логов ?
> Мне желательно такой шоб в виде html  выдавал с статистикой на каждый IP :)

Наверное, не стоит для этого использовать iptables -j LOG. Там же запись 
в лог делается для каждого отдельного пакета, подпадающего под правило. 
При существенном количестве проходящих пакетов зрелище скорее всего 
будет душераздирающее.

Есть другой target, называется ULOG. Он передает пакеты на обработку в 
userspace, где их может подхватывать и считать какая-нибудь программа -- 
ulogd, ulog-acctd, ipcad, может и ещё какие есть. При этом используется 
буфер, и можно передавать для анализа только начало пакета. Это снижает 
нагрузку на машину, но говорят, всё равно возможен пропуск пакетов под 
нагрузкой.

Другие варианты -- учет на основе прослушки через libpcap (тот же ipcad, 
ipfm, netacct-mysql) -- по крайней мере раньше под нагрузкой тоже не 
очень здорово себя вело; снятие счетчиков с правил iptables (можно 
своими скриптами, а можно чем-нибудь вроде ipac-ng); использование 
чего-нибудь многофункционального вроде netams.

А вообще тема вроде для http://lists.osdn.org.ua/wws/info/isp-list (так 
что если продолжать, то лучше там).

-- 
С уважением,
Павел Усищев


      reply	other threads:[~2005-09-15 19:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-10 18:01 Odergimiy
2005-09-11 15:57 ` Alexey S. Kuznetsov
2005-09-15 16:31   ` Odergimiy
2005-09-15 19:23     ` Pavel Usischev [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=4329CA38.6030000@gmail.com \
    --to=usischev@gmail.com \
    --cc=community@altlinux.ru \
    --cc=isp-list@altlinux.org.ua \
    /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