]> git.ipfire.org Git - thirdparty/suricata.git/log
thirdparty/suricata.git
6 years agorust/snmp: fix libc deprecation warnings for int types 3926/head
Pierre Chifflier [Thu, 6 Jun 2019 08:24:20 +0000 (10:24 +0200)] 
rust/snmp: fix libc deprecation warnings for int types

6 years agorust/snmp: use snake_case when logging PDU types
Pierre Chifflier [Thu, 6 Jun 2019 08:06:03 +0000 (10:06 +0200)] 
rust/snmp: use snake_case when logging PDU types

6 years agosnmp: fix 'defined but not used' warning
Victor Julien [Thu, 23 May 2019 04:49:23 +0000 (06:49 +0200)] 
snmp: fix 'defined but not used' warning

Remove HAVE_RUST guards as well.

6 years agosnmp.version: move unittests to tests/
Pierre Chifflier [Wed, 22 May 2019 14:59:55 +0000 (16:59 +0200)] 
snmp.version: move unittests to tests/

6 years agosnmp.pdu_type: move unittests to tests/
Pierre Chifflier [Wed, 22 May 2019 14:55:59 +0000 (16:55 +0200)] 
snmp.pdu_type: move unittests to tests/

6 years agosnmp.community: move unittests to tests/
Pierre Chifflier [Wed, 22 May 2019 12:45:21 +0000 (14:45 +0200)] 
snmp.community: move unittests to tests/

6 years agodetect/snmp: convert snmp.community keyword to v2, and MPM
Pierre Chifflier [Wed, 22 May 2019 12:38:34 +0000 (14:38 +0200)] 
detect/snmp: convert snmp.community keyword to v2, and MPM

6 years agorust/snmp: fix missing IPPROTO_* declarations (use core)
Pierre Chifflier [Tue, 21 May 2019 19:10:02 +0000 (21:10 +0200)] 
rust/snmp: fix missing IPPROTO_* declarations (use core)

6 years agodetect/snmp: rename keywords to snmp.<name>, and make rust mandatory
Pierre Chifflier [Mon, 13 May 2019 12:14:48 +0000 (14:14 +0200)] 
detect/snmp: rename keywords to snmp.<name>, and make rust mandatory

6 years agorust/snmp: fix selection of v1/v2c parser
Pierre Chifflier [Thu, 14 Feb 2019 16:11:50 +0000 (17:11 +0100)] 
rust/snmp: fix selection of v1/v2c parser

6 years agoSNMP: add the "snmp.pdu_type" detection keyword
Pierre Chifflier [Tue, 11 Dec 2018 16:21:44 +0000 (17:21 +0100)] 
SNMP: add the "snmp.pdu_type" detection keyword

6 years agoSNMP: add the "snmp.community" detection keyword
Pierre Chifflier [Tue, 11 Dec 2018 07:54:17 +0000 (08:54 +0100)] 
SNMP: add the "snmp.community" detection keyword

6 years agoSNMP: add the "snmp.version" detection keyword
Pierre Chifflier [Mon, 10 Dec 2018 12:48:00 +0000 (13:48 +0100)] 
SNMP: add the "snmp.version" detection keyword

6 years agoSNMP: add missing case for profiling enum
Pierre Chifflier [Wed, 5 Dec 2018 08:46:16 +0000 (09:46 +0100)] 
SNMP: add missing case for profiling enum

6 years agoSNMP: use explicit references to support build with old rust compiler
Pierre Chifflier [Tue, 4 Dec 2018 16:40:28 +0000 (17:40 +0100)] 
SNMP: use explicit references to support build with old rust compiler

6 years agoSNMP: start looking for transactions from end of list
Pierre Chifflier [Mon, 8 Oct 2018 08:37:01 +0000 (10:37 +0200)] 
SNMP: start looking for transactions from end of list

6 years agoSNMP: add logger
Pierre Chifflier [Mon, 8 Oct 2018 08:36:39 +0000 (10:36 +0200)] 
SNMP: add logger

6 years agoAdd SNMP (v1/v2c/v3) application layer
Pierre Chifflier [Wed, 8 Aug 2018 13:35:31 +0000 (15:35 +0200)] 
Add SNMP (v1/v2c/v3) application layer

