]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust/dhcp: Rust based DHCP decoder and logger.
authorJason Ish <ish@unx.ca>
Tue, 8 May 2018 23:49:52 +0000 (17:49 -0600)
committerJason Ish <ish@unx.ca>
Sat, 16 Jun 2018 12:42:28 +0000 (06:42 -0600)
commit9210d8743bef65fee0d6ef0a07368e42d3c48f65
tree2b3c62fe252e7fa89dac6549a10d8a9869327103
parent1b0b74dc1610bf27a035acb878e416fc61fdf81f
rust/dhcp: Rust based DHCP decoder and logger.

This is a DHCP decoder and logger written in Rust. Unlike most
parsers, this one is stateless so responses are not matched
up to requests by Suricata. However, the output does contain
enough fields to match them up in post-processing.

Rules are included to alert of malformed or truncated options.
23 files changed:
rust/gen-c-headers.py
rust/src/dhcp/README.txt [new file with mode: 0644]
rust/src/dhcp/ack.pcap [new file with mode: 0644]
rust/src/dhcp/dhcp.rs [new file with mode: 0644]
rust/src/dhcp/discover.pcap [new file with mode: 0644]
rust/src/dhcp/logger.rs [new file with mode: 0644]
rust/src/dhcp/mod.rs [new file with mode: 0644]
rust/src/dhcp/offer.pcap [new file with mode: 0644]
rust/src/dhcp/parser.rs [new file with mode: 0644]
rust/src/dhcp/request.pcap [new file with mode: 0644]
rust/src/lib.rs
src/Makefile.am
src/app-layer-detect-proto.c
src/app-layer-dhcp.c [new file with mode: 0644]
src/app-layer-dhcp.h [new file with mode: 0644]
src/app-layer-parser.c
src/app-layer-protos.c
src/app-layer-protos.h
src/output-json-dhcp.c [new file with mode: 0644]
src/output-json-dhcp.h [new file with mode: 0644]
src/output.c
src/suricata-common.h
suricata.yaml.in