[Bro] How to construct constant "time" values

Fabian Schneider fabian at net.t-labs.tu-berlin.de
Mon Oct 1 06:27:46 PDT 2007


Hi,

I am curious how it is possible to constuct some constant value x that 
make the following line valid:

have_request ? network_time() : x

apparently all the forms 0 sec, 0 s, 0sec, 0secs, 0 secs, etc do not work, 
because they are interpreted as intervals and not times.

The wiki didn't yield any solution, because the Section:
http://www.bro-ids.org/wiki/index.php/Reference_Manual:_Predefined_Variables_and_Functions#Functions_for_manipulating_time
is empty.

    bye
    Fabian

--
Fabian Schneider, An-Institut Deutsche Telekom Laboratories
Technische Universität Berlin, Fakultät IV -- Elektrotechnik und Informatik
address: Sekr. TEL 4, FG INET, Ernst-Reuter-Platz 7, 10587 Berlin
e-mail: fabian at net.t-labs.tu-berlin.de, WWW: http://www.net.in.tum.de/~schneifa
phone: +49 30 8353 - 58513, mobile: +49 160 479 43 97


More information about the Bro mailing list