* Numeber of connections
@ 2011-11-03 16:41 Usuário do Sistema
2011-11-03 19:26 ` Jan Engelhardt
0 siblings, 1 reply; 6+ messages in thread
From: Usuário do Sistema @ 2011-11-03 16:41 UTC (permalink / raw)
To: Mail List - Netfilter
Hello everyone, I'm using an RHE 5.5 machine for firewall and I would
like know how many connections are been handled for my firewall
iptables in an time of day as well as how many connections per second.
all connections of input, output and forward.
any tip is welcome
thanks
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Numeber of connections
2011-11-03 16:41 Numeber of connections Usuário do Sistema
@ 2011-11-03 19:26 ` Jan Engelhardt
2011-11-04 14:30 ` Pablo Neira Ayuso
0 siblings, 1 reply; 6+ messages in thread
From: Jan Engelhardt @ 2011-11-03 19:26 UTC (permalink / raw)
To: Usuário do Sistema; +Cc: Mail List - Netfilter
On Thursday 2011-11-03 17:41, Usuário do Sistema wrote:
>Hello everyone, I'm using an RHE 5.5 machine for firewall and I would
>like know how many connections are been handled for my firewall
>iptables in an time of day as well as how many connections per second.
`conntrack -L` will show you how many active CTs there. The number of
ct/sec can be calculated by monitoring `conntrack -Ee NEW` over a time
quantum chosen by you.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Numeber of connections
2011-11-03 19:26 ` Jan Engelhardt
@ 2011-11-04 14:30 ` Pablo Neira Ayuso
2011-11-04 17:30 ` Usuário do Sistema
0 siblings, 1 reply; 6+ messages in thread
From: Pablo Neira Ayuso @ 2011-11-04 14:30 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Usuário do Sistema, Mail List - Netfilter
On Thu, Nov 03, 2011 at 08:26:24PM +0100, Jan Engelhardt wrote:
> On Thursday 2011-11-03 17:41, Usuário do Sistema wrote:
>
> >Hello everyone, I'm using an RHE 5.5 machine for firewall and I would
> >like know how many connections are been handled for my firewall
> >iptables in an time of day as well as how many connections per second.
>
> `conntrack -L` will show you how many active CTs there. The number of
> ct/sec can be calculated by monitoring `conntrack -Ee NEW` over a time
> quantum chosen by you.
I think using ulogd2 with the flow accounting and making some custom
scripts to process the logs would make the trick.
The conntrack utility is designed to know what is going on right now
in the firewall. For accumulated stats, ulogd2 can make it better.
P.S: Jan, there's some people waiting for comments on your
xtables-addons stuff in netfilter-devel, in case that you didn't
notice.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Numeber of connections
2011-11-04 14:30 ` Pablo Neira Ayuso
@ 2011-11-04 17:30 ` Usuário do Sistema
0 siblings, 0 replies; 6+ messages in thread
From: Usuário do Sistema @ 2011-11-04 17:30 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: Jan Engelhardt, Mail List - Netfilter
Thanks everyone, but I'm using iptables 1.3.5 which there isn't some
library and for some issue I can't install iptables 1.4.x currently.
anyone suggest an other way ?
thanks
2011/11/4 Pablo Neira Ayuso <pablo@netfilter.org>:
> On Thu, Nov 03, 2011 at 08:26:24PM +0100, Jan Engelhardt wrote:
>> On Thursday 2011-11-03 17:41, Usuário do Sistema wrote:
>>
>> >Hello everyone, I'm using an RHE 5.5 machine for firewall and I would
>> >like know how many connections are been handled for my firewall
>> >iptables in an time of day as well as how many connections per second.
>>
>> `conntrack -L` will show you how many active CTs there. The number of
>> ct/sec can be calculated by monitoring `conntrack -Ee NEW` over a time
>> quantum chosen by you.
>
> I think using ulogd2 with the flow accounting and making some custom
> scripts to process the logs would make the trick.
>
> The conntrack utility is designed to know what is going on right now
> in the firewall. For accumulated stats, ulogd2 can make it better.
>
> P.S: Jan, there's some people waiting for comments on your
> xtables-addons stuff in netfilter-devel, in case that you didn't
> notice.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Numeber of connections
@ 2011-11-04 19:47 Eric Leblond
2011-11-05 12:15 ` Usuário do Sistema
0 siblings, 1 reply; 6+ messages in thread
From: Eric Leblond @ 2011-11-04 19:47 UTC (permalink / raw)
To: Usuário do Sistema, Pablo Neira Ayuso
Cc: Jan Engelhardt, Mail List - Netfilter
Hello
Which kernel are you using ? Conntrack usage in ulogd2 (pablo's proposal) only requires a kernel > 2.6.14.
BR
Usuário do Sistema <maiconlp@ig.com.br> a écrit :
>Thanks everyone, but I'm using iptables 1.3.5 which there isn't some
>library and for some issue I can't install iptables 1.4.x currently.
>
>anyone suggest an other way ?
>
>
>thanks
>
>
>
>
>
>
>2011/11/4 Pablo Neira Ayuso <pablo@netfilter.org>:
>> On Thu, Nov 03, 2011 at 08:26:24PM +0100, Jan Engelhardt wrote:
>>> On Thursday 2011-11-03 17:41, Usuário do Sistema wrote:
>>>
>>> >Hello everyone, I'm using an RHE 5.5 machine for firewall and I would
>>> >like know how many connections are been handled for my firewall
>>> >iptables in an time of day as well as how many connections per second.
>>>
>>> `conntrack -L` will show you how many active CTs there. The number of
>>> ct/sec can be calculated by monitoring `conntrack -Ee NEW` over a time
>>> quantum chosen by you.
>>
>> I think using ulogd2 with the flow accounting and making some custom
>> scripts to process the logs would make the trick.
>>
>> The conntrack utility is designed to know what is going on right now
>> in the firewall. For accumulated stats, ulogd2 can make it better.
>>
>> P.S: Jan, there's some people waiting for comments on your
>> xtables-addons stuff in netfilter-devel, in case that you didn't
>> notice.
>>
>--
>To unsubscribe from this list: send the line "unsubscribe netfilter" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Numeber of connections
2011-11-04 19:47 Eric Leblond
@ 2011-11-05 12:15 ` Usuário do Sistema
0 siblings, 0 replies; 6+ messages in thread
From: Usuário do Sistema @ 2011-11-05 12:15 UTC (permalink / raw)
To: Eric Leblond; +Cc: Pablo Neira Ayuso, Jan Engelhardt, Mail List - Netfilter
Eric, my Kernel is 2.6.18.
realy I can look in /var/log/messages some rules been handled (
either allow as deny ) by iptables but I think isn't adequate.
so...if anybody has other way please share it.
thanks
2011/11/4 Eric Leblond <eric@regit.org>:
> Hello
>
> Which kernel are you using ? Conntrack usage in ulogd2 (pablo's proposal) only requires a kernel > 2.6.14.
>
> BR
>
> Usuário do Sistema <maiconlp@ig.com.br> a écrit :
>
>>Thanks everyone, but I'm using iptables 1.3.5 which there isn't some
>>library and for some issue I can't install iptables 1.4.x currently.
>>
>>anyone suggest an other way ?
>>
>>
>>thanks
>>
>>
>>
>>
>>
>>
>>2011/11/4 Pablo Neira Ayuso <pablo@netfilter.org>:
>>> On Thu, Nov 03, 2011 at 08:26:24PM +0100, Jan Engelhardt wrote:
>>>> On Thursday 2011-11-03 17:41, Usuário do Sistema wrote:
>>>>
>>>> >Hello everyone, I'm using an RHE 5.5 machine for firewall and I would
>>>> >like know how many connections are been handled for my firewall
>>>> >iptables in an time of day as well as how many connections per second.
>>>>
>>>> `conntrack -L` will show you how many active CTs there. The number of
>>>> ct/sec can be calculated by monitoring `conntrack -Ee NEW` over a time
>>>> quantum chosen by you.
>>>
>>> I think using ulogd2 with the flow accounting and making some custom
>>> scripts to process the logs would make the trick.
>>>
>>> The conntrack utility is designed to know what is going on right now
>>> in the firewall. For accumulated stats, ulogd2 can make it better.
>>>
>>> P.S: Jan, there's some people waiting for comments on your
>>> xtables-addons stuff in netfilter-devel, in case that you didn't
>>> notice.
>>>
>>--
>>To unsubscribe from this list: send the line "unsubscribe netfilter" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-11-05 12:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-03 16:41 Numeber of connections Usuário do Sistema
2011-11-03 19:26 ` Jan Engelhardt
2011-11-04 14:30 ` Pablo Neira Ayuso
2011-11-04 17:30 ` Usuário do Sistema
-- strict thread matches above, loose matches on Subject: below --
2011-11-04 19:47 Eric Leblond
2011-11-05 12:15 ` Usuário do Sistema
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox