search for: actions_yara

Displaying 20 results from an estimated 31 matches for "actions_yara".

2017 Apr 23
11
[PATCH v7 0/7] Feature: Yara file scanning
...+ daemon/upload.c | 66 ++++--- daemon/yara.c | 313 +++++++++++++++++++++++++++++++ docs/guestfs-building.pod | 4 + generator/Makefile.am | 3 + generator/actions.ml | 6 +- generator/actions_yara.ml | 92 +++++++++ generator/actions_yara.mli | 22 +++ generator/proc_nr.ml | 3 + generator/structs.ml | 9 + gobject/Makefile.inc | 2 + java/Makefile.inc | 1 + java/com/red...
2017 Apr 25
8
[PATCH v9 0/7] Feature: Yara file scanning
...+ daemon/upload.c | 66 ++++--- daemon/yara.c | 315 +++++++++++++++++++++++++++++++ docs/guestfs-building.pod | 4 + generator/Makefile.am | 3 + generator/actions.ml | 6 +- generator/actions_yara.ml | 92 +++++++++ generator/actions_yara.mli | 22 +++ generator/proc_nr.ml | 3 + generator/structs.ml | 9 + gobject/Makefile.inc | 2 + java/Makefile.inc | 1 + java/com/red...
2017 Apr 06
0
[PATCH v6 6/7] New API: yara_scan
...mporary file and parses it, deserialising the XDR formatted yara_detection structs. It returns to the caller the list of yara_detection structs generated by the internal_yara_scan command. Signed-off-by: Matteo Cafasso <noxdafox@gmail.com> --- generator/actions.ml | 3 +- generator/actions_yara.ml | 28 ++++++++++ generator/actions_yara.mli | 1 + lib/Makefile.am | 1 + lib/yara.c | 127 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 159 insertions(+), 1 deletion(-) create mode 100644 lib/yara.c diff --git a/generator/actions.ml b/generat...
2017 Apr 04
0
[PATCH v5 6/7] New API: yara_scan
...mporary file and parses it, deserialising the XDR formatted yara_detection structs. It returns to the caller the list of yara_detection structs generated by the internal_yara_scan command. Signed-off-by: Matteo Cafasso <noxdafox@gmail.com> --- generator/actions.ml | 3 +- generator/actions_yara.ml | 20 +++++++ generator/actions_yara.mli | 1 + lib/Makefile.am | 1 + lib/yara.c | 127 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 151 insertions(+), 1 deletion(-) create mode 100644 lib/yara.c diff --git a/generator/actions.ml b/generator/...
2017 Apr 23
0
[PATCH v7 6/7] New API: yara_scan
...mporary file and parses it, deserialising the XDR formatted yara_detection structs. It returns to the caller the list of yara_detection structs generated by the internal_yara_scan command. Signed-off-by: Matteo Cafasso <noxdafox@gmail.com> --- generator/actions.ml | 3 +- generator/actions_yara.ml | 28 ++++++++++ generator/actions_yara.mli | 1 + lib/Makefile.am | 1 + lib/yara.c | 130 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 162 insertions(+), 1 deletion(-) create mode 100644 lib/yara.c diff --git a/generator/actions.ml b/generat...
2017 Apr 24
10
[PATCH v8 0/8] Feature: Yara file scanning
...+ daemon/upload.c | 72 ++++--- daemon/yara.c | 313 +++++++++++++++++++++++++++++++ docs/guestfs-building.pod | 4 + generator/Makefile.am | 3 + generator/actions.ml | 6 +- generator/actions_yara.ml | 92 +++++++++ generator/actions_yara.mli | 22 +++ generator/proc_nr.ml | 3 + generator/structs.ml | 9 + gobject/Makefile.inc | 2 + java/Makefile.inc | 1 + java/com/red...
2017 Apr 06
0
[PATCH v6 3/7] New API: yara_load
...noxdafox@gmail.com> --- daemon/Makefile.am | 1 + daemon/cleanups.c | 9 ++ daemon/cleanups.h | 2 + daemon/yara.c | 203 +++++++++++++++++++++++++++++++++++++++++++++ generator/Makefile.am | 3 + generator/actions.ml | 3 +- generator/actions_yara.ml | 48 +++++++++++ generator/actions_yara.mli | 21 +++++ generator/proc_nr.ml | 1 + lib/MAX_PROC_NR | 2 +- 10 files changed, 291 insertions(+), 2 deletions(-) create mode 100644 daemon/yara.c create mode 100644 generator/actions_yara.ml create mode 100644 generator/a...
2017 Apr 24
0
[PATCH v8 4/8] New API: yara_load
...noxdafox@gmail.com> --- daemon/Makefile.am | 1 + daemon/cleanups.c | 9 ++ daemon/cleanups.h | 2 + daemon/yara.c | 213 +++++++++++++++++++++++++++++++++++++++++++++ generator/Makefile.am | 3 + generator/actions.ml | 3 +- generator/actions_yara.ml | 48 ++++++++++ generator/actions_yara.mli | 21 +++++ generator/proc_nr.ml | 1 + lib/MAX_PROC_NR | 2 +- 10 files changed, 301 insertions(+), 2 deletions(-) create mode 100644 daemon/yara.c create mode 100644 generator/actions_yara.ml create mode 100644 generator/ac...
2017 Apr 04
13
[PATCH v5 0/7] Feature: Yara file scanning
v5: - rebase on top of 1.37.9 - add missing actions_yara.* files Matteo Cafasso (7): daemon: expose file upload logic appliance: add yara dependency New API: yara_load New API: yara_destroy New API: internal_yara_scan New API: yara_scan yara_scan: added API tests appliance/packagelist.in | 4 + configure.ac...
2017 Apr 06
14
[PATCH v6 0/7] Feature: Yara file scanning
...+ daemon/daemon.h | 3 + daemon/upload.c | 70 +++---- daemon/yara.c | 303 +++++++++++++++++++++++++++++++ generator/Makefile.am | 3 + generator/actions.ml | 6 +- generator/actions_yara.ml | 92 ++++++++++ generator/actions_yara.mli | 22 +++ generator/proc_nr.ml | 3 + generator/structs.ml | 9 + gobject/Makefile.inc | 2 + java/Makefile.inc | 1 + java/com/re...
2017 Apr 04
0
[PATCH v5 3/7] New API: yara_load
...noxdafox@gmail.com> --- daemon/Makefile.am | 1 + daemon/cleanups.c | 9 ++ daemon/cleanups.h | 2 + daemon/yara.c | 201 +++++++++++++++++++++++++++++++++++++++++++++ generator/Makefile.am | 3 + generator/actions.ml | 3 +- generator/actions_yara.ml | 43 ++++++++++ generator/actions_yara.mli | 21 +++++ generator/proc_nr.ml | 1 + gobject/Makefile.inc | 6 +- lib/MAX_PROC_NR | 2 +- 11 files changed, 288 insertions(+), 4 deletions(-) create mode 100644 daemon/yara.c create mode 100644 generator/actions_yar...
2017 Apr 06
0
[PATCH v6 4/7] New API: yara_destroy
The yara_destroy API allows to claim resources back via the removal of the previously loaded Yara rules. Signed-off-by: Matteo Cafasso <noxdafox@gmail.com> --- daemon/yara.c | 14 ++++++++++++++ generator/actions_yara.ml | 8 ++++++++ generator/proc_nr.ml | 1 + lib/MAX_PROC_NR | 2 +- 4 files changed, 24 insertions(+), 1 deletion(-) diff --git a/daemon/yara.c b/daemon/yara.c index 0d33d83cd..186a330c1 100644 --- a/daemon/yara.c +++ b/daemon/yara.c @@ -107,6 +107,20 @@ do_yara_load (void) r...
2017 Apr 24
0
[PATCH v8 6/8] New API: internal_yara_scan
...e file name and the rule identifier is returned. The gathered list of yara_detection structs is serialised into XDR format and written to a file. Signed-off-by: Matteo Cafasso <noxdafox@gmail.com> --- daemon/yara.c | 86 ++++++++++++++++++++++++++++++++ generator/actions_yara.ml | 8 +++ generator/proc_nr.ml | 1 + generator/structs.ml | 9 ++++ gobject/Makefile.inc | 2 + java/Makefile.inc | 1 + java/com/redhat/et/libguestfs/.gitignore | 1 + lib/MAX_PROC_NR...
2017 Apr 06
0
[PATCH v6 5/7] New API: internal_yara_scan
...e file name and the rule identifier is returned. The gathered list of yara_detection structs is serialised into XDR format and written to a file. Signed-off-by: Matteo Cafasso <noxdafox@gmail.com> --- daemon/yara.c | 86 ++++++++++++++++++++++++++++++++ generator/actions_yara.ml | 8 +++ generator/proc_nr.ml | 1 + generator/structs.ml | 9 ++++ gobject/Makefile.inc | 2 + java/Makefile.inc | 1 + java/com/redhat/et/libguestfs/.gitignore | 1 + lib/MAX_PROC_NR...
2017 Apr 04
0
[PATCH v5 5/7] New API: internal_yara_scan
...e file name and the rule identifier is returned. The gathered list of yara_detection structs is serialised into XDR format and written to a file. Signed-off-by: Matteo Cafasso <noxdafox@gmail.com> --- daemon/yara.c | 86 ++++++++++++++++++++++++++++++++ generator/actions_yara.ml | 8 +++ generator/proc_nr.ml | 1 + generator/structs.ml | 9 ++++ gobject/Makefile.inc | 2 + java/Makefile.inc | 1 + java/com/redhat/et/libguestfs/.gitignore | 1 + lib/MAX_PROC_NR...
2017 Apr 25
1
Re: [PATCH v8 4/8] New API: yara_load
...emon/Makefile.am | 1 + > daemon/cleanups.c | 9 ++ > daemon/cleanups.h | 2 + > daemon/yara.c | 213 +++++++++++++++++++++++++++++++++++++++++++++ > generator/Makefile.am | 3 + > generator/actions.ml | 3 +- > generator/actions_yara.ml | 48 ++++++++++ > generator/actions_yara.mli | 21 +++++ > generator/proc_nr.ml | 1 + > lib/MAX_PROC_NR | 2 +- > 10 files changed, 301 insertions(+), 2 deletions(-) > create mode 100644 daemon/yara.c > create mode 100644 generator/actions_yara.ml &g...
2017 Mar 12
0
[PATCH v4 3/7] New API: yara_load
...NOT_AVAILABLE + +#endif /* !HAVE_YARA */ diff --git a/generator/Makefile.am b/generator/Makefile.am index cb69fe831..0f7fc289b 100644 --- a/generator/Makefile.am +++ b/generator/Makefile.am @@ -43,6 +43,8 @@ sources = \ actions_properties_deprecated.mli \ actions_tsk.ml \ actions_tsk.mli \ + actions_yara.ml \ + actions_yara.mli \ bindtests.ml \ bindtests.mli \ c.ml \ @@ -130,6 +132,7 @@ objects = \ actions_properties.cmo \ actions_properties_deprecated.cmo \ actions_tsk.cmo \ + actions_yara.cmo \ actions.cmo \ structs.cmo \ fish_commands.cmo \ diff --git a/generator/actions.ml b/g...
2017 Mar 12
8
[PATCH v4 0/7] Feature: Yara file scanning
Rebase patches on top of 1.37.1. No changes since last series. Matteo Cafasso (7): daemon: expose file upload logic appliance: add yara dependency New API: yara_load New API: yara_destroy New API: internal_yara_scan New API: yara_scan yara_scan: added API tests appliance/packagelist.in | 4 + configure.ac | 1 + daemon/Makefile.am
2017 Aug 09
0
[PATCH v12 04/11] New API: Deprecate hivex_value_utf8 and replace with hivex_value_string.
...functions @ Actions_properties.non_daemon_functions @ @@ -51,6 +50,7 @@ let daemon_functions = Actions_core_deprecated.daemon_functions @ Actions_debug.daemon_functions @ Actions_hivex.daemon_functions @ + Actions_hivex_deprecated.daemon_functions @ Actions_tsk.daemon_functions @ Actions_yara.daemon_functions diff --git a/generator/actions_hivex.ml b/generator/actions_hivex.ml index 0a3d6dd20..6ccb65fa6 100644 --- a/generator/actions_hivex.ml +++ b/generator/actions_hivex.ml @@ -22,25 +22,6 @@ open Types (* Hivex APIs. *) -let non_daemon_functions = [ - { defaults with - name...
2017 Jun 27
3
[PATCH] libvirt: disallow non-local connections (RHBZ#1347830)
If the connection is not local, paths of disks will refer to the remote host, which were mistakenly handled as local paths (in the best case failing to open a non-existing disk, and in the worst case opening a different disk!). In case the disks are remote resources like ssh or ceph, nothing guarantees that the hostname can be reached from the local machine, or even that it is actually the same on