6 years agoRust: expose function AppLayerParserRegisterGetTxIterator
Pierre Chifflier [Sat, 21 Apr 2018 14:05:33 +0000 (16:05 +0200)] 
Rust: expose function AppLayerParserRegisterGetTxIterator

6 years agorust: fix warnings about wrong type of comments 3906/head
Victor Julien [Mon, 3 Jun 2019 07:47:23 +0000 (09:47 +0200)] 
rust: fix warnings about wrong type of comments

"rustdoc does not generate documentation for macro expansions"

6 years agorust: fix libc deprecation warnings for int types
Victor Julien [Mon, 3 Jun 2019 07:40:57 +0000 (09:40 +0200)] 
rust: fix libc deprecation warnings for int types

6 years agoikev2: clean up c glue code
Victor Julien [Fri, 31 May 2019 12:10:46 +0000 (14:10 +0200)] 
ikev2: clean up c glue code

6 years agotftp: c glue code cleanup
Victor Julien [Thu, 30 May 2019 19:54:28 +0000 (21:54 +0200)] 
tftp: c glue code cleanup

6 years agoikev2: remove excess new lines
Victor Julien [Thu, 30 May 2019 18:21:01 +0000 (20:21 +0200)] 
ikev2: remove excess new lines

6 years agotftp: properly implement tx handling
Victor Julien [Thu, 30 May 2019 18:20:33 +0000 (20:20 +0200)] 
tftp: properly implement tx handling

6 years agooutput: get rid of BUG_ONs
Victor Julien [Thu, 30 May 2019 08:24:10 +0000 (10:24 +0200)] 
output: get rid of BUG_ONs

6 years agopool: don't call Cleanup after failed Init 3898/head
Victor Julien [Tue, 28 May 2019 13:45:37 +0000 (15:45 +0200)] 
pool: don't call Cleanup after failed Init

Stream reassembly memcap is regulated by the Init and Cleanup
callbacks. If Init fails due to memcap reached, Cleanup had no
way of knowing and it would decrease the memcap even if it hadn't
been increased by Init. This could lead to too much memory use and
memcap counter underflow.

This patch fixes the issue by not calling Cleanup in this case. It's
fair to see a failed Init the responsibility of Init.

6 years agopool/thread: clean up tests
Victor Julien [Tue, 28 May 2019 13:32:27 +0000 (15:32 +0200)] 
pool/thread: clean up tests

6 years agopool/thread: remove old grow function
Victor Julien [Tue, 28 May 2019 13:21:25 +0000 (15:21 +0200)] 
pool/thread: remove old grow function

6 years agostream: simplify segment and ssn pool inits
Victor Julien [Tue, 28 May 2019 13:16:50 +0000 (15:16 +0200)] 
stream: simplify segment and ssn pool inits

6 years agopool/thread: introduce simpler way to grow thread pool
Victor Julien [Tue, 28 May 2019 13:14:20 +0000 (15:14 +0200)] 
pool/thread: introduce simpler way to grow thread pool

6 years agopool/thread: minor code cleanups
Victor Julien [Tue, 28 May 2019 13:01:41 +0000 (15:01 +0200)] 
pool/thread: minor code cleanups

6 years agoapp-layer: minor cleanups
Victor Julien [Mon, 27 May 2019 19:47:04 +0000 (21:47 +0200)] 
app-layer: minor cleanups

6 years agocapture: check for flow packets on capture timeout
Victor Julien [Mon, 27 May 2019 13:46:18 +0000 (15:46 +0200)] 
capture: check for flow packets on capture timeout

The capture threads can receive packets from the flow manager in their
Threadvars::stream_pq packet queue. This mechanism makes sure the packets
the flow manager injects into the engine are processed by the correct
worker thread.

If the capture thread(s) would not receive packets for a long time, the
Threadvars::stream_pq would not be checked and processed. This could
lead to packet pool depletion in the flow manager. It would also lead
to flows not being timed out/logged until either packets started flowing
again or until the engine was shut down.

The scenario is more likely to happen in a test (e.g. replay) but could
also delay logging on low traffic sensors.

6 years agoapp-layer: mandatory tx registration checks
Victor Julien [Sun, 26 May 2019 19:09:05 +0000 (21:09 +0200)] 
app-layer: mandatory tx registration checks

All protocols now implement the TX API, so the runtime checks for
whether or not a protocol supports the TX API can be removed.

