[Bro] Enhancing/Redefing records and Overloading functions

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


Hi,

is it possible to enhance or to redef records that are allready definied 
in some policy scripts?

Just to give you some more context: I tried to add some optional fields to 
the http_message record (defined in http.bro) :

         cookie: string &optional;      # Cookie set in http request
         setcookie: string &optional;   # Cookie to set from http reply

Is there anyway to do this without changing the original policy scripts.

Another interessting question would be if there is some way of overloading 
functions in policy scripts?

    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