Project

General

Profile

Actions

Optimization #4145

closed
VJ JL

Task #4143: tracking: file.data improvements

file keywords: unify keyword registration

Optimization #4145: file keywords: unify keyword registration

Added by Victor Julien over 5 years ago. Updated over 2 years 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.

VJ Updated by Victor Julien over 3 years ago Actions #1

  • Target version changed from 7.0.0-beta1 to 7.0.0-rc1

VJ Updated by Victor Julien over 3 years ago Actions #2

  • Target version changed from 7.0.0-rc1 to 8.0.0-beta1

PA Updated by Philippe Antoine almost 3 years ago Actions #3

There is also filesize keyword

PA Updated by Philippe Antoine almost 3 years ago Actions #4

@Jeff Lucovsky has this been solved by commit e75956717d6a90abeccd51a8c71bf0b3ea8a9e8b ?

JL Updated by Jeff Lucovsky almost 3 years ago Actions #5

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

VJ Updated by Victor Julien over 2 years ago Actions #6

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

Also available in: PDF Atom