6 years agoapp-layer: make tests tx aware
Victor Julien [Mon, 27 May 2019 07:46:41 +0000 (09:46 +0200)] 
app-layer: make tests tx aware

Make tests minimally TX-aware so we can asume all parsers use
the tx API.

6 years agossh: test cleanup
Victor Julien [Mon, 27 May 2019 07:38:55 +0000 (09:38 +0200)] 
ssh: test cleanup

Remove explicit locks. Set ALPROTO_SSH in all tests.

6 years agopacketpool: move return stack to pool earlier
Victor Julien [Sat, 25 May 2019 18:56:27 +0000 (20:56 +0200)] 
packetpool: move return stack to pool earlier

If waiting for N packets move the return stack to the main
stack every time we take the return stack lock.

Make sure we consider enough packets when setting the pending pool
flush logic. This should at least make sure to have the 9 packets
the flow manager requires per run.

6 years agodetect/content: clean up logging output 3896/head
jason taylor [Wed, 15 May 2019 18:03:29 +0000 (14:03 -0400)] 
detect/content: clean up logging output

Signed-off-by: jason taylor <jtfas90@gmail.com>
6 years agosuricatasc: fix reconnect
Eric Leblond [Mon, 27 May 2019 09:12:10 +0000 (11:12 +0200)] 
suricatasc: fix reconnect

6 years agodoc: http keyword update
Jeff Lucovsky [Wed, 22 May 2019 23:34:32 +0000 (16:34 -0700)] 
doc: http keyword update

This changeset updates the keyword type for http.location and http.server

6 years agodetect/analyzer Add missing HTTP values
Jeff Lucovsky [Tue, 21 May 2019 23:52:41 +0000 (16:52 -0700)] 
detect/analyzer Add missing HTTP values

This changeset adds recognition of missing HTTP values
- Raw host
- Header names
- Server body
- User agent

6 years agosignature: fix memory leak in DetectBytejumpSetup
Philippe Antoine [Mon, 20 May 2019 08:06:25 +0000 (10:06 +0200)] 
signature: fix memory leak in DetectBytejumpSetup

6 years agohttp: adds an event for double encoded uri
Philippe Antoine [Fri, 17 May 2019 11:16:27 +0000 (13:16 +0200)] 
http: adds an event for double encoded uri

6 years agohttp: fixes double-encode configuration keywords
Philippe Antoine [Fri, 17 May 2019 11:08:26 +0000 (13:08 +0200)] 
http: fixes double-encode configuration keywords

6 years agotravis: move checks into script
Victor Julien [Tue, 21 May 2019 09:37:29 +0000 (11:37 +0200)] 
travis: move checks into script

This makes error handling easier and more robust:
https://docs.travis-ci.com/user/job-lifecycle#complex-build-commands

6 years agotravis: add sphinx to trigger doc build
Victor Julien [Tue, 21 May 2019 08:08:19 +0000 (10:08 +0200)] 
travis: add sphinx to trigger doc build

6 years agoja3s-string: move unittests to tests/ 3874/head
Mats Klepsland [Mon, 13 May 2019 11:32:11 +0000 (13:32 +0200)] 
ja3s-string: move unittests to tests/

6 years agoja3s-hash: move unittests to tests/
Mats Klepsland [Mon, 13 May 2019 11:27:35 +0000 (13:27 +0200)] 
ja3s-hash: move unittests to tests/

6 years agouserguide: add documentation for ja3s.string keyword
Mats Klepsland [Fri, 16 Nov 2018 17:50:58 +0000 (18:50 +0100)] 
userguide: add documentation for ja3s.string keyword

6 years agodetect: add (mpm) keyword ja3s.string
Mats Klepsland [Fri, 16 Nov 2018 17:45:01 +0000 (18:45 +0100)] 
detect: add (mpm) keyword ja3s.string

Match on JA3S string using ja3s.string keyword, e.g:

  alert tls any any -> any any (msg:"ja3s.string test";
      ja3s.string; content:"10-11-12"; sid:1;)

6 years agouserguide: add documentation for ja3s.hash keyword
Mats Klepsland [Thu, 15 Nov 2018 22:42:45 +0000 (23:42 +0100)] 
userguide: add documentation for ja3s.hash keyword

