Project

General

Profile

Actions

Optimization #4145

closed

Task #4143: tracking: file.data improvements

file keywords: unify keyword registration

Added by Victor Julien over 3 years ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

Currently all the keywords inspecting the File structures are manually registered for each protocol. This seems unnecessary, as at protocol registration time we know which protocols support files.

Update registration to automatically support all file related keywords for protocols supporting files.

This includes: file.data, file.name, file hash keywords, file.magic, and the legacy filename, fileext, filemagic.

Actions #1

Updated by Victor Julien over 1 year ago

  • Target version changed from 7.0.0-beta1 to 7.0.0-rc1
Actions #2

Updated by Victor Julien over 1 year ago

  • Target version changed from 7.0.0-rc1 to 8.0.0-beta1
Actions #3

Updated by Philippe Antoine 9 months ago

There is also filesize keyword

Actions #4

Updated by Philippe Antoine 9 months ago

@Jeff Lucovsky has this been solved by commit e75956717d6a90abeccd51a8c71bf0b3ea8a9e8b ?

Actions #5

Updated by Jeff Lucovsky 9 months ago

The goal is to remove the special handling in detect-file-data.c for http1 objects.

Actions #6

Updated by Victor Julien 8 months ago

  • Status changed from Assigned to Closed
  • Target version changed from 8.0.0-beta1 to 7.0.0
Actions

Also available in: Atom PDF