All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ming-Ching Tiew" <mingching.tiew@redtone.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] NAT-aware traffic analysis
Date: Thu, 06 Sep 2007 05:56:32 +0000	[thread overview]
Message-ID: <00f701c7f04a$ad1d1940$0100a8c0@MingChing> (raw)
In-Reply-To: <00af01c7ef6a$1c8a3560$0100a8c0@MingChing>


From: "Marco Aurelio" <marco.casaroli@gmail.com>

> If you use IFB or IMQ you can shape the outgoing WAN traffic before NAT
>

I am not sure if I understand this reply or the reply seems to me,
is not replying to my original question.

I am asking how to collect statistics about LAN users with respect
to their WAN usage, with LAN IP as the breakdown.

I am not asking how to do traffic shaping. And may I know how
does IMQ help that ?

Actually with more thought given to the problem, I think I am
quite inclined to using iptables ULOG. But ULOG solution
has a few things need mentioning :-

1. Might be very heavy on system loading. Hope people can
    clarify if it is a real concern. And anyone has experience using
    ULOG 2.x ? Will 2.x be more friendly to system loading
    compared to 1.x ?

2. Logging goes into either file or database. It's to be a offline
    monitoring mechanism. Is there a way to use ULOG for online
    monitoring ?

3. Next, each ULOG is only specifying one side of the traffic. eg :-

        iptables -A FORWARD -i eth0 -o eth1 -j ULOG .....

    I will need another iptables rule to specify the returning traffic, eg
:-

        iptables -A FORWARD -i eth1 -o eth0 -j ULOG .....

   Combining two independent logs as one connection will still be a
challenge.

Hope to see more suggestions and discussion.
Thank you.



_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2007-09-06  5:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-05  3:09 [LARTC] NAT-aware traffic analysis Ming-Ching Tiew
2007-09-05  3:36 ` Salim S I
2007-09-05  4:00 ` Ming-Ching Tiew
2007-09-05  4:20 ` Martin A. Brown
2007-09-06  5:42 ` Marco Aurelio
2007-09-06  5:56 ` Ming-Ching Tiew [this message]
2007-09-06 18:20 ` Marco Aurelio

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='00f701c7f04a$ad1d1940$0100a8c0@MingChing' \
    --to=mingching.tiew@redtone.com \
    --cc=lartc@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.