Forum Discussion

jacques_pouyaud's avatar
jacques_pouyaud
Historic F5 Account
Aug 29, 2006

how to have timestamp

Hi,

 

 

I need to store timestamp in an array. Thoose timestamp would be the BigIP time NTP when I've received the TCP SYN/SYN ACK /ACK.

 

 

How can I achieved this ?

 

 

  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    Something like this would work, although I'd be wary of building such a huge array as to cause memory exhaustion:
    when RULE_INIT {
      array set ::myArray { }
    }
    when CLIENT_ACCEPTED {
      set ::myArray([IP::client_addr]) [clock seconds]
    }
    HTH

    /deb