[Bro] Upgrade from 2.4 to 2.5

Carl Rotenan carlrotenan at gmail.com
Thu Apr 19 13:52:43 PDT 2018


Thanks Jon, and everyone else that responded.

Can you offer suggestions on a fix for:

local ftp = FTP::get_ftp_info(c);



I looked in the release notes / doc and didn't find any mention of it going
away.

Thanks again.

On Thu, Apr 19, 2018 at 11:00 AM, Jon Siwek <jsiwek at corelight.com> wrote:

>
>
> On 4/18/18 6:57 PM, Carl Rotenan wrote:
>
>> Hello.
>>
>> I'm upgrading an install from 2.4 to the latest.
>>
>> Did this ability go away in 2.5:
>>
>>   write_file(fileh, fmt("filename: %s \r\n", c$http?$filename ?
>> c$http$filename : "uninitialized"));
>>
>> Specifically the c$http?$filename.
>>
>
> Yes, c$http$filename went away (specifically the 'filename' field of the
> HTTP::Info record no longer exists).
>
> Take a look at [1] for the fields that are currently available.  You might
> want to use some of these as replacement:
>
> * c$http$current_entity$filename
>
> * c$http$orig_filenames
>
> * c$http$resp_filenames
>
> Is there a list I can reference of thing that may have been deprecated?
>>
>
> There's guidance at [2], which is generally derived from the contents of
> the NEWS file inside the Bro source tree.
>
> - Jon
>
> [1] https://www.bro.org/sphinx/scripts/base/protocols/http/main.
> bro.html#type-HTTP::Info
>
> [2] https://www.bro.org/sphinx/install/upgrade.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20180419/2dc95025/attachment.html 


More information about the Bro mailing list