ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Хихин Руслан" <hihin@rambler.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] ulogd + mysql
Date: Tue, 6 May 2008 08:41:24 +0400
Message-ID: <200805060841.30676@ruslandh> (raw)
In-Reply-To: <1798068271.20080506070520@admin.dn.ua>

[-- Attachment #1: Type: text/plain, Size: 1123 bytes --]

Здравствуйте Andrey V. Samopal
  В сообщении от 6 мая 2008 Andrey V. Samopal написал(a):
> Здравствуйте, Хихин.
>
> Вы писали 5 мая 2008 г., 21:38:02:
> > Здравствуйте Andrey V. Samopal
> >
> >   В сообщении от 5 мая 2008 Andrey V. Samopal написал(a):
> >> но проблема в том, что если просто суммировать байты по IP
> >> SELECT INET_NTOA(ip_daddr), sum(ip_totlen) FROM ulog GROUP BY ip_daddr
> >> у меня не сходятся цифры, сравнивая полученный результат с
> >> обработанным сквидовым access.log
> >
> > Они вроде и теоретически не должны сходится
>
> Тогда почему большая разница в 2 раза
> по access.log 50 М, по ulogd 126 М

Мне трудно судить почему такая большая разница, но через iptables проходит 
весь трафик, а через squid только часть (например, не проходит почта). Но, 
возможен вариант, что вы не там вставили цепочку подсчёта трафика, и помимо 
трафика пользователей squid считается и трафик самого сервера.

-- 
  А ещё говорят так  (fortune):
 
sim как jabber-клиент - то еще извращение. -- wrar in smoke-room@ 
________________________________________________________________________
С уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-05-06  4:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-05 11:19 Andrey V. Samopal
2008-05-05 11:23 ` Eugene Prokopiev
2008-05-05 12:26   ` Andrey V. Samopal
2008-05-05 18:38     ` Хихин Руслан
2008-05-06  4:05       ` Andrey V. Samopal
2008-05-06  4:41         ` Хихин Руслан [this message]
2008-05-06  5:09           ` Andrey V. Samopal
2008-05-06 17:20             ` Andrey V. Samopal

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=200805060841.30676@ruslandh \
    --to=hihin@rambler.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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