6 years agodetect: add (mpm) keyword ja3s.hash
Mats Klepsland [Thu, 15 Nov 2018 22:36:28 +0000 (23:36 +0100)] 
detect: add (mpm) keyword ja3s.hash

Match on JA3S hash using ja3s.hash keyword, e.g:

  alert tls any any -> any any (msg:"ja3s.hash test";
      ja3s.hash; content:"b26c652e0a402a24b5ca2a660e84f9d5"; sid:1;)

6 years agouserguide: add documentation for Ja3SGetString Lua function
Mats Klepsland [Thu, 15 Nov 2018 22:04:20 +0000 (23:04 +0100)] 
userguide: add documentation for Ja3SGetString Lua function

6 years agolua: add Ja3SGetString function
Mats Klepsland [Thu, 15 Nov 2018 22:01:42 +0000 (23:01 +0100)] 
lua: add Ja3SGetString function

Add Ja3SGetString() to return the content of the JA3S string buffer from
the TLS session.

Example:

  function init (args)
      local needs = {}
      needs["protocol"] = "tls"
      return needs
  end

  function setup (args)
      filename = SCLogPath() .. "/ja3s_string.log"
      file = assert(io.open(filename, "a"))
  end

  function log (args)
      ja3s_string = Ja3SGetString()
      if ja3s_string == nil then
          return
      end

      file:write(ja3s_string .. "\n")
      file:flush()
  end

  function deinit (args)
      file:close()
  end

6 years agouserguide: add documentation for JA3SGetHash Lua function
Mats Klepsland [Thu, 15 Nov 2018 21:58:39 +0000 (22:58 +0100)] 
userguide: add documentation for JA3SGetHash Lua function

6 years agolua: add Ja3SGetHash function
Mats Klepsland [Thu, 15 Nov 2018 21:50:57 +0000 (22:50 +0100)] 
lua: add Ja3SGetHash function

Add Ja3SGetHash() to return the content of the JA3S hash buffer from
the TLS session.

Example:

  function init (args)
      local needs = {}
      needs["protocol"] = "tls"
      return needs
  end

  function setup (args)
      filename = SCLogPath() .. "/ja3s_hash.log"
      file = assert(io.open(filename, "a"))
  end

  function log (args)
      ja3s_hash = Ja3SGetHash()
      if ja3s_hash == nil then
          return
      end

      file:write(ja3s_hash .. "\n")
      file:flush()
  end

  function deinit (args)
      file:close()
  end

In the example above, each JA3S hash is logged to a log file.

6 years agouserguide: add JA3S fields to the TLS logger documentation
Mats Klepsland [Thu, 15 Nov 2018 21:44:59 +0000 (22:44 +0100)] 
userguide: add JA3S fields to the TLS logger documentation

6 years agoeve: add JA3S field to TLS JSON logger
Mats Klepsland [Thu, 15 Nov 2018 21:41:44 +0000 (22:41 +0100)] 
eve: add JA3S field to TLS JSON logger

Add JA3S object to TLS JSON logger (extended log).

6 years agoapp-layer-ssl: generate JA3S fingerprints
Mats Klepsland [Thu, 15 Nov 2018 18:49:11 +0000 (19:49 +0100)] 
app-layer-ssl: generate JA3S fingerprints

Generate JA3S fingerprints based on fields in the ServerHello record.

6 years agoBug #2965: fix NFQ arguments parsing 3868/head
Alexander Gozman [Mon, 6 May 2019 16:10:52 +0000 (19:10 +0300)] 
Bug #2965: fix NFQ arguments parsing

6 years agoaf-packet: fix setting block_timeout value through afpconfig
Andreas Herz [Wed, 8 May 2019 11:10:42 +0000 (13:10 +0200)] 
af-packet: fix setting block_timeout value through afpconfig

6 years agodoc: Anomaly logging documentation
Jeff Lucovsky [Wed, 8 May 2019 22:40:05 +0000 (15:40 -0700)] 
doc: Anomaly logging documentation

This changeset adds discussion of anomaly log records and
the anomaly log record format.

6 years agodetect/analyzer: Improve warning message
Jeff Lucovsky [Thu, 9 May 2019 23:11:32 +0000 (16:11 -0700)] 
detect/analyzer: Improve warning message

This changeset modifies the warning printed when a rule
is determined to detect in both directions.

