Linux Netfilter discussions
 help / color / mirror / Atom feed
* how to got  lasting time about one connection from iptable log?
@ 2003-06-04  2:51 gbj
  2003-06-04 10:49 ` Julian Gomez
  0 siblings, 1 reply; 2+ messages in thread
From: gbj @ 2003-06-04  2:51 UTC (permalink / raw)
  To: netfilter, netfilter

When open iptables's log file,we can got some messages like this:
 time                      in   pro    src         spt      dest        dpt
Jun 02 07:59:30   ACCEPT  eth0  tcp  192.168.6.26  4269  64.215.164.33  80  
Jun 02 07:59:31   ACCEPT  eth0  tcp  192.168.6.26  4269  64.215.164.33  80  
Jun 02 07:59:31   ACCEPT  eth0  tcp  192.168.6.26  4269  64.215.164.33  80  
Jun 02 07:59:31   ACCEPT  eth0  tcp  192.168.6.26  4269  64.215.164.33  80  
Jun 02 07:59:31   ACCEPT  eth0  tcp  192.168.6.26  4278  64.215.164.33  80  
Jun 02 07:59:32   ACCEPT  eth0  tcp  192.168.6.26  4278  64.215.164.33  80  
Jun 02 07:59:32   ACCEPT  eth0  tcp  192.168.6.26  4278  64.215.164.33  80  

but in fact, this connection information perhaps belonge to one connection,I want to know how to combine 
this information to one connection message and got the duration time of the connection,just like this:
        start  time        duration       src         spt     dest       dtp

    Jun 02 07:59:30        128         192.168.6.26  4269  64.215.164.33  80 


Thanx U all!





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

end of thread, other threads:[~2003-06-04 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-04  2:51 how to got lasting time about one connection from iptable log? gbj
2003-06-04 10:49 ` Julian Gomez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox