Commit Graph

922 Commits (aa31d2193f38248ff5fa253010571bb77e0c374c)

Author SHA1 Message Date
Jason Ish 2aebfbce94 rust/dns: support txt records 8 years ago
Jason Ish 33e09a0002 rust dns: fixup for nom 3.0 9 years ago
Victor Julien 098aced714 rust/nfs/files: no longer Option/Box 9 years ago
Victor Julien 75a6a13790 rust/nfs: move files into tx type data 9 years ago
Victor Julien de7e0614fa rust/nfs: add more record types 9 years ago
Victor Julien d6592211d0 rust/nfs: NFSv3 parser, logger and detection 9 years ago
Victor Julien 71ddc43d49 rust/core: add file tx API call 9 years ago
Victor Julien 9a1fa5f1f4 rust: filetracker API
Initial version of a filetracker API that depends on the filecontainer
and wraps around the Suricata File API in C.

The API expects chunk based transfers where chunks can be out of order.
9 years ago
Victor Julien a809f090d3 rust: filecontainer API
Wrapper around Suricata's File and FileContainer API. Built around
assumption that a rust owned structure will have a
'SuricataFileContainer' member that is managed by the C-side of
things.
9 years ago
Victor Julien f47fd2c243 rust/json: expose json_boolean 9 years ago
Jason Ish ba1a67e2cb rust: dns: add log filtering on rrtype
While the filtering is still configured in C, the filtering
flags are passed into Rust so it can determine if a record
should be logged or not.
9 years ago
Jason Ish c54fc7f98f rust: use LoggerFlags type to track logged state 9 years ago
Jason Ish b588b49779 rust: lua support for DNS based Rust
Uses Rust wrappers around Lua to populate Lua
data structures.
9 years ago
Jason Ish 9d687025e2 rust: lua wrapper
Rust wrapper for working with lua state.
9 years ago
Jason Ish 73388042b2 rust: DNS app-layer.
A DNS application layer in Rust. This is different than the
C based one, as it is partially stateless by not matching
up responses to replies.
9 years ago
Jason Ish 9449739dd5 rust: dns: nom DNS parsers 9 years ago
Jason Ish 94032d3ada rust: wrapper around C logging, and "context"
Where the context is a struct passed from C with pointers
to all the functions that may be called.

Instead of referencing C functions directly, wrap them
in function pointers so pure Rust unit tests can still run.
9 years ago
Jason Ish e739fa1477 rust: add libjansson wrapper for rust 9 years ago
Jason Ish f6f126d53d rust: example of how an app-layer may be initialized
Also shows basic usage of the configuration API from Rust.
9 years ago
Jason Ish 949b358b80 rust: stub out configuration access functions 9 years ago
Jason Ish de5bb1f953 rust: stub out logging from rust 9 years ago
Jason Ish cf0b9dd45f rust: add rust skeleton tree 9 years ago