netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* conntrack mysql database. Plausible?
@ 2012-11-07 17:11 Ethy H. Brito
  2012-11-07 17:46 ` Eric Leblond
  0 siblings, 1 reply; 2+ messages in thread
From: Ethy H. Brito @ 2012-11-07 17:11 UTC (permalink / raw)
  To: netfilter


Hi All

Is it possible to (or how to) maintain a mysql database with the assured
connections' time range?

Something like: time ASSURE'd, time DESTROYed, and the 5'tuple IPs dst and
src, ports dst and src and protocol.

Have you guys seem something like this?

This would be useful to point out which clients behind a NAT accessed in
the last few days.

Regards
Ethy

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: conntrack mysql database. Plausible?
  2012-11-07 17:11 conntrack mysql database. Plausible? Ethy H. Brito
@ 2012-11-07 17:46 ` Eric Leblond
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Leblond @ 2012-11-07 17:46 UTC (permalink / raw)
  To: Ethy H. Brito; +Cc: netfilter

Hi,

Le mercredi 07 novembre 2012 à 15:11 -0200, Ethy H. Brito a écrit :
> Hi All
> 
> Is it possible to (or how to) maintain a mysql database with the assured
> connections' time range?

You can do that easily with ulogd2. Just setup and use the following
stack and you will have what you want:
stack=ct1:NFCT,ip2bin1:IP2BIN,mysql2:MYSQL

BR,

> Something like: time ASSURE'd, time DESTROYed, and the 5'tuple IPs dst and
> src, ports dst and src and protocol.
> 
> Have you guys seem something like this?
> 
> This would be useful to point out which clients behind a NAT accessed in
> the last few days.
> 
> Regards
> Ethy
> --
> 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] 2+ messages in thread

end of thread, other threads:[~2012-11-07 17:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-07 17:11 conntrack mysql database. Plausible? Ethy H. Brito
2012-11-07 17:46 ` Eric Leblond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).