6 years agoaf-packet: remove rollover reference
Eric Leblond [Sat, 11 May 2019 08:23:14 +0000 (10:23 +0200)] 
af-packet: remove rollover reference

This patch removes reference to rollover in the configuration file
and add warnings when it is used.

6 years agosignature: fix overflow in parsing
Philippe Antoine [Fri, 17 May 2019 13:33:53 +0000 (15:33 +0200)] 
signature: fix overflow in parsing

6 years agohttp: adds events for each libhtp log
Philippe Antoine [Tue, 14 May 2019 07:33:29 +0000 (09:33 +0200)] 
http: adds events for each libhtp log

Fixes #997

6 years agodetect-ssl-version: move unittests to tests/
Mats Klepsland [Tue, 14 May 2019 13:46:40 +0000 (15:46 +0200)] 
detect-ssl-version: move unittests to tests/

6 years agodetect-ssl-state: move unittests to tests/
Mats Klepsland [Tue, 14 May 2019 13:42:33 +0000 (15:42 +0200)] 
detect-ssl-state: move unittests to tests/

6 years agodetect-tls-version: move unittests to tests/
Mats Klepsland [Tue, 14 May 2019 13:38:45 +0000 (15:38 +0200)] 
detect-tls-version: move unittests to tests/

6 years agodetect-tls-cert-validity: move unittests to tests/
Mats Klepsland [Tue, 14 May 2019 12:28:30 +0000 (14:28 +0200)] 
detect-tls-cert-validity: move unittests to tests/

6 years agodetect-tls-sni: move unittests to tests/
Mats Klepsland [Tue, 14 May 2019 11:54:36 +0000 (13:54 +0200)] 
detect-tls-sni: move unittests to tests/

6 years agodetect-tls-ja3-string: move unittests to tests/
Mats Klepsland [Tue, 14 May 2019 11:35:04 +0000 (13:35 +0200)] 
detect-tls-ja3-string: move unittests to tests/

6 years agodetect-tls-ja3-hash: move unittests to tests/
Mats Klepsland [Tue, 14 May 2019 11:28:22 +0000 (13:28 +0200)] 
detect-tls-ja3-hash: move unittests to tests/

6 years agodetect-tls-cert-subject: move unittests to tests/
Mats Klepsland [Tue, 14 May 2019 11:22:46 +0000 (13:22 +0200)] 
detect-tls-cert-subject: move unittests to tests/

6 years agodetect-tls-cert-serial: move unittests to tests/
Mats Klepsland [Tue, 14 May 2019 11:19:36 +0000 (13:19 +0200)] 
detect-tls-cert-serial: move unittests to tests/

6 years agodetect-tls-cert-issuer: move unittests to tests/
Mats Klepsland [Tue, 14 May 2019 11:15:35 +0000 (13:15 +0200)] 
detect-tls-cert-issuer: move unittests to tests/

6 years agodetect-tls-cert-fingerprint: move unittests to tests/
Mats Klepsland [Tue, 14 May 2019 09:26:11 +0000 (11:26 +0200)] 
detect-tls-cert-fingerprint: move unittests to tests/

6 years agodetect-tls: tidy up unittests
Mats Klepsland [Tue, 14 May 2019 07:25:57 +0000 (09:25 +0200)] 
detect-tls: tidy up unittests

By doing the following:
- removing unnecessary locks
- moving variable declarations
- removing redundant function 'SigCleanSignatures'

6 years agoja3: check if JA3 is disabled on one line
Mats Klepsland [Tue, 14 May 2019 06:49:28 +0000 (08:49 +0200)] 
ja3: check if JA3 is disabled on one line

6 years agodetect-tls: remove NULL settings from keyword registration
Mats Klepsland [Tue, 14 May 2019 06:44:19 +0000 (08:44 +0200)] 
detect-tls: remove NULL settings from keyword registration

6 years agodetect-tls: declare ssl_state as const in GetData()
Mats Klepsland [Tue, 14 May 2019 06:35:42 +0000 (08:35 +0200)] 
detect-tls: declare ssl_state as const in GetData()

6 years agodetect-tls: check return values of functions on setup
Mats Klepsland [Tue, 14 May 2019 06:12:47 +0000 (08:12 +0200)] 
detect-tls: check return values of functions on setup

Check the return values of DetectBufferSetActiveList() and
DetectSignatureSetAppProto().

6 years agodetect-tls: remove confusing underscores from variables
Mats Klepsland [Tue, 14 May 2019 05:54:03 +0000 (07:54 +0200)] 
detect-tls: remove confusing underscores from variables

Remove confusing underscore prefix from variables in GetData() for
all tls keywords.

6 years agouserguide: 'sticky' instead of 'Sticky' for all tls keywords
Mats Klepsland [Tue, 14 May 2019 05:42:16 +0000 (07:42 +0200)] 
userguide: 'sticky' instead of 'Sticky' for all tls keywords

6 years agoapp-layer-ftp: Potential memory leak fixed 3864/head
Jeff Lucovsky [Sat, 11 May 2019 17:59:16 +0000 (10:59 -0700)] 
app-layer-ftp: Potential memory leak fixed

Ensure that when handling failures during STOR command
processing, that all memory is freed on the error path.

6 years agouserguide: add documentation for tls.certs keyword 3859/head
Mats Klepsland [Tue, 13 Nov 2018 23:38:56 +0000 (00:38 +0100)] 
userguide: add documentation for tls.certs keyword

6 years agodetect: add tls.certs keyword
Mats Klepsland [Tue, 13 Nov 2018 23:31:08 +0000 (00:31 +0100)] 
detect: add tls.certs keyword

Add keyword to do "raw" matching on each of the certificates in the
TLS certificate sticky buffer.

Example:
  alert tls any any -> any any (msg:"tls.certs test"; tls.certs; \
          content:"|01 02 03 04|"; sid:1;)

6 years agodetect/ssh: fix ssh.protoversion memory leak
Victor Julien [Thu, 9 May 2019 10:11:29 +0000 (12:11 +0200)] 
detect/ssh: fix ssh.protoversion memory leak

6 years agodetect/ssh: mark old ssh keywords as deprecated
Victor Julien [Thu, 9 May 2019 10:06:50 +0000 (12:06 +0200)] 
detect/ssh: mark old ssh keywords as deprecated

6 years agodetect/parse: add flag to indicate keyword is deprecated
Victor Julien [Thu, 9 May 2019 10:06:08 +0000 (12:06 +0200)] 
detect/parse: add flag to indicate keyword is deprecated

Issue warning when it is still used.

6 years agodetect/nfs.version: minor cleanups
Victor Julien [Wed, 8 May 2019 14:50:04 +0000 (16:50 +0200)] 
detect/nfs.version: minor cleanups

6 years agodetect/nfs: add nfs.version
Victor Julien [Wed, 8 May 2019 14:49:47 +0000 (16:49 +0200)] 
detect/nfs: add nfs.version

6 years agodetect/dcerpc: add dcerpc.iface
Victor Julien [Tue, 7 May 2019 19:07:52 +0000 (21:07 +0200)] 
detect/dcerpc: add dcerpc.iface

Keep dce_iface as an alias.

6 years agodetect/dcerpc.opnum: minor code cleanups
Victor Julien [Tue, 7 May 2019 18:52:35 +0000 (20:52 +0200)] 
detect/dcerpc.opnum: minor code cleanups

6 years agodetect/dcerpc: add dcerpc.opnum as new name for dce_opnum
Victor Julien [Tue, 7 May 2019 18:52:15 +0000 (20:52 +0200)] 
detect/dcerpc: add dcerpc.opnum as new name for dce_opnum

6 years agoeve/logging: disable anomaly logging by default 3836/head
Jeff Lucovsky [Sat, 4 May 2019 14:55:50 +0000 (07:55 -0700)] 
eve/logging: disable anomaly logging by default

Disable anomaly logging by default. Networks with excessive issues may
experience packet processing degradation.

6 years agohttp: adds event for header repetition 3833/head
Philippe Antoine [Mon, 6 May 2019 10:38:17 +0000 (12:38 +0200)] 
http: adds event for header repetition

6 years agofilestore: remove jansson ifdefs
Jason Ish [Sat, 4 May 2019 14:03:52 +0000 (08:03 -0600)] 
filestore: remove jansson ifdefs

Jansson is now required.

6 years agoeve/file: remove rust and jansson ifdefs.
Jason Ish [Sat, 4 May 2019 14:03:22 +0000 (08:03 -0600)] 
eve/file: remove rust and jansson ifdefs.

Both Rust and Jansson are required now.